:root {
    --ink: #1d1b2b;
    --muted: #77748a;
    --line: #eceaf2;
    --paper: #f7f7fa;
    --accent: #ff6b35;
    --accent-dark: #ed5420;
    --purple: #6554c0;
    --purple-dark: #34295f;
    --white: #fff;
}

html {
    scroll-behavior: smooth;
}

body.comic-site {
    color: var(--ink);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.comic-site a {
    color: var(--ink);
    transition: color .2s ease, background .2s ease, border .2s ease, transform .2s ease, box-shadow .2s ease;
}

.comic-site a:hover,
.comic-site a:focus {
    color: var(--accent);
    text-decoration: none;
}

.comic-site .content {
    min-height: calc(100vh - 260px);
    padding-top: 64px;
}

.site-navbar {
    height: 64px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(29, 27, 43, .08);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 4px 20px rgba(39, 33, 70, .04);
}

.site-navbar .navbar-brand,
.site-navbar .navbar-nav > li > a {
    height: 64px;
    line-height: 34px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink) !important;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    border-radius: 10px 4px 10px 4px;
    background: linear-gradient(135deg, var(--accent), #ff9a4d);
    box-shadow: 0 5px 12px rgba(255, 107, 53, .24);
}

.site-nav {
    margin-left: 36px;
}

.site-navbar .site-nav > li > a {
    padding-right: 18px;
    padding-left: 18px;
    color: #555264;
    font-weight: 600;
}

.site-navbar .site-nav > li > a:hover {
    color: var(--accent);
    background: transparent;
}

.site-navbar .site-nav > li > a:after {
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 3px;
    content: "";
    transition: transform .2s ease;
    transform: scaleX(0);
    border-radius: 3px 3px 0 0;
    background: var(--accent);
}

.site-navbar .site-nav > li > a:hover:after {
    transform: scaleX(1);
}

.account-nav .nav-publish > a {
    height: 38px !important;
    margin: 13px 8px;
    padding: 2px 16px !important;
    color: #fff !important;
    border-radius: 8px;
    background: var(--accent);
    line-height: 34px !important;
}

.account-nav .avatar-img img {
    border: 2px solid #f1edf8;
}

.btn-accent {
    color: #fff !important;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: var(--accent);
    box-shadow: 0 8px 18px rgba(255, 107, 53, .18);
}

.btn-accent:hover,
.btn-accent:focus {
    color: #fff !important;
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255, 107, 53, .25);
}

.btn-ghost {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.btn-ghost:hover {
    color: #fff !important;
    border-color: #fff;
    background: rgba(255, 255, 255, .16);
}

.btn-ghost-dark {
    color: var(--ink) !important;
    border: 1px solid #d9d5e4;
    border-radius: 8px;
    background: transparent;
}

.btn-light {
    color: var(--purple-dark) !important;
    border-radius: 8px;
    background: #fff;
}

.btn-outline-light {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 8px;
    background: transparent;
}

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: #fff;
    background: linear-gradient(120deg, #302450 0%, #51418c 57%, #6e58bd 100%);
}

.home-hero:before {
    position: absolute;
    top: -180px;
    right: -100px;
    width: 520px;
    height: 520px;
    content: "";
    border: 90px solid rgba(255, 255, 255, .035);
    border-radius: 50%;
}

.home-hero:after {
    position: absolute;
    bottom: -190px;
    left: -120px;
    width: 440px;
    height: 440px;
    content: "";
    border-radius: 50%;
    background: rgba(255, 107, 53, .09);
}

.home-hero > .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 560px;
}

.hero-content {
    width: 56%;
    padding: 60px 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 7px 12px;
    color: #ffcfb7;
    border: 1px solid rgba(255, 207, 183, .25);
    border-radius: 30px;
    background: rgba(255, 255, 255, .06);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-content h1 {
    margin: 0 0 22px;
    font-size: 54px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -2px;
}

.hero-content h1 span {
    color: #ff9a63;
}

.hero-content > p {
    max-width: 520px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.hero-actions .btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 42px;
    margin-top: 42px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 22px;
    font-weight: 800;
}

.hero-stats span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
}

.hero-art {
    position: relative;
    width: 44%;
    height: 430px;
}

.art-card {
    position: absolute;
    width: 270px;
    height: 380px;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(15, 10, 35, .35);
}

