body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f0f0;
}

main {
    flex: 1;
    padding: 10px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.comic-info,
.recommendations,
.chapter-list {
    background: white;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    width: 100%;
}

.comic-info {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb {
    width: 100%;
    font-size: 0.9em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #313131;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

.cover {
    max-width: 200px;
    height: auto;
    margin-right: 20px;
    margin-bottom: 20px;
}

.info {
    flex: 1;
    min-width: 200px;
}

.buttons {
    margin-top: 20px;
}

.recommendations {
    background: white;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    width: 100%;
}



.chapter-list {
    background: white;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    width: 100%;
}

.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chapter-header h2 {
    margin: 0;
}

.sort-buttons {
    display: flex;
    gap: 10px;
}

.sort-buttons button {
    padding: 5px 10px;
    font-size: 0.9em;
}

.sort-buttons button.active {
    background-color: #5e5f5e;
    color: white;
}

.load-more {
    text-align: center;
    margin-top: 20px;
}

.load-more button {
    padding: 10px 20px;
    background-color: #5e5f5e;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}
.recommendation-con{
    padding-left: 7px;
    padding-right: 7px;
}
.recommendation a img{
    max-width: 100%;
    height: auto;
}
.text-center-truncate {
    width: 200px; /* 或任何您想要的宽度 */
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: #666;
  }
  .chaper-btn {

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #3f3e3e;
  }
  a.chaper-btn  :hover{
    background-color: #c4c4c4;
  }
.info div{
    margin-bottom: 10px;
}
@media (max-width: 600px) {
    .comic-info {
        flex-direction: column;
        align-items: center;
    }

    .breadcrumb {
        text-align: center;
        font-size: 0.8em;
    }

    .cover {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .info {
        text-align: center;
        width: 100%;
    }

    .buttons {
        display: flex;
        justify-content: center;
    }

    .recommendation-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .chapter-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sort-buttons {
        margin-top: 10px;
    }
}
.info .buttons .pseudo {
    background: #5e5f5e;
    color: #ffffff;
}