body {
	background-color: #fff;
	opacity: 0;
	color: #2A2F36;
    scroll-behavior: smooth;
}

.wrap-reader a,
.wrap-reader a:hover,
.wrap-reader a:visited {
    color: #0067a3;
    text-decoration: none;
}

.wrap-reader .pages {
    margin: 26px 0 0;
    text-align: center;
}

.wrap-reader .navigation .pages span {
    margin: 4px 6px 4px 2px;
}

.wrap-reader .pages a,
.wrap-reader .pages span {
    font-size: 17px;
    padding: 0 16px;
    line-height: 42px;
    border-radius: 999px;
    display: inline-block;
    margin: 5px 4px;
    min-width: 42px;
    min-height: 42px;
    text-align: center;
    font-weight: 800;
}

.wrap-reader .pages span {
    background: #d5a514;
    color: #FFFFFF;
}

.wrap-reader .pages a {
    border: 1px solid #d5aa28;
    background: #fff;
    color: #059669 !important;
    text-decoration: none !important;
}

.wrap-reader .pages a.fb2-page-prev,
.wrap-reader .pages a.fb2-page-next {
    min-width: 126px;
}

.wrap-reader .pages .nav_ext {
    background: none;
    color: #373C43;
    padding-left: 0;
    padding-right: 0;
}

.wrap-reader .speedbar {
    margin: 0 0 10px;
}

.wrap-reader .book-notes {
    margin-top: 10px;
    font-size: 12px;
    line-height: 17px;
    font-style: italic;
    color: #696767;
}

.wrap-reader .book-notes span {
    color: #dc4801;
}

.wrap-reader .fb2-book sup {
	color: #dc4801;
    vertical-align: super;
    font-size: smaller;
}

.wrap-reader .fb2-book .title {
	font-size: 20px;
	margin: 0 0 0.8em;
}

.wrap-reader .fb2-book {
	line-height: 32px;
	font-size: 17px;
	margin: auto;
	width: 100%;
}

.wrap-reader .fb2-area {
	border-radius: 2px;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
	padding: 4%;
	position: relative;
}

.wrap-reader .left {
	float: left;
}

.wrap-reader .right {
	float: right;
}

.wrap-reader * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-size: 100%;
	outline: none;
}

.reader-top-panels .fb2-cfg {
	position: relative;
	height: 40px;
}

.wrap-reader .fb2-cfg.js-open .fb2-cfg-ul {
	opacity: 1;
	top: 30px;
	visibility: visible;
}

.wrap-reader a#open-fb2-cfg {
    font-size: 17px;
}

.wrap-reader .fb2-cfg-ul {
	transition: opacity .25s linear, top .25s linear;
	background: #fff;
	box-shadow: 0 2px 5px 3px #ddd;
	list-style: none;
	position: absolute;
	right: 0;
	top: 0;
	padding: 15px 0 2px 0;
	width: 300px;
	opacity: 0;
	color: #333;
	visibility: hidden;
}

.wrap-reader ul.fb2-cfg-ul li span{
    display: block;
    margin-bottom: 5px;    
    font-size:16px;
}

.wrap-reader .quote {
	border: 1px solid #eee;
	border-left: 2px solid #e85319;
    font-style: italic;
	margin: 0 0 10px;
    padding: 4px 10px;
}

.wrap-reader .fb2-cfg-ul li {
    border-bottom: 1px solid #f2f2f2;
    font-size: 15px;
    margin: 0 0 10px;
    padding: 0 30px 10px;
    text-align: left;
}

.wrap-reader .fb2-cfg-ul li:last-child {
    border: 0 none;
    padding: 0 30px 0;
}

.wrap-reader #fb2-book-font,
.wrap-reader .fb2-cfg-ul {
	border-radius: 4px;
}

.wrap-reader #fb2-book-font {
    border: 1px solid #f0f0f0;
    color: #555;
    display: block;
    font-size: 15px;
    padding: 4px 6px;
    width: 100%;
}

.wrap-reader select#fb2-theme-select {
    border: 1px solid #f0f0f0;
    color: #555;
    display: block;
    font-size: 15px;
    padding: 4px 6px;
    width: 100%;
    border-radius: 4px;
}

