﻿:root {
    --bg: #f7f8fb;
    --card: #fff;
    --text: #222;
    --muted: #737987;
    --line: #e9ecf2;
    --brand: #f45b69;
    --brand2: #ffb199;
    --hot: #e63946;
    --shadow: 0 8px 24px rgba(31, 41, 55, .07);
    --default-cover: url("/static/images/placeholder.svg")
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    height: 100%
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
    flex-shrink: 0
}

main.wrap {
    flex: 1 0 auto
}

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 26px
}

.logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    font-size: 24px;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: 0
}

.logo small {
    color: var(--brand2)
}

.links {
    display: flex;
    gap: 18px
}

.links a,
.tools a {
    color: #333
}

.links a.active,
.links a:hover {
    color: var(--brand);
    font-weight: 700
}

.search {
    margin-left: auto;
    width: 270px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    color: var(--muted)
}

.search span {
    font-size: 18px;
    line-height: 1;
    color: #9aa1ad
}

.search .search-btn {
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center
}

.search .search-btn:hover span {
    color: var(--brand)
}

.search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    min-width: 0;
    font: inherit;
    color: var(--text)
}

.search input::placeholder {
    color: #9aa1ad
}

.tools {
    display: flex;
    gap: 12px;
    color: var(--muted)
}

.menu {
    display: none;
    border: 0;
    background: transparent
}

.hero {
    padding: 28px 0 22px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.7fr .9fr;
    gap: 18px
}

.slider {
    min-height: 330px;
    border-radius: 8px;
    background: linear-gradient(120deg, #ecfff8, #fff7e5 55%, #ffe8ec);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative
}

.slider:before {
    content: "";
    position: absolute;
    right: 24%;
    top: 20px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(36, 180, 126, .16)
}

.slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 218px;
    align-items: end;
    gap: 24px;
    padding: 36px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
    transition: .35s ease
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0)
}

.hero-copy {
    position: relative
}

.eyebrow {
    color: var(--brand);
    font-weight: 800
}

.hero h1 {
    font-size: 34px;
    line-height: 1.2;
    margin: 8px 0 10px
}

.meta {
    color: var(--muted);
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 18px;
    border-radius: 20px;
    background: var(--brand);
    color: white;
    font-weight: 700;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s
}

.btn.loading {
    opacity: .5;
    pointer-events: none;
    cursor: wait
}

.cover {
    aspect-ratio: 425/560;
    width: 100%;
    border-radius: 8px;
    background-image: var(--cover, var(--default-cover));
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 26px rgba(39, 54, 79, .25);
    position: relative;
    overflow: hidden
}

.cover:after {
    content: attr(data-title);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: rgba(0, 0, 0, .3);
    color: white;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.car-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 4px 14px rgba(31, 41, 55, .12);
    color: #4b5563;
    font-size: 26px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer
}

.car-btn:hover {
    background: #fff;
    color: var(--brand)
}

.car-btn.prev {
    left: 14px
}

.car-btn.next {
    right: 14px
}

.dots {
    position: absolute;
    left: 36px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    gap: 7px
}

.dots button {
    width: 18px;
    height: 5px;
    border: 0;
    border-radius: 6px;
    background: #cdd3dc;
    padding: 0;
    cursor: pointer
}

.dots button.active {
    width: 28px;
    background: var(--brand)
}

.push {
    background: var(--card);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 18px
}

.push h2,
.section h2 {
    font-size: 21px;
    margin: 0 0 14px
}

.push-item {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed var(--line)
}

.push-item:last-child {
    border-bottom: 0
}

.num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff2d8;
    color: #d88b00;
    display: grid;
    place-items: center;
    font-weight: 900
}

.tagline {
    color: var(--muted);
    font-size: 13px
}

.read {
    color: var(--brand);
    font-weight: 700
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 4px 0 22px
}

.chips a {
    padding: 7px 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    color: #565c68
}

.chips a.active,
.chips a:hover {
    background: #eafff6;
    border-color: #bfead9;
    color: #139262
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px
}

.section {
    background: var(--card);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow)
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px
}

.more {
    color: var(--muted);
    font-size: 13px
}

.grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px
}

.book {
    min-width: 0
}

.thumb {
    aspect-ratio: 425/560;
    border-radius: 7px;
    background-image: var(--default-cover);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden
}

