* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background: #fff;
    color: #333;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

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

img {
    max-width: 100%;
    border: 0;
    vertical-align: middle;
}

button {
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-header {
    background: #fff;
    position: relative;
    z-index: 20;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
}

.header-left {
    gap: 56px;
    min-width: 0;
}

.logo {
    flex-shrink: 0;
    color: #222;
    font-size: 20px;
    letter-spacing: 1px;
}

.pc-nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    color: #333;
    font-size: 15px;
    line-height: 88px;
}

.nav-link:hover,
.nav-link.active {
    color: #111;
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 140px;
    padding: 8px 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 30;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.dropdown-menu a:hover {
    color: #111;
    background: #f7f7f7;
}

.header-right {
    gap: 4px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    border-radius: 50%;
}

.icon-btn:hover {
    background: #f4f4f4;
}

.trigger-menu {
    display: none;
}

.mobile-nav-menu {
    display: none;
    border-top: 1px solid #f2f2f2;
    padding: 8px 24px 16px;
}

.mobile-nav-menu .nav-link {
    display: block;
    line-height: 1.4;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-menu .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0 0 8px 16px;
}

#search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.search-close-btn {
    position: absolute;
    top: 48px;
    right: 56px;
    opacity: 0.7;
}

.search-close-btn:hover {
    opacity: 1;
}

.search-box-wrapper {
    display: flex;
    width: 560px;
    max-width: 86%;
    height: 50px;
}

.search-input {
    flex: 1;
    border: 1px solid #e6e6e6;
    border-right: 0;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
}

.search-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    background: #2b2b2b;
    color: #fff;
    white-space: nowrap;
}

.search-submit-btn:hover {
    background: #111;
}

.home-page {
    padding: 28px 0 80px;
}

.home-layout {
    display: grid;
    grid-template-columns: 700px minmax(0, 1fr);
    gap: 142px;
    align-items: start;
}

.section-head {
    position: relative;
    margin-bottom: 28px;
    padding-bottom: 10px;
    color: #333;
    font-size: 18px;
    font-weight: 400;
}

.section-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 22px;
    height: 2px;
    background: #e54d42;
}

.journal-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.journal-card {
    min-width: 0;
}

.journal-cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: #f3f3f3;
}

.journal-cover img {
    display: block;
    width: 700px;
    max-width: 100%;
    height: 400px;
    aspect-ratio: 700 / 400;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.journal-cover:hover img {
    transform: scale(1.03);
}

.journal-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.42) 100%);
}

