:root{--bg:#0B0708;--surface:#141011;--raised:#1C1718;--raised-2:#2A2325;--line:#2F2829;--line-strong:#655B5D;--text:#F3EFEF;--muted:#9C9092;--ok:#2DB36F;--fd:Unbounded,"Arial Black",system-ui,sans-serif;--fs:Onest,system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}
/* скроллы: один стиль на весь сайт. Chrome/Safari рисуют через ::-webkit-scrollbar (без стрелок),
   Firefox через стандартные свойства. Стандартные свойства в Chrome отключают ::-webkit-scrollbar, поэтому только для Firefox */
::-webkit-scrollbar{width:12px;height:12px;background:transparent}
::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent}
::-webkit-scrollbar-button{display:none;width:0;height:0}
::-webkit-scrollbar-thumb{background:rgba(245,242,242,.16);background-clip:padding-box;border:3px solid transparent;border-radius:12px;min-height:40px}
::-webkit-scrollbar-thumb:hover{background-color:rgba(245,242,242,.3)}
::-webkit-scrollbar-thumb:active{background-color:rgba(245,242,242,.42)}
@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:rgba(245,242,242,.2) transparent}}
/* окно браузера само никогда не скроллится: всё листается внутри каркаса */
html{height:100%;overflow:hidden}
body{height:100%;overflow:hidden;overflow:clip}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:var(--fs);font-size:16px;line-height:24px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:0}
input{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.muted{color:var(--muted)}
svg.i{display:block;flex:none}
.av{display:grid;place-items:center;border-radius:50%;flex:none;font-family:var(--fd);font-weight:900;color:#F3EFEF;background:radial-gradient(120% 120% at 20% 100%,#5A4146,#1C1718 70%)}
.tag{flex:none;height:24px;padding:0 7px;display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:4px;font-size:13px;font-weight:500;line-height:1;white-space:nowrap}
.btn{height:44px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;border:1px solid var(--line-strong);font-size:14px;font-weight:600;white-space:nowrap}
.btn:hover{border-color:var(--text)}
.btn-fill{background:var(--text);color:var(--bg);border-color:var(--text)}
.btn-fill:hover{opacity:.92}
.ghost{color:var(--muted);border-radius:8px}
.ghost:hover{color:var(--text);background:var(--surface)}
.cover{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#1C1718}

/* ---------- волна ---------- */
.wave{position:relative;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.wave canvas{display:block;width:100%;height:100%}
.w-line{position:absolute;top:0;bottom:0;width:1px;margin-left:-.5px;background:rgba(255,255,255,.85);pointer-events:none;opacity:0}
.w-tip{position:absolute;top:-30px;transform:translateX(-50%);height:22px;padding:0 7px;display:inline-flex;align-items:center;border-radius:4px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;line-height:1;font-weight:600;pointer-events:none;white-space:nowrap;opacity:0}
.wave.is-hover .w-line,.wave.is-hover .w-tip{opacity:1}
