#app_header_second_div {
    width: 80vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    background: #FFFFFF;
    z-index: 99999999;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: scroll;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, Helvetica, sans-serif, "宋体";
}

#app_header_second_div > a, #app_header_second_div > a > img {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
}

#app_header_second_div > p {
    text-align: center;
    line-height: 28px;
}

#app_header_second_div > p > a {
    color: #000000;
}

#close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #000000;
    font-size: 20px;
}

#app_header_second_div > ul.icon-list {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#app_header_second_div > ul.icon-list li {
    flex: 0 0 calc(50% - 30px);
    text-align: center;
}

#app_header_second_div > ul.icon-list li a {
    display: block;
    line-height: 36px;
    background: #f7f7f7;
    color: #000000;
    margin-bottom: 20px;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 0 10px;
    overflow: hidden; /* 将超出的内容隐藏 */
    white-space: nowrap; /* 规定文本不换行 */
    text-overflow: ellipsis; /* 超出文本用省略号代替 */
}

#app_header_second_div > ul.icon-list li a > i {
    margin-right: 3px;
}

.user-novel-ranking-list li {
    display: flex;
}

.user-novel-ranking-list li > * {
    flex: none;
}

.user-novel-ranking-list li > a, .user-novel-ranking-list li > a img {
    display: block;
    width: 100px !important;
    height: 147px !important;
}

.user-novel-ranking-list li {
    margin-bottom: 20px;
}

.user-novel-ranking-list li .info {
    width: calc(100% - 100px);
    padding-left: 10px;
}

.user-novel-ranking-list li .info > a {
    margin-bottom: 10px;
    font-size: 16px;
    color: #222;
}

.user-novel-ranking-list li .info p:last-of-type {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Shared site header: keep legacy pages visually aligned with the main pages. */
html,
body {
    overflow-x: clip !important;
}

.glw-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    color: #2d3035;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.glw-header > .glw-header-inner {
    width: 100%;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.glw-header .glw-main-nav {
    width: 100%;
    margin-top: .5rem;
    flex: 1 1 0%;
}

.glw-header .glw-main-nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: .25rem;
    list-style: none;
    font-size: 1rem;
    line-height: 1rem;
}

.glw-header .glw-main-nav a {
    padding: .5rem;
    display: block;
    color: #2d3035;
    border-radius: .25rem;
    text-decoration: none;
    transition: color .15s, background-color .15s;
}

.glw-header .glw-main-nav a[aria-current="page"],
.glw-header .glw-main-nav a:hover {
    color: #111827;
    background: #f3f4f6;
}

.glw-header .glw-site-search {
    display: none;
}

@media (min-width: 640px) {
    .glw-header > .glw-header-inner {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
        flex-direction: row;
    }

    .glw-header .glw-main-nav {
        width: auto;
        margin-top: 0;
        margin-left: 2rem;
    }

    .glw-header .glw-main-nav ul {
        gap: .5rem;
        font-size: .875rem;
        line-height: 1.25rem;
    }

    .glw-header .glw-main-nav a {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media (min-width: 768px) {
    .glw-header .glw-site-search {
        display: flex;
        align-items: center;
    }

    .glw-header form {
        display: flex;
    }

    .glw-header input,
    .glw-header button {
        padding: .5rem .75rem;
        box-sizing: border-box;
        border: 1px solid #d1d5db;
        color: #2d3035;
        font-size: .75rem;
        line-height: 1rem;
    }

    .glw-header input {
        width: 12rem;
        background: #fff;
        border-radius: .5rem 0 0 .5rem;
        outline: none;
    }

    .glw-header input::placeholder {
        color: #9ca3af;
    }

    .glw-header button {
        padding-right: 1rem;
        padding-left: 1rem;
        background: #f3f4f6;
        border-radius: 0 .5rem .5rem 0;
        cursor: pointer;
    }

    .glw-header button:hover {
        background: #e5e7eb;
    }
}
