@font-face {
    font-family: 'Archivo';
    src: url("../font/Archivo.woff2");
}

:root {
    --primary: #6C63FF;
    --primary-dark: #5752D3;
    --secondary: #FF6584;
    --accent: #36D1DC;
    --accent-2: #FF9A9E;
    --dark: #2D3047;
    --light: #F9FAFC;
    --gray: #A0A4B8;
    --success: #4CD97B;
    --warning: #FFB74D;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--accent-2));
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    padding-top: 80px;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-family: 'Archivo', Helvetica Neue, ridi-roboto, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(108, 99, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 101, 132, 0.05) 0%, transparent 50%);
    z-index: -1;
}

a {
    background-color: transparent;
}

a {
    color: inherit;
    letter-spacing: inherit;
    font-family: inherit;
    cursor: pointer;
}

a:link,
a:visited {
    text-decoration: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

h1,
h2,
h3,
h4,
button,
input,
p,
span {
    letter-spacing: -0.03em;
}

input {
    color: inherit;
    letter-spacing: inherit;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

input:focus {
    outline: none;
}

button {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: inherit;
    letter-spacing: inherit;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button;
}

button * {
    position: relative;
    top: 0;
    left: 0;
}

ul {
    list-style: none;
}

@font-face {
    font-family: "readicon";
    src: url('data:font/ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI8IklUAAABjAAAAGBjbWFwYblqjwAAAhgAAAIWZ2x5ZvDdoAUAAARIAAAIMGhlYWQhYTUQAAAA4AAAADZoaGVhB94DjgAAALwAAAAkaG10eCwC//8AAAHsAAAALGxvY2EHdAoeAAAEMAAAABhtYXhwASgAuwAAARgAAAAgbmFtZfCEDcQAAAx4AAACN3Bvc3TfV/qmAAAOsAAAAJYAAQAAA4D/gABcBAL//wAABAEAAQAAAAAAAAAAAAAAAAAAAAsAAQAAAAEAAKRGkbRfDzz1AAsEAAAAAADfIPiKAAAAAN8g+Ir///9/BAEDgAAAAAgAAgAAAAAAAAABAAAACwCvABMAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAQEAAGQAAUAAAKJAswAAACPAokCzAAAAesAMgEIAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAwOYM5oQDgP+AAAAD3ACBAAAAAQAAAAAAAAAAAAAAAAACB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jAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsBAgEDAQQBBQEGAQcBCAEJAQoBCwEMABJ5dWVkdXllX3ppdGl6ZW5nZGEUeXVlZHV5ZV96aXRpamlhbnhpYW8DZ291BWppbnJ1BmZhbmh1aQZzaGV6aGkFbXVsdTIHYmFpdGlhbgZ5ZWppYW4FamluZHUAAAAA') format('truetype');
}

.readicon {
    font-family: "readicon" !important;
    font-size: 18px;
    font-style: normal;
}

.icon-arrow-r::before {
    content: "\e60c";
}

.icon-return::before,
icon-arrow-l::before {
    content: "\e60d";
}

.icon-readset::before {
    content: "\e62a";
}

.icon-catalog::before {
    content: "\e628";
}

.icon-check:before {
    content: "\e62c";
}

.icon-day::before {
    content: "\e629";
}

.icon-night::before {
    content: "\e684";
}

.icon-progress::before {
    content: "\e61e";
}

.icon-up::before {
    content: "\e610";
}

.icon-down::before {
    content: "\e60e";
}

.read-night {
    background-color: #1a1a1a;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

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


.align-center {
    align-items: center;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    max-width: 750px;
    margin: 0 auto;
    border-radius: 0 0 var(--radius) var(--radius);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    margin-right: 8px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
}

.nav-links a {
    padding: 10px 16px;
    margin-left: 8px;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: var(--transition);
    z-index: -1;
    border-radius: 50px;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::before {
    left: 0;
}

/* 搜索页样式 */
.search-bar {
    display: flex;
    margin: 20px;
    max-width: 750px;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--primary-dark);
    border-radius: 8px 0 0 8px;
    font-size: 15px;
}

.search-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 20px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 22px;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-dark);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}

/* 页面容器 */
.page {
    padding: 20px 0;
    min-height: calc(100vh - 80px);
}

/* 通用组件样式 */
.section-title {
    font-size: 1.4rem;
    margin: 30px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title .more {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: normal;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.section-title .more:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.book-cover img {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
}

.book-info {
    padding: 16px;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.book-meta {
    display: flex;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 10px;
    align-items: center;
}

.book-author {
    margin-right: 12px;
    display: flex;
    align-items: center;
}


.book-status {
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    background: var(--success);
    color: white;
    font-weight: 500;
}

.book-status.completed {
    background: var(--gray);
}

.book-desc {
    font-size: 0.9rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    line-height: 1.4;
}

/* 首页样式 */
.banner {
    height: 200px;
    background: var(--gradient);
    border-radius: var(--radius);
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,70 Q25,50 50,70 T100,50 L100,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.banner h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.banner p {
    font-size: 1rem;
    opacity: 0.9;
}

.book-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.book-list.featured {
    grid-template-columns: 1fr;
}

.book-list.featured .book-item {
    display: flex;
    border-left: 4px solid var(--primary);
}

.book-list.featured .book-cover {
    width: 30%;
    flex-shrink: 0;
    margin-right: 15px;
    border-radius: var(--radius-sm);
}

.book-list.featured .book-info {
    flex: 1;
    padding: 15px 15px 15px 0;
}

.book-list.featured .book-title {
    font-size: 1.1rem;
}

.category-tags {
    display: flex;
    overflow-x: auto;
    padding: 10px 0 20px;
    gap: 12px;
}

.category-tag {
    padding: 8px 16px;
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow);
    white-space: nowrap;
    transition: var(--transition);
}

.category-tag.active {
    background: var(--gradient);
    color: white;
}

/* 分类页样式 */
.filter-section {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-title {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.filter-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--primary);
    margin-right: 8px;
    border-radius: 2px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 8px 16px;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
}

.filter-option.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.3);
}

.sort-options {
    display: flex;
    overflow-x: auto;
    padding: 10px 0 15px;
    gap: 15px;
}

.sort-option {
    padding: 10px 20px;
    white-space: nowrap;
    border-radius: 50px;
    background: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-weight: 500;
}

.sort-option.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.3);
}

