* {
    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 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.9);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header {
        background: rgba(255, 255, 255, 0.62);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        backdrop-filter: blur(20px) saturate(180%);
    }
}

#page-root {
    padding-top: 88px;
}

.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;
    display: inline-flex;
    align-items: center;
    color: #222;
    font-size: 20px;
    letter-spacing: 1px;
}

.logo img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

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

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

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

.pc-nav-menu .nav-link.active {
    color: #e54d42;
}

.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: 10px;
}

.header-search-wrap {
    --search-collapsed: 40px;
    --search-expanded: 288px;
    position: relative;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: var(--search-collapsed);
    min-width: var(--search-collapsed);
    max-width: var(--search-collapsed);
    height: 40px;
    overflow: hidden;
    transition: width 0.34s cubic-bezier(0.22, 1, 0.36, 1), max-width 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-search-wrap.is-open {
    width: var(--search-expanded);
    max-width: var(--search-expanded);
    overflow: visible;
    z-index: 60;
}

.header-search-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 2;
    font-size: 20px;
    transform: translateY(-50%);
    transition: opacity 0.18s ease, transform 0.22s ease, background 0.15s, color 0.15s;
}

.header-search-toggle i {
    line-height: 1;
}

.icon-btn.header-search-toggle,
.icon-btn.header-search-toggle:hover {
    border-radius: 8px;
    color: #333333;
}

.header-search-wrap.is-open .header-search-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) scale(0.86);
}

.header-search-panel {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: auto;
    pointer-events: none;
}

.header-search-wrap:not(.is-open) .header-search-panel {
    visibility: hidden;
}

.header-search-wrap.is-open .header-search-panel {
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
}

.header-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(28, 32, 26, 0.08);
    overflow: hidden;
    opacity: 0;
    transform: translateX(20px);
    transform-origin: right center;
    transition: opacity 0.2s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-search-wrap.is-open .header-search {
    opacity: 1;
    transform: translateX(0);
}

.header-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 13px;
    outline: none;
}

.header-search input::placeholder {
    color: #c4c4c4;
}

