@charset "UTF-8";
:root {
    --pink: #ff3858;
    --bg: #f1f4fa;
    --ink: #292b34;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: var(--bg);
    color: var(--ink);
}
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
button,
input {
    font: inherit;
}
header {
    height: 72px;
    background: #fffffff2;
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    padding: 0 max(24px, calc((100% - 1280px) / 2));
    gap: 45px;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 18px #2c32420f;
}
.brand {
    font-size: 25px;
    font-weight: 900;
    white-space: nowrap;
}
.brand b {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-right: 7px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), #fb7883);
    box-shadow: 0 8px 18px #ff385840;
}
nav {
    display: flex;
    gap: 7px;
}
nav a {
    padding: 10px 15px;
    color: #555b68;
    border-radius: 20px;
}
nav a:hover,
nav .on {
    color: var(--pink);
    background: #fff3f5;
}
#menu {
    margin-left: auto;
    border: 0;
    background: none;
    font-size: 24px;
    display: none;
}
.hero {
    text-align: center;
    padding: 70px 20px 52px;
    background: radial-gradient(circle at 50% 5%, #fff 0, #f7f8fb 38%, var(--bg) 75%);
}
small {
    display: block;
    font-size: 11px;
    letter-spacing: 2.3px;
    font-weight: 800;
    color: var(--pink);
    margin-bottom: 9px;
}
.hero h1 {
    font-size: 38px;
    margin-bottom: 13px;
}
.hero > p {
    color: #888e9c;
    margin-bottom: 27px;
}
.hero form {
    max-width: 720px;
    height: 54px;
    background: #fff;
    border-radius: 30px;
    margin: auto;
    display: flex;
    padding: 5px 6px 5px 23px;
    box-shadow: 0 15px 35px #2f394b1f;
}
.hero input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
}
.hero form button {
    width: 44px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), #ff6478);
    color: #fff;
    font-size: 25px;
}
.hero em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: #9ca1ad;
    margin: 10px 0 13px;
}
.more {
    width: min(420px, 90vw);
    height: 42px;
    border: 0;
    border-radius: 24px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(90deg, #ff304e, #fb7883);
    box-shadow: 0 10px 24px #ff385833;
}
.content {
    max-width: 1280px;
    margin: auto;
    padding: 20px 10px 65px;
}
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 0 10px 20px;
}
.section-head h2 {
    font-size: 25px;
}
.sort {
    background: #fff;
    padding: 4px;
    border-radius: 24px;
    box-shadow: 0 7px 22px #30394b12;
}
.sort button {
    border: 0;
    background: none;
    padding: 8px 18px;
    border-radius: 19px;
    color: #777;
}
.sort .on {
    background: linear-gradient(90deg, var(--pink), #ff6478);
    color: #fff;
}
.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.grid article {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.25s;
    animation: rise 0.45s both;
    animation-delay: var(--d);
}
.grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px #31394b17;
}
.cover {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}
.cover img,
.cover video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cover img {
    transition: 0.4s;
}
.grid article:hover img {
    transform: scale(1.04);
}
.cover .media-type {
    position: absolute;
    right: 8px;
    top: 8px;
    padding: 4px 9px;
    border-radius: 15px;
    color: #fff;
    background: #14161c99;
    font-size: 11px;
    pointer-events: none;
}
.info {
    padding: 10px 11px;
}
.info > a {
    color: #626775;
    line-height: 24px;
    font-size: 14px;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.info > a:hover {
    color: var(--pink);
}
.info p {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
}
.info i {
    font-style: normal;
    color: #b1b5bf;
    font-size: 11px;
}
.info i:first-child {
    color: #f28a9c;
}
.empty {
    text-align: center;
    color: #999;
    padding: 70px;
}
footer {
    text-align: center;
    background: #fff;
    color: #a0a4af;
    padding: 28px;
    font-size: 12px;
}
.mask {
    position: fixed;
    inset: 0;
    background: #1a1c236b;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
}
aside {
    position: fixed;
    z-index: 31;
    right: 0;
    top: 0;
    height: 100vh;
    width: min(420px, 90vw);
    background: #fff;
    padding: 25px;
    transform: translateX(100%);
    transition: 0.28s;
}
.drawer {
    overflow: hidden;
}
.drawer .mask {
    opacity: 1;
    visibility: visible;
}
.drawer aside {
    transform: none;
}
.aside-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.aside-head button {
    border: 0;
    background: #f5f5f7;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
}
aside h3 {
    margin: 25px 0 12px;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.chips button {
    border: 1px solid #ececf0;
    background: #fafbfc;
    color: #666;
    padding: 9px 15px;
    border-radius: 20px;
}
.chips button:hover {
    color: var(--pink);
    border-color: #ffc4cd;
}
.top {
    position: fixed;
    right: 24px;
    bottom: 25px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px #0002;
    opacity: 0;
    transition: 0.2s;
}
.top.show {
    opacity: 1;
}
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}
.hero form {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}
.hero input {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    cursor: text;
    -webkit-user-select: text;
    user-select: text;
}
.hero form button {
    position: relative;
    z-index: 3;
    flex: 0 0 44px;
}
.mask {
    pointer-events: none;
}
.drawer .mask {
    pointer-events: auto;
}
.customer-service {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 18;
    width: 50px;
    height: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 19px 0 0 19px;
    color: #fff;
    background: linear-gradient(180deg, #3199f7 0%, #1777dc 100%);
    box-shadow: 0 14px 32px rgba(26, 112, 210, 0.25);
    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;
}
.customer-service:hover {
    transform: translateX(-10px);
    color: #fff;
    filter: brightness(1.05);
    box-shadow: 0 16px 38px rgba(26, 112, 210, 0.34);
}
.service-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff4b51;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
.service-icon {
    position: relative;
    width: 25px;
    height: 19px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1px;
    border-radius: 12px;
    background: #fff;
    color: #2586e8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 12px;
}
.service-icon:after {
    content: "";
    position: absolute;
    left: 4px;
    bottom: -4px;
    border-width: 4px 4px 0 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    transform: rotate(8deg);
}
.service-text {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
    text-orientation: upright;
}
@media (max-width: 1100px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .content {
        padding-inline: 20px;
    }
}
@media (max-width: 820px) {
    nav {
        display: none;
    }
    #menu {
        display: block;
    }
    .hero h1 {
        font-size: 30px;
    }
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    header {
        height: 62px;
        padding: 0 16px;
    }
    .hero {
        padding: 39px 15px 36px;
    }
    .hero h1 {
        font-size: 26px;
    }
    .content {
        padding: 17px 10px 45px;
    }
    .section-head small {
        display: none;
    }
    .section-head h2 {
        font-size: 20px;
    }
    .sort button {
        padding: 7px 12px;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .info {
        padding: 8px;
    }
    .info > a {
        font-size: 12px;
        line-height: 20px;
        height: 40px;
    }
    .customer-service {
        width: 40px;
        height: 108px;
        border-radius: 16px 0 0 16px;
    }
    .service-text {
        font-size: 16px;
    }
    .service-icon {
        transform: scale(0.9);
    }
}
