:root {
    --paper: #f5f2eb;
    --paper-deep: #e9e3d7;
    --surface: #fffdf8;
    --ink: #173137;
    --ink-soft: #315159;
    --muted: #758185;
    --line: #ddd8ce;
    --coral: #e3674b;
    --coral-dark: #bc5038;
    --green: #367d6d;
    --gold: #d8a44d;
    --blue: #4967a8;
    --white: #ffffff;
    --shadow-sm: 0 10px 30px rgba(24, 42, 45, .08);
    --shadow-md: 0 24px 70px rgba(19, 38, 42, .16);
    --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
    --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    --container: 1320px;
    --header-height: 78px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.bk-drawer-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button {
    color: inherit;
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(227, 103, 75, .34);
    outline-offset: 2px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    vertical-align: -.16em;
}

.bk-container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.bk-skip {
    position: fixed;
    top: -60px;
    left: 24px;
    z-index: 9999;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--white);
}

.bk-skip:focus {
    top: 12px;
}

.bk-kicker {
    display: inline-block;
    color: var(--coral-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.bk-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.2;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.bk-btn:hover {
    transform: translateY(-1px);
}

.bk-btn--primary {
    background: var(--coral);
    color: var(--white);
}

.bk-btn--primary:hover {
    background: var(--coral-dark);
}

.bk-btn--outline {
    border-color: var(--line);
    background: transparent;
    color: var(--ink);
}

.bk-btn--outline:hover,
.bk-btn--outline.is-saved {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.bk-btn--large {
    min-height: 52px;
    padding: 12px 24px;
    font-size: 16px;
}

.bk-btn--block {
    width: 100%;
}

.bk-btn--icon {
    width: 42px;
    min-height: 42px;
    padding: 0;
    border-color: var(--line);
    background: transparent;
}

.bk-btn--icon:hover {
    border-color: var(--coral);
    color: var(--coral-dark);
}

/* Header */
.bk-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 248, .96);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bk-header.is-scrolled {
    border-bottom-color: rgba(221, 216, 206, .85);
    box-shadow: 0 8px 26px rgba(23, 49, 55, .06);
}

.bk-header__row {
    display: flex;
    height: var(--header-height);
    align-items: center;
    gap: 28px;
}

.bk-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.bk-logo__mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: var(--white);
    border-radius: 4px;
    transform: rotate(-3deg);
}

.bk-logo__mark .icon {
    width: 24px;
    height: 24px;
}

.bk-logo__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.18;
}

.bk-logo__copy strong {
    font-family: var(--serif);
    font-size: 19px;
    letter-spacing: .03em;
}

.bk-logo__copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}

.bk-nav {
    display: flex;
    min-width: 0;
    height: 100%;
    align-items: center;
    gap: 2px;
}

.bk-nav__home,
.bk-nav__trigger {
    display: flex;
    height: var(--header-height);
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 700;
    position: relative;
}

.bk-nav__home::after,
.bk-nav__trigger::after {
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 3px;
    background: var(--coral);
    content: "";
    transform: scaleX(0);
    transition: transform .2s ease;
}

.bk-nav__home:hover,
.bk-nav__trigger:hover,
.bk-nav__home.is-active,
.bk-nav__item.is-active .bk-nav__trigger {
    color: var(--ink);
}

.bk-nav__home:hover::after,
.bk-nav__trigger:hover::after,
.bk-nav__home.is-active::after,
.bk-nav__item.is-active .bk-nav__trigger::after {
    transform: scaleX(1);
}

.bk-nav__chevron {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.bk-nav__item {
    position: relative;
    height: 100%;
}

.bk-nav__item:hover .bk-nav__chevron,
.bk-nav__item:focus-within .bk-nav__chevron {
    transform: rotate(180deg);
}

.bk-nav__panel {
    position: absolute;
    top: calc(100% - 3px);
    left: -30px;
    width: 430px;
    padding-top: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.bk-nav__item:nth-last-child(-n+2) .bk-nav__panel {
    right: -40px;
    left: auto;
}

.bk-nav__item:hover .bk-nav__panel,
.bk-nav__item:focus-within .bk-nav__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.bk-nav__panel-inner {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.bk-nav__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--line);
}

.bk-nav__panel-head > span:first-child {
    display: flex;
    flex-direction: column;
}

.bk-nav__panel-head small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.bk-nav__panel-head strong {
    font-family: var(--serif);
    font-size: 21px;
}

.bk-nav__panel-head > span:last-child {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--coral-dark);
    font-size: 12px;
    font-weight: 800;
}

.bk-nav__children {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-top: 12px;
}

.bk-nav__child {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 7px;
    border-radius: 5px;
    transition: background .16s ease;
}

.bk-nav__child:hover {
    background: var(--paper);
}

.bk-nav__child-thumb {
    width: 34px;
    height: 44px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 2px;
    background: var(--paper-deep);
    box-shadow: 0 4px 12px rgba(23, 49, 55, .12);
}