.header-search button {
    flex: 0 0 42px;
    width: 42px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border-radius: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.header-search-toggle .ri-search-line,
.header-search .ri-search-line {
    display: inline-block;
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 1;
    color: inherit;
}

.header-search-toggle .ri-search-line {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.header-search-toggle .ri-search-line::before,
.header-search .ri-search-line::before {
    content: "\f0d1";
    font-family: remixicon !important;
}

.header-search button:hover {
    color: #333;
}

.header-search-hot {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 4px 0 6px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 3px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    overflow: auto;
    max-height: min(520px, 72vh);
}

.header-search-hot a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
}

.header-search-hot a:hover {
    background: #f7f8f5;
}

.header-search-hot span {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-hot-rank {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c0c0c0;
    font-size: 12px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
}

.search-hot-rank.is-1,
.search-hot-rank.is-2,
.search-hot-rank.is-3 {
    border-radius: 3px;
    color: #fff;
    font-size: 11px;
    font-style: normal;
}

.search-hot-rank.is-1 {
    background: #e85d4c;
}

.search-hot-rank.is-2 {
    background: #e6b325;
}

.search-hot-rank.is-3 {
    background: #8a9199;
}

.header-search-panel.is-layer {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0 28px 12vh;
    background: rgba(255, 255, 255, 0.46);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.header-search-panel.is-layer .header-search {
    width: min(100%, 400px);
    height: 48px;
    background: #fff;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transform: none;
}

.header-search-panel.is-layer .header-search input {
    padding: 0 8px 0 20px;
    font-size: 16px;
}

.header-search-panel.is-layer .header-search button {
    flex-basis: 48px;
    width: 48px;
    color: #c4c4c4;
    border-left: 0;
}

.header-search-panel.is-layer .header-search-hot {
    position: static;
    width: min(100%, 400px);
    max-height: min(52vh, 420px);
    margin-top: 14px;
    padding: 8px 0;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.header-search-panel.is-layer .header-search-hot a {
    padding: 11px 18px;
    font-size: 14px;
}

.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;
}

.icon-btn.header-search-toggle,
.icon-btn.header-search-toggle:hover {
    border-radius: 8px;
    color: #333333;
}

.icon-btn.trigger-user,
.icon-btn.trigger-user:hover {
    border-radius: 8px;
}

.header-user {
    position: relative;
}

.header-user.is-login .icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
}

.user-icon {
    font-size: 22px;
    line-height: 1;
    color: #333333;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    background: #f3f3f3;
}

.user-menu {
    position: absolute;
    top: 48px;
    right: 0;
    min-width: 140px;
    padding: 8px 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 40;
}

.user-menu a,
.user-menu button {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.user-menu a:hover,
.user-menu button:hover {
    color: #111;
    background: #f7f7f7;
}

.trigger-menu {
    display: none;
}

.icon-btn.trigger-menu,
.icon-btn.trigger-menu:hover,
.icon-btn.mobile-drawer-close,
.icon-btn.mobile-drawer-close:hover {
    border-radius: 8px;
    color: #333333;
}

.trigger-menu .ri-menu-3-line,
.mobile-drawer-close svg {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 1;
    color: inherit;
}

.trigger-menu .ri-menu-3-line::before {
    content: "\ef34";
    font-family: remixicon !important;
}

.mobile-drawer-close svg {
    display: block;
}

.mobile-drawer {
    display: none;
}

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

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

.journal-section {
    min-width: 0;
    max-width: 100%;
}

.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: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 700 / 400;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.read-cover:hover img {
    transform: none;
}

.read-cover::after {
    display: none;
}

.read-cover-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 700 / 400;
    overflow: hidden;
    background: #f3f3f3;
}

.read-cover-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.read-cover-item.is-active {
    opacity: 1;
    z-index: 1;
}

.read-cover .read-cover-item img {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    object-fit: cover;
}

.read-cover-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
}

.read-cover-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    pointer-events: auto;
}

.read-cover-dot.is-active {
    background: #fff;
}

.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: 9px;
    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: #000000;
    font-size: 15px;
    line-height: 1.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

a.journal-comment:hover,
a.stat-item:hover {
    color: #666;
}

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

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-avatar .cmt-letter {
    font-size: 11px;
}

.comment-text {
    min-width: 0;
    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 i {
    font-size: 16px;
    line-height: 1;
}

.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: 112px;
}

.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: 5px;
    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;
}

.aside-banner {
    position: relative;
    margin-top: 48px;
    height: 135px;
    overflow: hidden;
    border-radius: 5px;
    background: #f3f3f3;
}

.aside-banner-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .45s ease;
}

.aside-banner-item.is-active {
    opacity: 1;
    z-index: 1;
}

.aside-banner-item img {
    display: block;
    width: 100%;
    height: 135px;
    object-fit: cover;
}

.aside-banner-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.aside-banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
}

.aside-banner-dot.is-active {
    background: #fff;
}

.banner-caption {
    display: none;
}

.home-banner {
    display: none;
}

.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: #fff;
    color: #666;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    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;
}

.list-sub {
    margin: -8px 0 22px;
    color: #aaa;
    font-size: 13px;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 28px;
    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;
}

.read-main {
    min-width: 0;
}

.read-play {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
}

.read-play svg {
    display: block;
    width: 50px;
    height: 50px;
}

.read-play .icon-pause {
    width: 50px;
    height: 50px;
    fill: currentColor;
}

.read-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
}

.read-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.read-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #f4f4f4;
    border-radius: 20px;
    color: #888;
    font-size: 12px;
}

.read-tag svg {
    width: 13px;
    height: 13px;
}

.read-fav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b0b0b0;
    font-size: 13px;
    white-space: nowrap;
}

.read-fav i {
    font-size: 25px;
    line-height: 1;
}

