.book-author-link {
    width: fit-content;
    color: inherit;
    text-decoration: none;
}

.book-author-link:hover .book-author-name {
    text-decoration: underline;
}

.book-nav {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;

    font-size: 14px;
    color: #666;
}

.book-nav a {
    color: inherit;
    text-decoration: none;
}

.book-nav a:hover {
    text-decoration: underline;
}

.book-nav-separator {
    opacity: 0.45;
}

.book-hero {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.book-hero-main {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 34px;
    align-items: center;
}

.book-cover-stack {
    position: relative;
    width: 170px;
    height: 230px;
}

.book-cover-stack img {
    position: absolute;
    width: 145px;
    height: 215px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    background: #eee;
}

.book-cover-stack .cover-third {
    left: 28px;
    top: 14px;
    z-index: 1;
    opacity: 0.78;
}

.book-cover-stack .cover-second {
    left: 14px;
    top: 7px;
    z-index: 2;
    opacity: 0.9;
}

.book-cover-stack .cover-first {
    left: 0;
    top: 0;
    z-index: 3;
}

.book-cover-placeholder {
    width: 145px;
    height: 215px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.25);
    font-size: 48px;
    font-weight: 700;
}

.book-label {
    margin: 0 0 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #777;
}

.book-hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
}

.book-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.book-author img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.book-author-name {
    font-weight: bold;
    font-size: 18px;
}

.parts-section {
    margin-top: 32px;
    padding: 32px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.parts-section h2 {
    margin-top: 0;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.part-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 22px;
    align-items: center;

    min-height: 220px;
    padding: 20px;

    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(0,0,0,.045);

    color: inherit;
    text-decoration: none;
}

a.part-card:hover {
    background: rgba(0, 0, 0, 0.055);
    transform: translateY(-2px);
}

.part-cover {
    width: 150px;
}

.part-cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 9px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.part-cover-placeholder {
    display: flex;
    width: 150px;
    aspect-ratio: 2 / 3;
    align-items: center;
    justify-content: center;

    border-radius: 9px;
    background: rgba(0, 0, 0, 0.06);

    font-size: 42px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.25);
}

.part-number {
    margin-bottom: 8px;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #777;
}

.part-title {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
}

.part-tagline {
    margin-top: 10px;
    line-height: 1.5;
    color: #555;
}

.part-status {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 10px;

    border-radius: 999px;
    background: rgba(0, 0, 0, 0.07);

    font-size: 13px;
    font-weight: bold;
}

@media (max-width: 900px) {
    .parts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .book-hero,
    .parts-section {
        padding: 20px;
    }

    .book-hero-main {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .book-cover-stack {
        margin: 0 auto;
    }

    .part-card {
        grid-template-columns: 90px 1fr;
        min-height: 0;
    }

    .part-cover,
    .part-cover-placeholder {
        width: 90px;
    }

    .part-title {
        font-size: 20px;
    }
}

.book-hero-main {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 46px;
    align-items: start;
}

.book-main-cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.book-hero-content {
    min-width: 0;
}

.book-author-name-link {
    display: inline-block;
    margin-bottom: 6px;
    color: #666;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.book-content-types {
    margin-bottom: 8px;
    color: #777;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.book-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
}

.book-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 8px;
}

.book-genre {
    font-size: 14px;
    font-weight: 800;
}

.book-themes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 20px;
    color: #777;
    font-size: 13px;
}

.book-tagline {
    margin-bottom: 12px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 650;
}

.book-annotation {
    max-width: 760px;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.65;
}

.book-publication-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 18px;
    color: #666;
}

.book-price {
    margin-bottom: 20px;
}

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

@media (max-width: 760px) {
    .book-hero-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .book-main-cover {
        max-width: 260px;
        margin: 0 auto;
    }
}

.book-about {
    margin-top: 32px;
    padding: 42px;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
}

.book-about-inner {
    max-width: 900px;
}

.book-section-label {
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #777;
}

.book-about-text {
    font-size: 18px;
    line-height: 1.75;
    color: #444;
}

@media (max-width: 760px) {
    .book-about {
        padding: 24px;
    }

    .book-about-text {
        font-size: 16px;
    }
}

.book-hero-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.book-hero-top {
    flex: 0 0 auto;
}

.book-tagline-center {
    max-width: 760px;
    margin-top: 32px;
    font-size: 22px;
    line-height: 1.4;
}

.book-hero-bottom {
    margin-top: auto;
    padding-top: 36px;
}

.book-author-compact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-top: 18px;
    margin-bottom: 22px;

    color: #333;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.book-author-compact img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.book-content-types {
    margin-bottom: 9px;
    color: #777;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.book-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 9px;
}

.book-genre {
    font-size: 15px;
    font-weight: 800;
}

.book-themes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    margin-bottom: 0;
    color: #777;
    font-size: 14px;
}

.book-hero-content {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.book-hero-bottom {
    margin-top: auto;
    padding-top: 36px;
}

.book-publication-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 16px;
    color: #666;
}

.book-price {
    margin-bottom: 18px;
}

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

.book-byline {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 10px;
    margin-bottom: 26px;

    color: #666;
    font-size: 16px;
    font-weight: 700;
}

.book-byline a {
    color: inherit;
    text-decoration: none;
}

.book-byline a:hover {
    text-decoration: underline;
}