.wrap-reader .wrap {
    font-family: arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    margin: 4% auto;
    padding: 0 0;
    max-width: 1200px;
    width: 100%;
}

.wrap-reader #fb2-book-reset {
	display: block;
    margin: 8px 0 0;
    background: #d5a514;
    color: #ffffff;
    padding: 5px;
    width: 150px;
    text-align: center;
    border-radius: 8px;
}

.wrap-reader .fb2-book h1 {
    text-align: center;
    font-weight: normal;
    font-size: 24px;
    line-height: 27px;
    margin: 20px 0 0 0;
}

.wrap-reader .fb2-book .author {
    text-align: center;
}

.wrap-reader img.poster {
    display: block;
    margin: 10px auto 15px auto;
    width: 180px;
}

.wrap-reader ._range {
	margin-top: 6px;
    cursor: pointer;
    background-clip: padding-box;
    vertical-align: top;
    outline: 0;
    -webkit-appearance: none;
    background: transparent;
    width: 100%;
    height: 8px;
    border-radius: 5px;
}

.wrap-reader ._range:focus,
.wrap-reader ._range::-moz-focus-inner {
    outline: 0;
}

.wrap-reader ._range::-webkit-slider-runnable-track {
    height: 3px;
}

.wrap-reader ._range::-webkit-slider-thumb {
    box-shadow: 0 1px 5px rgba(0,0,0,0.5);
    border: 0 none;
    height: 18px;
    width: 18px;
    border-radius: 9px;
    background: #fff;
    -webkit-appearance: none;
    margin-top: -7.5px;
}

.wrap-reader ._range::-webkit-slider-thumb:active {
    background: #1aafa8;
}

.wrap-reader ._r1 {
    background-image: -webkit-gradient(linear, left top, right top, color-stop(1,#1aafa8));
}

.wrap-reader ._r2 {
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0.2,#1aafa8), color-stop(0.2,#cbcbcb));
}

.wrap-reader ._r3 {
    background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(0, rgb(26, 175, 168)), color-stop(0, rgb(203, 203, 203)));
}

.wrap-reader ._r4 {
	background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(0.5, rgb(26, 175, 168)), color-stop(0.5, rgb(203, 203, 203)));
}

.wrap-reader ._range::-moz-range-track {
    width: 100%;
    height: 3px;
    background: #cbcbcb;
}

.wrap-reader ._range::-moz-range-thumb {
    box-shadow: 0 1px 5px rgba(0,0,0,0.5);
    border: 0 none;
    height: 18px;
    width: 18px;
    border-radius: 9px;
    background: #fff;
}

.wrap-reader ._range::-moz-range-progress {
    height: 3px;
    background: #1aafa8;
}

.wrap-reader ._range::-ms-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: transparent;
    border-width: 10.5px 0;
}

.wrap-reader ._range::-ms-fill-lower {
    background: #1aafa8;
}

.wrap-reader ._range::-ms-fill-upper {
    background: #cbcbcb;
}

.wrap-reader ._range::-ms-thumb {
    box-shadow: 0 1px 5px rgba(0,0,0,0.5);
    border: 0 none;
    height: 18px;
    width: 18px;
    border-radius: 9px;
    background: #fff;
}

.wrap-reader ._range::-ms-tooltip {
    display: none;
}

.wrap.wrap-reader {
    max-width: 1000px;
    margin: 50px auto;
}

/* Панель автопрокрутки */
.wrap-reader .reader-autoscroll {
	display: flex;
    align-items: center;
    gap: 8px;
    width: 335px;
    padding-right: 10px;
    margin-bottom: 25px;
    border-radius: 8px;
    background: #f5f7fa;
    font-size: 14px;
}

.wrap-reader .reader-autoscroll__btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    background: #8b45c6;
    color: #fff;
}

.wrap-reader .reader-autoscroll__btn.is-running {
    background: #ff5630;
}

.wrap-reader .reader-autoscroll__label {
    font-size: 13px;
    color: #555;
}

.wrap-reader .reader-autoscroll__range {
    flex: 1;
}

/* Панель автопрокрутки end */

/* ----- Тема: Светлая ----- */
body.theme-light {
    background-color: #FFFFFF;
    color: #111827;
}