.read-fav.is-on {
    color: #ffc107;
}

.read-title {
    margin-top: 22px;
    color: #222;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
}

.read-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 14px;
    color: #b5b5b5;
    font-size: 13px;
}

.read-content {
    margin-top: 28px;
    color: #555;
    font-size: 15px;
    line-height: 2;
}

.read-content p {
    margin-bottom: 22px;
    text-align: justify;
}

.read-content img {
    display: block;
    max-width: 100%;
    margin: 16px 0;
    border-radius: 4px;
}

.spec-table {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    text-align: center;
}

.spec-table th,
.spec-table td {
    padding: 8px 10px;
    border: 1px solid #e5e5e5;
}

.spec-table thead th {
    background: #f4f4f4;
}

.music-list {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.music-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 10px 12px;
    margin: 0 -12px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.music-item:hover {
    background-color: #f5f5f5;
}

.music-item.is-playing {
    background-color: #f7f7f7;
}

.music-cover {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
    background: #f3f3f3;
    flex-shrink: 0;
}

.music-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.music-title {
    color: #222;
    font-size: 15px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.music-artist {
    color: #9a9a9a;
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-notes {
    display: none;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.music-item.is-playing .music-notes {
    display: inline-flex;
}

.music-notes i {
    display: block;
    width: 3px;
    height: 100%;
    background: #e53935;
    border-radius: 1px;
    transform-origin: center bottom;
    animation: music-bar-wave 0.8s ease-in-out infinite;
}

.music-notes i:nth-child(1) {
    animation-delay: 0s;
}

.music-notes i:nth-child(2) {
    animation-delay: 0.2s;
}

.music-notes i:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes music-bar-wave {
    0%, 100% {
        transform: scaleY(0.35);
    }
    50% {
        transform: scaleY(1);
    }
}

.cmt-box {
    margin-top: 64px;
}

.cmt-composer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cmt-face,
.cmt-avatar {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ececec;
    color: #9a9a9a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cmt-face img,
.cmt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmt-letter {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    background: #8aa08d;
}

.cmt-face i,
.cmt-avatar i {
    font-size: 18px;
}

.cmt-editor {
    position: relative;
    flex: 1;
    min-width: 0;
}

.cmt-input-wrap {
    padding: 14px 18px 16px;
    border-radius: 4px;
    background: #f6f6f6;
}

.cmt-input-wrap:focus-within {
    background: #f3f3f3;
}

.cmt-editor textarea {
    display: block;
    width: 100%;
    min-height: 72px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
    font: inherit;
    font-size: 14px;
    line-height: 1.7;
    resize: none;
    outline: none;
}

.cmt-editor textarea::placeholder {
    color: #c5c5c5;
}

.cmt-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.cmt-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cmt-cancel {
    color: #b0b0b0;
    font-size: 13px;
}

.cmt-cancel:hover {
    color: #666;
}

.cmt-emoji-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    border-radius: 50%;
}

.cmt-emoji-btn svg {
    width: 24px;
    height: 24px;
}

.cmt-emoji-btn:hover,
.cmt-emoji-btn.is-on {
    color: #666;
    background: #f5f5f5;
}

.cmt-send {
    min-width: 76px;
    height: 40px;
    padding: 0 22px;
    border-radius: 4px;
    background: #e53935;
    color: #fff;
    font-size: 14px;
}

.cmt-send:hover {
    background: #d32f2b;
}

.cmt-send:disabled {
    opacity: 0.6;
    cursor: default;
}

.cmt-emoji-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 8;
    width: min(100%, 420px);
    max-height: 260px;
    padding: 10px;
    overflow: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
}

.cmt-emoji-panel button {
    height: 38px;
    padding: 4px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cmt-emoji-panel button:hover {
    background: #f5f5f5;
}

.cmt-emoji-panel img,
.cmt-emo {
    width: 26px;
    height: 26px;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.cmt-list {
    margin-top: 10px;
}

.cmt-empty {
    margin: 0;
    padding: 48px 16px 24px;
    color: #c4c4c4;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.cmt-more-line {
    padding: 8px 0 20px;
    color: #c4c4c4;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.cmt-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 26px 0;
}

.cmt-item.is-replying .cmt-reply {
    color: #888;
}

.cmt-item + .cmt-item {
    border-top: 0;
}

.cmt-item.is-new {
    animation: cmt-flash 1.2s ease;
}

.cmt-item.is-focus {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    animation: cmt-focus 2.4s ease;
}

.cmt-kids .cmt-item {
    padding: 16px 0 0;
}

.cmt-kids .cmt-avatar {
    width: 36px;
    height: 36px;
}

.cmt-kids .cmt-letter {
    font-size: 12px;
}

.cmt-main {
    flex: 1;
    min-width: 0;
}

.cmt-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    line-height: 1.2;
}

.cmt-name {
    color: #222;
    font-size: 14px;
}

.cmt-time {
    color: #c4c4c4;
    font-size: 12px;
}

.cmt-text {
    margin-top: 8px;
    color: #333;
    font-size: 14px;
    line-height: 1.85;
    word-break: break-word;
    white-space: pre-wrap;
}

.cmt-text .cmt-emo {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    vertical-align: -0.2em;
    margin: 0 1px;
}

.cmt-to {
    color: #999;
    margin-right: 6px;
}

.cmt-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 36px 0 0;
    color: #9a9a9a;
    font-size: 15px;
}

.cmt-toolbar-total em {
    margin: 0 2px;
    color: #666;
    font-style: normal;
}

.cmt-toolbar-sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c4c4c4;
}

.cmt-sort {
    color: #c4c4c4;
    background: none;
    padding: 0;
}

.cmt-sort.is-on,
.cmt-sort:hover {
    color: #333;
}

.cmt-sort-split {
    color: #ddd;
}

.cmt-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.cmt-reply {
    display: inline-block;
    color: #c4c4c4;
    font-size: 12px;
}

.cmt-reply:hover {
    color: #888;
}

.cmt-like {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #c4c4c4;
    font-size: 12px;
    background: none;
    padding: 0;
}

.cmt-like i {
    font-size: 16px;
    line-height: 1;
}

.cmt-like:hover {
    color: #888;
}

.cmt-like.is-liked,
.cmt-like.is-liked:hover {
    color: #e53935;
}

.cmt-kids {
    margin-top: 6px;
}

.cmt-kids.is-folded > .cmt-item.is-extra {
    display: none;
}

.cmt-more {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 0;
    color: #8b8b8b;
    font-size: 13px;
    line-height: 1.4;
    background: none;
}

.cmt-more:hover {
    color: #555;
}

@keyframes cmt-flash {
    0% {
        background: #fff7f7;
    }
    100% {
        background: transparent;
    }
}

@keyframes cmt-focus {
    0%,
    18% {
        background: #fff1e8;
        box-shadow: 0 0 0 12px #fff1e8;
    }
    100% {
        background: transparent;
        box-shadow: 0 0 0 12px transparent;
    }
}

.player-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    height: 90px;
    overflow: visible;
    transform: translateY(110%);
    transition: transform .38s cubic-bezier(.22, .8, .28, 1);
    background: rgba(255, 255, 255, .62);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 -10px 32px rgba(0, 0, 0, .06);
}

.player-bar.is-visible {
    transform: translateY(0);
}

.player-bar-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 90px;
}