.thumb:after {
    content: attr(data-title);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 7px 8px;
    background: rgba(0, 0, 0, .3);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .35);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.book h3 {
    font-size: 15px;
    margin: 8px 0 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.list {
    display: grid;
    gap: 10px
}

.update-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0
}

.update-cols .list {
    padding-right: 22px
}

.update-cols .list+.list {
    padding-right: 0;
    padding-left: 22px;
    border-left: 1px solid var(--line)
}

.update {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 10px 0
}

.logo img {
    display: block;
    width: auto;
    max-width: 180px;
    height: 36px;
    object-fit: contain
}

.update>span {
    min-width: 0
}

.update:last-child {
    border-bottom: 0
}

.mini {
    aspect-ratio: 425/560;
    width: 52px;
    border-radius: 6px;
    background-image: var(--default-cover);
    background-size: cover;
    background-position: center
}

.update h3 {
    margin: 0;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.update p {
    margin: 3px 0;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.time {
    color: var(--brand);
    font-size: 13px;
    white-space: nowrap
}

.rank-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.home-ranks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.home-ranks .rank {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px
}

.home-ranks .rank h2 {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line)
}

.rank ol {
    margin: 0;
    padding: 0;
    list-style: none
}

.rank li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line)
}

.rank li>a {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.rank li:last-child {
    border-bottom: 0
}

.rank b {
    color: var(--hot)
}

.score {
    color: var(--brand);
    font-weight: 800
}

.zone {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.zone a {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px
}

.zone strong {
    display: block;
    font-size: 17px
}

.zone span {
    color: var(--muted)
}

.tab-nav {
    display: flex;
    gap: 2px;
    margin: 0 0 18px;
    border-bottom: 1px solid var(--line);
    overflow-x: auto
}

.tab-nav button {
    position: relative;
    height: 42px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: #565c68;
    font: inherit;
    white-space: nowrap;
    cursor: pointer
}

.tab-nav button:hover {
    color: var(--brand);
    background: #fff5f6
}

.tab-nav button.active {
    color: var(--brand);
    background: #fff0f2;
    font-weight: 800
}

.tab-nav button.active:after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--brand)
}

.tab-panel {
    display: none
}

.tab-panel.active {
    display: block
}

.filter {
    background: #fff;
    border-radius: 8px;
    padding: 18px;
    margin: 22px 0;
    box-shadow: var(--shadow)
}

.filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line)
}

.filter-title h1 {
    margin: 0;
    font-size: 25px
}

.filter-title span {
    color: #4b5563
}

.filter-row {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 10px;
    align-items: start;
    margin: 9px 0
}

.filter b {
    font-weight: 500;
    color: #4b5563;
    padding-top: 6px
}

.filter-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.filter-options a {
    min-width: 52px;
    text-align: center;
    padding: 5px 12px;
    background: #f4f1ed;
    border: 1px solid #e8e0d8;
    color: #111
}

.filter-options a.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff
}

.fold-btn {
    display: none
}

.crumb {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: 18px 0;
    color: var(--muted);
    font-size: 13px
}

.crumb a {
    color: #4b5563
}

.crumb a:hover {
    color: var(--brand)
}

.catalog {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px
}

.detail {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 26px
}

.comic-profile {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 26px;
    align-items: start
}

.profile-info {
    min-width: 0
}

.profile-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.profile-title h1 {
    font-size: 30px;
    margin: 0
}

.profile-title span {
    padding: 3px 10px;
    border-radius: 14px;
    background: #fff0f2;
    color: var(--brand);
    font-weight: 800
}

.profile-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 8px 22px;
    margin: 14px 0;
    color: #4b5563
}

.profile-meta p {
    margin: 0
}

.profile-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0
}

.profile-tags a {
    padding: 5px 11px;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: #565c68
}

.profile-desc {
    margin: 14px 0;
    color: #4b5563
}

.profile-latest {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden
}

.profile-latest b {
    flex: 0 0 auto
}