body.theme-light .reader-progress{
    background: #FFFFFF;
    color: #111827;
}

/* ----- Тема: Сепия ----- */
body.theme-sepia {
    background-color: #F6EFE5;
    color: #1F2933;
}

body.theme-sepia .reader-progress{
    background: #F6EFE5;
    color: #1F2933;
}

/* ----- Тема: Серый фон ----- */
body.theme-gray {
    background-color: #F3F4F6;
    color: #111827;
}

body.theme-gray .reader-progress{
    background: #F3F4F6;
    color: #111827;
}

/* ----- Тема: Тёмная ----- */
body.theme-dark {
    background-color: #0F172A;
    color: #E5E7EB;
}

body.theme-dark .wrap-reader a, body.theme-dark .wrap-reader a:hover, body.theme-dark .wrap-reader a:visited {
    color: #E5E7EB;
}

body.theme-dark .reader-progress{
    color: #e5e6ea;
    background: #0e172a;
}

body.theme-dark a,
body.theme-gray a,
body.theme-sepia a {
    color: #93C5FD;
}

body.theme-dark .wrap-reader .fb2-cfg-ul{box-shadow:none;}

body.theme-light a {
    color: #b88d08;
}

/* Прогресс чтения */
.reader-progress {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 16px;
    padding: 4px 0;
    font-size: 12px;
    color: #7a7a7a;
    background: inherit;
}

.reader-progress__track {
    position: relative;
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: #e5e5e5;
    overflow: hidden;
}

.reader-progress__bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: inherit;
    background: #1aafa8;
    transition: width 0.1s linear;
}

.reader-progress__label {
    min-width: 3ch;
    text-align: right;
}

/* Тоггл в настройках */
.fb2-cfg-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fb2-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 27px;
    cursor: pointer;
}

.fb2-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.fb2-toggle__slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #d0d0d0;
    transition: background 0.2s ease;
}

.fb2-toggle__slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}

/* состояние ВКЛ */
.fb2-toggle input:checked + .fb2-toggle__slider {
    background: #1aafa8;
}

.fb2-toggle input:checked + .fb2-toggle__slider::before {
    transform: translateX(18px);
}

/* скрытие прогресса */
.reader-progress.is-hidden {
    display: none !important;
}

/* Прогресс чтения end */

/* Modern reader shell */
body {
    padding-top: 58px;
}

.reader-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    column-gap: 16px;
    align-items: center;
    height: 58px;
    padding: 0 26px 0 28px;
    border-bottom: 1px solid #e5eaf2;
    background: #fff;
    color: #1f2937;
    transform: translateZ(0);
}

.reader-topbar__back,
.reader-icon-btn,
.reader-chapters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #1f2937;
    cursor: pointer;
    text-decoration: none;
    font-weight: 800;
}

.reader-topbar__back svg,
.reader-icon-btn svg,
.reader-chapters-toggle svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.reader-icon-btn:hover,
.reader-icon-btn.is-active,
.reader-chapters-toggle:hover,
.reader-chapters-toggle[aria-expanded="true"],
.reader-topbar__back:hover {
    background: #f1f5f9;
}

.reader-topbar__book {
    min-width: 0;
}

.reader-topbar__book strong,
.reader-topbar__book span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reader-topbar__book strong {
    font-size: 16px;
    line-height: 1.25;
}

.reader-topbar__page {
    margin-top: 2px;
    color: #64748b;
    font-size: 13px;
}

.reader-topbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reader-chapters-toggle {
    gap: 7px;
    padding: 0 12px;
}

.reader-top-panels {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    z-index: 80;
    pointer-events: none;
}

.wrap-reader .speedbar {
    display: none !important;
}

.wrap-reader .fb2-area {
    max-width: 980px;
    margin: 0 auto;
    padding: 42px 0 0;
    border-radius: 0;
    box-shadow: none;
}