.player-song {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 220px;
    min-width: 180px;
    flex-shrink: 0;
}

.player-cover {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    background: #f0f0f0;
    flex-shrink: 0;
}

.player-cover:not([src]),
.player-cover[src=""] {
    visibility: hidden;
}

.player-song-text {
    min-width: 0;
}

.player-title {
    color: #222;
    font-size: 15px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-artist {
    margin-top: 3px;
    color: #9a9a9a;
    font-size: 13px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.player-skip {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #222;
}

.player-skip svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.player-toggle {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
}

.player-toggle svg {
    display: block;
    width: 42px;
    height: 42px;
    fill: currentColor;
}

.player-toggle .icon-pause {
    width: 42px;
    height: 42px;
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    color: #b0b0b0;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.player-seek {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 3px;
    margin: 0;
    background: #e6e6e6;
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}

.player-seek::-webkit-slider-runnable-track {
    height: 3px;
    background: transparent;
}

.player-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .12);
}

.player-seek::-moz-range-track {
    height: 3px;
    background: #e6e6e6;
    border: none;
    border-radius: 999px;
}

.player-seek::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #e53935;
}

.player-extra {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.player-tool {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8a8a8a;
}

.player-tool svg {
    width: 24px;
    height: 24px;
}

.player-tool i {
    font-size: 22px;
    line-height: 1;
}

.player-tool.is-active,
.player-tool#playerLike.is-liked {
    color: #e53935;
}