.journal-vol {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    width: 50px;
    height: 50px;
    padding: 6px 7px 5px;
    background: #f3f3f3;
    border-radius: 6px;
    text-align: left;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.journal-vol em {
    display: block;
    color: #222;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}

.journal-vol em::after {
    content: "";
    display: block;
    width: 12px;
    height: 2px;
    margin: 4px 0;
    background: #e54d42;
}

.journal-vol small {
    display: block;
    margin-top: 0;
    color: #b5b5b5;
    font-size: 8px;
    letter-spacing: 0.8px;
}

.journal-title {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.journal-excerpt {
    margin-top: 14px;
    color: #777;
    font-size: 14px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.journal-comment {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #8a8a8a;
    font-size: 13px;
}

.comment-avatar {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f1f1;
    color: #9a9a9a;
    flex-shrink: 0;
}

.comment-avatar svg {
    width: 13px;
    height: 13px;
}

.comment-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.journal-stats {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 12px;
    color: #b0b0b0;
    font-size: 13px;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stat-item svg {
    width: 16px;
    height: 16px;
}

.load-more,
.empty-tip {
    margin-top: 28px;
    color: #999;
    text-align: center;
}

.load-more {
    display: block;
    width: 100%;
    padding: 12px 0;
    border: 1px solid #eee;
    border-radius: 4px;
}

.load-more:hover {
    color: #333;
    border-color: #ddd;
}

.home-aside {
    position: sticky;
    top: 24px;
}

.hot-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.hot-item img {
    width: 80px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    background: #f3f3f3;
    flex-shrink: 0;
}

.hot-info {
    min-width: 0;
}

.hot-info h3 {
    color: #333;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-info p {
    margin-top: 2px;
    color: #c0c0c0;
    font-size: 12px;
}

.brand-card {
    margin-top: 48px;
    padding: 42px 20px;
    background: #111;
    border-radius: 8px;
    color: #fff;
    text-align: center;
}

.brand-card h3 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
}

.brand-card p {
    margin-top: 10px;
    color: #bdbdbd;
    font-size: 13px;
    letter-spacing: 0.4px;
}

.site-footer {
    padding: 40px 0 48px;
    color: #bbb;
    font-size: 12px;
    text-align: center;
}

.footer-icp {
    margin-top: 8px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: #fff;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.page-main {
    padding: 12px 0 80px;
}

.page-head {
    margin-bottom: 36px;
}

.page-head h1 {
    margin-bottom: 10px;
    color: #333;
    font-size: 28px;
    font-weight: 400;
}

.page-head p {
    color: #aaa;
    font-size: 14px;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    overflow-x: auto;
}

.filter-label {
    flex-shrink: 0;
    color: #333;
}

.filter-item a {
    display: inline-block;
    padding: 5px 12px;
    color: #888;
    border-radius: 4px;
}

.filter-item.active a,
.filter-item a:hover {
    background: #111;
    color: #fff;
}

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

.gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    background: #f3f3f3;
}

.item-title {
    margin-top: 14px;
    color: #444;
    font-size: 18px;
    font-weight: 400;
}

.details-main {
    padding: 20px 0 80px;
}

.product-intro {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
}

.product-gallery {
    width: 52%;
    flex-shrink: 0;
}

#myCarousel {
    --f-arrow-pos: 10px;
    --f-arrow-bg: rgba(255, 255, 255, 0.75);
    --f-arrow-hover-bg: #fff;
    --f-arrow-color: #333;
    --f-arrow-width: 40px;
    --f-arrow-height: 40px;
    --f-arrow-border-radius: 50%;
    height: 520px;
    overflow: hidden;
    border-radius: 6px;
}

#myCarousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.art-title {
    margin-bottom: 24px;
    color: #333;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.4;
}

.art-meta-list {
    color: #666;
    font-size: 14px;
    line-height: 1.9;
}

.dash-box {
    position: relative;
    margin-bottom: 32px;
    padding: 28px;
    border: 1px dashed #333;
}

.dash-label {
    position: absolute;
    top: -10px;
    left: 24px;
    padding: 0 8px;
    background: #fff;
    font-size: 14px;
}

.free-download-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.code-input-group {
    color: #999;
    font-size: 13px;
}

.input-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.grey-input {
    width: 200px;
    height: 36px;
    padding: 0 12px;
    border: 0;
    background: #f2f2f2;
}

.btn-black,
.btn-sponsor,
.btn-pay {
    height: 36px;
    padding: 0 18px;
    background: #333;
    color: #fff;
    cursor: pointer;
}

.btn-sponsor,
.btn-pay {
    height: auto;
    padding: 10px 22px;
    margin-top: 14px;
}

.qr-code-area,
.qr-code-area img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.sponsor-inner {
    color: #999;
    font-size: 13px;
}

.sponsor-price {
    color: #333;
    font-weight: 600;
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 40px;
}

.tag-btn {
    padding: 7px 16px;
    border: 1px solid #eee;
    color: #555;
    font-size: 13px;
}

.artist-card {
    display: flex;
    position: relative;
    margin-bottom: 56px;
    padding: 28px;
    border: 1px solid #f0f0f0;
}

.artist-label {
    position: absolute;
    left: 0;
    top: 70%;
    width: 5rem;
    border-bottom: 3px solid #111;
    color: #111;
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
}

.artist-content {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding-left: 20px;
}

.artist-avatar,
.artist-avatar img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
}

.artist-name {
    margin-bottom: 8px;
    font-size: 16px;
}

.artist-bio {
    margin-bottom: 8px;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}

.artist-link {
    color: #999;
    font-size: 12px;
    text-decoration: underline;
}

.related-section h2 {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 400;
}

#sponsor-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

#sponsor-modal {
    width: 460px;
    max-width: 90%;
    padding: 32px;
    background: #fff;
    border-radius: 6px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 18px;
}

.close-modal {
    cursor: pointer;
}

.modal-content-group {
    margin-bottom: 20px;
}

.label-text {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.grey-box,
.summary-box {
    padding: 14px;
    background: #f8f8f8;
    color: #555;
    border-radius: 4px;
}

.summary-box {
    display: flex;
    justify-content: space-between;
}

.btn-pay {
    width: 100%;
}

.about-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 0 80px;
}

.page-title {
    margin-bottom: 32px;
    font-size: 28px;
    font-weight: 400;
}

.text-content {
    color: #666;
    font-size: 15px;
    line-height: 2;
}

.author-avatar {
    width: 88px;
    height: 88px;
    margin-bottom: 16px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 960px) {
    .container {
        padding: 0 20px;
    }

    .header-left {
        gap: 24px;
    }

    .pc-nav-menu {
        gap: 20px;
    }

    .home-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .journal-cover img {
        width: 100%;
        height: auto;
    }

    .home-aside {
        position: static;
    }

    .product-intro,
    .free-download-inner,
    .artist-content {
        flex-direction: column;
    }

    .product-gallery {
        width: 100%;
    }

    #myCarousel {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        min-height: 64px;
    }

    .pc-nav-menu {
        display: none;
    }

    .trigger-menu {
        display: inline-flex;
    }

    .nav-link {
        line-height: 1.4;
    }

    .journal-title {
        font-size: 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 12px;
    }

    .item-title,
    .art-title,
    .page-head h1,
    .page-title {
        font-size: 18px;
    }

    .search-close-btn {
        top: 24px;
        right: 20px;
    }

    .artist-label {
        position: static;
        transform: none;
        margin-bottom: 12px;
    }

    .artist-content {
        padding-left: 0;
        text-align: center;
    }
}