.wrap-reader {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.wrap-reader .fb2-book {
    max-width: 760px;
}

.reader-page-state {
    display: flex;
    justify-content: space-between;
    margin: 22px 0 24px;
    color: #111827;
    font-size: 16px;
}

.reader-progress {
    position: static;
    max-width: 100%;
    margin: 10px 0 0;
    background: transparent;
}

.reader-progress__track {
    height: 5px;
}

.reader-top-panels .fb2-cfg {
    display: none;
    height: auto;
    padding: 18px 24px 20px;
    border-bottom: 0;
    background: #fff;
    box-shadow: none;
    pointer-events: auto;
}

.reader-top-panels .fb2-cfg.js-open {
    display: block;
}

.reader-top-panels .fb2-cfg-ul {
    position: static;
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 14px;
    width: min(1080px, 100%);
    margin: 14px auto 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #1f2937;
    opacity: 1;
    visibility: visible;
    list-style: none;
}

.reader-top-panels .fb2-cfg-ul li,
.reader-top-panels .fb2-cfg-ul li:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    list-style: none;
}

.reader-top-panels ul.fb2-cfg-ul li span,
.reader-top-panels .fb2-cfg-label {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.reader-top-panels #fb2-book-font,
.reader-top-panels select#fb2-theme-select {
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
}

.reader-top-panels #fb2-book-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin: 0;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff;
    color: #ef4444;
    font-weight: 800;
    text-decoration: none;
}