.player-volume {
    position: relative;
}

.player-volume-panel {
    position: absolute;
    right: 1px;
    bottom: 46px;
    width: 36px;
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 0, 0, .04);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.player-volume:hover .player-volume-panel,
.player-volume.is-open .player-volume-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.player-volume-range {
    -webkit-appearance: none;
    appearance: none;
    width: 86px;
    height: 4px;
    margin: 0;
    background: #e6e6e6;
    border-radius: 999px;
    transform: rotate(-90deg);
    cursor: pointer;
}

.player-volume-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e53935;
}

.player-volume-range::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #e53935;
}

body.has-player {
    padding-bottom: 90px;
}

body.has-player .back-to-top {
    bottom: 110px;
}

body > #coverFavBtn.is-float {
    position: fixed;
    right: 24px;
    bottom: 80px;
    z-index: 50;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 0;
    color: #666;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

body.has-player > #coverFavBtn.is-float {
    bottom: 166px;
}

body > #coverFavBtn.is-float #coverFavCount {
    display: none;
}

body > #coverFavBtn.is-float i {
    font-size: 22px;
    line-height: 1;
    color: #666;
}

body > #coverFavBtn.is-float.is-on,
body > #coverFavBtn.is-float.is-on i {
    color: #ffc107;
}

.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;
}

.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.28);
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 36px 32px 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.auth-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 50%;
}

.auth-close:hover {
    color: #333;
    background: #f5f5f5;
}

.auth-tabs {
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
}

.auth-tabs button {
    position: relative;
    padding-bottom: 8px;
    color: #999;
    font-size: 18px;
}

.auth-tabs button.is-active {
    color: #333;
}

.auth-tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 22px;
    height: 2px;
    background: #e54d42;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form input,
.member-field input,
.member-row input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #f4f4f4;
    color: #333;
    font-size: 14px;
    outline: none;
}

.auth-form input:focus,
.member-field input:focus,
.member-row input:focus {
    background: #f0f0f0;
}

.auth-msg,
.member-msg {
    min-height: 20px;
    margin: 0;
    color: #e54d42;
    font-size: 13px;
    line-height: 20px;
}

.auth-msg.is-ok,
.member-msg.is-ok {
    color: #3a8a4a;
}

.auth-submit {
    width: 100%;
    margin-top: 4px;
}

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

.member-layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

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

.member-guest {
    max-width: 480px;
    padding: 8px 0 24px;
    color: #888;
    font-size: 15px;
}

.member-guest .member-btn {
    margin-top: 20px;
}

.member-side-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    text-align: center;
}

.member-side-avatar {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    background: #f4f4f4;
}

.member-side-avatar.is-placeholder {
    padding: 16px;
    object-fit: contain;
}

.member-side-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.member-name {
    color: #222;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.member-account {
    color: #999;
    font-size: 13px;
}

.member-nav {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
    border-top: 1px solid #f2f2f2;
}

