.top-nav a{font-size:15px}
.shelf-page-static .personal-library{background:transparent!important;border:0;border-radius:0;padding:0}
.shelf-page-static .personal-books{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 18px}
.shelf-page-static .shelf-card h2{font-size:16px;line-height:1.35;margin:12px 0 8px}
.shelf-page-static .shelf-card p{font-size:12px;line-height:1.45;margin:5px 0}
.personal-library-head button[data-clear-shelf]{padding:8px 13px;border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--text);cursor:pointer;font-size:14px}
.personal-library-head button[data-clear-shelf]:hover{border-color:var(--green);color:var(--green);background:var(--green-light)}
.personal-library-head button[data-clear-shelf]:focus-visible{outline:2px solid var(--green);outline-offset:2px}
[data-theme=dark] .personal-library-head button[data-clear-shelf]{background:#26392f!important;color:#e0eae4!important;border-color:#526a5b!important}
[data-theme=dark] .personal-library-head button[data-clear-shelf]:hover{background:#34513f!important;color:#fff!important}
[data-theme=dark] .external-search-invite{background:#222f29;color:var(--text);border-color:var(--line)}
[data-theme=dark] .external-search-invite p{color:var(--text)}
[data-theme=dark] .external-search-invite small{color:#b6c7be}
[data-theme=dark] .external-search-button{background:#137e66;color:#fff!important}
[data-theme=dark] .external-search-button:hover{background:#176e5b}
@media(max-width:1099px) and (min-width:901px){.shelf-page-static .personal-books{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px) and (min-width:601px){.shelf-page-static .personal-books{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.shelf-page-static .personal-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.shelf-page-static .shelf-card h2{font-size:15px}.personal-library-head{gap:12px}}
.pagination__pages{flex-wrap:wrap}
.header-row{gap:26px}.header-row .search{max-width:240px}
.top-nav{align-items:center;gap:22px}
.header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.header-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--green-dark);cursor:pointer;text-decoration:none}
.header-icon:hover{background:var(--green-light)}.header-icon:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.header-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.header-icon .theme-sun{display:none}
html[data-theme=dark]{color-scheme:dark;--green:#55cfaf;--green-dark:#6bd9bd;--green-light:#253f36;--dark:#edf3ef;--text:#d9e2dd;--muted:#a1b2a9;--line:#35443d;--soft:#202b26;--white:#171e1c}
html[data-theme=light]{color-scheme:light}
[data-theme=dark] .theme-moon{display:none}[data-theme=dark] .header-icon .theme-sun{display:block}
[data-theme=dark] body{background:var(--white);color:var(--text)}
[data-theme=dark] :is(.site-header,.top-nav,.search,.menu-toggle,.personal-book,.gp-playlist,.gp-playlist li button,.ui-dialog,#searchsuggestions){background:#202925;color:var(--text);border-color:var(--line)}
[data-theme=dark] :is(.author-heading,.catalog-filters,.personal-library,.external-audio-card,.gc-status,.gp-shell,.gp-playlist li.is-current button,.gp-playlist li button:hover){background:#222f29;color:var(--text);border-color:var(--line)}
[data-theme=dark] :is(input,select,textarea,.xf-search,.catalog-filters input,.catalog-filters select){background:#1b2420;color:var(--text);border-color:#46594e}
[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#a7b5ad}
[data-theme=dark] :is(.logo,.top-nav a,.title-row h1,.card h2 a,.book h1,.related h2,.book-description h2,.seo h2,.fields-list a,.side a,.related-card h3,.gp-controls button,.ui-dialog-title,.external-audio-card-title){color:var(--text)}
[data-theme=dark] :is(.card p,.annotation,.seo p,.book-rating small,.listing-heading p,.catalog-count,.author-heading-text p,.field_counter,.book dt,.breadcrumbs,.breadcrumbs a,.related-card p,.personal-book small,.external-audio-card-body p,.quick-search-empty){color:var(--muted)}
[data-theme=dark] :is(.cover,.book-cover img,.related-cover,.personal-book img,.external-audio-card-cover){background:#25322b}
[data-theme=dark] :is(.author-avatar,.author-avatar img){background-color:#2c4539!important}
[data-theme=dark] :is(.badge,.book-genres a,.tags i,.shelf-button){background:#284436;color:#78dfbe;border-color:#3b735b}
[data-theme=dark] :is(.side h3,.book-description,.related,.seo,.fields-list li,.gp-playlist,.gp-playlist-head,.gp-playlist li,.ui-dialog-titlebar){border-color:var(--line)}
[data-theme=dark] .side .side-more,[data-theme=dark] a:hover{color:var(--green)}
[data-theme=dark] .site-footer{background:#101713}
[data-theme=dark] :is(.gp-speed,.gp-list-toggle,.gp-back,.gp-forward){background:#2b3f34!important;color:#85e6c5!important;border-color:#465b4e!important}
[data-theme=dark] .gp-play{background:#14876a!important;color:white!important}
[data-theme=dark] .player-load-error{background:#3a2525;border-color:#81504b;color:#f2c8c2}
[data-theme=dark] .ui-dialog-buttonpane{background:#202925;border-color:var(--line)}
[data-theme=dark] .quick-search-item,[data-theme=dark] .quick-search-more{background:#202925;color:var(--text);border-color:var(--line)}
[data-theme=dark] .quick-search-item:hover{background:#2a3c32}
[data-theme=dark] .author-avatar{color:#77deba}
[data-theme=dark] .book-rating .unit-rating:before{color:#63786b}
@media(max-width:1100px) and (min-width:901px){.header-row{gap:16px}.top-nav{gap:14px}.header-row .search{max-width:220px}}
@media(max-width:900px){.header-row{gap:14px}.header-row .search{max-width:240px}.top-nav{align-items:stretch}.header-actions{margin-left:0}.menu-toggle{order:4}}
@media(max-width:680px){.header-row .search{order:5;flex-basis:100%;max-width:none}.header-actions{margin-left:auto}.menu-toggle{margin-left:0}.header-row{gap:10px}.logo b{font-size:28px}.header-icon{width:36px;height:36px}}