.bk-nav__child-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-nav__child-name {
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-header__tools {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.bk-search {
    display: flex;
    width: min(260px, 24vw);
    height: 40px;
    align-items: center;
    padding-left: 13px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.bk-search:focus-within {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(23, 49, 55, .07);
}

.bk-search__icon {
    color: var(--muted);
}

.bk-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 9px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
}

.bk-search button {
    height: 100%;
    padding: 0 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 800;
}

.bk-header__icon-btn {
    display: flex;
    height: 40px;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border-radius: 4px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.bk-header__icon-btn:hover {
    background: var(--paper);
    color: var(--coral-dark);
}

.bk-user {
    position: relative;
}

.bk-user__guest {
    display: flex;
    gap: 6px;
}

.bk-user__btn {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
}

.bk-user__btn--primary {
    background: var(--ink);
    color: var(--white);
}

.bk-user__btn--primary:hover {
    background: var(--coral);
}

.bk-user__btn--ghost {
    border-color: var(--line);
}

.bk-user__btn--ghost:hover {
    border-color: var(--ink);
}

.bk-user__btn--block {
    width: 100%;
}

.bk-user__button {
    display: flex;
    height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 9px 0 4px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.bk-user__button > .icon {
    width: 13px;
    height: 13px;
}

.bk-user__avatar {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.bk-user__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: 176px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.bk-user__dropdown.is-open {
    display: block;
}

.bk-user__dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}

.bk-user__dropdown a:hover {
    background: var(--paper);
}

.bk-header__burger {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.bk-drawer {
    position: fixed;
    inset: 0;
    z-index: 500;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
}

.bk-drawer.is-open {
    visibility: visible;
    opacity: 1;
}

.bk-drawer__mask {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 28, .52);
}

.bk-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: min(390px, 92vw);
    height: 100%;
    flex-direction: column;
    padding: 22px;
    overflow-y: auto;
    background: var(--surface);
    transform: translateX(100%);
    transition: transform .24s ease;
}

.bk-drawer.is-open .bk-drawer__panel {
    transform: translateX(0);
}

.bk-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bk-logo--drawer .bk-logo__mark {
    width: 36px;
    height: 36px;
}

.bk-logo--drawer .bk-logo__copy strong {
    font-size: 17px;
}

.bk-drawer__close {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.bk-drawer__search {
    display: flex;
    height: 46px;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 0 0 0 12px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.bk-drawer__search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
}

.bk-drawer__search button {
    height: 100%;
    padding: 0 13px;
    border: 0;
    background: var(--ink);
    color: var(--white);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.bk-drawer__nav {
    display: flex;
    flex-direction: column;
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

.bk-drawer__home {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 700;
}

.bk-drawer__home.is-active {
    color: var(--coral-dark);
}

.bk-drawer__group {
    border-bottom: 1px solid var(--line);
}

.bk-drawer__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 700;
    text-align: left;
}

.bk-drawer__group.is-open .bk-drawer__toggle .icon {
    transform: rotate(180deg);
}

.bk-drawer__body {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
    padding: 0 0 14px 8px;
}

.bk-drawer__group.is-open .bk-drawer__body {
    display: grid;
}

.bk-drawer__body a {
    padding: 6px 8px;
    color: var(--ink-soft);
    font-size: 13px;
}

.bk-drawer__body a:hover {
    color: var(--coral-dark);
}

.bk-drawer__body .bk-drawer__all {
    grid-column: 1 / -1;
    color: var(--ink);
    font-weight: 800;
}

.bk-drawer__member {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
}

.bk-drawer__member p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* Flash messages */
.bk-flash-stack {
    position: fixed;
    top: calc(var(--header-height) + 16px);
    right: 24px;
    z-index: 800;
    display: grid;
    width: min(380px, calc(100vw - 48px));
    gap: 8px;
}

.bk-flash {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--green);
    border-radius: 5px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
}

.bk-flash--error {
    border-left-color: var(--coral);
}

.bk-flash span {
    flex: 1;
}

.bk-flash button {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--muted);
}

/* Home hero */
.bk-main {
    min-height: 55vh;
}

.bk-main--home {
    padding-bottom: 0;
}

.bk-home-hero {
    padding: 24px 0 0;
}

.bk-home-hero__shell {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.bk-home-hero__texture {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(115deg, transparent 0 34px, rgba(255, 255, 255, .035) 34px 35px),
        linear-gradient(90deg, #173137 0%, #1d3d42 58%, #203d40 100%);
    pointer-events: none;
}

.bk-home-hero__texture::before {
    position: absolute;
    top: -35%;
    right: 4%;
    width: 34%;
    height: 170%;
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-left: 1px solid rgba(255, 255, 255, .07);
    content: "";
    transform: rotate(14deg);
}

.bk-home-hero__texture::after {
    position: absolute;
    right: 14%;
    bottom: -20%;
    width: 48%;
    height: 75%;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    content: "";
    transform: rotate(-12deg);
}

.bk-home-hero__track {
    position: relative;
    min-height: 560px;
}

.bk-home-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .55s ease, transform .55s ease, visibility .55s;
}

.bk-home-hero__slide.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.bk-home-hero__inner {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: center;
    gap: 60px;
    padding: 54px 70px 70px;
}

.bk-home-hero__copy {
    max-width: 670px;
}

.bk-home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 3px;
    color: #f2d29d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
}

.bk-home-hero__title {
    margin-bottom: 18px;
    font-family: var(--serif);
    font-size: clamp(42px, 4.3vw, 66px);
    font-weight: 700;
    letter-spacing: .015em;
    line-height: 1.16;
}

.bk-home-hero__desc {
    max-width: 590px;
    margin-bottom: 23px;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.85;
}

.bk-home-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, .64);
    font-size: 13px;
}

.bk-home-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bk-home-hero__meta .icon {
    color: #e7c27b;
}

.bk-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bk-home-btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 800;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.bk-home-btn:hover {
    transform: translateY(-2px);
}

.bk-home-btn--primary {
    background: var(--coral);
    color: var(--white);
}

.bk-home-btn--primary:hover {
    background: #ef795d;
}

.bk-home-btn--outline {
    border-color: rgba(255, 255, 255, .32);
    color: var(--white);
}

.bk-home-btn--outline:hover {
    border-color: var(--white);
}

.bk-home-btn--light {
    background: var(--surface);
    color: var(--ink);
}

.bk-home-hero__visual {
    position: relative;
    display: flex;
    min-height: 410px;
    align-items: center;
    justify-content: center;
}

.bk-home-hero__book-aura {
    position: absolute;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, .14);
    transform: rotate(17deg);
}

.bk-home-hero__cover {
    position: relative;
    z-index: 2;
    width: 238px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    box-shadow: 26px 28px 0 rgba(0, 0, 0, .16), 0 36px 55px rgba(0, 0, 0, .34);
    transform: rotate(4deg);
}

.bk-home-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-home-hero__note {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 30px;
    display: flex;
    width: 180px;
    flex-direction: column;
    padding: 15px 16px;
    border-left: 3px solid var(--gold);
    background: rgba(255, 253, 248, .96);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.bk-home-hero__note > span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.bk-home-hero__note strong {
    margin: 3px 0 8px;
    font-family: var(--serif);
    font-size: 18px;
}

.bk-home-hero__note small {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--coral-dark);
    font-size: 11px;
    font-weight: 700;
}