.book-byline-separator {
    opacity: .45;
}


.book-byline {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 10px;
    margin-bottom: 26px;
    margin-left: 10px;

    color: #666;
    font-size: 16px;
    font-weight: 700;
}

.book-section {
    scroll-margin-top: 24px;
}

.book-section-inner {
    max-width: 1100px;
}

.book-section-label {
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #777;
}

.book-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;

    margin: 24px 0;
    padding: 0 42px;
}

.book-section-nav a {
    color: #555;
    font-weight: 700;
    text-decoration: none;
}

.book-section-nav a:hover {
    color: #111;
    text-decoration: underline;
}


.book-section-nav-panel {
    margin-top: 24px;
    padding: 18px 28px;

    border-radius: 22px;
    background: rgba(255,255,255,.94);
}

.book-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;

    margin: 0;
    padding: 0;
}

.book-section-nav a {
    color: #555;
    font-weight: 700;
    text-decoration: none;
}

.book-section-nav a:hover {
    color: #111;
}


.book-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(220px, .7fr);
    gap: 46px;
    align-items: start;
}

.book-about-main {
    min-width: 0;
}

.book-about-text {
    font-size: 17px;
    line-height: 1.75;
    color: #444;
}

.book-about-sidebar {
    padding-left: 30px;
    border-left: 1px solid rgba(0,0,0,.08);
}

.book-about-sidebar-title {
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #777;
}

.book-about-stats {
    display: grid;
    gap: 18px;
}

.book-about-stat {
    display: grid;
    gap: 2px;
}

.book-about-stat strong {
    font-size: 22px;
    line-height: 1.1;
}

.book-about-stat span {
    color: #777;
    font-size: 13px;
}

.book-author-note-inline {
    max-width: 900px;
    margin-bottom: 34px;
    padding-left: 20px;
    border-left: 3px solid rgba(0,0,0,.12);
}

.book-author-note-label {
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #777;
}

.book-author-note-text {
    font-size: 17px;
    line-height: 1.65;
    color: #555;
}

@media (max-width: 800px) {
    .book-about-layout {
        grid-template-columns: 1fr;
    }

    .book-about-sidebar {
        padding-left: 0;
        padding-top: 28px;
        border-left: 0;
        border-top: 1px solid rgba(0,0,0,.08);
    }
}


.parts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.part-card {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 22px;

    min-height: 245px;
    padding: 18px;

    border: 1px solid rgba(0,0,0,.09);
    border-radius: 18px;
    background: rgba(255,255,255,.46);
}

.part-card.is-preparing {
    background: rgba(255,255,255,.30);
}

.part-cover {
    width: 135px;
}

.part-cover-link {
    display: block;
}

.part-cover img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.part-cover-link:hover img {
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(0,0,0,.20);
}

.part-cover-placeholder {
    display: flex;
    width: 135px;
    aspect-ratio: 2 / 3;

    align-items: center;
    justify-content: center;

    border-radius: 10px;
    background: rgba(0,0,0,.06);

    font-size: 36px;
    font-weight: 800;
    color: rgba(0,0,0,.25);
}

.part-card-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.part-card-main {
    flex: 0 0 auto;
}

.part-number {
    margin-bottom: 7px;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #777;
}

.part-title {
    margin: 0;

    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.part-title a {
    color: inherit;
    text-decoration: none;
}

.part-title a:hover {
    text-decoration: underline;
}

.part-tagline {
    margin-top: 10px;

    color: #555;
    line-height: 1.45;
}

.part-status {
    display: inline-block;
    width: fit-content;

    margin-top: 13px;
    padding: 6px 10px;

    border-radius: 999px;
    background: rgba(0,0,0,.07);

    font-size: 13px;
    font-weight: 700;
}

.part-card-bottom {
    margin-top: auto;
    padding-top: 18px;
}

.part-card-price {
    margin-bottom: 12px;
}

.part-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.part-actions .kp-btn {
    padding: 10px 14px;
    font-size: 13px;
}

.part-detail-link {
    color: #555;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.part-detail-link:hover {
    color: #111;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .parts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .part-card {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 16px;
        min-height: 0;
        padding: 14px;
    }

    .part-cover,
    .part-cover-placeholder {
        width: 90px;
    }

    .part-title {
        font-size: 19px;
    }

    .part-card-bottom {
        margin-top: 18px;
        padding-top: 0;
    }
}


.book-quotes-section {
    margin-top: 28px;
    padding: 42px;

    border-radius: 24px;
    background: rgba(255,255,255,.94);
}

.book-quotes-section h2 {
    margin: 0 0 26px;
}

.book-quotes-list {
    column-count: 3;
    column-gap: 18px;
}

.book-quote {
    display: inline-block;
    width: 100%;

    margin: 0 0 18px;
    padding: 14px 16px;

    break-inside: avoid;

    border-radius: 16px;
    background: rgba(0,0,0,.09);
}

.book-quote-text {
    white-space: pre-line;

    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
    color: #333;
}

.book-quote-source {
    margin-top: 14px;

    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
    color: #888;
}

@media (max-width: 950px) {
    .book-quotes-list {
        column-count: 2;
    }
}

@media (max-width: 650px) {
    .book-quotes-section {
        padding: 24px;
    }

    .book-quotes-list {
        column-count: 1;
    }
}