/* Copyright 2022-2024 The Tiny5 Project Authors (https://github.com/Gissio/font_tiny5)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
 */
@font-face {
  font-family: 'Tiny5';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:url("/assets/fonts/tiny5-cyrillic-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Tiny5';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:url("/assets/fonts/tiny5-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Tiny5';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:url("/assets/fonts/tiny5-greek-400-normal.woff2") format("woff2");
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
@font-face {
  font-family: 'Tiny5';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:url("/assets/fonts/tiny5-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Tiny5';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:url("/assets/fonts/tiny5-latin-400-normal.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;
}
/* Handjet Circle Double Semibold, wght=600 / ELSH=8 / ELGR=2.
Source: https://github.com/rosettatype/handjet (SIL Open Font License 1.1).
Copyright 2018 The Handjet Project Authors (https://github.com/rosettatype/Handjet/)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

*/
/* This is the fixed Semibold variation, matching the reference site's face.
   It intentionally serves every CSS weight without synthetic pixel emboldening. */
@font-face {
  font-family:'Handjet Circle Double';
  font-style:normal;
  font-display:swap;
  font-weight:100 900;
  src:url('/assets/fonts/handjet-circle-double-semibold.woff2') format('woff2');
}
/* Copyright 2012 The Press Start 2P Project Authors (cody@zone38.net), with Reserved Font Name "Press Start 2P"

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
 */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:url("/assets/fonts/press-start-2p-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:url("/assets/fonts/press-start-2p-latin-400-normal.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: 'PB UI Pixel';
  font-style: normal;
  size-adjust:75%;
  font-display: swap;
  font-weight: 400;
  src:url("/assets/fonts/press-start-2p-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'PB UI Pixel';
  font-style: normal;
  size-adjust:75%;
  font-display: swap;
  font-weight: 400;
  src:url("/assets/fonts/press-start-2p-latin-400-normal.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;
}
/* Pixel Battle UI — ядро дизайн-системы: переменные, утилиты, кнопки, плеер.
   Безопасно для любых страниц, включая игры: не трогает html/body. */

:root{
  /* Цвета */
  --pb-color-bg-canvas:#050706;
  --pb-color-bg-base:#070a08;
  --pb-color-surface-1:#0c100d;
  --pb-color-surface-2:#111712;
  --pb-color-surface-3:#182019;
  --pb-color-surface-hover:#1d271f;
  --pb-color-border-subtle:#1a221b;
  --pb-color-border-default:#2b362d;
  --pb-color-border-strong:#3a473c;
  --pb-color-text-primary:#f1f6f1;
  --pb-color-text-secondary:#a5b0a7;
  --pb-color-text-muted:#808b83;
  --pb-color-text-faint:#59645b;
  --pb-color-text-inverse:#0b0d0b;
  --pb-color-accent:#b7ff19;
  --pb-color-accent-hover:#cbff5a;
  --pb-color-accent-foreground:#b7ff19;
  --pb-color-on-accent:#0b0d0b;
  --pb-color-accent-soft:rgba(183,255,25,.10);
  --pb-color-accent-border:rgba(183,255,25,.28);
  --pb-color-success:#58d68d;
  --pb-color-warning:#ffc857;
  --pb-color-danger:#ff6577;
  --pb-color-info:#5db7ff;
  --pb-color-identity-nickname:#75d57a;
  --pb-color-media-surface:#0c1210;
  --pb-color-skeleton-shine:rgba(255,255,255,.035);
  --pb-color-muted:var(--pb-color-text-muted);

  /* Типографика */
  --pb-font-ui:"PB UI Pixel",system-ui,sans-serif;
  --pb-font-compact:"Handjet Circle Double",system-ui,sans-serif;
  --pb-font-brand:"Press Start 2P",monospace;
  --pb-font-pixel:"Tiny5",monospace;
  --pb-font-mono:var(--pb-font-ui);
  --pb-fs-xs:12px;
  --pb-fs-sm:13px;
  --pb-fs-md:15px;
  --pb-fs-lg:17px;
  --pb-fs-xl:22px;
  --pb-fs-2xl:30px;

  /* Скругления: только три значения */
  --pb-radius-xs:4px;
  --pb-radius-sm:6px;
  --pb-radius-md:8px;
  --pb-radius-lg:8px;
  --pb-radius-round:999px;

  /* Пиксельные «ступенчатые» углы */
  --pb-notch-4:polygon(0 4px,4px 4px,4px 0,calc(100% - 4px) 0,calc(100% - 4px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 4px) calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 4px),0 calc(100% - 4px));
  --pb-notch-6:polygon(0 6px,6px 6px,6px 0,calc(100% - 6px) 0,calc(100% - 6px) 6px,100% 6px,100% calc(100% - 6px),calc(100% - 6px) calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,6px calc(100% - 6px),0 calc(100% - 6px));
  --pb-notch-8:polygon(0 8px,8px 8px,8px 0,calc(100% - 8px) 0,calc(100% - 8px) 8px,100% 8px,100% calc(100% - 8px),calc(100% - 8px) calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,8px calc(100% - 8px),0 calc(100% - 8px));

  /* Движение */
  --pb-motion-instant:80ms;
  --pb-motion-fast:120ms;
  --pb-motion-base:180ms;
  --pb-motion-surface:220ms;
  --pb-motion-nav:260ms;
  --pb-ease-out:cubic-bezier(.16,1,.3,1);

  /* Оболочка */
  --pb-rail-w:244px;
  --pb-topbar-h:56px;
  --pb-bottom-h:62px;
  --pb-player-h:58px;
  --pb-content-max:1180px;
}

html[data-pb-theme="light"]{
  --pb-color-bg-canvas:#cbd5c7;
  --pb-color-bg-base:#d6dfd2;
  --pb-color-surface-1:#e5eadf;
  --pb-color-surface-2:#dce4d6;
  --pb-color-surface-3:#c8d5c1;
  --pb-color-surface-hover:#c2d0bb;
  --pb-color-border-subtle:#c4cebd;
  --pb-color-border-default:#aebbab;
  --pb-color-border-strong:#8e9f88;
  --pb-color-text-primary:#29392d;
  --pb-color-text-secondary:#465949;
  --pb-color-text-muted:#526553;
  --pb-color-text-faint:#50634e;
  --pb-color-text-inverse:#edf1e8;
  --pb-color-accent:#a0bf72;
  --pb-color-accent-hover:#93b365;
  --pb-color-accent-foreground:#3b5d24;
  --pb-color-on-accent:#23351d;
  --pb-color-accent-soft:rgba(91,126,51,.11);
  --pb-color-accent-border:rgba(70,104,42,.26);
  --pb-color-success:#3e7047;
  --pb-color-warning:#85611f;
  --pb-color-danger:#a43e4c;
  --pb-color-info:#356b84;
  --pb-color-identity-nickname:#3f6b3c;
  --pb-color-media-surface:#cedac7;
  --pb-color-skeleton-shine:rgba(40,57,40,.04);
}
html[data-pb-theme="light"] :is(.pb-sidebar,.pb-topbar,.pb-bottomnav){background:var(--pb-color-surface-2)}
html[data-pb-theme="light"] .msn-sidebar{background:var(--pb-color-surface-1)}

/* ---------- Утилиты ---------- */
.pb-px4{clip-path:var(--pb-notch-4)}
.pb-px{clip-path:var(--pb-notch-6)}
.pb-px8{clip-path:var(--pb-notch-8)}
.pb-num{font-family:var(--pb-font-pixel);font-weight:400;letter-spacing:-.02em;line-height:1.2;font-variant-numeric:tabular-nums}
.pb-ico{display:inline-block;vertical-align:middle;flex:none;image-rendering:pixelated;object-fit:contain}
.pb-ico--mask{background:currentColor;-webkit-mask:var(--pb-ico) center/contain no-repeat;mask:var(--pb-ico) center/contain no-repeat}
.pb-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* ---------- Кнопки ---------- */
.pb-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border:0;border-radius:0;clip-path:var(--pb-notch-4);background:var(--pb-color-surface-3);color:var(--pb-color-text-primary);font:700 15px/1 var(--pb-font-ui);text-decoration:none;cursor:pointer;white-space:nowrap;transition:background var(--pb-motion-fast) var(--pb-ease-out),transform var(--pb-motion-instant) var(--pb-ease-out)}
.pb-btn:hover{background:var(--pb-color-surface-hover);color:var(--pb-color-text-primary)}
.pb-btn:active{transform:translateY(1px)}
.pb-btn[disabled]{opacity:.5;cursor:default}
.pb-btn--lime{background:var(--pb-color-accent);color:var(--pb-color-on-accent)}
.pb-btn--lime:hover{background:var(--pb-color-accent-hover);color:var(--pb-color-on-accent)}
.pb-btn--quiet{background:transparent;clip-path:none;border-radius:var(--pb-radius-sm);color:var(--pb-color-text-secondary);font-weight:600}
.pb-btn--quiet:hover{background:var(--pb-color-surface-2)}
.pb-btn--sm{min-height:36px;padding:0 12px;font-size:14px}
.pb-btn--icon{width:44px;padding:0}
.pb-btn--block{width:100%}

/* Счётчик-пилюля */
.pb-badge{min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:var(--pb-color-accent);color:var(--pb-color-on-accent);font:800 12px/1 var(--pb-font-ui);font-variant-numeric:tabular-nums}
.pb-badge[hidden]{display:none}

/* Вкладки */
.pb-tabs{display:flex;gap:28px;border-bottom:1px solid var(--pb-color-border-subtle);overflow-x:auto;scrollbar-width:none}
.pb-tabs::-webkit-scrollbar{display:none}
.pb-tab{appearance:none;position:relative;flex:none;height:48px;display:inline-flex;align-items:center;gap:7px;padding:0;border:0;background:none;color:var(--pb-color-text-muted);font:600 15px/1 var(--pb-font-ui);text-decoration:none;cursor:pointer;white-space:nowrap}
.pb-tab:hover{color:var(--pb-color-text-primary)}
.pb-tab small{font-size:13px;color:var(--pb-color-text-faint);font-weight:600}
.pb-tab.is-active,.pb-tab[aria-selected="true"]{color:var(--pb-color-text-primary)}
.pb-tab.is-active::after,.pb-tab[aria-selected="true"]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--pb-color-accent)}

/* Заголовок секции */
.pb-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
.pb-section-head h2,.pb-section-head h3{margin:0;font-size:17px;font-weight:800;letter-spacing:-.005em}
.pb-section-head a{font-size:14px;font-weight:600;color:var(--pb-color-accent-foreground);text-decoration:none}

/* Поверхности */
.pb-panel{background:var(--pb-color-surface-1);border:1px solid var(--pb-color-border-subtle);border-radius:var(--pb-radius-md)}

/* XP-полоска из пикселей */
.pb-xp{--pb-xp:0%;position:relative;height:10px;background:var(--pb-color-border-default);-webkit-mask:repeating-linear-gradient(90deg,#000 0 11px,transparent 11px 14px);mask:repeating-linear-gradient(90deg,#000 0 11px,transparent 11px 14px)}
.pb-xp::before{content:"";position:absolute;inset:0 auto 0 0;width:var(--pb-xp);background:var(--pb-color-accent)}

/* Скелетон */
.pb-skel{background:var(--pb-color-surface-2);border-radius:var(--pb-radius-xs)}

/* ---------- Каркас страницы ---------- */
.pb-page{width:100%;max-width:var(--pb-content-max);margin:0 auto;padding:20px 16px 40px;box-sizing:border-box;color:var(--pb-color-text-primary)}
.pb-page *,.pb-page *::before,.pb-page *::after{box-sizing:border-box}
.pb-page--narrow{max-width:760px}
.pb-page--wide{max-width:1400px}
.pb-page-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px;margin-bottom:22px}
.pb-page-head h1{margin:0;font-size:26px;line-height:1.15;font-weight:800;letter-spacing:-.015em}
.pb-page-head p{margin:8px 0 0;max-width:62ch;font-size:15px;line-height:1.5;color:var(--pb-color-text-secondary)}
.pb-page-actions{display:flex;flex-wrap:wrap;gap:8px}
.pb-layout{display:block}
.pb-layout>*{min-width:0}
.pb-section{margin-bottom:30px}
.pb-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(var(--pb-grid-min,240px),1fr))}