.bk-home-hero__footer {
    position: absolute;
    z-index: 5;
    right: 34px;
    bottom: 24px;
    left: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bk-home-hero__progress {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bk-home-hero__dot {
    width: 24px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.bk-home-hero__dot.is-active {
    width: 48px;
    background: var(--coral);
}

.bk-home-hero__arrows {
    display: flex;
    gap: 7px;
}

.bk-home-hero__arrow {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 2px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}

.bk-home-hero__arrow:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .1);
}

/* Home channels */
.bk-home-channel {
    padding: 72px 0 38px;
}

.bk-home-channel__head,
.bk-home-section__head,
.bk-home-block__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.bk-home-channel__head {
    margin-bottom: 28px;
}

.bk-home-channel__head h2,
.bk-home-section__head h2 {
    margin: 2px 0 0;
    font-family: var(--serif);
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.2;
}

.bk-home-channel__head p {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 14px;
}

.bk-home-channel__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.bk-home-channel__card {
    position: relative;
    display: grid;
    min-height: 126px;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.bk-home-channel__card:hover {
    border-color: var(--ink);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.bk-home-channel__index {
    position: absolute;
    top: 8px;
    right: 10px;
    color: var(--paper-deep);
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 800;
}

.bk-home-channel__thumb {
    width: 54px;
    height: 74px;
    overflow: hidden;
    background: var(--paper-deep);
    box-shadow: 5px 6px 0 rgba(23, 49, 55, .1);
}

.bk-home-channel__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-home-channel__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.bk-home-channel__copy strong {
    font-family: var(--serif);
    font-size: 19px;
}

.bk-home-channel__copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.bk-home-channel__arrow {
    position: absolute;
    right: 15px;
    bottom: 12px;
    color: var(--muted);
}

/* Home rank */
.bk-home-rank {
    padding: 44px 0 78px;
}

.bk-home-section__head {
    margin-bottom: 24px;
}

.bk-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.bk-home-link:hover {
    border-color: var(--coral);
    color: var(--coral-dark);
}

.bk-home-rank__scroll {
    display: grid;
    grid-auto-columns: 310px;
    grid-auto-flow: column;
    gap: 12px;
    padding: 3px 2px 18px;
    overflow-x: auto;
    scrollbar-color: var(--ink) var(--paper-deep);
    scrollbar-width: thin;
}

.bk-home-rank__scroll::-webkit-scrollbar {
    height: 4px;
}

.bk-home-rank__scroll::-webkit-scrollbar-track {
    background: var(--paper-deep);
}

.bk-home-rank__scroll::-webkit-scrollbar-thumb {
    background: var(--ink);
}

.bk-home-rank__item {
    display: grid;
    grid-template-columns: 40px 64px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 13px;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color .18s ease, transform .18s ease;
}

.bk-home-rank__item:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.bk-home-rank__num {
    color: #b4aea3;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 800;
    font-style: italic;
}

.bk-home-rank__num.is-top {
    color: var(--coral);
}

.bk-home-rank__cover {
    width: 64px;
    height: 88px;
    overflow: hidden;
    background: var(--paper-deep);
    box-shadow: 4px 5px 0 rgba(23, 49, 55, .1);
}

.bk-home-rank__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-home-rank__info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.bk-home-rank__info strong {
    overflow: hidden;
    font-family: var(--serif);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-home-rank__info em {
    margin: 4px 0 9px;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-home-rank__info small {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--coral-dark);
    font-size: 11px;
}

/* Home blocks */
.bk-home-blocks {
    border-top: 1px solid var(--line);
}

.bk-home-block {
    padding: 80px 0 88px;
    border-bottom: 1px solid var(--line);
}

.bk-home-block:nth-child(even) {
    background: rgba(255, 253, 248, .58);
}

.bk-home-block__head {
    align-items: center;
    margin-bottom: 27px;
}

.bk-home-block__index {
    align-self: flex-start;
    color: var(--paper-deep);
    font-family: var(--serif);
    font-size: clamp(58px, 7vw, 94px);
    font-weight: 800;
    line-height: .9;
}

.bk-home-block__titles {
    flex: 1;
}

.bk-home-block__titles h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.2;
}

.bk-home-block__titles p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.bk-home-block__tabs-wrap {
    margin-bottom: 26px;
    overflow-x: auto;
}

.bk-home-block__tabs {
    display: flex;
    min-width: max-content;
    gap: 6px;
}

.bk-home-block__tabs a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.bk-home-block__tabs a:hover,
.bk-home-block__tabs a.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.bk-book-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bk-book-grid--home {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bk-book-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bk-book-card {
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bk-book-card:hover {
    border-color: #bdb5a7;
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.bk-book-card__cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--paper-deep);
}

.bk-book-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.bk-book-card:hover .bk-book-card__cover img {
    transform: scale(1.025);
}

.bk-book-card__status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 7px;
    background: rgba(23, 49, 55, .88);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    backdrop-filter: blur(5px);
}

.bk-book-card__status.is-end {
    background: rgba(54, 125, 109, .92);
}

.bk-book-card__body {
    display: flex;
    min-height: 212px;
    flex-direction: column;
    padding: 16px;
}

.bk-book-card__category {
    margin-bottom: 7px;
    overflow: hidden;
    color: var(--coral-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-book-card__body h3 {
    margin-bottom: 2px;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.38;
}

.bk-book-card__body h3 a:hover {
    color: var(--coral-dark);
}

.bk-book-card__author {
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 11px;
}

.bk-book-card__desc {
    display: -webkit-box;
    margin-bottom: 14px;
    overflow: hidden;
    color: #627176;
    font-size: 12px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bk-book-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

.bk-book-card__foot span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bk-book-card__read {
    color: var(--ink);
    font-weight: 800;
}

.bk-book-card__read:hover {
    color: var(--coral-dark);
}

/* CTA */
.bk-home-cta {
    padding: 0;
    background: var(--coral);
    color: var(--white);
}

.bk-home-cta__inner {
    display: flex;
    min-height: 210px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.bk-home-cta .bk-kicker {
    color: rgba(255, 255, 255, .7);
}

.bk-home-cta h2 {
    margin: 2px 0 3px;
    font-family: var(--serif);
    font-size: clamp(30px, 3.3vw, 44px);
}

.bk-home-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
}

/* Breadcrumb */
.bk-breadcrumb {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.bk-breadcrumb .icon {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
}

.bk-breadcrumb a:hover {
    color: var(--ink);
}

.bk-breadcrumb span {
    overflow: hidden;
    color: var(--ink);
    text-overflow: ellipsis;
}

/* Catalog */
.bk-main--catalog,
.bk-main--search,
.bk-main--show,
.bk-main--shelf,
.bk-main--about {
    padding-bottom: 100px;
}

.bk-category-hero {
    position: relative;
    display: flex;
    min-height: 268px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 42px 48px;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.bk-category-hero::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: var(--category-accent);
    content: "";
}

.bk-category-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.bk-category-hero .bk-kicker {
    color: var(--category-accent);
}

.bk-category-hero h1 {
    margin: 3px 0 8px;
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.1;
}

.bk-category-hero p {
    max-width: 620px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
}

.bk-category-hero__stats {
    display: flex;
    gap: 28px;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
}

.bk-category-hero__stats strong {
    margin-right: 3px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 24px;
}

.bk-category-hero__pattern {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: rgba(255, 255, 255, .08);
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 74px);
    font-weight: 800;
    line-height: .92;
    white-space: nowrap;
}

.bk-catalog-layout {
    display: grid;
    grid-template-columns: 228px minmax(0, 1fr);
    gap: 34px;
    padding-top: 38px;
}

.bk-catalog-sidebar {
    align-self: start;
    border-top: 2px solid var(--ink);
}

.bk-sidebar__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
}

.bk-sidebar__group {
    border-bottom: 1px solid var(--line);
}

.bk-sidebar__parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px;
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 700;
}

.bk-sidebar__parent .icon {
    width: 14px;
    height: 14px;
    transition: transform .18s ease;
}

.bk-sidebar__group.is-open .bk-sidebar__parent .icon {
    transform: rotate(180deg);
}

.bk-sidebar__parent:hover,
.bk-sidebar__parent.is-active {
    color: var(--coral-dark);
}

.bk-sidebar__children {
    display: none;
    padding: 0 0 12px 10px;
}

.bk-sidebar__group.is-open .bk-sidebar__children {
    display: grid;
}

.bk-sidebar__children a {
    padding: 6px 8px;
    border-left: 2px solid transparent;
    color: var(--ink-soft);
    font-size: 12px;
}

.bk-sidebar__children a:hover,
.bk-sidebar__children a.is-active {
    border-left-color: var(--coral);
    background: rgba(255, 253, 248, .72);
    color: var(--coral-dark);
}

.bk-sidebar__note {
    margin-top: 22px;
    padding: 18px;
    background: var(--ink);
    color: var(--white);
}

.bk-sidebar__note .icon {
    color: var(--gold);
}

.bk-sidebar__note strong {
    display: block;
    margin: 8px 0 4px;
    font-family: var(--serif);
    font-size: 17px;
}

.bk-sidebar__note p {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    line-height: 1.7;
}

.bk-subcategory-tabs {
    display: flex;
    gap: 7px;
    margin-bottom: 22px;
    overflow-x: auto;
    scrollbar-width: none;
}

.bk-subcategory-tabs::-webkit-scrollbar {
    display: none;
}

.bk-subcategory-tabs a {
    display: inline-flex;
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    font-size: 12px;
    font-weight: 700;
}

.bk-subcategory-tabs a:hover,
.bk-subcategory-tabs a.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.bk-catalog-toolbar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, .68);
}

.bk-catalog-toolbar > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.bk-catalog-toolbar strong {
    font-family: var(--serif);
    font-size: 19px;
}

.bk-catalog-toolbar span {
    color: var(--muted);
    font-size: 11px;
}

.bk-sort-form {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 11px;
}

.bk-sort-form select {
    height: 34px;
    padding: 0 29px 0 10px;
    border: 1px solid var(--line);
    border-radius: 3px;
    outline: none;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
}

.bk-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.bk-pagination a,
.bk-pagination span {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 12px;
    font-weight: 700;
}

.bk-pagination a:hover,
.bk-pagination a.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.bk-pagination .is-disabled {
    cursor: not-allowed;
    opacity: .38;
}

.bk-pagination__arrow .icon {
    width: 15px;
    height: 15px;
}

/* Search */
.bk-search-hero {
    padding: 52px 0 38px;
    text-align: center;
}

.bk-search-hero h1 {
    margin: 4px 0 26px;
    font-family: var(--serif);
    font-size: clamp(35px, 4.1vw, 56px);
    line-height: 1.24;
}

.bk-search-hero__form {
    display: flex;
    width: min(860px, 100%);
    height: 58px;
    align-items: center;
    gap: 10px;
    margin-inline: auto;
    padding-left: 18px;
    border: 1px solid var(--ink);
    background: var(--surface);
    box-shadow: 8px 8px 0 var(--paper-deep);
}

.bk-search-hero__form > .icon {
    color: var(--muted);
}

.bk-search-hero__form input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
}

.bk-search-hero__form select {
    max-width: 190px;
    height: 100%;
    border: 0;
    border-left: 1px solid var(--line);
    outline: 0;
    background: var(--paper);
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 12px;
}

.bk-search-hero__form button {
    height: 100%;
    padding: 0 26px;
    border: 0;
    background: var(--ink);
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
}

.bk-search-hero__form button:hover {
    background: var(--coral);
}

.bk-search-hero__suggest {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 11px;
}

.bk-search-hero__suggest a {
    padding: 2px 9px;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.bk-search-hero__suggest a:hover {
    border-color: var(--coral);
    color: var(--coral-dark);
}

.bk-search-results {
    padding-top: 8px;
}

/* Empty states */
.bk-empty {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 44px 24px;
    border: 1px dashed #cfc7b9;
    background: rgba(255, 253, 248, .45);
    text-align: center;
}

.bk-empty > .icon {
    width: 44px;
    height: 44px;
    margin-bottom: 17px;
    color: var(--coral);
}

.bk-empty h1,
.bk-empty h2 {
    margin-bottom: 7px;
    font-family: var(--serif);
    font-size: 30px;
}

.bk-empty p {
    max-width: 500px;
    margin-bottom: 22px;
    color: var(--muted);
}

.bk-empty--large {
    min-height: 480px;
}

.bk-empty__actions {
    display: flex;
    gap: 10px;
}

.bk-error-code {
    color: var(--paper-deep);
    font-family: var(--serif);
    font-size: clamp(90px, 14vw, 180px);
    font-weight: 800;
    line-height: 1;
}

/* Book detail */
.bk-book-detail {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 58px;
    align-items: center;
    padding: 28px 54px 62px;
}

.bk-book-detail__cover {
    position: relative;
    aspect-ratio: 2 / 3;
    background: var(--paper-deep);
    box-shadow: 18px 18px 0 var(--paper-deep), var(--shadow-md);
}

.bk-book-detail__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-book-detail__status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    background: rgba(23, 49, 55, .88);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
}

.bk-book-detail__status.is-end {
    background: rgba(54, 125, 109, .94);
}

.bk-book-detail__eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
}