/* 详情页样式 */
.book-detail {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.book-header {
    display: flex;
    padding: 25px;
    background: var(--gradient);
    color: white;
}

.book-cover-large {
    width: 35%;
    flex-shrink: 0;
    margin-right: 20px;
}

.book-cover-large img {
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.book-meta-large {
    flex: 1;
}

.book-title-large {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
}

.book-stats {
    display: flex;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 15px;
}

.stat {
    flex: 1;
    text-align: center;
    padding: 5px 0;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 5px;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.btn-read {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.book-description {
    padding: 20px 25px;
}

.chapter-list {
    margin-top: 25px;
}

.chapter-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.chapter-item:hover {
    background: #f9f9f9;
}

.chapter-item:last-child {
    border-bottom: none;
}

.chapter-title {
    flex: 1;
}

.chapter-date {
    font-size: 0.8rem;
    color: var(--gray);
}

/* 搜索页样式 */
.search-box {
    position: relative;
    margin-bottom: 25px;
}

.search-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: none;
    border-radius: 50px;
    background: white;
    box-shadow: var(--shadow);
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.2);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.2rem;
}

/* 作者页样式 */
.author-header {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.author-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.author-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.author-bio {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.author-stats {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.author-stat {
    margin: 0 15px;
    text-align: center;
}

.author-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.author-stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 5px;
}

/* 排行榜样式 */
.rank-tabs {
    display: flex;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.rank-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    position: relative;
    transition: var(--transition);
    font-weight: 500;
}

.rank-tab.active {
    color: var(--primary);
}

.rank-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
}

.rank-list {
    display: none;
}

.rank-list.active {
    display: block;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.rank-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.rank-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.rank-number.top {
    background: var(--gradient);
    color: white;
}

.rank-book-info {
    flex: 1;
}

.rank-book-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.rank-book-meta {
    font-size: 0.85rem;
    color: var(--gray);
}

.rank-hot {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 700;
}

/* 特殊卡片样式 */
.special-card {
    background: var(--gradient-secondary);
    color: white;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.special-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.special-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.special-card p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.page-title {
    font-size: 24px;
    margin-top: 15px;
    color: #2c3e50;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title .filter-icon {
    transform: rotate(90deg);
}

.filter-icon.rota {
    transform: rotate(270deg);
}

.filter-group {
    margin-bottom: 16px;
}

.filter-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
    align-items: center;
    margin-top: 20px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-option:hover,
.filter-option.active {
    background-color: #3498db;
    color: #fff;
}

/* 底部 */
.fig-1779n19 {
    background: rgb(255, 255, 255);
    max-width: 750px;
    margin: 0 auto;
}

.fig-148gq1b {
    display: block;
    width: 100%;
    height: 1px;
    background: #f0f0f0;
    border: none;
}

.fig-14yysxo {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1170px;
    margin: 0 auto;
    padding-top: 30px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 50px;
    flex-direction: column;
}

.fig-1ppzc4i {
    color: #787878;
    letter-spacing: -0.01em;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

/* pagenation */
.PAGE {
    margin: 20px 0;
}

.rigrid-13y9lfb {
    padding: 30px 0px;
}

.rigrid-13rc4sy {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    margin-top: -7px;
    margin-bottom: -7px;
    gap: 6px;
    list-style: none;
}

.rigrid-13rc4sy li:has(.rigrid-1a2neb2) {
    padding: 7px;
}

.rigrid-13rc4sy li a:not(.rigrid-1a2neb2) {
    display: inline-block;
    width: 32px;
    font-size: 13px;
    text-align: center;
    font-weight: 700;
    color: #fff;
}

.rigrid-13rc4sy li a {
    width: 46px;
    height: 34px;
    border: 1px solid rgb(230, 230, 230);
    border-radius: 12px;
    display: block;
    text-align: center;
    line-height: 32px;
    background: var(--primary);
    color: #fff;
}

.rigrid-13rc4sy li.active a,
.rigrid-1a2neb2 {

    background: var(--primary-dark);
    color: #fff;
}

/* 详情页 */

.page-content {
    min-height: calc(100vh - 44px);
    line-height: 1.8;
    font-size: 18px;
    text-align: justify;
    overflow: hidden;
    word-wrap: break-word;
}

.page-content h1 {
    line-height: 24px;
    font-size: 18px;
    margin: 2px 0 30px;
    font-weight: 400;
    text-align: center;
}

.page-content p {
    text-indent: 2em;
}

.detail-actions {
    padding: 0 20px;
}

.detail-action {
    display: block;
    background: var(--primary);
    text-align: center;
    color: #fff;
    border-radius: 20px;
    padding: 10px 0;
}

/* .read-btn {
            display: block;
            background: #3a7bd5;
            color: white;
            padding: 5px 10px;
            border-radius: 10px;
            margin: 0 0 20px;
            text-align: center;
        } */

.sort-item a {
    font-size: 16px;
    font-weight: bold;
}

.sort-item a.active {
    color: #1589d6;
}

.read-more {
    text-align: center;
    color: var(--primary);
    padding: 10px 0;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 2px;
}

.arrow-a {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.arrow-a a {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 6px;
}

.action-btn {
    display: block;
    margin: 0 auto;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 15px;
}

.action-btn .icon {
    margin-right: 7px;
}

/* 当前位置 */
.rigrid-i6bazn {
    overflow: hidden;
    margin-bottom: 20px;
}

.rigrid-kzglsd {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: -3px;
}

.rigrid-49gqyk {
    display: flex;
    align-items: flex-start;
    margin-top: 3px;
}

.rigrid-1dtnjt5 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.rigrid-8ycyyy {
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    color: #555555;
}

.rigrid-skttdv {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 4px;
    color: #787878;
    width: 9px;
}

.rigrid-skttdv svg {
    display: block;
    width: 100%;
}

/* 分享 */
.share-list {
    display: flex;
    gap: 10px;
    flex-direction: row;
}

.share-list svg {
    font-size: 26px;
    width: 29px;
    height: auto;
    border-radius: 10px;
    padding: 5px;
    color: #fff;
}

.share-list a:nth-child(1) svg {
    background-color: #3498db;
}

.share-list a:nth-child(2) svg {
    background: #f33760;
}

.share-list a:nth-child(3) svg {
    background: #58d479;
}

/* 广告 */
.positionFixed {
    bottom: 0px;
    left: 50%;
    position: fixed;
    transform: translate(-50%, 0%);
    z-index: 999;
    width: 100%;
    display: flex;
    justify-content: center;
}

.ad-div {
    margin-bottom: 5px;
    width: 100%;
    min-width: 250px;
    clear: both;

}

.t_de {
    max-width: 100%;
    line-height: 2;
    font-size: 12px;
    box-sizing: border-box;
    color: #707070;
    text-align: center;
}

.grecaptcha-badge {
    visibility: hidden;
}

/* 响应式调整 */
@media (min-width: 480px) {
    .book-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .book-list.featured {
        grid-template-columns: 1fr;
    }
}