:root {
    --yellow: #ffc928;
    --ink: #25272b;
    --muted: #87909e;
    --line: #eceef1;
    --soft: #f5f6f8;
    --coral: #ff6c61
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0
}

body {
    color: var(--ink);
    background: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif
}

.container {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 0 auto
}

a {
    color: inherit;
    text-decoration: none
}

button, input {
    font: inherit
}

.site-header {
    position: relative;
    z-index: 1000;
    background: #fff
}

.site-top {
    height: 68px;
    display: flex;
    align-items: center
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none
}

.site-brand img{
    width: 180px;
}
.brand-mark {
    position: relative;
    width: 25px;
    height: 31px;
    border-radius: 90% 5% 85% 10%;
    background: linear-gradient(145deg, #ffd23f 0 37%, #ff8c50 38% 62%, #66bfd4 63%);
    transform: rotate(-20deg);
    box-shadow: inset -5px 3px rgba(255, 255, 255, .38)
}

.brand-mark:after {
    content: "";
    position: absolute;
    width: 21px;
    height: 2px;
    background: #363941;
    bottom: 1px;
    left: 7px;
    transform: rotate(-42deg);
    transform-origin: left
}

.brand-name {
    font-size: 23px;
    letter-spacing: 1px;
    font-weight: 800
}

.brand-name span {
    color: #f3ae00
}

.site-search {
    margin-left: auto;
    width: 330px;
    height: 38px;
    display: flex;
    border: 1px solid #dedfe3
}

.site-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 13px;
    color: #333
}

.site-search button {
    width: 44px;
    border: 0;
    background: var(--yellow);
    cursor: pointer
}

.icon-search {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative
}

.icon-search:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 2px;
    background: currentColor;
    right: -5px;
    bottom: -2px;
    transform: rotate(45deg)
}

.site-tools {
    display: flex;
    gap: 20px;
    margin-left: 28px
}

.site-tools a, .tool-search {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    color: #686d75;
    font-size: 13px
}

.tool-search {
    display: none
}

.site-tools em {
    font-style: normal
}

.icon-clock {
    width: 17px;
    height: 17px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    position: relative
}

.icon-clock:before {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 1px;
    height: 5px;
    background: currentColor
}

.icon-clock:after {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    width: 4px;
    height: 1px;
    background: currentColor;
    transform: rotate(25deg);
    transform-origin: left
}

.icon-books {
    width: 18px;
    height: 15px;
    border: 1.5px solid currentColor;
    border-top: 0;
    box-shadow: inset 5px 0 #fff, inset 6.5px 0 currentColor
}

.site-nav {
    height: 44px;
    background: #303139;
    color: #fff
}

.nav-inner {
    height: 44px;
    display: flex;
    align-items: stretch;
    position: relative
}

.nav-inner > a {
    position: relative;
    min-width: 92px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px
}

.nav-inner > a:hover, .nav-inner > a.active {
    background: #25262d
}

.nav-inner > a.active:after {
    content: "";
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 0;
    height: 3px;
    background: var(--yellow)
}

.site-footer {
    margin-top: 52px;
    padding: 30px 16px;
    border-top: 1px solid var(--line);
    color: #989da6;
    font-size: 12px;
    text-align: center;
    background: #fafafa
}

.nav-inner > .nav-mobile-only {
    display: none
}

.pager .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none
}

.pager .pagination li {
    display: block;
    margin: 0;
    padding: 0;
    background: none
}

.pager .pagination li > a, .pager .pagination li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    line-height: 1.4
}

.pager .pagination li > a:hover, .pager .pagination li.active > span {
    border-color: var(--yellow);
    background: var(--yellow);
    color: #4d3a00
}

.pager .pagination li.disabled > span {
    color: #b8bcc3;
    background: #f5f6f8;
    cursor: default
}

@media (max-width: 767px) {
    .nav-inner > .nav-desktop-only {
        display: none
    }


    .nav-inner > .nav-mobile-only {
        display: flex
    }

    .container {
        max-width: none;
        width: 100%
    }

    .site-header {
        border-bottom: 1px solid #eee
    }

    .site-top {
        height: 56px;
        padding: 0 15px
    }

    .brand-mark {
        width: 20px;
        height: 25px
    }

    .brand-name {
        font-size: 20px
    }

    .site-tools {
        margin-left: auto;
        gap: 13px
    }

    .site-tools a {
        padding: 4px
    }

    .site-tools em {
        display: none
    }

    .tool-search {
        display: flex;
        padding: 4px
    }

    .site-search {
        display: none;
        position: absolute;
        z-index: 4;
        left: 12px;
        right: 12px;
        top: 51px;
        width: auto;
        height: 42px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .15)
    }

    .site-header.search-visible .site-search {
        display: flex
    }

    .site-nav {
        height: 45px;
        background: #fff;
        color: #30343a;
        border-top: 1px solid #f3f3f3
    }

    .nav-inner {
        height: 45px;
        display: grid;
        grid-template-columns:repeat(3, 1fr)
    }

    .nav-inner > a {
        min-width: 0;
        padding: 0;
        font-size: 15px
    }

    .nav-inner > a:hover, .nav-inner > a.active {
        background: #fff
    }

    .nav-inner > a.active:after {
        left: calc(50% - 13px);
        right: auto;
        width: 26px;
        height: 3px;
        border-radius: 2px
    }

    .site-footer {
        margin-top: 18px;
        padding: 24px 15px
    }
}

.site-footer {
    text-align: center;
    padding: 24px 16px;
    color: #888;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    background: #f2c94c;
    color: #111;

    font-size: 22px;
    font-weight: bold;

    cursor: pointer;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition:
            opacity .2s ease,
            transform .2s ease,
            visibility .2s ease,
            background .2s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #ffd95a;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 14px;
        bottom: 18px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}