.bk-book-detail__eyebrow span {
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
}

.bk-book-detail__info h1 {
    margin-bottom: 10px;
    font-family: var(--serif);
    font-size: clamp(38px, 4.5vw, 62px);
    line-height: 1.16;
}

.bk-book-detail__author {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.bk-book-detail__author strong {
    color: var(--ink);
}

.bk-book-detail__desc {
    max-width: 770px;
    margin-bottom: 25px;
    color: #58676b;
    font-size: 15px;
    line-height: 1.85;
}

.bk-book-detail__metrics {
    display: grid;
    max-width: 760px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.bk-book-detail__metrics div {
    padding: 13px 16px 13px 0;
    border-right: 1px solid var(--line);
}

.bk-book-detail__metrics div:not(:first-child) {
    padding-left: 16px;
}

.bk-book-detail__metrics div:last-child {
    border-right: 0;
}

.bk-book-detail__metrics dt {
    color: var(--muted);
    font-size: 10px;
}

.bk-book-detail__metrics dd {
    margin: 2px 0 0;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 800;
}

.bk-book-detail__metrics dd.is-date {
    font-family: var(--sans);
    font-size: 15px;
}

.bk-book-detail__metrics small {
    margin-left: 2px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
}

.bk-book-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bk-book-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 11px;
}

.bk-book-detail__tags span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bk-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 42px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.bk-detail-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.bk-detail-tabs button {
    position: relative;
    padding: 0 2px 13px;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.bk-detail-tabs button::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--coral);
    content: "";
    transform: scaleX(0);
}

