/* Info page desktop adaptations; keep mobile styles unchanged */
.pt-pc-header {
    display: none;
}

.pt-info-menubar {
    display: none;
}

@media (min-width: 768px) {
    .pt-pc-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    .pt-pc-header-inner {
        height: 64px;
        margin: 0 auto;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .pt-pc-logo {
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
    }

    .pt-pc-menu {
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .pt-pc-menu-item {
        font-size: 15px;
        color: #333;
        padding: 8px 12px;
        border-radius: 6px;
        transition: background-color .2s ease, color .2s ease;
    }

    .pt-pc-menu-item:visited {
        color: #333;
    }

    .pt-pc-menu-item:hover {
        color: #f55;
        background: #fff1f1;
    }

    .pt-info-mobile-header {
        display: none;
    }

    main {
        max-width: 960px;
        margin: 0 auto;
        padding: 76px 12px 16px;
    }

    .pt-info-menubar {
        display: flex;
        align-items: center;
        gap: 8px;
        height: 40px;
        padding: 0 12px;
        margin-bottom: 10px;
        border-radius: 8px;
        background: #fff;
        color: #777;
        font-size: 14px;
    }

    .pt-info-menu-item {
        color: #666;
    }

    .pt-info-menu-item:hover {
        color: #f55;
    }

    .pt-info-menu-sep {
        color: #aaa;
    }

    .pt-info-menu-current {
        color: #333;
        max-width: 70%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pt-bookdetail,
    .pt-chapter,
    .pt-comment-section,
    .pt-new,
    .pt-recomment {
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .pt-bookdetail img {
        width: 160px;
        height: 214px;
    }

    .pt-bookdetail .pt-btn {
        width: 120px;
        height: 38px;
        line-height: 38px;
        margin-right: 0;
        border-radius: 6px;
    }

    .pt-recomment-item > .flex-item {
        max-width: none !important;
        min-width: 0;
    }

    .pt-recomment-cont {
        display: flex !important;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: space-between;
        gap: 0;
    }

    .pt-recomment-item {
        flex: 0 0 calc(50% - 9px);
        max-width: calc(50% - 9px);
        width: calc(50% - 9px);
        min-width: 0;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .pt-recomment-item img {
        width: 100px;
        height: 136px;
    }
}

@media (min-width: 960px) {
    .pt-pc-header-inner,
    main {
        max-width: 960px;
    }

    main {
        padding-left: 0;
        padding-right: 0;
    }

    .pt-recomment-item {
        flex-basis: calc(33.3333% - 12px);
        max-width: calc(33.3333% - 12px);
        width: calc(33.3333% - 12px);
    }
}