/* ---------- Списки и строки ---------- */
.pb-list{list-style:none;margin:0;padding:0}
.pb-row{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 0;border-bottom:1px solid var(--pb-color-border-subtle);color:var(--pb-color-text-primary);text-decoration:none}
a.pb-row:hover .pb-row-title,button.pb-row:hover .pb-row-title{color:var(--pb-color-accent-foreground)}
button.pb-row{appearance:none;width:100%;border-left:0;border-right:0;border-top:0;background:none;font:inherit;text-align:left;cursor:pointer}
.pb-row-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.pb-row-title{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pb-row-sub{font-size:13px;line-height:1.4;color:var(--pb-color-text-muted)}
.pb-row-meta{flex:none;font-size:13px;color:var(--pb-color-text-muted);white-space:nowrap;font-variant-numeric:tabular-nums}

/* ---------- Аватары ---------- */
.pb-avatar{width:var(--pb-avatar,44px);height:var(--pb-avatar,44px);flex:none;display:block;object-fit:cover;clip-path:var(--pb-notch-4);background:var(--pb-color-surface-2)}
.pb-avatar--sm{--pb-avatar:32px}
.pb-avatar--lg{--pb-avatar:64px;clip-path:var(--pb-notch-6)}
.pb-avatar-wrap{position:relative;flex:none;display:inline-block}
.pb-online-dot{position:absolute;right:-3px;bottom:-3px;width:11px;height:11px;border:2px solid var(--pb-color-bg-base);background:var(--pb-color-success)}

/* ---------- Формы ---------- */
.pb-field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}
.pb-label{font-size:14px;font-weight:600;color:var(--pb-color-text-primary)}
.pb-hint{font-size:13px;line-height:1.45;color:var(--pb-color-text-muted)}
.pb-error-text{font-size:13px;color:var(--pb-color-danger)}
.pb-input,.pb-select,.pb-textarea{width:100%;min-height:46px;padding:0 14px;border:1px solid var(--pb-color-border-default);border-radius:var(--pb-radius-md);background:var(--pb-color-bg-base);color:var(--pb-color-text-primary);font:500 16px/1.4 var(--pb-font-ui);box-sizing:border-box;transition:border-color var(--pb-motion-fast) var(--pb-ease-out)}
.pb-textarea{min-height:110px;padding:12px 14px;resize:vertical}
.pb-input::placeholder,.pb-textarea::placeholder{color:var(--pb-color-text-faint)}
.pb-input:focus,.pb-select:focus,.pb-textarea:focus{outline:none;border-color:var(--pb-color-accent-border)}
.pb-input[aria-invalid="true"]{border-color:var(--pb-color-danger)}
.pb-switch{position:relative;display:inline-flex;align-items:center;gap:12px;min-height:44px;cursor:pointer;font-size:15px}
.pb-switch input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.pb-switch-track{position:relative;flex:none;width:38px;height:22px;clip-path:var(--pb-notch-4);background:var(--pb-color-surface-3)}
.pb-switch-track::after{content:"";position:absolute;top:5px;left:5px;width:12px;height:12px;background:var(--pb-color-text-muted);transition:transform var(--pb-motion-base) var(--pb-ease-out),background var(--pb-motion-base) var(--pb-ease-out)}
.pb-switch input:checked+.pb-switch-track::after{transform:translateX(16px);background:var(--pb-color-accent)}
.pb-switch input:focus-visible+.pb-switch-track{outline:2px solid var(--pb-color-accent);outline-offset:2px}