.bk-detail-tabs button.is-active {
    color: var(--ink);
}

.bk-detail-tabs button.is-active::after {
    transform: scaleX(1);
}

.bk-detail-panel {
    display: none;
}

.bk-detail-panel.is-active {
    display: block;
}

.bk-detail-panel h2 {
    margin-bottom: 17px;
    font-family: var(--serif);
    font-size: 27px;
}

.bk-detail-panel > p {
    max-width: 900px;
    color: #566569;
    font-size: 15px;
    line-height: 1.95;
}

.bk-detail-panel blockquote {
    margin: 30px 0;
    padding: 21px 25px;
    border-left: 4px solid var(--gold);
    background: var(--surface);
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 18px;
}

.bk-detail-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 27px;
    background: var(--line);
}

.bk-detail-facts div {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: var(--surface);
}

.bk-detail-facts span {
    color: var(--muted);
    font-size: 10px;
}

.bk-detail-facts strong {
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 16px;
}

.bk-detail-panel__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}

.bk-detail-panel__head h2 {
    margin: 0;
}

.bk-detail-panel__head span {
    color: var(--muted);
    font-size: 11px;
}

.bk-chapter-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.bk-chapter-list a {
    display: grid;
    min-width: 0;
    grid-template-columns: 38px minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 8px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 13px;
}

.bk-chapter-list a:hover {
    border-color: var(--ink);
    color: var(--coral-dark);
}

.bk-chapter-list__num {
    color: #b2a99d;
    font-family: var(--serif);
    font-weight: 800;
}

.bk-chapter-list__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-chapter-list__time {
    color: var(--muted);
    font-size: 10px;
}

.bk-chapter-list .icon {
    width: 13px;
    height: 13px;
    color: var(--muted);
}

.bk-author-card {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 23px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.bk-author-card__avatar {
    display: inline-flex;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 800;
}

.bk-author-card strong {
    font-family: var(--serif);
    font-size: 20px;
}

.bk-author-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.bk-detail-aside {
    align-self: start;
}

.bk-reading-card {
    padding: 24px;
    background: var(--ink);
    color: var(--white);
}

.bk-reading-card .bk-kicker {
    color: var(--gold);
}

.bk-reading-card h2 {
    margin: 3px 0 7px;
    font-family: var(--serif);
    font-size: 26px;
}

.bk-reading-card p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .63);
    font-size: 12px;
    line-height: 1.8;
}

.bk-detail-aside__meta {
    display: grid;
    gap: 8px;
    margin-top: 13px;
    padding: 14px 17px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 11px;
}

.bk-detail-aside__meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.bk-related {
    margin-top: 82px;
}

/* Reader */
.reader-page {
    --reader-bg: #fbfaf6;
    --reader-text: #263432;
    --reader-muted: #6f7a77;
    --reader-panel: #f0ece3;
    background: var(--reader-bg);
}

.reader-page.reader-theme-sepia {
    --reader-bg: #efe6cf;
    --reader-text: #443a2b;
    --reader-muted: #7b6b53;
    --reader-panel: #e5d7b8;
}

.reader-page.reader-theme-dark {
    --reader-bg: #172224;
    --reader-text: #d8dfdc;
    --reader-muted: #81908c;
    --reader-panel: #213034;
}

.reader-page .bk-header {
    display: none;
}

.reader-page .bk-footer {
    display: none;
}

.bk-reader {
    min-height: 100vh;
    padding-bottom: 80px;
    background: var(--reader-bg);
    color: var(--reader-text);
    transition: background .2s ease, color .2s ease;
}

.bk-reader__toolbar {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid color-mix(in srgb, var(--reader-text) 14%, transparent);
    background: color-mix(in srgb, var(--reader-bg) 94%, transparent);
    backdrop-filter: blur(14px);
}

.bk-reader__toolbar-inner {
    display: grid;
    min-height: 66px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.bk-reader__back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--reader-muted);
    font-size: 12px;
    font-weight: 700;
}

.bk-reader__back:hover {
    color: var(--reader-text);
}

.bk-reader__book {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.bk-reader__book strong {
    font-family: var(--serif);
    font-size: 15px;
}

.bk-reader__book span {
    color: var(--reader-muted);
    font-size: 10px;
}

.bk-reader__controls {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}

.bk-reader__control-group {
    display: flex;
    padding: 3px;
    border: 1px solid color-mix(in srgb, var(--reader-text) 16%, transparent);
}

.bk-reader__control-group button {
    display: inline-flex;
    width: 34px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: var(--reader-muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.bk-reader__control-group button:hover,
.bk-reader__control-group button.is-active {
    background: var(--reader-panel);
    color: var(--reader-text);
}

.bk-reader__shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 760px) 180px;
    gap: 44px;
    justify-content: center;
    padding-top: 44px;
}

.bk-reader__sidebar {
    position: sticky;
    top: 104px;
    align-self: start;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-width: thin;
}

.bk-reader__sidebar-head {
    padding-bottom: 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--reader-text) 14%, transparent);
}

.bk-reader__sidebar-head .bk-kicker {
    color: var(--coral);
}

.bk-reader__sidebar-head h2 {
    margin: 4px 0 2px;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.4;
}