.member-nav button {
    position: relative;
    padding: 12px 0 12px 14px;
    text-align: left;
    color: #888;
    font-size: 15px;
}

.member-nav button:hover {
    color: #333;
}

.member-nav button.is-active {
    color: #333;
}

.member-nav button.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: #e54d42;
}

.member-tabs {
    display: flex;
    gap: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid #f2f2f2;
}

.member-tabs button {
    position: relative;
    padding: 0 0 14px;
    color: #999;
    font-size: 15px;
}

.member-tabs button:hover {
    color: #333;
}

.member-tabs button.is-active {
    color: #333;
}

.member-tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #e54d42;
}

.member-card {
    max-width: 520px;
}

.member-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
}

.member-row > span {
    width: 72px;
    flex-shrink: 0;
    color: #888;
    font-size: 14px;
}

.member-row > em {
    color: #333;
    font-size: 14px;
    font-style: normal;
}

.member-row input {
    flex: 1;
    max-width: 320px;
}

.member-row-avatar {
    align-items: center;
}

.member-avatar-now {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    background: #f4f4f4;
}

.member-avatar-now.is-placeholder {
    padding: 18px;
    object-fit: contain;
}

.member-avatar-tip {
    margin: -8px 0 18px 96px;
    color: #aaa;
    font-size: 12px;
}

.member-avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 12px;
    max-width: 480px;
}

.member-preset {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #f6f6f6;
}

.member-preset img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.member-preset:hover {
    border-color: #ddd;
}

.member-preset.is-on {
    border-color: #e54d42;
}

.member-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    color: #888;
    font-size: 13px;
}

.member-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 40px;
    padding: 0 22px;
    border-radius: 8px;
    background: #e54d42;
    color: #fff;
    font-size: 14px;
}

.member-btn:hover {
    background: #d44339;
}