/* ---------- Сегменты, чипы, уведомления, пустые состояния ---------- */
.pb-segment{display:inline-flex;gap:2px;padding:3px;border-radius:var(--pb-radius-sm);background:var(--pb-color-surface-2)}
.pb-segment>a,.pb-segment>button{appearance:none;min-height:36px;padding:0 14px;display:inline-flex;align-items:center;border:0;border-radius:4px;background:none;color:var(--pb-color-text-muted);font:600 14px/1 var(--pb-font-ui);text-decoration:none;cursor:pointer;white-space:nowrap}
.pb-segment>a:hover,.pb-segment>button:hover{color:var(--pb-color-text-primary)}
.pb-segment>.is-active,.pb-segment>[aria-pressed="true"],.pb-segment>[aria-selected="true"],.pb-segment>[aria-current="page"]{background:var(--pb-color-surface-hover);color:var(--pb-color-text-primary)}
.pb-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border-radius:var(--pb-radius-sm);background:var(--pb-color-surface-2);color:var(--pb-color-text-secondary);font-size:13px;font-weight:600;white-space:nowrap}
.pb-chip--accent{background:var(--pb-color-accent-soft);color:var(--pb-color-accent-foreground)}
.pb-notice{padding:12px 14px;border:1px solid var(--pb-color-border-subtle);border-radius:var(--pb-radius-md);background:var(--pb-color-surface-1);color:var(--pb-color-text-secondary);font-size:14px;line-height:1.5}
.pb-notice--success{border-color:rgba(88,214,141,.35);color:var(--pb-color-success)}
.pb-notice--warning{border-color:rgba(255,200,87,.35);color:var(--pb-color-warning)}
.pb-notice--danger{border-color:rgba(255,101,119,.4);color:var(--pb-color-danger)}
.pb-empty{padding:48px 16px;text-align:center;font-size:15px;line-height:1.5;color:var(--pb-color-text-muted)}
.pb-empty strong{display:block;margin-bottom:6px;font-size:17px;color:var(--pb-color-text-primary)}
.pb-empty .pb-btn{margin-top:16px}
.pb-stat{display:flex;flex-direction:column;gap:8px}
.pb-stat b{font-family:var(--pb-font-pixel);font-weight:400;font-size:16px;line-height:1.2;color:var(--pb-color-text-primary)}
.pb-stat span{font-size:13px;color:var(--pb-color-text-muted)}
.pb-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.pb-table th{padding:10px 8px;border-bottom:1px solid var(--pb-color-border-default);color:var(--pb-color-text-muted);font-size:13px;font-weight:600;text-align:left}
.pb-table td{padding:12px 8px;border-bottom:1px solid var(--pb-color-border-subtle)}