.bk-reader__sidebar-head p {
    margin: 0;
    color: var(--reader-muted);
    font-size: 10px;
}

.bk-reader__chapters {
    display: grid;
    gap: 2px;
    padding-top: 10px;
}

.bk-reader__chapters a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 5px;
    padding: 8px 7px;
    border-left: 2px solid transparent;
    color: var(--reader-muted);
    font-size: 11px;
}

.bk-reader__chapters a:hover,
.bk-reader__chapters a.is-active {
    border-left-color: var(--coral);
    background: var(--reader-panel);
    color: var(--reader-text);
}

.bk-reader__chapters span {
    color: #a69c8d;
    font-family: var(--serif);
    font-weight: 800;
}

.bk-reader__chapters strong {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-reader__article {
    min-width: 0;
}

.bk-reader__article-head {
    padding-bottom: 30px;
    border-bottom: 1px solid color-mix(in srgb, var(--reader-text) 14%, transparent);
    text-align: center;
}

.bk-reader__article-head > span {
    color: var(--coral);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.bk-reader__article-head h1 {
    margin: 9px 0 11px;
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.3;
}

.bk-reader__article-head p {
    margin: 0;
    color: var(--reader-muted);
    font-size: 11px;
}

.bk-reader__content {
    padding: 36px 0 20px;
    color: var(--reader-text);
    font-family: var(--serif);
    font-size: 18px;
    line-height: 2.05;
}

.bk-reader__content p {
    margin-bottom: 1.55em;
}

.bk-reader__content p:first-child::first-letter {
    float: left;
    margin: .02em .14em 0 0;
    color: var(--coral);
    font-size: 3.4em;
    font-weight: 700;
    line-height: .86;
}

.bk-reader__article-foot {
    padding-top: 22px;
    border-top: 1px solid color-mix(in srgb, var(--reader-text) 14%, transparent);
}

.bk-reader__progress {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--reader-muted);
    font-size: 10px;
}

.bk-reader__progress div {
    height: 3px;
    overflow: hidden;
    background: var(--reader-panel);
}

.bk-reader__progress i {
    display: block;
    height: 100%;
    background: var(--coral);
}

.bk-reader__progress strong {
    color: var(--reader-text);
}

.bk-reader__navigation {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.bk-reader__navigation a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border: 1px solid color-mix(in srgb, var(--reader-text) 18%, transparent);
    font-size: 12px;
    font-weight: 700;
}

.bk-reader__navigation a:hover,
.bk-reader__navigation a.is-next {
    background: var(--coral);
    border-color: var(--coral);
    color: var(--white);
}

.bk-reader__aside {
    align-self: start;
    padding-top: 4px;
}

.bk-reader__aside-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px;
    background: var(--reader-panel);
}

.bk-reader__aside-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    margin-bottom: 7px;
}

.bk-reader__aside-card strong {
    overflow: hidden;
    font-family: var(--serif);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bk-reader__aside-card > span {
    margin-bottom: 6px;
    color: var(--reader-muted);
    font-size: 10px;
}

.bk-reader__aside-card .bk-btn {
    color: var(--reader-text);
    border-color: color-mix(in srgb, var(--reader-text) 18%, transparent);
    font-size: 11px;
}

.bk-reader__tip {
    margin-top: 14px;
    color: var(--reader-muted);
    font-size: 10px;
    line-height: 1.7;
}

.bk-reader__tip .icon {
    color: var(--gold);
}

/* Auth */
.bk-main--auth {
    padding: 42px 0 90px;
}

.bk-auth {
    display: grid;
    min-height: 650px;
    grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
    border: 1px solid var(--line);
    background: var(--surface);
}

.bk-auth__visual {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 58px;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.bk-auth__visual::after {
    position: absolute;
    right: -90px;
    bottom: -130px;
    width: 330px;
    height: 520px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-left: 1px solid rgba(255, 255, 255, .06);
    content: "";
    transform: rotate(16deg);
}

.bk-auth__visual .bk-kicker {
    color: var(--gold);
}

.bk-auth__visual h1 {
    position: relative;
    z-index: 2;
    margin: 8px 0 17px;
    font-family: var(--serif);
    font-size: clamp(40px, 4.5vw, 62px);
    line-height: 1.2;
}

.bk-auth__visual > p {
    position: relative;
    z-index: 2;
    max-width: 610px;
    color: rgba(255, 255, 255, .64);
    font-size: 14px;
    line-height: 1.8;
}

.bk-auth__books {
    position: relative;
    height: 220px;
    margin: 24px 0 8px;
}

.bk-auth__book {
    position: absolute;
    bottom: -42px;
    width: 116px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    box-shadow: 12px 14px 0 rgba(0, 0, 0, .16);
}

.bk-auth__book img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-auth__book--1 {
    left: 0;
    z-index: 4;
    transform: rotate(-8deg);
}

.bk-auth__book--2 {
    left: 94px;
    z-index: 3;
    transform: rotate(3deg) translateY(15px);
}

.bk-auth__book--3 {
    left: 190px;
    z-index: 2;
    transform: rotate(10deg) translateY(32px);
}

.bk-auth__book--4 {
    left: 280px;
    z-index: 1;
    transform: rotate(16deg) translateY(50px);
}

.bk-auth__features {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
    color: rgba(255, 255, 255, .64);
    font-size: 11px;
}

.bk-auth__features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bk-auth__features .icon {
    color: var(--gold);
}

.bk-auth__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px 64px;
}

.bk-auth__head {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.bk-auth__head h2 {
    margin: 2px 0 4px;
    font-family: var(--serif);
    font-size: 31px;
}

.bk-auth__head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.bk-form {
    display: grid;
    gap: 17px;
}

.bk-field {
    display: grid;
    gap: 7px;
}

.bk-field > span {
    font-size: 12px;
    font-weight: 800;
}

.bk-field__control {
    display: flex;
    height: 48px;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: var(--white);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.bk-field__control:focus-within {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(23, 49, 55, .06);
}

.bk-field__control > .icon {
    color: var(--muted);
}

.bk-field__control input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
}

.bk-field__toggle {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--muted);
}

.bk-form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bk-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
}

.bk-check input {
    accent-color: var(--coral);
}

.bk-form__hint {
    color: var(--muted);
    font-size: 10px;
}

.bk-auth__switch {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.bk-auth__switch a {
    color: var(--coral-dark);
    font-weight: 800;
}

/* Shelf */
.bk-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 35px 0 42px;
    border-bottom: 1px solid var(--line);
}

