/* Wix Madefor (SIL Open Font License), from Google Fonts, kept on this site: Text for reading, Display for headlines and big figures. */
@font-face{font-family:"Wix Madefor Text";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/wix-text-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Wix Madefor Text";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/wix-text-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Wix Madefor Text";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/wix-text-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Wix Madefor Display";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/wix-display-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Wix Madefor Display";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/wix-display-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Wix Madefor Display";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/wix-display-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{color-scheme:light;--bg:#f8f8f7;--surface:#fff;--text:#181818;--muted:#6d6c67;--border:#e4e3e1;--pink:#ed0793;--pink-ink:#d1067d;--pink-fill:#e30689;--bad:#c92a61;--ink:#0b0b0d;--brand-light:linear-gradient(135deg,#ff58b4,#c98bff);--purple:#a746cc;--blue:#2e7bdc;--green:#17ad7e;--orange:#f46b36;--soft:#fff0f8;--radius:18px;--shadow:0 2px 5px #00000008;--brand:linear-gradient(135deg,#ef0a92,#a746cc)}
html[data-theme=dark]{color-scheme:dark;--bg:#151515;--surface:#202020;--text:#f1f1ef;--muted:#aaa9a3;--border:#373734;--soft:#3b1a2e;--shadow:none;--pink-ink:#ff5cb5;--bad:#ff7da1}
/* The pickers of ui-controls take the text colour from --ink, which is dark on every theme: in the dark one they read it from --text. */
html[data-theme=dark] .ic-pop,html[data-theme=dark] input[type=date],html[data-theme=dark] input[type=month]{--ink:var(--text)}
@media (prefers-color-scheme:dark){html:not([data-theme=light]) .ic-pop,html:not([data-theme=light]) input[type=date],html:not([data-theme=light]) input[type=month]{--ink:var(--text)}}
@media (prefers-color-scheme:dark){html:not([data-theme=light]){color-scheme:dark;--bg:#151515;--surface:#202020;--text:#f1f1ef;--muted:#aaa9a3;--border:#373734;--soft:#3b1a2e;--shadow:none;--pink-ink:#ff5cb5;--bad:#ff7da1}}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scrollbar-gutter:stable}
h1,h2,h3,.l-title,.tile b,.stat dd,.cab-stat b,.l-proof dd{font-family:"Wix Madefor Display","Wix Madefor Text",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
body{display:flex;flex-direction:column;margin:0;min-height:100vh;min-height:100dvh;background:var(--bg);color:var(--text);font:15px/1.5 "Wix Madefor Text",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:#ef0a9238}
/* Reached with the first press of Tab: jumps over the header straight to the page. */
.skip{position:absolute;z-index:100;top:-64px;left:12px;padding:11px 18px;border-radius:12px;background:var(--text);color:var(--bg);font-weight:600;text-decoration:none;transition:top .15s}
.skip:focus{top:10px}
a{color:inherit}
h1,h2,p{margin:0}
/* The INFINITY mark of the svod (static/mark.svg, made by brand/make_brand.py there): the gradient lives only in it. */
.brand-mark{display:block;flex:none;width:40px;height:auto}
.mark-big{display:block;width:160px;height:auto}
.muted{color:var(--muted)}

/* Icons: interface ones follow the text, marks of networks sit in round badges of the network's colour. */
.ic{display:inline-block;flex:none;width:1.05em;height:1.05em;vertical-align:-.16em;fill:currentColor}
.nic{display:inline-grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:#181818;color:#fff;vertical-align:middle}
.nic svg{width:54%;height:54%;fill:currentColor}
.nic.s{width:20px;height:20px}
.nic.l{width:34px;height:34px}
.nic.tiktok{background:#111;box-shadow:inset 0 0 0 1px #ffffff2e}
.nic.instagram{background:linear-gradient(45deg,#f9b233,#ee2a7b 52%,#6a2bd9)}
.nic.youtube{background:#f03}
.nic.youtube svg{width:58%;height:58%}
.nic.vk{background:#fff;color:#07f}
.nic.vk svg{width:100%;height:100%;border-radius:50%}
/* Marks of the networks a person or a video is on lie one over another, like the faces in the header. */
.with-ic{display:inline-flex;align-items:center;gap:6px}
.count{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:var(--border);color:var(--muted);font-size:12.5px;font-weight:600;vertical-align:2px}
.facts{display:flex;flex-wrap:wrap;gap:2px 14px;margin:0;padding:0;list-style:none}

.stage{min-height:100vh;display:grid;place-items:center;padding:32px 20px}
.soon{width:100%;max-width:560px;text-align:center}
.soon .mark-big{margin:0 auto 28px}
.soon h1{font-size:34px;line-height:1.15;letter-spacing:-.02em;font-weight:700}
.soon h1 span{color:var(--pink-ink)}
.soon .lead{margin-top:14px;font-size:17px;color:var(--muted)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:36px 0 0;padding:0;list-style:none;text-align:left}
.steps li{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}
.steps b{display:block;font-size:12px;font-weight:600;color:var(--pink-ink);font-variant-numeric:tabular-nums}
.steps span{display:block;margin-top:6px;font-size:14px;line-height:1.35}
.soon .note{margin-top:28px;font-size:13px;color:var(--muted)}

/* A page that could not be shown: the number of the error drawn large, the loop running behind it. */
.page.oops{position:relative;display:grid;place-items:center;max-width:none;padding:clamp(48px,9vh,110px) 20px;overflow:hidden;isolation:isolate}
.oops-loop{position:absolute;z-index:-1;top:50%;left:50%;width:min(150vw,1300px);translate:-50% -54%;overflow:visible}
.oops-loop path{fill:none;stroke:var(--border);stroke-width:6;stroke-linecap:round;opacity:.7}
.oops-loop path+path{stroke:var(--pink);stroke-width:6;stroke-dasharray:200 1620;opacity:.55;animation:oops-run 8s linear infinite}
@keyframes oops-run{to{stroke-dashoffset:-1820}}
.error{width:100%;max-width:560px;text-align:center}
.error p.error-code{font-size:clamp(104px,24vw,230px);font-weight:800;letter-spacing:-.06em;line-height:.86;color:var(--pink-ink);font-variant-numeric:tabular-nums}
.error h1{margin-top:18px;font-size:clamp(24px,3.4vw,36px);font-weight:800;letter-spacing:-.025em;line-height:1.1;text-wrap:balance}
.error p{max-width:400px;margin:12px auto 0;font-size:16px;color:var(--muted)}
.error p.error-code{max-width:none;margin:0}
.error-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:28px}
.error-links .button:first-child{background:var(--text);color:var(--bg)}

@media (max-width:560px){
  .soon h1{font-size:28px}
  .steps{grid-template-columns:1fr}
}

/* Site frame */
.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:8px 22px;padding:10px 20px;background:var(--bg);background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--border);transition:background .25s,border-color .25s,color .25s}
.brand{display:flex;align-items:center;gap:10px;flex:none;color:inherit;text-decoration:none;font-size:15px;letter-spacing:.01em}
.mainnav{display:flex;align-items:center;gap:4px;min-width:0}
.mainnav a{padding:8px 12px;border-radius:10px;color:var(--muted);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;transition:color .15s,background .15s}
.mainnav a:hover{color:var(--text)}
.mainnav a.on{color:var(--text);background:color-mix(in srgb,var(--text) 7%,transparent)}
.sitesearch{position:relative;display:flex;align-items:center;flex:1;max-width:340px;margin-left:auto}
.sitesearch>.ic{position:absolute;left:12px;width:16px;height:16px;color:var(--muted);pointer-events:none}
.sitesearch input[type=search]{width:100%;padding:9px 12px 9px 36px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);font:inherit;font-size:14px}
.sitesearch input::placeholder{color:var(--muted)}
.sitesearch input:focus{outline:2px solid var(--pink);outline-offset:1px;border-color:transparent}
.sitesearch-found{position:absolute;z-index:30;top:calc(100% + 8px);right:0;width:min(440px,calc(100vw - 28px));max-height:min(70vh,560px);padding:8px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 22px 50px -18px #0006;overflow-y:auto}
.found-group{margin:8px 10px 4px;font-size:12.5px;font-weight:600;color:var(--muted)}
.found-row{display:flex;align-items:center;gap:11px;min-width:0;padding:7px 10px;border-radius:11px;color:inherit;text-decoration:none}
.found-row:hover,.found-row.on{background:color-mix(in srgb,var(--text) 6%,transparent)}
.found-row img,.found-row .found-letter{flex:none;width:38px;height:38px;border-radius:50%;object-fit:cover;background:var(--pink-fill);color:#fff;font-weight:700}
.found-row .found-letter{display:grid;place-items:center}
.found-row img.tall{width:34px;height:48px;border-radius:8px}
.found-text{display:grid;min-width:0;line-height:1.3}
.found-text b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.found-text span{font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.found-none{margin:0;padding:14px 12px;font-size:14px;color:var(--muted)}
.found-all{display:block;margin:6px 4px 2px;padding:9px 10px;border-radius:11px;font-size:13.5px;font-weight:600;text-align:center;text-decoration:none;color:var(--pink-ink)}
.found-all:hover{background:var(--soft)}
.search-open{display:none;place-items:center;width:38px;height:38px;margin-left:auto;border-radius:11px;color:inherit}
.search-open .ic{width:19px;height:19px}
.usernav{display:flex;align-items:center;gap:16px;flex:none;font-size:14px}
.usernav a{font-weight:600;text-decoration:none}
.usernav a.button{color:#fff}
.usernav form{margin:0}
.topbar>.brand+.usernav{margin-left:auto}
@media (max-width:860px){
  .topbar{flex-wrap:wrap;padding:9px 14px 0;transition:background .25s,border-color .25s,color .25s,transform .28s cubic-bezier(.2,.7,.2,1)}
  .head-away .topbar{transform:translateY(-102%)}
  .mainnav{order:5;flex:1 0 100%;margin:0 -14px;padding:2px 10px 8px;overflow-x:auto;scrollbar-width:none}
  .mainnav::-webkit-scrollbar{display:none}
  .mainnav a{padding:7px 10px}
  .sitesearch{display:none;order:6;flex:1 0 100%;max-width:none;margin:0 0 9px}
  .topbar.searching .sitesearch{display:flex}
  .sitesearch-found{left:0;right:auto;width:100%}
  .search-open{display:grid}
  .topbar>.brand+.usernav{margin-bottom:9px}
  .usernav{gap:12px}
}
@media (max-width:520px){
  /* Next to the links of a signed-in person or the sign-up button the mark alone stands for the name. */
  .topbar:has(.usernav) .brand>span:last-child{display:none}
  /* The mark, the search, «Войти» and the button keep to one row above the sections. */
  .topbar{column-gap:10px}
  .usernav{gap:10px}
  .usernav a.button.small{padding-inline:12px;white-space:nowrap}
}
@media (max-width:370px){.join-tail{display:none}}
.page{flex:1 0 auto;width:100%;margin:0 auto;padding:28px 20px 72px}
.page.narrow{max-width:480px;padding-top:clamp(28px,6vh,72px)}
.page.medium{max-width:760px}
.page.wide{max-width:1180px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow);padding:26px;margin:0 0 20px}
.card.center{text-align:center}
.card h1{font-size:clamp(24px,3vw,30px);font-weight:800;letter-spacing:-.025em;line-height:1.12;margin:0 0 10px;text-wrap:balance}
.card h2{font-size:18px;font-weight:700;letter-spacing:-.01em;margin:0 0 12px}
.card h3{font-size:13.5px;margin:18px 0 8px;color:var(--muted)}
.card p{margin:0 0 14px}
.card p:last-child{margin-bottom:0}
.narrow-card{max-width:460px}
.totp-steps{display:grid;gap:6px;margin:14px 0 0;padding-left:20px}
.totp-key{font-size:15px;letter-spacing:.04em;word-break:break-all}
.totp-qr{display:block;width:240px;height:240px;margin:18px 0 6px;border-radius:12px;background:#fff}
.small{font-size:13px}
.bad-text{color:var(--bad)}
.back{margin:0 0 14px;font-size:14px}
.back a{display:inline-flex;align-items:center;gap:4px;text-decoration:none;color:var(--muted)}
.back a:hover{color:var(--text)}

/* Forms */
.form{display:grid;gap:16px;margin:18px 0}
.form.row{grid-template-columns:1fr auto;align-items:start}
/* The button stands level with the field, not with the hint under it. */
.form.row>.button{margin-top:25px;padding:12px 18px;font-size:15px}
.field{display:grid;gap:6px}
.label{font-size:13px;font-weight:600}
input[type=text],input[type=email],input[type=password],input[type=search],input[type=number],select{width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);font:inherit}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:.7}
input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--pink);outline-offset:2px}
a:focus-visible,summary:focus-visible{border-radius:6px}
input:disabled,button:disabled{opacity:.5;cursor:not-allowed}
.hint{font-size:12.5px;line-height:1.4;color:var(--muted)}
.invalid input{border-color:var(--bad)}
.check{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.4}
.check input{margin-top:3px;accent-color:var(--pink)}
.check.invalid span{color:var(--bad)}
.button{display:inline-block;padding:12px 20px;border:1px solid transparent;border-radius:12px;background:var(--pink-fill);color:#fff;font:inherit;font-weight:600;text-decoration:none;text-align:center;cursor:pointer;transition:filter .15s,translate .15s,border-color .15s,background .15s}
.button:hover{filter:brightness(1.07)}
.button:active{translate:0 1px}
.button:disabled:hover{filter:none}
.button:disabled:active{translate:none}
.button.small{padding:8px 14px;font-size:13.5px;border-radius:10px}
.button.ghost{background:transparent;color:var(--text);border-color:var(--border)}
.button.ghost:hover{border-color:var(--text);filter:none}
.button.danger{background:#d6336c}
.plain{padding:0;border:0;background:none;color:var(--muted);font:inherit;font-size:13.5px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.plain:hover{color:var(--text)}
.plain.danger{color:var(--bad)}
.inline-form{display:inline-flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px}
.captcha{min-height:66px}
.captcha.smartcaptcha{min-height:102px}
.notice{padding:12px 14px;border-radius:12px;font-size:14px;margin:0 0 16px;border:1px solid var(--border)}
.notice.ok{background:#e9f8f2;border-color:#bfe8d8;color:#0c6b4d}
.notice.bad{background:#fdecef;border-color:#f6c5cf;color:#a51c45}
.notice.soft{background:color-mix(in srgb,var(--text) 5%,var(--surface));border-color:transparent}
html[data-theme=dark] .notice.ok{background:#12372b;border-color:#1d5a45;color:#9fe3c8}
html[data-theme=dark] .notice.bad{background:#3c1622;border-color:#6b2338;color:#f6b3c4}
@media (prefers-color-scheme:dark){html:not([data-theme=light]) .notice.ok{background:#12372b;border-color:#1d5a45;color:#9fe3c8}html:not([data-theme=light]) .notice.bad{background:#3c1622;border-color:#6b2338;color:#f6b3c4}}
details summary{cursor:pointer;color:var(--muted);font-size:13.5px}
/* The fold mark is drawn here, the same in every browser. */
details>summary{display:inline-flex;align-items:center;gap:9px;list-style:none}
details>summary::-webkit-details-marker{display:none}
details>summary::before{content:"";flex:none;width:6px;height:6px;margin:0 2px 2px 2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;rotate:-45deg;transition:rotate .2s}
details[open]>summary::before{rotate:45deg}
details>summary:hover{color:var(--text)}
details[open]>summary{margin-bottom:12px}

/* Steps after sign-up */
.steps-bar{display:flex;gap:8px;margin:0 0 18px;padding:0;list-style:none;font-size:13px;color:var(--muted)}
.steps-bar li{flex:1;display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.steps-bar span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--border);color:var(--text);font-size:12px;font-weight:700}
.steps-bar .now{color:var(--text);border-color:var(--pink)}
.steps-bar .now span{background:var(--pink);color:#fff}
.steps-bar .done span{background:var(--green);color:#fff}
.how{margin:0 0 16px;padding-left:20px}
.how li{margin:0 0 6px}

/* Profile */
.avatar{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--pink-fill);color:#fff;font-weight:700;flex:none}
.avatar.big{width:96px;height:96px;font-size:36px}
.avatar.huge{width:160px;height:160px;border-radius:20px}
.profile-head{display:flex;gap:20px;align-items:center}
.shot{display:block;max-width:100%;height:auto;border:1px solid var(--border);border-radius:12px}
.avatar-edit{display:flex;gap:20px;align-items:flex-start}
.social-list{display:grid;gap:12px;margin:14px 0}
.social-row{display:grid;grid-template-columns:150px 1fr auto auto;gap:10px;align-items:center;margin:0}
.social-row .hint{grid-column:2 / -1}
.social-name{display:grid;font-size:14px;min-width:0}
.social-name a{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plain-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.plain-list.small{font-size:13px;gap:6px}
.sessions{margin:14px 0}

/* Tiles, tables, admin */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 20px}
.tiles.six{grid-template-columns:repeat(6,1fr)}
.tiles.four{grid-template-columns:repeat(4,1fr)}
.tile{display:grid;gap:4px;align-content:start;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}
.tile b{font-size:26px;line-height:1.1;font-variant-numeric:tabular-nums}
.tile.accent{background:var(--pink-fill);border-color:transparent;color:#fff}
.tile.accent .tile-label,.tile.accent .tile-note{color:#ffffffd0}
.tile-label{font-size:12.5px;color:var(--muted)}
.tile-note{font-size:12.5px;color:var(--muted)}
.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.tabs a{padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);text-decoration:none;font-size:14px;font-weight:600}
.tabs a.on{background:var(--text);color:var(--bg);border-color:var(--text)}
.tabs a.confirm{margin-left:auto}
.tabs a.confirm.on{background:var(--green);border-color:var(--green);color:#fff}
.filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}
.filters input{flex:1;min-width:220px}
.filters select{width:auto}
.table-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}
th{font-size:12px;color:var(--muted);font-weight:600;white-space:nowrap}
tr:last-child td{border-bottom:0}
td .inline-form{margin:0}
.tag{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--border);font-size:12px;font-weight:600;white-space:nowrap}
.tag.bad{background:#fdecef;color:#a51c45}
.tag.warn{background:#fff3df;color:#9a5b00}
.pager{display:flex;gap:18px;margin:16px 0 0;font-size:14px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.actions{display:flex;flex-wrap:wrap;gap:10px}
.actions.center{justify-content:center}
.actions-form{display:grid;gap:14px;margin:0 0 12px}
.inline-form.tight{margin:0 0 0 6px}
.form.settings{max-width:540px}
.mod-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:20px}
.mod-item{display:flex;gap:18px;align-items:center;margin:0}
.mod-nick{font-size:24px;font-weight:700;word-break:break-all;min-width:120px}
.bars{display:flex;align-items:flex-end;gap:8px;height:150px}
.bar-slot{flex:1;display:grid;grid-template-rows:1fr auto auto;justify-items:center;height:100%;font-size:11px;color:var(--muted)}
.bar-slot em{font-style:normal;color:var(--text);font-weight:600}
.bar{align-self:end;width:100%;max-width:34px;border-radius:6px 6px 2px 2px;background:var(--pink);min-height:3px}
.bar.h0{height:3%}.bar.h1{height:10%}.bar.h2{height:20%}.bar.h3{height:30%}.bar.h4{height:40%}.bar.h5{height:50%}.bar.h6{height:60%}.bar.h7{height:70%}.bar.h8{height:80%}.bar.h9{height:90%}.bar.h10{height:100%}

.tile.link{text-decoration:none;color:inherit}
.tile.link:hover{border-color:var(--pink)}
.tile b.date{font-size:18px;line-height:1.3}
.code-list,.product-list{margin:0 0 16px;padding:0;list-style:none;display:grid;gap:10px}
.code{display:grid;gap:3px;padding:14px 16px;border:1px solid var(--border);border-radius:13px}
.code.off{opacity:.6}
.code-main{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px}
.ww{font-size:22px;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.code-about{font-size:14px}
/* The line for the caption of a video, ready to copy. */
.code-caption{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:10px 0 2px;padding:10px 12px;border-radius:12px;background:var(--soft)}
.code-caption-label{flex-basis:100%;font-size:12.5px;color:var(--muted)}
.code-caption-text{min-width:0;font-size:14.5px;overflow-wrap:anywhere}
.code-stats{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:6px;font-size:13.5px;color:var(--muted)}
.code-stats b{color:var(--text);font-variant-numeric:tabular-nums}
/* The way of one article: taken, filmed, ordered by. A bar over each step fills in when the step is done. */
.code-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 0;padding:0;list-style:none}
.code-path li{display:grid;gap:2px;padding-top:9px;border-top:3px solid var(--border);font-size:13px;line-height:1.35;color:var(--muted)}
.code-path li.done{border-top-color:var(--pink-fill)}
.code-path b{display:flex;align-items:center;gap:4px;color:var(--text);font-size:13.5px}
.code-path b svg{width:14px;height:14px;flex:none;color:var(--pink-ink)}
.code-next{margin:8px 0 0;font-size:14px;line-height:1.45}
/* An idea of a video a model made for the article. */
.idea-made{display:grid;gap:4px;margin:10px 0 12px;font-size:14.5px;line-height:1.45}
.idea-made p{margin:0}
.idea-made h4{margin:10px 0 2px;font-size:14px}
.idea-made-title{font-weight:700;font-size:15.5px}
.idea-starts{display:grid;gap:8px;margin:0;padding-left:20px}
.idea-starts li{display:grid;gap:1px}
.idea-starts span{color:var(--muted);font-size:14px}
.idea-plan{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.idea-plan li{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px}
.idea-plan li span{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.code-idea .inline-form{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:6px 0 2px}
.product{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 16px;border:1px solid var(--border);border-radius:13px;scroll-margin-top:calc(var(--head-h,58px) + 30px)}
.product:target{border-color:var(--pink);background:var(--soft)}
.product-about{display:grid;gap:4px;min-width:0}
.product form{margin:0;flex:none}
.count-list{display:grid;gap:8px}
.count-list label{display:grid;grid-template-columns:1fr 96px;gap:10px;align-items:center;font-size:14px}
.table-wrap.flat{border:0;border-radius:0}
textarea{width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);font:13px/1.5 ui-monospace,Menlo,monospace;resize:vertical}
input[type=datetime-local]{width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);font:inherit}
code{font:13px ui-monospace,Menlo,monospace;background:var(--border);padding:1px 5px;border-radius:5px}
/* The products an administrator edits: a list, a row is a form, its fields stand in columns under one heading. */
.plist{margin:14px 0 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow:hidden}
.plist-head,.plist-row{display:grid;grid-template-columns:70px minmax(200px,1fr) 80px 80px 76px 118px 108px;gap:12px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--border)}
.plist-head{font-size:12px;font-weight:600;color:var(--muted)}
.plist-head .num{text-align:right;padding-right:12px}
.plist-row{margin:0}
.plist-row:last-child{border-bottom:0}
.plist-row input[type=text],.plist-row input[type=number]{padding:8px 11px;font-size:14px}
.plist-row input[type=number]{text-align:right;font-variant-numeric:tabular-nums}
.plist-name{display:grid;gap:4px;min-width:0}
.plist-name input{font-weight:600}
.plist-row.off .plist-name input{color:var(--muted)}
.plist-meta{font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plist-stock{text-align:right;padding-right:12px;font-variant-numeric:tabular-nums}
.plist-show{align-items:center;margin:0}
.plist-show input{margin-top:0}
.plist-row .button{justify-self:end}
/* A row with changes not yet saved says so with its button. */
.plist-row.dirty .button{background:var(--pink-fill);border-color:transparent;color:#fff}
.plist-label{display:none}
.plist-note{margin:0 0 20px}

@media (max-width:900px){
  .tiles.six{grid-template-columns:repeat(3,1fr)}
  .two-col{grid-template-columns:1fr}
  /* The list no longer fits in one line: the name takes its own line, the fields stand under it with their names. */
  .plist-head{display:none}
  .plist-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;padding:14px}
  .plist-name{grid-column:1 / -1;order:-1}
  .plist-label{display:block;margin-bottom:4px;font-size:12px;color:var(--muted)}
  .plist-stock{align-self:start;text-align:left;padding:0}
  .plist-stock b{display:block;padding-top:8px}
  .plist-show{grid-column:2 / -1;justify-self:end;min-height:38px}
  .plist-row .button{grid-column:1 / -1;justify-self:stretch}
}
@media (max-width:640px){
  .page{padding:20px 14px 48px}
  .card{padding:18px}
  .tiles,.tiles.six,.tiles.four{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .form.row{grid-template-columns:1fr}
  .form.row>.button{margin-top:0}
  .social-row{grid-template-columns:1fr auto}
  .social-row .social-name,.social-row .hint{grid-column:1 / -1}
  .profile-head,.avatar-edit{flex-direction:column;align-items:flex-start}
  .steps-bar li{padding:8px;font-size:12px}
  .tabs a.confirm{margin-left:0}
  /* Many sections stand in one row that is scrolled sideways, not in five rows. */
  .tabs{flex-wrap:nowrap;margin:0 -14px 18px;padding:0 14px 4px;overflow-x:auto;scrollbar-width:none}
  .tabs::-webkit-scrollbar{display:none}
  .tabs a{flex:none}
  .product{flex-direction:column;align-items:stretch}
  .product form .button{width:100%}
  /* A table row becomes a card: each cell shows its column name. */
  .as-cards thead{display:none}
  .as-cards table,.as-cards tbody,.as-cards tr,.as-cards td{display:block;width:100%}
  .as-cards tr{padding:10px 0;border-bottom:1px solid var(--border)}
  .as-cards td{border:0;padding:4px 14px}
  .as-cards td[data-label]::before{content:attr(data-label) ": ";color:var(--muted);font-size:12px}
}

/* The foot of every page: dark, with the loop of the mark showing through. */
.sitefoot{position:relative;flex:none;padding:clamp(40px,6vw,76px) clamp(18px,5vw,72px) 22px;background:var(--ink);color:#fff;overflow:hidden;isolation:isolate;--pink-ink:#ff5cb5}
.sitefoot-loop{position:absolute;z-index:-1;right:-7%;bottom:-46%;width:min(96vw,780px);overflow:visible}
.sitefoot-loop path{fill:none;stroke:#ffffff0d;stroke-width:16;stroke-linecap:round}
.sitefoot-in{display:grid;grid-template-columns:minmax(240px,1.7fr) repeat(auto-fit,minmax(150px,1fr));gap:34px clamp(24px,4vw,64px);max-width:1400px;margin:0 auto}
.sitefoot .brand{font-size:16px}
.sitefoot-about p{max-width:350px;margin:16px 0 0;font-size:14px;line-height:1.55;color:#ffffff99}
.sitefoot-about .sitefoot-nets{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:20px}
.sitefoot-nets a{display:inline-flex;align-items:center;gap:8px;color:#ffffffd9;text-decoration:none}
.sitefoot-nets a:hover{color:#fff}
.sitefoot-nets a:hover span{text-decoration:underline;text-underline-offset:4px}
.sitefoot-about .sitefoot-note{margin-top:10px;font-size:12px;line-height:1.45;color:#ffffff73}
.sitefoot nav{display:grid;align-content:start;justify-items:start;gap:10px;font-size:14.5px}
.sitefoot nav b{margin-bottom:4px;font-size:13px;font-weight:600;color:#ffffff80}
.sitefoot nav a,.sitefoot nav span{color:#ffffffd9;text-decoration:none;overflow-wrap:anywhere}
.sitefoot nav a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.sitefoot-low{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;max-width:1400px;margin:clamp(32px,5vw,58px) auto 0;padding-top:18px;border-top:1px solid #ffffff1f;font-size:13px;color:#ffffff8c}
.themes{display:inline-flex;padding:3px;border:1px solid #ffffff24;border-radius:999px}
.themes button{padding:6px 13px;border:0;border-radius:999px;background:none;color:#ffffffa6;font:inherit;font-size:12.5px;cursor:pointer;transition:background .15s,color .15s}
.themes button:hover{color:#fff}
.themes button[aria-pressed=true]{background:#ffffff26;color:#fff}
@media (max-width:760px){
  .sitefoot-in{grid-template-columns:1fr 1fr}
  .sitefoot-about{grid-column:1 / -1}
}

/* A finger needs a bigger target than a cursor does. */
@media (pointer:coarse){
  /* A field with smaller letters makes a phone zoom the whole page in when it is tapped. */
  input[type=text],input[type=email],input[type=password],input[type=search],input[type=number],input[type=date],input[type=datetime-local],select,textarea,.sitesearch input[type=search]{font-size:16px}
  .mainnav a,.tabs a{display:inline-flex;align-items:center;min-height:44px}
  .search-open{width:44px;height:44px}
  .usernav a,.usernav .plain{display:inline-flex;align-items:center;min-height:44px}
  .button.small{padding:12px 16px}
  .plain{padding:11px 2px;margin:-11px -2px}
  .usernav .plain{margin:0}
  .sitefoot nav a{padding:6px 0;margin:-6px 0}
  .themes button{padding:10px 14px}
  .back a{min-height:44px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
/* Admin: the table of videos, the editor of a document. */
.admin-thumb{display:block;width:45px;height:80px;border-radius:8px;object-fit:cover;background:var(--border)}
.admin-videos td{vertical-align:middle}
.admin-videos td span.clamp{display:-webkit-box;max-width:420px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
textarea.prose{min-height:320px;font:14.5px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}

/* Choosing a file, copying an article. */
input[type=file]{max-width:100%;font:inherit;font-size:13.5px;color:var(--muted)}
input[type=file]::file-selector-button{margin-right:12px;padding:9px 15px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;transition:border-color .15s}
input[type=file]::file-selector-button:hover{border-color:var(--text)}
.copy{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:border-color .15s}
.copy:hover{border-color:var(--text)}
.copy .ic{width:14px;height:14px;color:var(--muted)}
@media (pointer:coarse){.copy{padding:10px 14px}}
table.sums th:nth-child(n+3),table.sums td:nth-child(n+3){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.block{display:block}
@media (max-width:640px){table.sums td:nth-child(n+3){text-align:left}}
.tiles.six .tile b{font-size:22px;white-space:nowrap}
@media (max-width:380px){
  .steps-bar{gap:5px}
  .steps-bar li{padding:7px 6px;gap:5px;font-size:11.5px;min-width:0}
  .steps-bar span{width:19px;height:19px;font-size:11px}
}
/* A field with a mistake says so under itself; a form that is being sent dims its button. */
.field-error{font-size:12.5px;line-height:1.4;color:var(--bad)}
.field.invalid:has(.field-error) .hint{display:none}
form[data-sent] button[type=submit],form[data-sent] .button{opacity:.6;cursor:progress}
a,button,summary,label,select,input[type=checkbox],input[type=file]{touch-action:manipulation}
.payout-acts{min-width:150px}
.payout-acts .inline-form{margin:0 0 6px}
.payout-acts input[type=text]{min-width:170px;padding:8px 11px;font-size:13.5px}
/* Visits of the site in the admin: a word on the left, numbers on the right. */
table.counts th:not(:first-child),table.counts td:not(:first-child){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.visits-about{margin:0 0 16px;max-width:900px}
.visits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
@media (max-width:860px){.visits-grid{grid-template-columns:minmax(0,1fr)}}
/* The photo of a product in the admin. */
.photo-edit-body{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;align-items:start;margin-top:14px}
.photo-edit-pic{display:grid;place-items:center;aspect-ratio:3 / 4;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff}
.photo-edit-pic img{display:block;width:100%;height:100%;object-fit:contain}
.photo-edit-forms{display:grid;gap:18px}
.plist-photos{margin:12px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
@media (max-width:640px){.photo-edit-body{grid-template-columns:minmax(0,1fr)}.photo-edit-pic{max-width:220px}}
/* A photo of a product beside its name: the page of a product and the lists in the cabinet. */
.goods-pic{display:block;flex:none;aspect-ratio:3 / 4;border-radius:10px;overflow:hidden;background:#fff;border:1px solid var(--border)}
.goods-pic img{display:block;width:100%;height:100%;object-fit:contain}
.product .goods-pic{width:48px}
.product-with-pic{display:flex;gap:14px;align-items:center;min-width:0}
.code-head{display:flex;gap:12px;align-items:center;min-width:0}
.code-head .goods-pic{width:40px}
/* Articles to look at before a month is paid. */
.doubt-list{margin:0;padding:0;list-style:none;display:grid;gap:14px}
.doubt-list>li{padding-top:14px;border-top:1px solid var(--border)}
.doubt-list>li:first-child{padding-top:0;border-top:0}
.doubt-list p{margin:0 0 6px}
.doubt-list ul{margin:0;padding-left:18px;display:grid;gap:4px}
/* Videos about a product that sold for the most, with what to repeat in them: in the cabinet and on the page of a product. */
.idea-list{display:grid;gap:16px;margin:0;padding:0;list-style:none}
.idea{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:start}
.idea-pic{display:block;aspect-ratio:9 / 16;border-radius:12px;background:var(--border);overflow:hidden}
.idea-pic img{display:block;width:100%;height:100%;object-fit:cover}
.idea-head{margin:0;font-size:14.5px}
.idea-what{margin:4px 0 0;font-size:14.5px;line-height:1.45}
.idea-tips{display:grid;gap:4px;margin:6px 0 0;padding-left:18px;font-size:14px;line-height:1.45;color:var(--muted)}
.idea-tips li::marker{color:var(--pink)}
.idea-open{margin:6px 0 0;font-size:13.5px}
.idea-more{margin:16px 0 4px;font-size:14px}
/* A note about a product written by an administrator: on the page of the product, in the cabinet, in the admin preview. */
.brief{display:grid;gap:8px;max-width:760px;font-size:14.5px;line-height:1.5}
.brief p,.brief ul{margin:0}
.brief h3{margin:6px 0 0;font-size:15px}
.brief ul{display:grid;gap:5px;padding-left:20px}
.brief li::marker{color:var(--pink)}
.code-ideas .brief{margin:10px 0 4px}
/* A creator's name on the public pages is made up on the server (app/masks.py) and hidden under drifting dots, the
   way a messenger hides a spoiler: the box keeps the width of a name, the letters are not drawn at all. The dots are
   the colour of the text: three tiles of them mask a box filled with it and slide apart, and the edges of the box
   thin out, so it reads as a cloud and not as a block. */
.masked{display:inline-block;color:inherit;background-color:currentColor;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent),url(spoiler-1.svg),url(spoiler-2.svg),url(spoiler-3.svg);
  mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent),url(spoiler-1.svg),url(spoiler-2.svg),url(spoiler-3.svg);
  -webkit-mask-size:100% 100%,26px 18px,33px 23px,21px 29px;mask-size:100% 100%,26px 18px,33px 23px,21px 29px;
  -webkit-mask-repeat:no-repeat,repeat,repeat,repeat;mask-repeat:no-repeat,repeat,repeat,repeat;
  -webkit-mask-composite:source-in,source-over,source-over,source-over;mask-composite:intersect,add,add,add;
  animation:spoiler 3.2s linear infinite,twinkle 1.6s ease-in-out infinite alternate;user-select:none;-webkit-user-select:none;pointer-events:none}
@keyframes spoiler{to{-webkit-mask-position:0 0,26px -18px,-33px 23px,21px 29px;mask-position:0 0,26px -18px,-33px 23px,21px 29px}}
@keyframes twinkle{to{opacity:.72}}
@media (prefers-reduced-motion:reduce){.masked{animation:none}}
/* The videos as a preview shows them to somebody they are not open to (app/access.py): a picture of a few coloured
   spots made on the server, blown up and softened, a lock over it. */
html img.peek{position:absolute;inset:-14%;width:128%;height:128%;max-width:none;object-fit:cover;filter:blur(9px) saturate(1.3);user-select:none;-webkit-user-drag:none}
.peekbox,.idea-pic{position:relative}
.peek-lock{position:absolute;z-index:2;top:50%;left:50%;display:grid;place-items:center;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:#00000059;color:#fff}
.peek-lock .ic{width:19px;height:19px}
.ws-film .peek-lock,.idea-pic .peek-lock{width:28px;height:28px;margin:-14px 0 0 -14px}
.ws-film .peek-lock .ic,.idea-pic .peek-lock .ic{width:13px;height:13px}
.ws-film.big .peek-lock{width:44px;height:44px;margin:-22px 0 0 -22px}
.ws-film.big .peek-lock .ic{width:19px;height:19px}
.found-peek{position:relative;flex:none;width:34px;height:48px;border-radius:8px;overflow:hidden;background:var(--border)}
/* What opens and how to get there: one soft panel above a preview. */
.gate{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px 22px;align-items:center;margin:0 0 28px;padding:22px 24px;border-radius:22px;background:var(--soft)}
.gate.short{margin-top:18px;padding:16px 20px}
.gate-lock{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--pink-fill);color:#fff}
.gate-lock .ic{width:22px;height:22px}
.gate h2{margin:0 0 8px;font-size:19px;letter-spacing:-.01em}
.gate.short h2{margin-bottom:4px;font-size:16.5px}
.gate-what{margin:0 0 10px;font-size:14.5px;line-height:1.5}
.gate-how{margin:0;font-size:14px;line-height:1.45;color:var(--muted)}
.gate-action{margin:0}
@media (max-width:640px){
  .gate{grid-template-columns:minmax(0,1fr);padding:18px}
  .gate-lock{width:44px;height:44px}
  .gate-action .button{width:100%}
}
/* The site's video player (static/player.js): its own controls over a plain <video>. */
.ip{position:relative;display:block;width:100%;height:100%;background:#000;overflow:hidden;outline:none}
.ip video{display:block;width:100%;height:100%;object-fit:inherit}

.ip:not(.paused) .ip-big{opacity:0;pointer-events:none}
.ip-bar{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:center;gap:4px;padding:30px 10px 10px;background:linear-gradient(transparent,#000000c8);color:#fff;opacity:0;transition:opacity .25s}
.ip.awake .ip-bar,.ip.paused .ip-bar,.ip:focus-within .ip-bar{opacity:1}
.ip:not(.awake):not(.paused){cursor:none}
.ip-btn{display:grid;place-items:center;flex:none;min-width:34px;height:34px;padding:0 6px;border:0;border-radius:10px;background:none;color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:background .2s}
.ip-btn:hover,.ip-btn:focus-visible{background:#ffffff2e}
.ip-btn .ic{width:20px;height:20px}
.ip .ip-big{position:absolute;top:50%;left:50%;translate:-50% -50%;width:68px;height:68px;padding:0;border-radius:50%;background:var(--pink-fill);transition:opacity .2s}
.ip .ip-big:hover{background:var(--pink)}
.ip .ip-big .ic{width:30px;height:30px}
.ip .ip-hush{position:absolute;top:12px;left:12px;display:none;grid-auto-flow:column;gap:7px;height:36px;padding:0 14px 0 11px;border-radius:999px;background:#000000a6;font-size:13px;font-weight:650}
.ip .ip-hush:hover,.ip .ip-hush:focus-visible{background:#000000d9}
.ip .ip-hush .ic{width:18px;height:18px}
.ip.hushed .ip-hush{display:grid}
.ip-time{flex:none;margin:0 4px;font-size:12.5px;font-variant-numeric:tabular-nums;color:#ffffffd9;white-space:nowrap}
.ip-seek{--p:0%;flex:1;min-width:40px;height:22px;margin:0 4px;padding:0;border:0;background:none;-webkit-appearance:none;appearance:none;cursor:pointer}
.ip-seek::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(90deg,var(--pink) var(--p),#ffffff4d var(--p))}
.ip-seek::-moz-range-track{height:4px;border-radius:2px;background:linear-gradient(90deg,var(--pink) var(--p),#ffffff4d var(--p))}
.ip-seek::-webkit-slider-thumb{width:14px;height:14px;margin-top:-5px;border:0;border-radius:50%;background:#fff;-webkit-appearance:none;appearance:none}
.ip-seek::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:#fff}
.ip:fullscreen video{object-fit:contain}
@media (max-width:420px){.ip-speed,.ip-time{display:none}}

/* The assistant: the «Помощник» button at the bottom right of every page and its window (static/assistant.js). */
.ast{position:fixed;z-index:40;right:20px;bottom:20px;display:flex;flex-direction:column;align-items:flex-end;gap:12px;pointer-events:none}
.ast>*{pointer-events:auto}
.ast-open{display:inline-flex;align-items:center;gap:8px;padding:10px 17px 10px 13px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:14px;font-weight:600;box-shadow:0 10px 28px -14px #00000066;cursor:pointer;transition:border-color .15s}
.ast-open:hover,.ast.open .ast-open{border-color:var(--pink)}
.ast-open .ic{width:21px;height:21px;color:var(--pink-ink)}
/* The window grows out of the button and goes back into it (static/assistant.js): it stands on the corner of the
   button, its content keeps the size of the open window and is uncovered as the window grows. */
.ast.open .ast-open,.ast.closing .ast-open{visibility:hidden}
.ast-panel{position:absolute;right:0;bottom:0;width:390px;max-width:calc(100vw - 40px);height:min(640px,calc(100vh - 40px));height:min(640px,calc(100dvh - 40px));border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);box-shadow:0 26px 60px -22px #0000006b;overflow:hidden}
.ast-body{position:absolute;right:0;bottom:0;display:flex;flex-direction:column;width:100%;height:100%}
.ast-ghost{position:absolute;right:0;bottom:0;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--text);font-size:14px;font-weight:600;white-space:nowrap;pointer-events:none}
.ast-ghost .ic{width:21px;height:21px;color:var(--pink-ink)}
.ast-head{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 18px;border-bottom:1px solid var(--border)}
.ast-head b{margin-right:auto;font-family:"Wix Madefor Display","Wix Madefor Text",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;font-size:16px}
.ast-clear{font-size:13px}
.ast-close{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:0;border-radius:10px;background:none;color:var(--muted);cursor:pointer}
.ast-close:hover{color:var(--text);background:color-mix(in srgb,var(--text) 6%,transparent)}
.ast-close .ic{width:18px;height:18px}
.ast-log{flex:1;display:flex;flex-direction:column;gap:14px;padding:16px 18px;overflow-y:auto;overscroll-behavior:contain}
.ast-msg{max-width:100%;font-size:14.5px;line-height:1.55;overflow-wrap:anywhere}
.ast-msg p+p,.ast-msg ul+p,.ast-msg p+ul{margin-top:8px}
.ast-msg ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}
.ast-msg ul:not(.ast-links) li{position:relative;padding-left:16px}
.ast-msg ul:not(.ast-links) li::before{content:"";position:absolute;left:3px;top:.66em;width:5px;height:5px;border-radius:50%;background:var(--pink)}
.ast-me{align-self:flex-end;max-width:86%;padding:9px 13px;border-radius:15px 15px 4px 15px;background:color-mix(in srgb,var(--text) 7%,var(--surface));white-space:pre-wrap}
.ast-bot{align-self:flex-start;max-width:94%;padding:12px 14px;border-radius:15px 15px 15px 4px;background:color-mix(in srgb,var(--text) 4%,var(--surface))}
.ast-title{display:block;margin-bottom:6px;font-family:"Wix Madefor Display","Wix Madefor Text",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;font-size:15.5px;font-weight:700;line-height:1.3}
.ast-wait{color:var(--muted)}
.ast-err{color:var(--bad)}
.ast-msg ul.ast-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.ast-bot a{color:var(--pink-ink);font-weight:600;text-decoration:none}
.ast-bot a:hover{text-decoration:underline;text-underline-offset:3px}
.ast-links a{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-size:13.5px;line-height:1.3;transition:border-color .15s}
.ast-links a:hover{border-color:var(--pink);text-decoration:none}
.ast-links .ic{flex:none;width:14px;height:14px}
.ast-msg .ast-reach{margin-top:10px;font-size:13.5px;color:var(--muted)}
.ast-chips{display:flex;flex-wrap:wrap;gap:8px}
.ast-chip{padding:8px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;font-size:13.5px;line-height:1.35;text-align:left;cursor:pointer;transition:border-color .15s}
.ast-chip:hover{border-color:var(--pink)}
.ast-form{display:flex;align-items:flex-end;gap:8px;padding:12px 12px 6px 14px;border-top:1px solid var(--border)}
.ast-form textarea{flex:1;min-height:44px;max-height:120px;padding:11px 13px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font:inherit;font-size:14.5px;line-height:1.4;resize:none}
.ast-send{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:var(--pink-fill);color:#fff;cursor:pointer;transition:filter .15s}
.ast-send:hover{filter:brightness(1.07)}
.ast-send .ic{width:20px;height:20px}
.ast-foot{padding:0 16px 10px;font-size:11.5px;color:var(--muted)}
@media (max-width:640px){
  .ast{right:14px;bottom:14px}
  /* On a phone the button is a round mark only, so it covers as little of the page as it can. */
  .ast-open{width:48px;height:48px;padding:0;justify-content:center}
  .ast-open span,.ast-ghost span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .ast-open .ic,.ast-ghost .ic{width:24px;height:24px}
  .ast.open{right:0;bottom:0;left:0}
  .ast.open .ast-open{display:none}
  .ast-panel{width:100vw;max-width:none;height:min(88vh,720px);height:min(88dvh,720px);border-width:1px 0 0;border-radius:20px 20px 0 0}
  .ast-foot{padding-bottom:max(10px,env(safe-area-inset-bottom))}
  .ast-form textarea{font-size:16px}
}
@media print{.ast{display:none}}


/* The window of a closed video or breakdown (layout.html, static/lock.js). */
.lockdlg{width:min(440px,calc(100vw - 32px));padding:30px 28px 26px;border:1px solid var(--border);border-radius:22px;background:var(--surface);color:var(--text);box-shadow:0 20px 60px #0000003d}
.lockdlg::backdrop{background:#0b0b0d8c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.lockdlg h2{margin:12px 0 10px;font-size:22px;letter-spacing:-.02em;line-height:1.2}
.lockdlg p{margin:0;color:var(--muted);line-height:1.5}
.lockdlg .lockdlg-action{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.lockdlg-lock{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--soft);color:var(--pink-ink)}
.lockdlg-lock .ic{width:22px;height:22px}
.lockdlg-close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:11px;background:none;color:var(--muted);cursor:pointer}
.lockdlg-close:hover{background:color-mix(in srgb,var(--text) 7%,transparent);color:var(--text)}
.lockdlg-close .ic{width:18px;height:18px}
.peekbox,.peek-card,[data-locked]{cursor:pointer}
.next-note{margin:18px 0 0;padding:14px 16px;border-left:3px solid var(--pink);border-radius:4px 12px 12px 4px;background:var(--soft)}
.next-note b{display:block;margin-bottom:4px;font-size:14px}
.next-note p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}

.cookienote{position:fixed;z-index:39;left:20px;bottom:20px;display:flex;align-items:center;gap:14px;width:min(460px,calc(100vw - 40px));padding:14px 16px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 10px 30px #0000001f;font-size:14px;line-height:1.4}
.cookienote[hidden]{display:none}
.cookienote p{margin:0;flex:1}
.cookienote a{color:var(--pink-ink)}
.cookienote .button{flex:none}
@media (max-width:600px){.cookienote{left:12px;right:12px;bottom:84px;width:auto}}