.profile-latest a {
    display: block;
    min-width: 0;
    color: var(--brand);
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.profile-latest span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.info h1 {
    font-size: 30px;
    margin: 0 0 8px
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.outline {
    background: #fff;
    color: var(--brand);
    border: 1px solid #bfead9
}

.chapter-head {
    align-items: flex-start
}

.chapter-sort {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.chapter-sort button,
.chapter-more button {
    height: 32px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: #565c68;
    font: inherit;
    cursor: pointer
}

.chapter-sort button.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 800
}

.chapter-more {
    display: flex;
    justify-content: center;
    margin-top: 16px
}

.chapter-more button {
    color: var(--brand);
    border-color: #f5c4ca
}

.chapters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px
}

.chapters a {
    display: block;
    min-width: 0;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.timeline {
    display: grid;
    gap: 0
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 104px 28px 64px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
}

.timeline-item:last-child {
    border-bottom: 0
}

.timeline-item:before {
    content: "";
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 1px #bfead9;
    z-index: 1
}

.timeline-item:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 117px;
    width: 2px;
    background: var(--line)
}

.timeline time {
    grid-column: 1;
    grid-row: 1;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap
}

.timeline .mini {
    grid-column: 3;
    grid-row: 1
}

.timeline-item>div:last-child {
    grid-column: 4;
    grid-row: 1;
    min-width: 0
}

.timeline h3 {
    margin: 0;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.timeline p {
    margin: 3px 0 0;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px
}

.pager a {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    display: grid;
    place-items: center;
    color: #565c68
}

.pager a.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 800
}

.pager a.disabled {
    opacity: .45
}

.pager-jump {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #565c68;
    font-size: 14px;
    white-space: nowrap
}

.pager-input {
    width: 48px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    font-size: 14px;
    color: #565c68;
    outline: none;
    -moz-appearance: textfield
}

.pager-input::-webkit-outer-spin-button,
.pager-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.pager-input:focus {
    border-color: var(--brand)
}
.badge {
    display: none;
    margin-left: 4px;
    padding: 0 5px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    vertical-align: top;
    font-weight: 800;
    box-shadow: 0 2px 7px rgba(244, 91, 105, .32)
}
.badge.show { display: inline-block; }
.chapter-reader {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto
}

.chapter-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    text-align: center
}

.chapter-title h1 {
    font-size: 26px;
    margin: 0
}

.chapter-title span {
    color: var(--brand);
    font-weight: 800
}

.reader-label {
    font-size: 18px;
    text-align: center;
    margin: 22px 0 14px
}

.reader-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px
}

.reader-bar select {
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0 12px;
    background: #fff
}

.comic-pages {
    width: min(840px, 100%);
    margin: auto
}

.page-img {
    min-height: 860px;
    background: linear-gradient(180deg, #fafafa, #dfe8ee);
    border-radius: 0;
    margin-bottom: 0;
    display: grid;
    place-items: center;
    color: #555;
    font-size: 28px;
    font-weight: 900
}

.page-img img {
    width: 100%;
    height: auto;
    display: block
}

.finish-box {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 24px 0
}

.finish-box h2,
.chapter-info h2 {
    margin-top: 0
}

.chapter-info {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    margin-top: 18px
}

.chapter-info p {
    color: #4b5563
}

.chapter-info p:last-child {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.chapter-info a {
    color: var(--brand);
    font-weight: 800
}

.page-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px
}

.page-buttons span {
    color: var(--muted);
    margin-right: 4px
}

.page-buttons a {
    min-width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    display: grid;
    place-items: center
}

.page-buttons a.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff
}

.doc {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: var(--shadow);
    margin: 24px 0
}

.doc h1 {
    margin-top: 0
}

.foot {
    margin-top: 28px;
    background: #20242b;
    color: #ccd2dc;
    padding: 34px 0
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px
}

.foot h3 {
    color: #fff;
    margin-top: 0
}

.bottom-nav {
    display: none
}

.read-tool {
    display: none
}

.mobile-side-tools {
    display: flex;
    position: fixed;
    right: 18px;
    top: 42%;
    z-index: 60;
    flex-direction: column;
    background: rgba(60, 62, 68, .9);
    border-radius: 14px;
    overflow: hidden
}

.mobile-side-tools button {
    width: 50px;
    min-height: 54px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer
}
.mobile-side-tools button:hover {
    background: rgba(255, 255, 255, .1)
}

.mobile-side-tools small {
    display: block;
    font-size: 12px;
    color: #fff
}

.chapter-page {
    background: #2b2d31;
    color: #f2f3f5;
    padding-bottom: 0
}

.chapter-shell {
    min-height: 100vh
}

.chapter-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 54px;
    background: rgba(43, 45, 49, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 22px
}

.chapter-brand {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap
}

.chapter-brand small {
    color: #ffd1d6
}

