*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html{
    margin:0 auto;
    max-width: 720px;
}
body{
    margin:0 auto;
}
a{
    color: #bd3460 !important;
}
ul{
    list-style: none;
}
nav>a{
    color: #fff !important;
}
.navbg-color{
    background-color: #bd3460;
}
.input-group {
    position: relative;
}
#search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    z-index: 10;
    color: #bd3460;
}
input.form-control {
    border-radius: 1em !important;
    border: 2px solid #bd3460;
    height: 2.8em;
}
.huan{
    margin-top: 2em;
}
.media>img{
    width: 120px;
    height: 160px;
}
h2{
    font-size: 1.2em;
}
.media{
    padding-bottom: 0.6em;
    margin-bottom: 1em;
}
.media-body{
    padding-right: 1em;
    padding-left: 0.6em;
}
.media-heading{
    font-size: 1.2em;
    font-weight: bold;
    color: #bd3460;
    overflow:hidden; 
    text-overflow:ellipsis;
    display:-webkit-box; 
    -webkit-box-orient:vertical;
    -webkit-line-clamp:1; 
}
.media-intro, .card-text{
    font-size: 0.8em;
	line-height:2.4em;
    overflow:hidden; 
    text-overflow:ellipsis;
    display:-webkit-box; 
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3; 
    min-height: 6em;
}
.media-cintro, .card-text{
    font-size: 0.8em;
	line-height:2.4em;
    overflow:hidden; 
    text-overflow:ellipsis;
    display:-webkit-box; 
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4; 
    min-height: 8em;
}
.media-bottom{
    margin-top: 1em;
}
.media-badge{
    color: #bd3460;
    padding: 0.2em 0.5em;
}
.menu {
    margin: 2.4em auto 0px auto;
}
.menu a {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    text-align: center;
    width: 100%;
    color: #bd3460; 
    text-decoration: none; 
}
.menu a:hover {
    text-decoration: none; 
}
#cookList{
    margin-top: 3em;
}
#dookList {
    width: 100%;
}
#dookList a, #modalList a{
    color: #666 !important;
}
#dookList p{
    margin-bottom: 0em !important;
}
#dookList .list-group-item{
    border: 1px dotted rgba(0, 0, 0, .125);
    padding: 0.8em 0.8em;
}
#dookList h5, #modalList h5{
    font-size: 1em;
    color: #bd3460;
}
.g-t{
    color: #bd3460;
    margin-bottom: 2em;
}
.h-sd>.col-3{
    padding-left: 1px !important;
    padding-right: 1px !important;
}
.h-img{
    width: 95px;
    height: 140px;
}
.table {
    width: 100%;
    table-layout: fixed; 
}
.i-date {
    font-size: 0.8em;
    width: 10%; 
    white-space: nowrap; 
}
.i-book {
    font-size: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; 
    width: 68%; 
}
.i-book a{
    color: #212529 !important;
}
.i-author {
    font-size: 0.8em;
    overflow: hidden;
    white-space: nowrap;
    width: 22%; 
    text-align: right;
}
.yeb{
    margin-top: 2em;
    color: #666;
    font-size: small;
    border: #bd3460 1px solid;
    height: 6em;
    display: grid;
    place-items: center;
}
.yeb>a{
    color: #666 !important;
}
.list-title{
    color: #bd3460;
    margin-top: 2em;
    font-size: 1.2em;
}
.booklist a{
    color: #666 !important;
}
.bookinfo{
    margin-top: 2em;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    filter: blur(20px);
    background: #bd3460;
}
.bookinfo > .col-4{
    padding: 0 5px 0 0;
}
.bookname{
    color: #bd3460;
    font-size: 1.2em;
    line-height: normal;
}
.bookintro{
    color: #666;
    line-height:2em;
    overflow:hidden; 
    text-overflow:ellipsis;
    display:-webkit-box; 
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4; 
}
.size{
    color: #bd3460;
    font-size: 1.2em;
}
#content{
    line-height:2em;
    font-size: 1.2em;
    padding: 0 6px;
    position: relative;
}
#content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    filter: blur(4em);
    background: #bd3460;
    z-index: -1; 
    pointer-events: none; 
}
.content{
    line-height:2em;
}
.content > p {
    text-indent:2em;
}
.readtitle{
    font-size: 1.6em;
}
.btn{
    border: 1px solid #bd3460 ;
    background-color: #bd3460;
    color: #fff !important;
    border-radius:5px;
}
.s-n{
    padding: 1em 1em;
}
.s-n a {
    color: #fff !important;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
}
.s-n-l{
    background-color: #bd3460;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0.4em 0.4em;
}
.s-n-l:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
@font-face {
    font-family: 'iconfont';
    src: url('iconfont.woff2?t=1724919814433') format('woff2'),
         url('iconfont.woff?t=1724919814433') format('woff'),
         url('iconfont.ttf?t=1724919814433') format('truetype');
}
.s-icon {
    display: block;
    font-family: "iconfont" !important;
    font-size: 1.6em;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: bold;
}
.g-icon {
    display: block; /* 将图标设为块级元素，确保它占据整行 */
    font-family: "iconfont" !important;
    font-size: 2.2em;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: bold;
    color: white;
    background-color: #bd3460; 
    border-radius: 50%; 
    width: 60px; 
    height: 60px; 
    line-height: 60px; 
    margin: 0 auto 10px auto; /* 自动居中对齐 */
    text-align: center; /* 确保图标居中 */
}
.i-icon {
    font-family: "iconfont" !important;
    font-size: 1.2em;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: bold;
}