.bk-page-head h1 {
    margin: 4px 0 7px;
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
}

.bk-page-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.bk-page-head__actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bk-shelf-count {
    color: var(--muted);
    font-size: 11px;
}

.bk-shelf-count strong {
    margin-right: 3px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 28px;
}

.bk-main--shelf .bk-empty {
    margin-top: 42px;
}

.bk-shelf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.bk-shelf-card {
    display: grid;
    min-width: 0;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 21px;
    padding: 17px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.bk-shelf-card__cover {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--paper-deep);
    box-shadow: 7px 7px 0 var(--paper-deep);
}

.bk-shelf-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-shelf-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 7px 0;
}

.bk-shelf-card__body > span {
    color: var(--coral-dark);
    font-size: 10px;
    font-weight: 800;
}

.bk-shelf-card__body h2 {
    margin: 4px 0 5px;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.35;
}

.bk-shelf-card__body p {
    color: var(--muted);
    font-size: 11px;
}

.bk-shelf-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.bk-shelf-card__actions .bk-btn--primary {
    min-height: 42px;
}

/* About */
.bk-about-hero {
    max-width: 920px;
    padding: 75px 0 65px;
}

.bk-about-hero h1 {
    margin: 8px 0 19px;
    font-family: var(--serif);
    font-size: clamp(42px, 5.6vw, 74px);
    line-height: 1.2;
}

.bk-about-hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 16px;
}

.bk-about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.bk-about-grid article {
    padding: 34px;
    background: var(--surface);
}

.bk-about-grid .icon {
    width: 32px;
    height: 32px;
    color: var(--coral);
}

.bk-about-grid h2 {
    margin: 18px 0 8px;
    font-family: var(--serif);
    font-size: 25px;
}

.bk-about-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* Footer */
.bk-footer {
    padding: 44px 0 32px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.reader-page .bk-footer {
    display: none;
}

.bk-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 26px;
}

.bk-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bk-footer__brand .bk-logo__mark {
    width: 37px;
    height: 37px;
}

.bk-footer__brand strong {
    font-family: var(--serif);
    font-size: 17px;
}

.bk-footer__brand p {
    margin: 1px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.bk-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
    color: var(--muted);
    font-size: 12px;
}

.bk-footer__links a:hover {
    color: var(--coral-dark);
}

.bk-footer__copy {
    grid-column: 1 / -1;
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #9c978e;
    font-size: 10px;
}

.bk-back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 3px;
    background: var(--ink);
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.bk-back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.reader-page .bk-back-top {
    background: var(--coral);
}