.chapter-sticky-nav nav {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c3c7cf
}

.chapter-sticky-nav nav a {
    color: #fff
}

.chapter-sticky-nav nav span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.chapter-sticky-nav em {
    margin-left: auto;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 15px;
    font-style: normal;
    color: #fff
}

.chapter-pc-head {
    max-width: 960px;
    margin: 0 auto;
    padding: 18px 12px 16px;
    text-align: center
}

.chapter-pc-head h1 {
    font-size: 24px;
    margin: 0 0 6px
}

.chapter-pc-head>span {
    color: #ffd1d6;
    font-weight: 800
}

.chapter-canvas {
    width: min(960px, 100%);
    margin: auto;
    background: #3a3d43
}

.chapter-canvas .comic-pages {
    width: 100%
}

.chapter-canvas .page-img {
    min-height: 0;
    margin: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #fff, #e9eef5);
    border-bottom: 0;
    display: block;
    font-size: 0;
    line-height: 0
}

.chapter-canvas .page-img.is-loading {
    min-height: 900px;
    display: grid
}

.chapter-canvas .page-img img {
    width: 100%;
    height: auto;
    display: block
}

.chapter-end {
    width: min(960px, calc(100% - 24px));
    margin: 24px auto;
    background: #fff;
    color: var(--text);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow)
}

.chapter-end h2 {
    text-align: center;
    margin-top: 0
}

.chapter-page.light-on {
    background: #e9ecf1;
    color: #222
}

.chapter-page.light-on .chapter-canvas {
    background: #d7dce3
}

.chapter-page.light-on .chapter-sticky-nav {
    background: rgba(255, 255, 255, .94);
    border-bottom-color: var(--line)
}

.chapter-page.light-on .chapter-brand,
.chapter-page.light-on .chapter-sticky-nav nav a,
.chapter-page.light-on .chapter-sticky-nav em {
    color: #222
}

.chapter-page.light-on .chapter-brand small {
    color: var(--brand)
}

.chapter-page.light-on .chapter-sticky-nav nav {
    color: #687080
}

.chapter-page.light-on .chapter-sticky-nav em {
    border-color: var(--line)
}

.chapter-page.light-on .chapter-pc-head>span {
    color: var(--brand)
}

.chapter-drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none
}

.chapter-drawer.open {
    display: block
}

.chapter-drawer-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55)
}

.chapter-drawer aside {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(360px, 86vw);
    background: #fff;
    color: var(--text);
    box-shadow: -12px 0 30px rgba(0, 0, 0, .24);
    display: flex;
    flex-direction: column
}

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line)
}

.drawer-head h2 {
    margin: 0;
    font-size: 20px
}

.drawer-head button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    font-size: 22px;
    cursor: pointer
}

.drawer-list {
    padding: 12px 18px;
    overflow: auto
}

.drawer-list a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: #4b5563
}

.drawer-list a.active {
    color: var(--brand);
    font-weight: 800
}

.ranking-page {
    padding-top: 22px
}

.rank-hero {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 14px;
    padding-top: 15px
}

.rank-winner {
    background: #050505;
    color: #fff;
    padding: 18px
}

.winner-cover {
    height: 390px;
    background-image: var(--default-cover);
    background-size: cover;
    background-position: center;
    position: relative
}

.winner-cover:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(transparent, #050505)
}

.winner-cover span {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 58px;
    height: 64px;
    background: #ffd66b;
    color: #111;
    font-size: 30px;
    font-weight: 900;
    display: grid;
    place-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%)
}

.rank-winner h1 {
    font-size: 28px;
    line-height: 1.15;
    margin: 18px 0 12px
}

.rank-winner em {
    display: inline-block;
    background: #fff;
    color: #333;
    font-style: normal;
    padding: 4px 9px;
    margin-bottom: 12px
}

.rank-winner p {
    line-height: 1.8
}

.rank-winner b {
    display: block;
    margin: 14px 0
}

.rank-board {
    background: #fff;
    border: 1px solid #dedbd4;
    padding: 18px
}

.rank-board h2 {
    font-size: 22px;
    margin: 0 0 14px
}

.rank-table {
    display: grid
}

.rank-row {
    display: grid;
    grid-template-columns: 56px 1.7fr 1fr .7fr;
    gap: 12px;
    align-items: center;
    min-height: 72px;
    border-top: 1px solid var(--line);
    color: #4b5563
}