/* ---------- Диалог: шторка на телефоне, окно на ПК ---------- */
.pb-dialog{position:fixed;z-index:10200;inset:0;display:flex;align-items:flex-end;justify-content:center}
.pb-dialog[hidden]{display:none}
.pb-dialog-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.66)}
.pb-dialog-panel{position:relative;width:100%;max-height:88dvh;overflow:auto;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--pb-color-border-default);background:var(--pb-color-surface-1);color:var(--pb-color-text-primary);box-sizing:border-box}
.pb-dialog-panel h2{margin:0 0 8px;font-size:20px;font-weight:800}
.pb-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:20px}

/* ---------- Мини-плеер ---------- */
.pb-player,.pb-player *,.pb-player-sheet,.pb-player-sheet *{box-sizing:border-box}
.pb-player{position:fixed;z-index:9993;left:8px;right:8px;bottom:calc(var(--pb-bottom-h) + 6px + env(safe-area-inset-bottom,0px));height:var(--pb-player-h);display:flex;align-items:center;gap:10px;padding:0 4px 0 7px;overflow:hidden;border-radius:var(--pb-radius-md);background:var(--pb-color-surface-2);color:var(--pb-color-text-primary);box-shadow:0 10px 30px rgba(0,0,0,.35)}
.pb-player[hidden]{display:none}
html:not(:has(.pb-bottomnav)) .pb-player{bottom:calc(8px + env(safe-area-inset-bottom,0px))}
.pb-player-open{appearance:none;flex:1;min-width:0;height:100%;display:flex;align-items:center;gap:11px;padding:0;border:0;background:none;color:inherit;text-align:left;cursor:pointer;font:inherit}
.pb-player-cover{width:42px;height:42px;flex:none;object-fit:cover;clip-path:var(--pb-notch-4);background:var(--pb-color-surface-3)}
.pb-player-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.pb-player-copy strong{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pb-player-copy span{font-size:12px;color:var(--pb-color-text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pb-player-copy span:empty{display:none}
.pb-player-btn{appearance:none;width:42px;height:42px;flex:none;display:grid;place-items:center;border:0;border-radius:var(--pb-radius-sm);background:none;color:var(--pb-color-text-primary);cursor:pointer}
.pb-player-btn:hover{background:var(--pb-color-surface-3)}
.pb-player-btn[disabled]{opacity:.35;cursor:default}
.pb-player-btn svg,.pb-player-btn .pb-ico{width:20px;height:20px}
.pb-player [data-pb-global-music-prev]{display:none}
.pb-player-line{position:absolute;left:0;bottom:0;height:2px;width:var(--pb-global-progress,0%);background:var(--pb-color-accent);pointer-events:none}
.pb-player .pb-player-play-ico,.pb-player-sheet .pb-player-play-ico{display:inline-flex}
.pb-player .pb-player-pause-ico,.pb-player-sheet .pb-player-pause-ico{display:none}
[data-playing="1"] .pb-player-play-ico{display:none}
[data-playing="1"] .pb-player-pause-ico{display:inline-flex}
.pb-player-resume{position:absolute;inset:0;display:none;align-items:center;justify-content:center;gap:8px;border:0;background:var(--pb-color-surface-3);color:var(--pb-color-text-primary);font:700 14px var(--pb-font-ui);cursor:pointer}
.pb-player.needs-gesture .pb-player-resume{display:flex}

/* ---------- Карточка трека (полноэкранная на телефоне, всплывающая на ПК) ---------- */
.pb-player-sheet{position:fixed;z-index:10020;inset:0;display:flex;flex-direction:column;padding:calc(10px + env(safe-area-inset-top,0px)) 22px calc(22px + env(safe-area-inset-bottom,0px));background:var(--pb-color-bg-base);color:var(--pb-color-text-primary);transform:translateY(100%);transition:transform var(--pb-motion-nav) var(--pb-ease-out);overflow-y:auto}
.pb-player-sheet[hidden]{display:none}
.pb-player-sheet.is-open{transform:none}
.pb-player-sheet-backdrop{display:none}
.pb-player-sheet-head{height:48px;display:flex;align-items:center;justify-content:space-between;margin:0 -10px}
.pb-player-sheet-head span{font-size:13px;font-weight:600;color:var(--pb-color-text-muted)}
.pb-player-sheet-cover{width:100%;max-width:420px;aspect-ratio:1;margin:18px auto 26px;display:block;object-fit:cover;clip-path:var(--pb-notch-8);background:var(--pb-color-surface-2)}
.pb-player-sheet-cover.is-empty{display:none}
.pb-player-sheet-meta{display:flex;align-items:center;gap:12px;max-width:420px;width:100%;margin:0 auto}
.pb-player-sheet-meta div{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.pb-player-sheet-meta strong{font-size:22px;font-weight:800;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pb-player-sheet-meta span{font-size:15px;color:var(--pb-color-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pb-player-save{appearance:none;width:46px;height:46px;flex:none;display:grid;place-items:center;border:0;clip-path:var(--pb-notch-4);background:var(--pb-color-surface-3);color:var(--pb-color-text-primary);cursor:pointer}
.pb-player-save.is-saved{background:var(--pb-color-accent);color:var(--pb-color-on-accent)}
.pb-player-save svg,.pb-player-save .pb-ico{width:22px;height:22px}
.pb-player-seek{max-width:420px;width:100%;margin:22px auto 0}
.pb-player-seek input,.pb-player-volume input{--pb-range-fill:var(--pb-global-progress,0%);width:100%;margin:0;height:24px;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer;touch-action:none}
.pb-player-volume input{--pb-range-fill:var(--pb-global-volume-progress,100%)}
.pb-player-seek input::-webkit-slider-runnable-track,.pb-player-volume input::-webkit-slider-runnable-track{height:4px;background:linear-gradient(90deg,var(--pb-color-accent) 0 var(--pb-range-fill),var(--pb-color-border-default) var(--pb-range-fill) 100%)}
.pb-player-seek input::-moz-range-track,.pb-player-volume input::-moz-range-track{height:4px;border:0;background:var(--pb-color-border-default)}
.pb-player-seek input::-moz-range-progress,.pb-player-volume input::-moz-range-progress{height:4px;background:var(--pb-color-accent)}
.pb-player-seek input::-webkit-slider-thumb,.pb-player-volume input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;margin-top:-4px;border:0;border-radius:0;background:var(--pb-color-accent);transition:transform var(--pb-motion-fast) var(--pb-ease-out)}
.pb-player-seek input::-moz-range-thumb,.pb-player-volume input::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:0;background:var(--pb-color-accent)}
.pb-player-seek input:active::-webkit-slider-thumb,.pb-player-volume input:active::-webkit-slider-thumb{transform:scale(1.25)}
.pb-player-times{display:flex;justify-content:space-between;margin-top:4px;font-size:12px;color:var(--pb-color-text-muted);font-variant-numeric:tabular-nums}
.pb-player-controls{max-width:420px;width:100%;margin:16px auto 0;display:flex;align-items:center;justify-content:center;gap:22px}
.pb-player-controls .pb-player-btn{width:56px;height:56px}
.pb-player-controls .pb-player-btn svg,.pb-player-controls .pb-player-btn .pb-ico{width:26px;height:26px}
.pb-player-main{appearance:none;width:72px;height:72px;display:grid;place-items:center;border:0;clip-path:var(--pb-notch-6);background:var(--pb-color-accent);color:var(--pb-color-on-accent);cursor:pointer}
.pb-player-main svg,.pb-player-main .pb-ico{width:28px;height:28px}
.pb-player-volume{display:none}
.pb-player-queue{max-width:420px;width:100%;margin:30px auto 0}
.pb-player-queue h3{margin:0 0 6px;font-size:15px;font-weight:800}
.pb-player-queue ol{list-style:none;margin:0;padding:0}
.pb-player-queue li button{appearance:none;width:100%;min-height:48px;display:flex;align-items:center;gap:12px;padding:6px 0;border:0;border-top:1px solid var(--pb-color-border-subtle);background:none;color:var(--pb-color-text-primary);text-align:left;cursor:pointer;font:inherit}
.pb-player-queue li button span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pb-player-queue li button b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pb-player-queue li button small{font-size:12px;color:var(--pb-color-text-muted)}
.pb-player-queue li button.is-current b{color:var(--pb-color-accent-foreground)}
.pb-player-queue li button i{font-style:normal;font-size:12px;color:var(--pb-color-text-faint);width:20px}

/* ---------- Адаптив ядра ---------- */
@media (min-width:768px){
  .pb-page{padding:24px 24px 48px}
  .pb-dialog{align-items:center}
  .pb-dialog-panel{width:min(520px,calc(100% - 48px));padding:24px;border:1px solid var(--pb-color-border-default);border-radius:var(--pb-radius-md)}
  .pb-player{left:auto;right:16px;width:380px}
}
@media (min-width:1100px){
  .pb-page{padding:28px 36px 64px}
  .pb-page-head h1{font-size:30px}
  .pb-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;align-items:start}
  .pb-layout--aside-left{grid-template-columns:300px minmax(0,1fr)}
  .pb-aside-sticky{position:sticky;top:24px}
  .pb-player{left:12px;right:auto;bottom:12px;width:calc(var(--pb-rail-w) - 24px);box-shadow:none;border:1px solid var(--pb-color-border-subtle);background:var(--pb-color-surface-1)}
  html:not(:has(.pb-sidebar)) .pb-player{left:auto;right:16px;width:380px}
  .pb-player [data-pb-global-music-prev]{display:grid}
  .pb-player .pb-player-btn{width:34px;height:34px}
  .pb-player-cover{width:38px;height:38px}
  .pb-player-sheet{inset:auto auto 82px 12px;width:380px;max-height:calc(100dvh - 100px);padding:6px 20px 20px;border:1px solid var(--pb-color-border-default);border-radius:var(--pb-radius-md);background:var(--pb-color-surface-1);box-shadow:0 24px 60px rgba(0,0,0,.5);transform:translateY(12px);opacity:0;transition:transform var(--pb-motion-base) var(--pb-ease-out),opacity var(--pb-motion-base) var(--pb-ease-out)}
  html:not(:has(.pb-sidebar)) .pb-player-sheet{left:auto;right:16px}
  .pb-player-sheet.is-open{transform:none;opacity:1}
  .pb-player-sheet-cover{max-width:none;margin:8px 0 18px}
  .pb-player-volume{display:flex;align-items:center;gap:10px;max-width:420px;width:100%;margin:14px auto 0;color:var(--pb-color-text-muted)}
  .pb-player-volume input{flex:1}
  html.pb-player-sheet-open,html.pb-player-sheet-open body{overflow:auto}
}
@media (prefers-reduced-motion:reduce){
  .pb-player-sheet{transition:none}
}

/* Кнопка-иконка без подписи */
.pb-iconbtn{appearance:none;flex:none;width:40px;height:40px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:var(--pb-radius-sm);background:transparent;color:var(--pb-color-text-secondary);cursor:pointer}
.pb-iconbtn:hover{background:var(--pb-color-surface-2);color:var(--pb-color-text-primary)}
.pb-iconbtn svg,.pb-iconbtn img{width:18px;height:18px}
.pb-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- Плеер: доработки 2026-10-20 ---------- */
/* Игровые страницы (нет левой колонки и нижнего меню): плеер сжимается до кнопки
   «обложка + пауза» в левом нижнем углу и не перекрывает интерфейс игры. Карточка трека — по нажатию. */
html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player{left:10px;right:auto;bottom:calc(10px + env(safe-area-inset-bottom,0px));width:auto;height:48px;gap:2px;padding:0 2px 0 4px;border:1px solid var(--pb-color-border-default);background:var(--pb-color-surface-1);box-shadow:0 8px 24px rgba(0,0,0,.35)}
html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player-open{flex:none}
html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player-copy,
html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player [data-pb-global-music-prev],
html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player [data-pb-global-music-next]{display:none!important}
html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player-cover{width:38px;height:38px}
html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player-sheet{left:10px;right:auto;bottom:66px;top:auto}

@media (min-width:1100px){
  /* Левая колонка: название в две строки, без кнопок «назад/вперёд» (они в карточке трека) */
  .pb-sidebar ~ .pb-player [data-pb-global-music-prev],.pb-sidebar ~ .pb-player [data-pb-global-music-next],
  html:has(.pb-sidebar) .pb-player [data-pb-global-music-prev],html:has(.pb-sidebar) .pb-player [data-pb-global-music-next]{display:none}
  html:has(.pb-sidebar) .pb-player{height:64px}
  html:has(.pb-sidebar) .pb-player-copy strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.25}
  /* Колонка оставляет место под плеером, чтобы нижние пункты меню не прятались за ним */
  html.pb-global-music-active .pb-sidebar{padding-bottom:calc(64px + 24px)}
  /* Карточка трека на ПК без общей прокрутки: обложка поменьше, прокручивается только очередь */
  .pb-player-sheet{overflow:hidden;display:flex;flex-direction:column}
  .pb-player-sheet-cover{width:200px;max-width:200px;margin:8px auto 14px}
  .pb-player-queue{flex:1 1 auto;min-height:0;margin-top:18px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--pb-color-border-default) transparent}
  .pb-player-queue::-webkit-scrollbar{width:6px}
  .pb-player-queue::-webkit-scrollbar-thumb{background:var(--pb-color-border-default)}
}
/* Кликер и Pixel Miner на телефоне: тот же компактный плеер над нижним меню, слева */
@media (max-width:1099px){
  body.clicker-workspace-page .pb-player,body[data-pb-full-page="pixel-miner"] .pb-player{left:10px;right:auto;width:auto;height:48px;gap:2px;padding:0 2px 0 4px;border:1px solid var(--pb-color-border-default);background:var(--pb-color-surface-1)}
  body.clicker-workspace-page .pb-player-open,body[data-pb-full-page="pixel-miner"] .pb-player-open{flex:none}
  body.clicker-workspace-page .pb-player-copy,body[data-pb-full-page="pixel-miner"] .pb-player-copy,
  body.clicker-workspace-page .pb-player [data-pb-global-music-prev],body[data-pb-full-page="pixel-miner"] .pb-player [data-pb-global-music-prev],
  body.clicker-workspace-page .pb-player [data-pb-global-music-next],body[data-pb-full-page="pixel-miner"] .pb-player [data-pb-global-music-next]{display:none!important}
  body.clicker-workspace-page .pb-player-cover,body[data-pb-full-page="pixel-miner"] .pb-player-cover{width:38px;height:38px}
}

/* 2026-10-20: игры без бокового меню (Pixel Battle, Pixel World) — плеер в верхней панели на широком экране */
@media (min-width:1440px){
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player{top:16px;bottom:auto;left:880px;right:auto;width:320px;height:48px;gap:4px;padding:0 4px 0 5px;z-index:10005;box-shadow:none}
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player-open{flex:1}
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player-copy{display:flex!important}
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player-copy strong{font-size:13px}
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player [data-pb-global-music-next]{display:grid!important}
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player .pb-player-btn{width:34px;height:34px}
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player-cover{width:36px;height:36px}
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player-sheet{top:72px;bottom:auto;left:880px;right:auto}
  /* Pixel World: свободное место сразу после названия режима */
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) body.pw-page .pb-player,html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) body.pw-page .pb-player-sheet{left:300px}
}
/* Телефон в играх: только кнопка, меньше и не мешает палитре */
@media (max-width:767px){
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player{left:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));height:40px;padding:0 2px}
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player-cover{width:30px;height:30px}
  html:not(:has(.pb-sidebar)):not(:has(.pb-bottomnav)) .pb-player .pb-player-btn{width:32px;height:32px}
}