/* Responsive */
@media (max-width: 1240px) {
    .bk-nav {
        display: none;
    }

    .bk-header__burger {
        display: inline-flex;
    }

    .bk-header__tools {
        margin-left: auto;
    }

    .bk-home-channel__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bk-book-grid--home {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bk-reader__shell {
        grid-template-columns: 200px minmax(0, 720px);
    }

    .bk-reader__aside {
        display: none;
    }
}

@media (max-width: 1080px) {
    .bk-home-hero__inner {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 30px;
        padding-inline: 48px;
    }

    .bk-home-hero__cover {
        width: 210px;
    }

    .bk-home-hero__note {
        right: -10px;
    }

    .bk-book-grid--home,
    .bk-book-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bk-book-grid--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bk-catalog-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 24px;
    }

    .bk-book-detail {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 42px;
        padding-inline: 20px;
    }

    .bk-book-detail__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bk-book-detail__metrics div:nth-child(2) {
        border-right: 0;
    }

    .bk-book-detail__metrics div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .bk-detail-layout {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 28px;
    }

    .bk-auth {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
    }

    .bk-auth__visual {
        padding: 42px;
    }

    .bk-auth__book--4 {
        display: none;
    }

    .bk-auth__card {
        padding: 42px;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 70px;
    }

    .bk-container {
        width: min(calc(100% - 32px), var(--container));
    }

    .bk-search {
        display: none;
    }

    .bk-home-hero__shell,
    .bk-home-hero__track {
        min-height: 610px;
    }

    .bk-home-hero__inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 42px 40px 82px;
    }

    .bk-home-hero__copy {
        max-width: 680px;
    }

    .bk-home-hero__visual {
        display: none;
    }

    .bk-home-hero__title {
        font-size: clamp(38px, 8vw, 58px);
    }

    .bk-home-channel__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bk-home-channel__card:last-child {
        grid-column: 1 / -1;
    }

    .bk-book-grid--home,
    .bk-book-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bk-book-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bk-home-block__index {
        font-size: 60px;
    }

    .bk-home-cta__inner {
        min-height: 190px;
    }

    .bk-catalog-layout {
        display: block;
    }

    .bk-catalog-sidebar {
        display: none;
    }

    .bk-book-detail {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 32px;
        padding: 18px 0 50px;
    }

    .bk-book-detail__desc {
        font-size: 13px;
    }

    .bk-book-detail__info h1 {
        font-size: 38px;
    }

    .bk-detail-layout {
        display: block;
    }

    .bk-detail-aside {
        display: none;
    }

    .bk-chapter-list {
        grid-template-columns: 1fr;
    }

    .bk-reader__shell {
        display: block;
        max-width: 760px;
    }

    .bk-reader__sidebar {
        display: none;
    }

    .bk-reader__toolbar-inner {
        grid-template-columns: 1fr auto;
    }

    .bk-reader__book {
        display: none;
    }

    .bk-auth {
        display: block;
        min-height: 0;
    }

    .bk-auth__visual {
        min-height: 420px;
        padding: 45px;
    }

    .bk-auth__visual h1 {
        font-size: 44px;
    }

    .bk-auth__books {
        height: 160px;
    }

    .bk-auth__book {
        width: 94px;
        bottom: -70px;
    }

    .bk-auth__book--2 {
        left: 78px;
    }

    .bk-auth__book--3 {
        left: 156px;
    }

    .bk-auth__card {
        padding: 48px;
    }

    .bk-shelf-grid {
        grid-template-columns: 1fr;
    }

    .bk-about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .bk-container {
        width: min(calc(100% - 24px), var(--container));
    }

    .bk-header__row {
        gap: 12px;
    }

    .bk-logo__copy small,
    .bk-header__icon-btn span,
    .bk-user__guest .bk-user__btn--ghost {
        display: none;
    }

    .bk-logo__mark {
        width: 37px;
        height: 37px;
    }

    .bk-logo__copy strong {
        font-size: 17px;
    }

    .bk-user__guest .bk-user__btn {
        min-height: 36px;
        padding: 6px 10px;
    }

    .bk-header__icon-btn {
        width: 37px;
        height: 37px;
        justify-content: center;
        padding: 0;
        border: 1px solid var(--line);
    }

    .bk-header__burger {
        width: 37px;
        height: 37px;
    }

    .bk-user__button > span:not(.bk-user__avatar),
    .bk-user__button > .icon {
        display: none;
    }

    .bk-user__button {
        padding: 3px;
        border: 0;
    }

    .bk-home-hero {
        padding-top: 12px;
    }

    .bk-home-hero__shell,
    .bk-home-hero__track {
        min-height: 560px;
    }

    .bk-home-hero__inner {
        padding: 36px 24px 78px;
    }

    .bk-home-hero__title {
        font-size: clamp(34px, 10.4vw, 48px);
    }

    .bk-home-hero__desc {
        font-size: 13px;
    }

    .bk-home-hero__meta {
        gap: 10px;
        font-size: 11px;
    }

    .bk-home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bk-home-hero__footer {
        right: 20px;
        bottom: 18px;
        left: 20px;
    }

    .bk-home-channel {
        padding-top: 54px;
    }

    .bk-home-channel__head,
    .bk-home-section__head,
    .bk-home-block__head {
        align-items: flex-start;
    }

    .bk-home-channel__head p {
        display: none;
    }

    .bk-home-channel__grid {
        grid-template-columns: 1fr;
    }

    .bk-home-channel__card:last-child {
        grid-column: auto;
    }

    .bk-home-rank {
        padding-bottom: 56px;
    }

    .bk-home-rank__scroll {
        grid-auto-columns: 286px;
    }

    .bk-home-block {
        padding: 58px 0 64px;
    }

    .bk-home-block__index {
        display: none;
    }

    .bk-home-block__head {
        display: block;
    }

    .bk-home-block__titles h2 {
        font-size: 34px;
    }

    .bk-home-block__titles p {
        font-size: 12px;
    }

    .bk-home-block__head .bk-home-link {
        margin-top: 13px;
    }

    .bk-book-grid--home,
    .bk-book-grid,
    .bk-book-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .bk-book-card__body {
        min-height: 190px;
        padding: 12px;
    }

    .bk-book-card__body h3 {
        font-size: 15px;
    }

    .bk-book-card__desc {
        -webkit-line-clamp: 2;
    }

    .bk-home-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 20px;
        padding-block: 42px;
    }

    .bk-breadcrumb {
        min-height: 52px;
    }

    .bk-category-hero {
        min-height: 250px;
        padding: 34px 26px;
    }

    .bk-category-hero__pattern {
        display: none;
    }

    .bk-category-hero h1 {
        font-size: 43px;
    }

    .bk-category-hero__stats {
        gap: 17px;
    }

    .bk-catalog-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .bk-catalog-toolbar > div {
        flex-direction: column;
        gap: 0;
    }

    .bk-sort-form {
        width: 100%;
        justify-content: flex-end;
    }

    .bk-search-hero {
        padding-top: 34px;
    }

    .bk-search-hero h1 {
        font-size: 35px;
    }

    .bk-search-hero__form {
        height: auto;
        flex-wrap: wrap;
        gap: 0;
        padding: 12px;
        box-shadow: 5px 5px 0 var(--paper-deep);
    }

    .bk-search-hero__form input {
        width: calc(100% - 26px);
        flex: auto;
        height: 42px;
    }

    .bk-search-hero__form select {
        width: 62%;
        height: 44px;
        flex: 1;
        border: 1px solid var(--line);
    }

    .bk-search-hero__form button {
        width: 38%;
        height: 44px;
    }

    .bk-book-detail {
        display: block;
        padding-top: 8px;
    }

    .bk-book-detail__cover {
        width: min(230px, 72vw);
        margin: 0 auto 38px;
    }

    .bk-book-detail__info h1 {
        font-size: 38px;
    }

    .bk-book-detail__actions {
        flex-direction: column;
    }

    .bk-book-detail__actions form,
    .bk-book-detail__actions .bk-btn {
        width: 100%;
    }

    .bk-detail-tabs {
        gap: 20px;
    }

    .bk-detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bk-related {
        margin-top: 60px;
    }

    .bk-reader__toolbar-inner {
        min-height: 60px;
    }

    .bk-reader__back {
        font-size: 0;
    }

    .bk-reader__back .icon {
        width: 19px;
        height: 19px;
    }

    .bk-reader__control-group button {
        width: 31px;
    }

    .bk-reader__shell {
        padding-top: 25px;
    }

    .bk-reader__article-head {
        padding-bottom: 22px;
    }

    .bk-reader__article-head h1 {
        font-size: 31px;
    }

    .bk-reader__content {
        padding-top: 24px;
        font-size: 17px;
        line-height: 2;
    }

    .bk-reader__navigation a {
        flex: 1;
        justify-content: center;
    }

    .bk-auth__visual {
        min-height: 360px;
        padding: 34px 27px;
    }

    .bk-auth__visual h1 {
        font-size: 36px;
    }

    .bk-auth__visual > p {
        font-size: 12px;
    }

    .bk-auth__books {
        height: 100px;
    }

    .bk-auth__book {
        width: 72px;
        bottom: -44px;
    }

    .bk-auth__book--2 {
        left: 58px;
    }

    .bk-auth__book--3 {
        left: 116px;
    }

    .bk-auth__card {
        padding: 35px 24px;
    }

    .bk-auth__head h2 {
        font-size: 27px;
    }

    .bk-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .bk-shelf-card {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 14px;
        padding: 12px;
    }

    .bk-shelf-card__body h2 {
        font-size: 18px;
    }

    .bk-shelf-card__actions .bk-btn--primary {
        padding-inline: 12px;
        font-size: 12px;
    }

    .bk-about-hero {
        padding: 48px 0 42px;
    }

    .bk-about-hero h1 {
        font-size: 39px;
    }

    .bk-footer__inner {
        display: block;
    }

    .bk-footer__links {
        justify-content: flex-start;
        margin-top: 22px;
    }

    .bk-footer__copy {
        margin-top: 18px;
    }

    .bk-flash-stack {
        top: calc(var(--header-height) + 10px);
        right: 12px;
        width: calc(100vw - 24px);
    }
}

@media (max-width: 360px) {
    .bk-home-hero__title {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