.reader-autoscroll {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.reader-autoscroll__btn {
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #1aafa8;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.reader-autoscroll__label {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.reader-autoscroll__range,
.reader-top-panels ._range {
    display: none;
}

.reader-stepper {
    display: grid;
    grid-template-columns: 38px minmax(54px, 1fr) 38px;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.reader-stepper--speed {
    max-width: 190px;
}

.reader-stepper__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #bde9e5;
    border-radius: 10px;
    background: #fff;
    color: #11948d;
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.reader-stepper__btn:hover {
    border-color: #1aafa8;
    background: #effefd;
}

.reader-stepper__btn:disabled {
    opacity: .38;
    cursor: default;
}

.reader-stepper__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.reader-top-panels .fb2-cfg-progress {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between !important;
    gap: 12px;
}

.reader-top-panels .fb2-cfg-footer {
    background: transparent !important;
    border-color: transparent !important;
    padding: 0 !important;
}

.reader-chapters-panel {
    display: none;
    position: absolute;
    top: 0;
    right: 22px;
    width: min(330px, calc(100vw - 28px));
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 0 0 6px 6px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
    pointer-events: auto;
}

.reader-chapters-panel.js-open {
    display: block;
}

.reader-chapters-panel__jump {
    display: flex;
    gap: 8px;
    padding: 14px;
    border-bottom: 1px solid #edf1f6;
}

.reader-chapters-panel__jump input {
    min-width: 0;
    width: 90px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.reader-chapters-panel__jump button {
    flex: 1;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: #d5a514;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.reader-chapters-panel__title {
    padding: 11px 14px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.reader-chapters-list {
    max-height: 340px;
    overflow: auto;
}

.reader-chapters-list__item,
.reader-chapters-list__empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    color: #1f2937 !important;
    font-weight: 800;
}

.reader-chapters-list__item strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.reader-chapters-list__item span {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 13px;
}

.reader-chapters-list__item.is-active,
.reader-chapters-list__item:hover {
    background: #d5a514;
    color: #fff !important;
}

.reader-chapters-list__item.is-active span,
.reader-chapters-list__item:hover span {
    color: rgba(255,255,255,.78);
}

.reader-chapters-list__empty {
    color: #64748b !important;
    font-weight: 600;
}

.reader-chapters-panel__footer {
    padding: 12px 14px;
    border-top: 1px solid #edf1f6;
    color: #64748b;
    text-align: center;
    font-size: 13px;
}

body.theme-dark .reader-topbar,
body.theme-dark .reader-top-panels .fb2-cfg,
body.theme-dark .reader-chapters-panel {
    border-color: rgba(255,255,255,.12);
    background: #0f172a;
    color: #e5e7eb;
}

body.theme-light .reader-topbar {
    border-color: #e5eaf2;
    background: #fff;
    color: #1f2937;
}

body.theme-sepia .reader-topbar,
body.theme-sepia .reader-top-panels .fb2-cfg,
body.theme-sepia .reader-chapters-panel {
    border-color: #e7d8bf;
    background: #f6efe5;
    color: #2b2116;
}

body.theme-gray .reader-topbar,
body.theme-gray .reader-top-panels .fb2-cfg,
body.theme-gray .reader-chapters-panel {
    border-color: #dbe2ea;
    background: #f3f4f6;
    color: #111827;
}

body.theme-dark .reader-topbar__back,
body.theme-dark .reader-icon-btn,
body.theme-dark .reader-chapters-toggle {
    color: #e5e7eb;
}

body.theme-dark .reader-topbar__back:hover,
body.theme-dark .reader-icon-btn:hover,
body.theme-dark .reader-chapters-toggle:hover,
body.theme-dark .reader-chapters-toggle[aria-expanded="true"] {
    background: rgba(255,255,255,.08);
}

body.theme-dark .reader-autoscroll,
body.theme-dark .reader-top-panels .fb2-cfg-ul li {
    border-color: transparent;
    background: transparent;
}

body.theme-dark .reader-top-panels #fb2-book-font,
body.theme-dark .reader-top-panels select#fb2-theme-select {
    border-color: rgba(255,255,255,.16);
    background: #111827;
    color: #e5e7eb;
}

body.theme-dark .reader-stepper__btn,
body.theme-dark .reader-stepper__value {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #e5e7eb;
}

body.theme-dark .reader-stepper__btn {
    color: #5eead4;
}

body.theme-sepia .reader-stepper__btn,
body.theme-sepia .reader-stepper__value {
    border-color: #e4cfad;
    background: #fffaf0;
}

body.theme-dark .reader-topbar__page,
body.theme-dark .reader-chapters-panel__title,
body.theme-dark .reader-chapters-panel__footer,
body.theme-dark .reader-top-panels ul.fb2-cfg-ul li span,
body.theme-dark .reader-top-panels .fb2-cfg-label {
    color: #94a3b8;
}

body.theme-dark .reader-chapters-panel__jump {
    border-color: rgba(255,255,255,.16);
}

body.theme-dark .reader-chapters-list__item {
    color: #e5e7eb !important;
}

body.theme-dark .reader-chapters-list__item span {
    color: #94a3b8;
}

body.theme-dark .reader-chapters-list__item.is-active,
body.theme-dark .reader-chapters-list__item:hover {
    background: #0e86b7;
    color: #fff !important;
}

body.theme-dark .reader-chapters-list__item.is-active span,
body.theme-dark .reader-chapters-list__item:hover span {
    color: rgba(255,255,255,.82);
}

@media (max-width: 760px) {
    body {
        padding-top: 56px;
    }
    .reader-topbar {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        height: 56px;
        padding: 0 10px 0 16px;
        column-gap: 8px;
    }
    .reader-topbar__book strong {
        font-size: 14px;
    }
    .reader-topbar__actions {
        gap: 2px;
    }
    .reader-chapters-toggle {
        min-width: 38px;
        padding: 0;
        font-size: 0;
    }
    .reader-top-panels {
        top: 56px;
    }
    .reader-top-panels .fb2-cfg {
        max-height: calc(100dvh - 56px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .wrap-reader {
        padding: 0 16px;
    }
    .wrap-reader .fb2-area {
        padding-top: 28px;
    }
    .reader-top-panels .fb2-cfg {
        padding: 14px 16px;
    }
    .reader-top-panels .fb2-cfg-ul {
        grid-template-columns: 1fr;
    }
    .reader-top-panels .fb2-cfg-ul li,
    .reader-top-panels .fb2-cfg-ul li:last-child {
        min-height: 64px;
        padding: 10px;
    }
    .reader-autoscroll {
        flex-wrap: wrap;
    }
    .reader-stepper--speed {
        max-width: none;
        flex: 1 1 180px;
    }
    .wrap-reader .pages {
        margin-top: 24px;
    }
    .wrap-reader .pages a,
    .wrap-reader .pages span {
        min-width: 46px;
        min-height: 46px;
        line-height: 46px;
        margin: 6px 3px;
        padding: 0 14px;
        font-size: 17px;
    }
    .wrap-reader .pages a.fb2-page-prev,
    .wrap-reader .pages a.fb2-page-next {
        min-width: 112px;
    }
    .reader-chapters-panel {
        right: 8px;
    }
}