.member-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.site-toast {
    position: fixed;
    left: 50%;
    bottom: 36px;
    z-index: 130;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(34, 34, 34, 0.88);
    color: #fff;
    font-size: 13px;
    transform: translate(-50%, 12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-toast.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

body.has-player .site-toast {
    bottom: 116px;
}

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

    .header-left {
        gap: 24px;
    }

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

    .home-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

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

    .read-title {
        font-size: 24px;
    }

    .read-toolbar {
        flex-wrap: wrap;
    }

    .player-bar-inner {
        gap: 14px;
    }

    .player-song {
        width: auto;
        min-width: 0;
        flex: 1;
    }

    .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;
    }

    .logo img {
        height: 26px;
        max-width: 120px;
    }

    #page-root {
        padding-top: 64px;
    }

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

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

    .header-user {
        display: none;
    }

    .header-right {
        gap: 4px;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 100;
        visibility: hidden;
        pointer-events: none;
    }

    .mobile-drawer.is-open {
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-drawer-mask {
        position: absolute;
        inset: 0;
        background: rgba(17, 17, 17, 0.32);
        opacity: 0;
        transition: opacity 0.28s ease;
    }

    .mobile-drawer.is-open .mobile-drawer-mask {
        opacity: 1;
    }

    .mobile-drawer-panel {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        width: min(82vw, 320px);
        background: #fff;
        box-shadow: -16px 0 40px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        overscroll-behavior: contain;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mobile-drawer.is-open .mobile-drawer-panel {
        transform: translate3d(0, 0, 0);
    }

    .mobile-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
        height: calc(64px + env(safe-area-inset-top, 0px));
        padding: env(safe-area-inset-top, 0px) 12px 0 22px;
        border-bottom: 1px solid #f5f5f5;
    }

    .mobile-drawer-title {
        color: #222;
        font-size: 18px;
        letter-spacing: 1px;
    }

    .mobile-nav-menu {
        flex: 1;
        min-height: 0;
        overflow: auto;
        padding: 6px 12px 20px;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 14px;
        border-radius: 8px;
        color: #333;
        font-size: 16px;
        line-height: 1.4;
    }

    .mobile-nav-menu .nav-link.active {
        color: #e54d42;
        background: #fff6f5;
    }

    .mobile-nav-menu .has-dropdown > .nav-link::after {
        content: "";
        width: 7px;
        height: 7px;
        margin-left: 10px;
        border-right: 1.5px solid #bbb;
        border-bottom: 1.5px solid #bbb;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    .mobile-nav-menu .has-dropdown.is-open > .nav-link::after {
        transform: rotate(-135deg);
        margin-top: 4px;
    }

    .mobile-nav-menu .dropdown-menu {
        display: none;
        position: static;
        left: auto;
        top: auto;
        transform: none;
        min-width: 0;
        padding: 0 0 6px 12px;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .mobile-nav-menu .dropdown-menu a {
        padding: 10px 14px;
        text-align: left;
        color: #777;
        font-size: 14px;
        border-radius: 8px;
    }

    .mobile-nav-menu .dropdown-menu a:hover,
    .mobile-nav-menu .dropdown-menu a:active {
        color: #333;
        background: #f7f7f7;
    }

    .mobile-drawer-foot {
        flex-shrink: 0;
        padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #f2f2f2;
    }

    .mobile-drawer-account {
        display: flex;
        align-items: center;
        gap: 4px;
        min-height: 48px;
    }

    .mobile-drawer-guest,
    .mobile-drawer-user {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
        min-height: 48px;
        padding: 6px 8px;
        color: #333;
        font-size: 15px;
    }

    .mobile-drawer-user {
        flex: 1;
    }

    .mobile-drawer-avatar-wrap {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 6px;
        background: #f3f3f3;
        color: #b0b0b0;
    }

    .mobile-drawer-guest .ri-user-line,
    .mobile-drawer-user-icon {
        font-size: 20px;
        line-height: 1;
        color: #b0b0b0;
    }

    .mobile-drawer-avatar {
        width: 36px;
        height: 36px;
        object-fit: cover;
    }

    .mobile-drawer-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .icon-btn.mobile-drawer-logout,
    .icon-btn.mobile-drawer-logout:hover {
        flex-shrink: 0;
        border-radius: 8px;
        color: #666;
    }

    .mobile-drawer-logout svg {
        display: block;
        width: 20px;
        height: 20px;
    }

    @media (prefers-reduced-motion: reduce) {
        .mobile-drawer-mask,
        .mobile-drawer-panel {
            transition: none;
        }
    }

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

    .container {
        padding: 0 16px;
    }

    .home-page,
    .read-page,
    .page-main,
    .member-page {
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }

    .home-page .home-layout {
        gap: 16px;
    }

    .home-banner {
        display: block;
        position: relative;
        height: auto;
        margin: 0;
        overflow: hidden;
        border-radius: 6px;
        background: #111;
        aspect-ratio: 2 / 1;
    }

    .home-banner .aside-banner-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .home-banner .banner-caption {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        padding: 24px 14px 28px;
        color: #fff;
        font-size: 16px;
        line-height: 1.4;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.46));
    }

    .home-banner .aside-banner-dots {
        bottom: 12px;
        z-index: 3;
    }

    .home-page .aside-banner,
    .home-aside {
        display: none;
    }

    .journal-list {
        gap: 28px;
    }

    .journal-title {
        right: 14px;
        left: 14px;
        bottom: 12px;
        font-size: 16px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .journal-excerpt,
    .comment-text {
        max-width: 100%;
    }

    .journal-vol {
        top: 12px;
        left: 12px;
        width: 44px;
        height: 44px;
    }

    .music-list {
        margin-top: 24px;
        overflow: hidden;
    }

    .music-item {
        width: auto;
        margin: 0;
        padding: 10px 8px;
        gap: 10px;
    }

    .read-page {
        padding-top: 0;
    }

    .read-page .container {
        padding-left: 0;
        padding-right: 0;
    }

    .read-page .read-cover {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 0;
        overflow: visible;
        background: #111;
    }

    .read-page .read-cover .read-cover-slides {
        aspect-ratio: 1 / 1;
        background: #111;
    }

    .read-page .read-cover img,
    .read-page .read-cover .read-cover-item img {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
        border-radius: 0;
    }

    .read-page .read-cover-dots {
        bottom: 46px;
    }

    .read-page .read-cover .journal-vol {
        display: none;
    }

    .read-page .read-play {
        left: auto;
        right: 16px;
        top: 100%;
        bottom: auto;
        width: 70px;
        height: 70px;
        margin-top: -22px;
        background: #e53935;
        color: #fff;
        box-shadow: 0 8px 18px rgba(229, 57, 53, 0.28);
        transform: translateY(-50%);
        z-index: 4;
    }

    .read-page .read-play svg,
    .read-page .read-play .icon-pause {
        width: 44px;
        height: 44px;
    }

    .read-page .read-body {
        position: relative;
        z-index: 2;
        margin-top: -22px;
        padding: 28px 16px 0;
        background: #fff;
        border-radius: 20px 20px 0 0;
    }

    .read-page .read-toolbar {
        margin-top: 0;
        padding-right: 88px;
    }

    .read-page .read-fav {
        display: none !important;
    }

    .read-title {
        font-size: 22px;
        word-break: break-word;
    }

    .read-content {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .read-content table,
    .spec-table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }

    .cmt-composer,
    .cmt-item,
    .cmt-main,
    .cmt-text {
        min-width: 0;
        max-width: 100%;
    }

    .cmt-input-wrap,
    .cmt-editor textarea {
        min-width: 0;
        max-width: 100%;
    }

    .player-progress,
    .player-volume {
        display: none;
    }

    .player-bar-inner {
        gap: 8px;
    }

    .player-controls {
        gap: 4px;
    }

    .player-toggle {
        width: 42px;
        height: 42px;
    }

    .player-toggle svg,
    .player-toggle .icon-pause {
        width: 34px;
        height: 34px;
    }

    .header-left,
    .header-right {
        min-width: 0;
    }

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

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

    .header-search-wrap,
    .header-search-wrap.is-open {
        width: 40px;
        min-width: 40px;
        max-width: 40px;
        overflow: visible;
    }

    .header-search-wrap.is-open .header-search-toggle {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(-50%);
    }

    .header-search-wrap:not(.is-open) .header-search-panel {
        width: 0;
        overflow: hidden;
        visibility: hidden;
    }

    .auth-card {
        padding: 32px 22px 24px;
    }

    .member-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .member-side-user {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        margin-bottom: 8px;
    }

    .member-side-avatar {
        width: 72px;
        height: 72px;
    }

    .member-side-avatar.is-placeholder {
        padding: 12px;
    }

    .member-nav {
        flex-direction: row;
        gap: 28px;
        padding-top: 0;
        border-top: 0;
    }

    .member-nav button {
        padding: 0 0 12px;
    }

    .member-nav button.is-active::before {
        top: auto;
        bottom: 0;
        width: 22px;
        height: 2px;
    }

    .member-tabs {
        gap: 24px;
        margin-bottom: 28px;
        overflow-x: auto;
    }

    .member-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .member-row input {
        width: 100%;
        max-width: none;
    }

    .member-avatar-tip {
        margin-left: 0;
    }

    .cmt-box {
        margin-top: 48px;
    }

    .cmt-composer {
        gap: 12px;
    }

    .cmt-face,
    .cmt-avatar {
        width: 50px;
        height: 50px;
    }

    .cmt-kids .cmt-avatar {
        width: 36px;
        height: 36px;
    }

    .cmt-input-wrap {
        padding: 12px 14px 14px;
    }

    .cmt-editor textarea {
        min-height: 64px;
    }

    .cmt-emoji-panel {
        grid-template-columns: repeat(7, 1fr);
    }

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

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