.rank-row.head {
    min-height: 34px;
    color: #333
}

.rank-row b {
    width: 28px;
    height: 28px;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center
}

.rank-row:nth-child(n+7) b {
    background: #bdb8af
}

.rank-row em {
    color: #ec0036;
    font-style: normal;
    text-align: right
}

.work {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 10px;
    align-items: center
}

.work i {
    grid-row: 1/3;
    width: 48px;
    height: 64px;
    background-image: var(--default-cover);
    background-size: cover;
    background-position: center
}

.work strong,
.work small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.work strong {
    color: #111
}

.work small {
    color: #64748b
}

.rising-board {
    background: #fff;
    border: 1px solid #dedbd4;
    margin: 20px 0;
    padding: 18px
}

.rising-board h2 {
    font-size: 22px;
    margin: 0 0 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line)
}

.rising-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px
}

.rising-list a {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
    min-width: 0
}

.rising-list i {
    width: 78px;
    height: 104px;
    background-image: var(--default-cover);
    background-size: cover;
    background-position: center
}

.rising-list span {
    min-width: 0
}

.rising-list strong,
.rising-list em {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.rising-list strong {
    font-weight: 500;
    color: #222;
    line-height: 1.45
}

.rising-list em {
    color: #ec0036;
    font-style: normal;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 8px
}

.rank-more {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0
}

.rank-more .rank {
    background: #fff;
    border: 1px solid #dedbd4;
    padding: 18px
}

.rank-more .rank h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line)
}

.rank-mobile-tabs {
    display: none
}

.rank-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.rank-card .thumb span {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    padding: 4px 7px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    border-radius: 0 0 6px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18)
}