/* Текст и даты остаются цельными; отдельные показатели используют общий шрифт цифр. */
body,button,input,textarea,select{font-family:var(--pb-font-ui)}
.home-feed-action-count,.pb-post-comments-btn>span:last-child,[data-view-count],[data-like-count],[data-profile-comment-like-count],[data-pb-music-count],[data-pb-music-upload-count],.ci-unread,.ci-mention-unread{font-family:var(--pb-font-pixel);font-weight:400;font-size:11px;font-variant-numeric:tabular-nums;line-height:1.35}
.pb-badge,.pb-iconbtn .pb-badge,.pb-nav-link .pb-badge{font-family:var(--pb-font-pixel);font-weight:400;font-size:9px;font-variant-numeric:tabular-nums}

/* Логотип сохраняет фирменное начертание; цифровые показатели — Tiny5. */
.pb-brand{font-family:var(--pb-font-brand)}

/* Более широкий основной шрифт: длинные слова и кнопки помещаются на телефоне. */
body{overflow-wrap:anywhere}
@media(max-width:600px){.pb-btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5;padding-top:10px;padding-bottom:10px}}
@media(max-width:600px){body .home-feed-time,body .profile-post-time{white-space:normal;overflow-wrap:anywhere}}

/* Компактный шрифт для времени, длительности и подсказок, без смены основного текста. */
body .pb-hint,body .pb-row-meta,body .pb-player-times,body .pb-media-time,body .pb-media-duration,body .pb-media-current{font-family:var(--pb-font-compact);font-size:15px;font-weight:400;line-height:1.35}

/* Shared game selector icon column. */
.pb2-play-mode .pb2-play-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;color:var(--pb-color-accent-foreground)}
.pb2-play-mode .pb2-play-icon>.pb-ico{display:block}