.art-card-back {
    top: 36px;
    right: 5px;
    transform: rotate(9deg);
    color: rgba(255, 255, 255, .2);
    background: #ff7041;
}

.art-card-back span {
    position: absolute;
    right: -40px;
    bottom: 62px;
    transform: rotate(90deg);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 8px;
}

.art-card-main {
    top: 14px;
    right: 68px;
    overflow: hidden;
    transform: rotate(-4deg);
    border: 8px solid #fff;
    background: linear-gradient(#ffc87c 0 43%, #7466bd 43% 100%);
}

.art-sun {
    position: absolute;
    top: 48px;
    right: 34px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #ff7041;
    box-shadow: 0 0 0 16px rgba(255, 112, 65, .16);
}

.art-mountain {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.art-mountain-one {
    left: -45px;
    border-width: 0 150px 245px;
    border-color: transparent transparent #34305f;
}

.art-mountain-two {
    right: -95px;
    border-width: 0 150px 210px;
    border-color: transparent transparent #4d477c;
}

.art-title {
    position: absolute;
    top: 24px;
    left: 20px;
    color: #33295b;
    font-size: 25px;
    font-weight: 1000;
    line-height: .9;
}

.art-issue {
    position: absolute;
    right: 16px;
    bottom: 14px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.art-dots {
    position: absolute;
    right: 6px;
    bottom: 4px;
    width: 110px;
    height: 80px;
    opacity: .35;
    background-image: radial-gradient(#fff 2px, transparent 2px);
    background-size: 13px 13px;
}

.site-section {
    padding: 68px 0;
}

.home-main {
    background: #fff;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-heading h2,
.ranking-head h2 {
    margin: 4px 0 0;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.section-eyebrow {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-more {
    padding-bottom: 3px;
    color: var(--muted) !important;
    font-size: 13px;
    font-weight: 600;
}

.section-more:hover {
    color: var(--accent) !important;
}

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

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

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

.work-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    background: #eceaf2;
    box-shadow: 0 8px 20px rgba(35, 31, 57, .08);
}

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

.work-card:hover .work-cover img {
    transform: scale(1.045);
}

.work-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    color: #fff;
    border-radius: 4px;
    background: rgba(29, 27, 43, .72);
    font-size: 10px;
    font-weight: 700;
}

.work-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 24px 10px 11px;
    transition: opacity .25s ease, transform .25s ease;
    transform: translateY(7px);
    text-align: center;
    color: #fff;
    opacity: 0;
    background: linear-gradient(transparent, rgba(23, 19, 39, .88));
    font-size: 12px;
    font-weight: 700;
}

.work-card:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-info {
    padding: 12px 2px 0;
}

.work-info h3 {
    overflow: hidden;
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-info p {
    overflow: hidden;
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    color: #aaa7b5;
    font-size: 11px;
}

.ranking-panel {
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #faf9fc;
}

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

.ranking-head > i {
    color: var(--accent);
    font-size: 22px;
}

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li {
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.ranking-list li:last-child {
    border-bottom: 0;
}

.rank-number {
    flex: 0 0 25px;
    color: #aaa7b5;
    font-size: 15px;
    font-weight: 800;
    font-style: italic;
}

.rank-number.top {
    color: var(--accent);
}

.rank-cover {
    flex: 0 0 42px;
    overflow: hidden;
    width: 42px;
    height: 54px;
    margin-right: 10px;
    border-radius: 4px;
    background: #eee;
}

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

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

.rank-info h4 {
    overflow: hidden;
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info p,
.rank-info > span {
    margin: 0;
    color: #9995a7;
    font-size: 10px;
}

.ranking-empty {
    margin: 25px 0 10px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

.music-section {
    background: #f5f3f9;
}

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

.music-card {
    display: flex;
    align-items: center;
    padding: 14px;
    border: 1px solid #ebe8f1;
    border-radius: 10px;
    background: #fff;
}

.music-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(42, 35, 75, .08);
}

.music-cover {
    position: relative;
    flex: 0 0 78px;
    overflow: hidden;
    width: 78px;
    height: 78px;
    margin-right: 14px;
    border-radius: 8px;
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding-left: 2px;
    transform: translate(-50%, -50%);
    color: #fff;
    border-radius: 50%;
    background: rgba(255, 107, 53, .92);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

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

.music-info h3 {
    overflow: hidden;
    margin: 0 0 7px;
    font-size: 15px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-info p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
}

.music-info > span {
    color: #aaa6b3;
    font-size: 10px;
}

.creator-banner {
    color: #fff;
    background: linear-gradient(110deg, var(--accent), #ff874f);
}

.creator-banner > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 190px;
}

.creator-banner .section-eyebrow {
    color: #ffe0d2;
}

.creator-copy h2 {
    margin: 8px 0 9px;
    font-size: 30px;
    font-weight: 900;
}

.creator-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
}

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

.content-empty {
    margin: 12px 0 35px;
    padding: 52px 20px;
    text-align: center;
    border: 1px dashed #dcd8e6;
    border-radius: 10px;
    background: #faf9fc;
}

.content-empty > i {
    color: #c7c2d3;
    font-size: 42px;
}

.content-empty h3 {
    margin: 14px 0 7px;
    font-size: 18px;
    font-weight: 700;
}

.content-empty p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.content-empty-light {
    background: rgba(255, 255, 255, .65);
}

.platform-section {
    background: #fff;
}

.section-heading-center {
    display: block;
    text-align: center;
}

.section-heading-center p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.platform-card {
    position: relative;
    overflow: hidden;
    padding: 30px 25px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #faf9fc;
}

.platform-card > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--purple);
    border-radius: 12px;
    background: #ebe8f7;
    font-size: 18px;
}

.platform-card h3 {
    margin: 20px 0 9px;
    font-size: 16px;
    font-weight: 800;
}

.platform-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
}

.platform-number {
    position: absolute;
    top: 15px;
    right: 18px;
    color: #e6e2ed;
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
}

.catalog-hero {
    color: #fff;
    background: linear-gradient(115deg, #34295f, #5a4893);
}

.catalog-hero-music {
    background: linear-gradient(115deg, #202942, #3a537c);
}

.catalog-hero > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
}

.catalog-hero h1 {
    margin: 6px 0 10px;
    font-size: 38px;
    font-weight: 900;
}

.catalog-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
}

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

.catalog-actions .btn-ghost-dark {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .35);
}

.catalog-container {
    padding-top: 38px;
    padding-bottom: 70px;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.catalog-tabs {
    display: flex;
    gap: 32px;
}

.catalog-tabs a {
    position: relative;
    padding: 17px 2px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.catalog-tabs a.active {
    color: var(--ink);
}

.catalog-tabs a.active:after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    content: "";
    border-radius: 3px 3px 0 0;
    background: var(--accent);
}

.catalog-search {
    position: relative;
    width: 260px;
}

.catalog-search input[type=text] {
    width: 100%;
    height: 38px;
    padding: 0 42px 0 14px;
    border: 1px solid #e2dfE9;
    border-radius: 20px;
    outline: 0;
    background: #f8f7fa;
    font-size: 12px;
}

.catalog-search input:focus {
    border-color: #b8afd7;
    background: #fff;
}

.catalog-search button {
    position: absolute;
    top: 0;
    right: 5px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
}

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

.catalog-grid.type-music .work-cover,
.related-grid.type-music .work-cover {
    aspect-ratio: 1 / 1;
}

.catalog-ranking {
    margin-bottom: 20px;
}

.ranking-list-compact li {
    min-height: 55px;
    padding: 10px 0;
}

.rank-views {
    color: #aaa6b3;
    font-size: 10px;
}

.publish-side-card {
    padding: 25px 22px;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(145deg, #6654bd, #40336f);
}

.publish-side-card > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
}

.publish-side-card h3 {
    margin: 17px 0 8px;
    font-size: 17px;
    font-weight: 800;
}

.publish-side-card p {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
    line-height: 1.7;
}

.publish-side-card a {
    color: #ffbd9f !important;
    font-size: 12px;
    font-weight: 700;
}

.search-result-tip {
    margin-bottom: 18px;
    padding: 11px 14px;
    color: var(--muted);
    border-left: 3px solid var(--accent);
    background: #fff7f3;
    font-size: 12px;
}

.catalog-pagination {
    text-align: center;
}

.catalog-pagination .pagination > li > a,
.catalog-pagination .pagination > li > span {
    margin: 0 3px;
    color: var(--muted);
    border-color: var(--line);
    border-radius: 5px;
}

.catalog-pagination .pagination > .active > span {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
}

.detail-page {
    padding-top: 1px;
    background: #f7f7fa;
}

.detail-breadcrumb {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 24px 0;
    list-style: none;
    color: #aaa6b3;
    font-size: 12px;
}

.detail-breadcrumb li + li:before {
    margin-right: 10px;
    content: "/";
    color: #d0ccd8;
}

.work-detail-card {
    display: flex;
    margin-bottom: 55px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(40, 34, 66, .05);
}

.detail-cover {
    position: relative;
    flex: 0 0 240px;
    overflow: hidden;
    width: 240px;
    height: 320px;
    margin-right: 38px;
    border-radius: 8px;
    background: #eee;
    box-shadow: 0 12px 26px rgba(30, 26, 50, .15);
}

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

.detail-cover span {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 9px;
    color: #fff;
    border-radius: 4px;
    background: rgba(29, 27, 43, .75);
    font-size: 10px;
    font-weight: 700;
}

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

.detail-kicker {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.detail-main h1 {
    margin: 9px 0 20px;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -.7px;
}

.detail-author {
    display: flex;
    align-items: center;
    margin-bottom: 19px;
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    color: #fff;
    border-radius: 50%;
    background: #6c5bb3;
}

.detail-author div {
    display: flex;
    flex-direction: column;
}

.detail-author small {
    color: #aaa6b3;
    font-size: 10px;
}

.detail-author strong {
    margin-top: 2px;
    font-size: 13px;
}

.detail-author .publisher {
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid var(--line);
}

.detail-stats {
    display: flex;
    gap: 26px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail-stats span {
    display: grid;
    grid-template-columns: 17px auto;
    color: #aaa6b3;
    font-size: 10px;
}

.detail-stats i {
    grid-row: 1 / 3;
    align-self: center;
    color: var(--accent);
    font-size: 13px;
}

.detail-stats strong {
    color: #5d596b;
    font-size: 12px;
}

.detail-description {
    margin: 18px 0;
}

.detail-description h3 {
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 800;
}

.detail-description p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
    white-space: pre-wrap;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.detail-start {
    margin-top: 4px;
    padding: 10px 26px;
    font-size: 14px;
}

.audio-player {
    display: flex;
    align-items: center;
    margin-top: 22px;
    padding: 12px 15px;
    border-radius: 9px;
    background: #f5f3f9;
}

.audio-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: 13px;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff9b57);
}

.audio-player > div:last-child {
    min-width: 0;
    flex: 1;
}

.audio-player strong,
.audio-player span {
    display: block;
}

.audio-player span {
    margin: 2px 0 8px;
    color: var(--muted);
    font-size: 11px;
}

.audio-player audio {
    display: block;
    width: 100%;
    height: 32px;
}

.reader-section {
    padding: 0 0 50px;
    color: #ddd;
    background: #17161c;
}

.reader-toolbar {
    position: sticky;
    z-index: 20;
    top: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 980px;
    min-height: 62px;
    margin: 0 auto;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(23, 22, 28, .94);
}

.reader-toolbar > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reader-label {
    padding: 3px 7px;
    color: #fff;
    border-radius: 3px;
    background: var(--accent);
    font-size: 9px;
}

.reader-toolbar > div:last-child {
    display: flex;
    gap: 22px;
    color: #888;
    font-size: 11px;
}

.reader-toolbar a {
    color: #aaa !important;
}

.comic-reader {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.comic-reader figure {
    margin: 0;
}

.comic-reader img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.comic-reader figcaption {
    padding: 7px 0;
    color: #555;
    font-size: 9px;
}

.reader-finish {
    padding: 50px 20px 10px;
    text-align: center;
}

.reader-finish > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    border-radius: 50%;
    background: var(--accent);
}

.reader-finish h3 {
    margin: 14px 0 6px;
    color: #eee;
    font-size: 17px;
    font-weight: 700;
}

.reader-finish p {
    color: #777;
    font-size: 11px;
}

.detail-bottom {
    padding-top: 45px;
    padding-bottom: 70px;
}

.work-switcher {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    align-items: center;
    margin-bottom: 55px;
    padding: 19px 23px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
}

.work-switcher > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.work-switcher small {
    margin-bottom: 5px;
    color: #aaa6b3;
    font-size: 10px;
}

.work-switcher a:not(.switcher-center),
.work-switcher div > span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-switcher div > span {
    color: #c1bec9;
    font-weight: 400;
}

.switcher-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: var(--muted) !important;
    font-size: 10px;
}

.switcher-center i {
    margin-bottom: 4px;
    font-size: 16px;
}

.related-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.site-footer {
    padding: 42px 0 20px;
    color: #9995a7;
    background: #211d2d;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.site-footer p {
    margin: 0;
    color: #777286;
    font-size: 12px;
}

.footer-links {
    padding-top: 15px;
    text-align: right;
}

.footer-links a {
    margin-left: 24px;
    color: #aaa5b6;
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 17px;
    color: #666171;
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: 10px;
}

.footer-bottom a {
    color: #777286;
}

@media (max-width: 1199px) {
    .comic-grid-home {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

@media (max-width: 991px) {
    .site-navbar {
        height: auto;
        min-height: 64px;
    }

    .site-navbar .navbar-collapse {
        border-color: var(--line);
        background: #fff;
    }

    .site-nav {
        margin-left: -15px;
    }

    .home-hero > .container {
        min-height: 500px;
    }

    .hero-content {
        width: 62%;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-art {
        width: 38%;
        transform: scale(.8);
        transform-origin: center right;
    }

    .ranking-panel {
        margin-top: 35px;
    }

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

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

    .work-detail-card {
        padding: 25px;
    }

    .detail-cover {
        flex-basis: 205px;
        width: 205px;
        height: 275px;
        margin-right: 28px;
    }
}

@media (max-width: 767px) {
    .comic-site .content {
        padding-top: 50px;
    }

    .site-navbar .navbar-brand,
    .site-navbar .navbar-nav > li > a {
        height: 50px;
        line-height: 20px;
    }

    .site-brand {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .site-navbar .navbar-toggle {
        margin-top: 8px;
    }

    .account-nav .nav-publish > a {
        height: auto !important;
        margin: 4px 15px;
    }

    .home-hero,
    .home-hero > .container {
        min-height: 560px;
    }

    .home-hero > .container {
        display: block;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        padding: 65px 0 40px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-stats {
        gap: 28px;
        margin-top: 35px;
    }

    .hero-art {
        position: absolute;
        right: -35px;
        bottom: -125px;
        width: 300px;
        opacity: .19;
        transform: scale(.75);
    }

    .site-section {
        padding: 45px 0;
    }

    .section-heading h2,
    .ranking-head h2 {
        font-size: 21px;
    }

    .comic-grid-home,
    .catalog-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .music-grid {
        grid-template-columns: 1fr;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .creator-banner > .container {
        display: block;
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .creator-copy h2 {
        font-size: 24px;
    }

    .creator-actions {
        margin-top: 22px;
    }

    .catalog-hero > .container {
        display: block;
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .catalog-hero h1 {
        font-size: 30px;
    }

    .catalog-actions {
        margin-top: 22px;
    }

    .catalog-toolbar {
        display: block;
        padding-top: 7px;
    }

    .catalog-tabs {
        justify-content: center;
    }

    .catalog-search {
        width: 100%;
        margin: 12px 0 17px;
    }

    .work-detail-card {
        display: block;
        padding: 18px;
    }

    .detail-cover {
        width: 160px;
        height: 214px;
        margin: 0 auto 25px;
    }

    .detail-main h1 {
        font-size: 25px;
        text-align: center;
    }

    .detail-kicker {
        display: block;
        text-align: center;
    }

    .detail-author {
        justify-content: center;
    }

    .detail-stats {
        gap: 12px;
        justify-content: space-between;
    }

    .detail-stats span {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .detail-stats i {
        margin-bottom: 4px;
    }

    .detail-start {
        display: block;
        width: 100%;
    }

    .reader-toolbar {
        top: 50px;
    }

    .reader-toolbar > div:last-child span {
        display: none;
    }

    .work-switcher {
        grid-template-columns: 1fr 50px 1fr;
        padding: 15px 12px;
    }

    .switcher-center span {
        display: none;
    }

    .footer-links {
        margin-top: 20px;
        padding: 0;
        text-align: left;
    }

    .footer-links a {
        margin-right: 15px;
        margin-left: 0;
    }

    .footer-bottom {
        display: block;
        line-height: 2;
    }

    .footer-bottom span,
    .footer-bottom a {
        display: block;
    }
}