@media (max-width:900px) {
    .wrap {
        width: min(100% - 22px, 760px)
    }

    .nav {
        gap: 12px
    }

    .links,
    .tools {
        display: none
    }

    .links.open {
        display: flex;
        position: absolute;
        left: 12px;
        right: 12px;
        top: 64px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
        padding: 14px;
        flex-wrap: wrap
    }

    .links.open a {
        padding: 6px 8px
    }

    .menu {
        width: 38px;
        height: 38px;
        margin-left: auto;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: #fff;
        display: grid;
        place-content: center;
        gap: 4px;
        padding: 0
    }

    .menu span {
        display: block;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: #4b5563
    }

    .search {
        width: 180px;
        margin-left: 0
    }

    .hero-grid,
    .split,
    .detail,
    .comic-profile,
    .rank-hero {
        grid-template-columns: 1fr
    }

    .comic-profile>.cover {
        width: min(220px, 62vw);
        justify-self: center
    }

    .slider {
        min-height: 300px;
        background: #1f2937
    }

    .slider:before {
        display: none
    }

    .slide {
        grid-template-columns: 1fr;
        align-items: end;
        background-image: linear-gradient(90deg, rgba(9, 14, 20, .78), rgba(9, 14, 20, .38)), var(--cover, var(--default-cover));
        background-size: cover;
        background-position: center
    }

    .slide .cover {
        display: none
    }

    .slide .hero-copy {
        max-width: 78%;
        color: #fff
    }

    .slide .eyebrow,
    .slide .meta {
        color: rgba(255, 255, 255, .78)
    }

    .grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .catalog {
        grid-template-columns: repeat(4, 1fr)
    }

    .rank-tabs,
    .home-ranks,
    .zone,
    .rank-more {
        grid-template-columns: 1fr 1fr
    }

    .chapters {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .rising-list {
        grid-template-columns: repeat(2, 1fr)
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr
    }

    .bottom-nav {
        position: fixed;
        z-index: 30;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        height: 56px
    }

    .bottom-nav a {
        position: relative;
        display: grid;
        place-items: center;
        color: var(--muted);
        font-size: 12px
    }

    .bottom-nav .badge {
        position: absolute;
        top: 8px;
        left: calc(50% + 12px);
        margin-left: 0;
        vertical-align: initial;
        pointer-events: none
    }

    .bottom-nav a.active {
        color: var(--brand);
        font-weight: 800
    }

    body {
        padding-bottom: 58px
    }
}

@media (max-width:560px) {
    .logo {
        font-size: 20px
    }

    .search {
        flex: 1;
        height: 36px;
        padding: 0 11px
    }

    .search span {
        font-size: 16px
    }

    .hero {
        padding-top: 14px
    }

    .slide {
        padding: 24px 46px
    }

    .slide .hero-copy {
        max-width: 100%
    }

    .hero h1 {
        font-size: 28px
    }

    .car-btn {
        width: 30px;
        height: 30px;
        font-size: 23px
    }

    .car-btn.prev {
        left: 9px
    }

    .car-btn.next {
        right: 9px
    }

    .dots {
        left: 46px;
        bottom: 18px
    }

    .grid,
    .catalog {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px
    }

    .book h3 {
        font-size: 13px;
        margin-top: 6px
    }

    .thumb:after {
        padding: 6px;
        font-size: 12px
    }

    .update-cols {
        grid-template-columns: 1fr;
        gap: 0
    }

    .update-cols .list,
    .update-cols .list+.list {
        padding-left: 0;
        padding-right: 0;
        border-left: 0
    }

    .update {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        align-items: center
    }

    .update>span:not(.time) {
        min-width: 0
    }

    .update h3 {
        display: block;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .update p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .update .time {
        grid-column: 3;
        grid-row: 1;
        align-self: start;
        padding-top: 2px;
        font-size: 12px
    }

    .mini {
        width: 54px;
        height: 100%;
        min-height: 64px;
        aspect-ratio: auto
    }

    .timeline-item {
        grid-template-columns: 54px 1fr;
        gap: 10px;
        padding: 14px 0 14px 24px
    }

    .timeline-item:before {
        position: absolute;
        left: 2px;
        grid-column: auto
    }

    .timeline-item:after {
        left: 8px
    }

    .timeline time {
        grid-column: 1/3;
        text-align: left
    }

    .timeline .mini {
        grid-column: 1;
        grid-row: 2
    }

    .timeline-item>div:last-child {
        grid-column: 2;
        grid-row: 2
    }

    .timeline h3 {
        font-size: 15px
    }

    .timeline p {
        font-size: 12px
    }

    .pager a {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px
    }
    .pager-jump { font-size: 12px; }
    .pager-input { width: 40px; height: 32px; font-size: 12px }

    .rank-tabs,
    .home-ranks,
    .zone,
    .foot-grid {
        grid-template-columns: 1fr
    }

    .rank-more {
        display: none
    }

    .rank-mobile-tabs {
        display: block;
        background: #fff;
        border: 1px solid #dedbd4;
        margin: 18px 0;
        padding: 14px
    }

    .rank-board {
        padding: 14px
    }

    .rank-row {
        grid-template-columns: 34px 1fr auto;
        gap: 8px;
        min-height: 68px
    }

    .rank-row.head,
    .rank-row>span:nth-child(3),
    .rank-row>span:nth-child(4) {
        display: none
    }

    .rank-row em {
        font-size: 12px
    }

    .rising-list {
        grid-template-columns: 1fr
    }

    .page-img {
        min-height: 620px
    }
    
    .page-img img {
        width: 100%;
        height: auto;
        display: block
    }

    .doc {
        padding: 20px
    }

    .filter {
        padding: 14px
    }

    .filter-title {
        display: block
    }

    .filter-title h1 {
        font-size: 22px
    }

    .filter-title span {
        display: block;
        margin-top: 4px;
        font-size: 12px
    }

    .filter-row {
        grid-template-columns: 42px 1fr 44px;
        align-items: start
    }

    .filter b {
        width: auto;
        padding-top: 4px
    }

    .filter-options {
        height: 32px;
        overflow: hidden;
        flex-wrap: wrap;
        gap: 7px
    }

    .filter-options a {
        min-width: 44px;
        padding: 4px 10px
    }

    .fold-row.open .filter-options {
        height: auto
    }

    .fold-btn {
        display: block;
        height: 28px;
        border: 1px solid var(--line);
        border-radius: 15px;
        background: #fff;
        color: var(--brand);
        font: inherit;
        font-size: 12px
    }

    .doc {
        padding: 20px
    }

    .chapter-reader {
        padding: 0;
        margin-left: -11px;
        margin-right: -11px;
        border-radius: 0
    }

    .chapter-title,
    .chapter-topbar,
    .reader-label {
        display: none
    }

    .comic-pages {
        width: 100%
    }

    .comic-pages .page-img {
        border-radius: 0;
        margin: 0;
        min-height: 0
    }

    .comic-pages .page-img.is-loading {
        min-height: 620px
    }

    /* 消除移动浏览器按设备像素缩放时偶发的 1px 子像素接缝。 */
    .chapter-canvas .page-img + .page-img {
        margin-top: -1px
    }
    
    .comic-pages .page-img img {
        width: 100%;
        height: auto;
        display: block
    }

    .read-tool {
        display: flex;
        position: fixed;
        z-index: 60;
        opacity: 0;
        pointer-events: none;
        transition: .2s ease
    }

    .reader-tools-on .read-tool {
        opacity: 1;
        pointer-events: auto
    }

    .mobile-read-top {
        left: 0;
        right: 0;
        top: 0;
        height: 52px;
        align-items: center;
        gap: 8px;
        padding: 0 14px;
        background: rgba(54, 56, 62, .94);
        color: #fff
    }

    .mobile-read-top span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .mobile-read-top em {
        margin-left: auto;
        padding: 4px 12px;
        border: 1px solid rgba(255, 255, 255, .35);
        border-radius: 15px;
        font-style: normal
    }

    .mobile-side-tools {
        right: 12px;
        top: 38%;
        flex-direction: column;
        background: rgba(60, 62, 68, .9);
        border-radius: 14px;
        overflow: hidden
    }

    .mobile-side-tools button {
        width: 50px;
        min-height: 54px;
        border: 0;
        background: transparent;
        color: #fff;
        font: inherit;
        cursor: pointer
    }
    .mobile-side-tools button:hover {
        background: rgba(255, 255, 255, .1)
    }

    .mobile-side-tools small {
        display: block;
        font-size: 12px;
        color: #fff
    }

    .mobile-bottom-tools {
        left: 12px;
        right: 12px;
        bottom: 14px;
        height: 58px;
        align-items: center;
        justify-content: space-around;
        background: rgba(54, 56, 62, .96);
        border-radius: 14px
    }

    .mobile-bottom-tools a {
        display: grid;
        place-items: center;
        color: #fff;
        font-weight: 800
    }

    .mobile-bottom-tools span {
        display: block;
        font-size: 12px;
        font-weight: 400
    }

    .chapter-bottom-nav {
        display: none
    }

    .chapter-sticky-nav {
        display: none
    }
}.update-timeline{margin-top:24px}

/* 最近更新页：日期切换导航 */
.update-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 18px;
  font-size: 13px;
}
.update-nav a {
  color: var(--brand);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.update-nav a:hover {
  background: var(--card);
}
.update-nav .current-date {
  font-weight: 700;
  color: var(--text);
}
.update-nav .disabled {
  color: var(--muted);
  padding: 4px 10px;
}

/* ===== 详情页评论区 ===== */
.comment-box { width: 100%; }

/* 排序切换 */
.comment-sort { display: flex; gap: 6px; }
.comment-sort button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: all .2s;
}
.comment-sort button:hover { color: var(--brand); border-color: var(--brand); }
.comment-sort button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* 发表框 */
.comment-editor {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rating-label { font-size: 13px; color: var(--muted); }
.stars { font-size: 22px; cursor: pointer; letter-spacing: 3px; line-height: 1; }
.stars .star { color: var(--line); transition: color .15s, transform .15s; display: inline-block; }
.stars .star:hover { transform: scale(1.15); }
.stars .star.active { color: #f7b731; }
.rating-hint { font-size: 12px; color: var(--brand); }
#comment-input {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: 14px;
  background: var(--bg); color: var(--text);
  resize: vertical; min-height: 80px;
  transition: border-color .2s;
}
#comment-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(244, 91, 105, .08); }
.comment-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.comment-login-tip { font-size: 12px; color: var(--muted); }

/* 评论列表 */
.comment-list { display: flex; flex-direction: column; gap: 12px; }
.comment-item {
  display: flex; gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.comment-item:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.c-avatar {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600;
  box-shadow: 0 2px 6px rgba(244, 91, 105, .25);
}
.c-body { flex: 1; min-width: 0; }
.c-head { display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.c-head b { color: var(--text); font-size: 14px; }
.c-stars { color: #f7b731; font-size: 12px; letter-spacing: 1px; }
.c-time { color: var(--muted); font-size: 12px; margin-left: auto; }
.c-content {
  margin: 8px 0 0; font-size: 14px; color: var(--text);
  line-height: 1.7; word-break: break-word; white-space: pre-wrap;
}
.c-foot { margin-top: 10px; }
.c-like {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--bg);
  color: var(--muted); font-size: 12px; padding: 4px 12px;
  border-radius: 14px; cursor: pointer;
  transition: all .2s;
}
.c-like:hover { color: var(--brand); border-color: var(--brand); background: rgba(244, 91, 105, .06); }
.c-like.liked { color: var(--brand); border-color: var(--brand); background: rgba(244, 91, 105, .08); font-weight: 600; }
.c-like-icon { font-size: 13px; }
.c-like-count { font-weight: 700; }

/* 分页 */
.comment-pager {
  display: flex; gap: 6px; align-items: center; justify-content: center;
  margin-top: 20px; flex-wrap: wrap;
}
.comment-pager a {
  color: var(--brand); border: 1px solid var(--line);
  background: var(--card);
  min-width: 30px; height: 30px; line-height: 28px; text-align: center;
  border-radius: 8px; font-size: 13px; padding: 0 8px;
  transition: all .2s;
}
.comment-pager a:hover { border-color: var(--brand); }
.comment-pager a.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.comment-pager .pager-info { color: var(--muted); font-size: 12px; margin-right: 6px; }
.user-rating { color: var(--brand); font-weight: 600; }

/* 顶部搜索建议下拉 */
.search { position: relative; }
.search-suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  z-index: 60;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.search-suggest a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggest a:hover {
  background: var(--bg);
  color: var(--brand);
}

/* 搜索页热词 */
.hotwords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
}
.hotwords-label { color: var(--muted); }
.hotwords a {
  color: var(--brand);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 13px;
}
.hotwords a:hover { background: var(--card); }

/* 书架分类 tabs */
.fav-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.fav-categories a {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 14px;
}
.fav-categories a:hover { color: var(--brand); }
.fav-categories a.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.fav-cat-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1px 8px;
  margin-top: 6px;
}

/* ===== 意见反馈页 ===== */
.feedback-section { max-width: 760px; margin: 0 auto; }
.feedback-hero { text-align: center; margin: 26px 0 22px; }
.feedback-icon {
  font-size: 40px;
  width: 84px; height: 84px; line-height: 84px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(244, 91, 105, .3);
}
.feedback-hero h1 { margin: 0 0 8px; font-size: 24px; }
.feedback-sub { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }

.feedback-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.feedback-field { margin-bottom: 20px; }
.feedback-label {
  display: block;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.fb-required { color: var(--brand); font-style: normal; }
.fb-optional { color: var(--muted); font-weight: 400; font-size: 12px; }

/* 类型卡片单选 */
.fb-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.fb-type-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--bg);
}
.fb-type-card:hover { border-color: var(--brand); }
.fb-type-card input { position: absolute; opacity: 0; }
.fb-type-card:has(input:checked) {
  border-color: var(--brand);
  background: rgba(244, 91, 105, .06);
  box-shadow: 0 0 0 2px rgba(244, 91, 105, .15);
}
.fb-type-icon { font-size: 24px; }
.fb-type-name { font-size: 13px; font-weight: 600; color: var(--text); }
.fb-type-desc { font-size: 11px; color: var(--muted); }

.fb-video-tip {
  display: inline-block;
  font-size: 13px;
  color: var(--brand);
  background: rgba(244, 91, 105, .08);
  border: 1px dashed var(--brand);
  border-radius: 8px;
  padding: 8px 14px;
}

.fb-input, .fb-textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit; font-size: 14px;
  background: var(--bg); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.fb-input:focus, .fb-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(244, 91, 105, .1);
}
.fb-textarea { resize: vertical; min-height: 110px; line-height: 1.7; }

.fb-counter {
  text-align: right; font-size: 12px; color: var(--muted);
  margin-top: 4px;
}
.feedback-submit {
  width: 100%;
  font-size: 15px;
  padding: 12px 0;
  border-radius: 10px;
}

@media (max-width: 560px) {
  .fb-type-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 详情页"播放异常？反馈"入口 */
.btn-feedback { font-size: 13px; }
.btn-feedback:hover { color: var(--brand); }

/* 书架"更新 N"红标 */
.fav-updated-badge {
  display: inline-block;
  margin-left: 10px;
  background: var(--hot, #e63946);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 12px;
  text-decoration: none;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(230, 57, 70, .3);
}
.fav-updated-badge:hover { opacity: .85; }
.fav-updated-badge.active { box-shadow: 0 0 0 2px rgba(230, 57, 70, .4); }
