:root {
    --site-ink: #24314f;
    --site-ink-soft: #647395;
    --site-pink: #ff8ebc;
    --site-pink-strong: #ff72a8;
    --site-blue: #8ddcff;
    --site-blue-strong: #67c7ff;
    --site-line: rgba(255, 132, 189, 0.18);
    --site-panel: rgba(255, 255, 255, 0.82);
    --site-shadow: 0 22px 54px rgba(122, 139, 179, 0.16);
    --site-shadow-soft: 0 14px 30px rgba(132, 156, 194, 0.12);
    --site-radius: 28px;
    --site-bg-texture: url("../images/anime-home/site-background-texture.png");
    --site-bg-left: url("../images/anime-home/site-background-left.png");
    --site-bg-right: url("../images/anime-home/site-background-right.png");
    --site-bg-side-width: clamp(170px, 18vw, 320px);
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    min-height: 100vh;
    color: var(--site-ink);
    font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    background:
        radial-gradient(circle at 1px 1px, rgba(204, 211, 220, 0.36) 0 2px, transparent 2.2px) 0 0 / 128px 128px repeat,
        linear-gradient(rgba(210, 218, 227, 0.22) 1px, transparent 1px) 0 0 / 128px 128px repeat,
        linear-gradient(90deg, rgba(210, 218, 227, 0.22) 1px, transparent 1px) 0 0 / 128px 128px repeat,
        repeating-linear-gradient(45deg, rgba(235, 239, 244, 0.36) 0 1px, transparent 1px 22px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.9)),
        var(--site-bg-texture) center top / 640px auto repeat fixed;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    top: 0;
    bottom: 0;
    width: var(--site-bg-side-width);
    pointer-events: none;
    opacity: 0.96;
}

body::before {
    left: 0;
    background: var(--site-bg-left) left top / auto 100% no-repeat;
}

body::after {
    right: 0;
    background: var(--site-bg-right) right top / auto 100% no-repeat;
}

@media (max-width: 1199px) {
    body::before,
    body::after {
        width: clamp(132px, 16vw, 220px);
        opacity: 0.84;
    }
}

@media (max-width: 767px) {
    body::before,
    body::after {
        display: none;
    }
}

body img {
    display: block;
    max-width: 100%;
    border: 0;
    background: none;
}

body a {
    color: inherit;
    text-decoration: none;
    transition: color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

body a:hover {
    color: var(--site-pink-strong);
}

body input,
body button,
body textarea,
body select {
    font: inherit;
}

body ul,
body ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    color: var(--site-ink);
    font-weight: 700;
}

.layout,
.marg,
.bread-crumb-nav,
.ui-bar,
.box,
.ui-box,
.filter-focus,
.top-item-box,
.wenzhang {
    width: min(1280px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.bread-crumb-nav,
.ui-bar,
.box,
.ui-box,
.filter-focus,
.top-item-box {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-panel);
    box-shadow: var(--site-shadow);
    backdrop-filter: blur(10px);
}

.bread-crumb-nav::after,
.ui-bar::after,
.box::after,
.ui-box::after,
.filter-focus::after,
.top-item-box::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.16));
    pointer-events: none;
}

.site-header-wrap {
    width: min(1280px, calc(100% - 32px));
    margin: 18px auto 0;
    position: relative;
    z-index: 40;
}

.site-header-card,
.site-nav-card,
.site-footer {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-panel);
    box-shadow: var(--site-shadow);
    backdrop-filter: blur(10px);
}

.site-header-card::after,
.site-nav-card::after,
.site-footer::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.18));
    pointer-events: none;
}

.site-header-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    padding: 16px 18px;
    overflow: visible;
    z-index: 3;
}

.site-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.site-brand__logo {
    width: 108px;
    height: auto;
}

.site-brand__meta {
    min-width: 0;
}

.site-brand__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--site-pink-strong);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-brand__meta strong {
    display: block;
    font-size: 16px;
    line-height: 1.1;
    white-space: nowrap;
}

.site-brand__meta span {
    display: block;
    margin-top: 4px;
    color: var(--site-ink-soft);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-search {
    position: relative;
    z-index: 1;
    align-self: start;
}

.site-search form {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 6px 6px 6px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 145, 196, 0.24);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 32px rgba(141, 170, 205, 0.12);
}

.site-search input[type="text"] {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--site-ink);
    font-size: 14px;
}

.site-search input[type="submit"] {
    min-width: 104px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--site-pink-strong), #ff9dce 56%, var(--site-blue));
    box-shadow: 0 10px 24px rgba(255, 120, 182, 0.2);
    cursor: pointer;
}

.site-hotkeys {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: var(--site-ink-soft);
    font-size: 12px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-hotkeys::-webkit-scrollbar {
    display: none;
}

.site-hotkeys a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 145, 196, 0.16);
    background: rgba(255, 145, 196, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    color: var(--site-ink);
}

.site-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 10px;
    align-self: start;
}

.site-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(255, 145, 196, 0.22);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 241, 247, 0.98), rgba(239, 249, 255, 0.96));
    color: var(--site-ink);
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--site-shadow-soft);
    cursor: pointer;
}

.site-action--lang {
    background: linear-gradient(135deg, rgba(255, 133, 191, 0.16), rgba(141, 220, 255, 0.22));
}

.site-language {
    position: relative;
    z-index: 20;
}

.site-action--lang-toggle {
    gap: 8px;
    min-width: 96px;
    padding-right: 14px;
}

.site-action--lang-toggle::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d7609a' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm6.92 9h-3.09a15.57 15.57 0 0 0-1.38-5.08A8.05 8.05 0 0 1 18.92 11ZM12 4.04c.82 1.17 1.88 3.66 2.2 6.96H9.8C10.12 7.7 11.18 5.21 12 4.04ZM4.08 13h3.09a15.57 15.57 0 0 0 1.38 5.08A8.05 8.05 0 0 1 4.08 13Zm3.09-2H4.08a8.05 8.05 0 0 1 4.47-5.08A15.57 15.57 0 0 0 7.17 11Zm1.63 2h6.4c-.32 3.3-1.38 5.79-2.2 6.96-.82-1.17-1.88-3.66-2.2-6.96Zm5.65 5.08A15.57 15.57 0 0 0 15.83 13h3.09a8.05 8.05 0 0 1-4.47 5.08Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-action--lang-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -2px;
    border-right: 2px solid rgba(93, 64, 102, 0.76);
    border-bottom: 2px solid rgba(93, 64, 102, 0.76);
    transform: rotate(45deg);
    transition: transform 0.2s ease, margin-top 0.2s ease;
}

.site-language.is-open .site-action--lang-toggle::after {
    transform: rotate(225deg);
    margin-top: 2px;
}

.site-language__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 360px;
    max-height: min(70vh, 520px);
    padding: 10px;
    border: 1px solid rgba(255, 145, 196, 0.2);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px rgba(141, 170, 205, 0.18);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-language.is-open .site-language__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-language__item {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 245, 249, 0.98), rgba(242, 249, 255, 0.96));
    border: 1px solid rgba(255, 145, 196, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.site-language__item strong {
    color: var(--site-ink);
    font-size: 14px;
    line-height: 1.2;
}

.site-language__item span {
    color: var(--site-ink-soft);
    font-size: 12px;
    line-height: 1.2;
}

.site-language__item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 145, 196, 0.26);
    background: linear-gradient(135deg, rgba(255, 237, 246, 1), rgba(232, 246, 255, 0.98));
}

.site-language__item.is-active {
    border-color: rgba(215, 96, 154, 0.38);
    background: linear-gradient(135deg, rgba(255, 228, 240, 0.98), rgba(221, 245, 255, 0.98));
    box-shadow: 0 12px 24px rgba(215, 96, 154, 0.12);
}

.site-language__item.is-active span {
    color: rgba(104, 59, 91, 0.86);
}

.site-nav-card {
    margin-top: 14px;
    padding: 10px 14px;
}

.site-nav__list {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-nav__list::-webkit-scrollbar {
    display: none;
}

.site-nav__item {
    flex: 0 0 auto;
}

.site-nav__item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--site-ink-soft);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.site-nav__item.current a,
.site-nav__item a:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--site-ink);
    box-shadow: 0 10px 24px rgba(130, 153, 188, 0.12);
}

.bread-crumb-nav {
    margin-top: 22px;
    padding: 16px 20px;
}

.bread-crumbs {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--site-ink-soft);
}

.bread-crumbs li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.bread-crumbs li:not(:last-child)::after {
    content: "/";
    color: rgba(36, 49, 79, 0.32);
}

.bread-crumbs .back {
    margin-left: auto;
}

.bread-crumbs .back a {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--site-shadow-soft);
}

.ui-box,
.box,
.top-item-box,
.filter-focus,
.ui-bar {
    margin-top: 22px;
}

.ui-title,
.down-title,
.channel-item .ui-title,
.top-item-box > .ui-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0;
    padding: 18px 22px;
    border: 0;
    background: transparent;
}

.ui-title h2,
.ui-title h3,
.down-title h2,
.channel-item .ui-title h2,
.top-item-box > .ui-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.ui-title span,
.down-title span,
.channel-item .ui-title span {
    color: var(--site-ink-soft);
    font-size: 12px;
}

.ui-title h2::before,
.ui-title h3::before,
.down-title h2::before,
.channel-item .ui-title h2::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 22px;
    margin-right: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--site-pink-strong), var(--site-blue-strong));
    vertical-align: -3px;
}

.box .title,
.top-item-box .ui-cnt,
.ui-cnt,
.box .box_con,
.channel-item .box_con {
    position: relative;
    z-index: 1;
}

.box .title {
    padding: 22px 22px 6px;
    text-align: left;
}

.box .title h2 {
    margin: 0;
    font-size: 28px;
}

.box .title dl {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
    margin-top: 18px;
    background: transparent;
}

.box .title dl dd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
}

.box .title dl dd.on,
.box .title dl dd:hover {
    background: linear-gradient(135deg, rgba(255, 114, 168, 0.16), rgba(141, 220, 255, 0.18));
}

.box .title dl dd.font {
    background: transparent;
    border: 0;
    padding-left: 0;
}

.box .box_con,
.channel-item .box_con,
.ui-box .box_con {
    padding: 0 22px 24px;
}

.box .box_con .img-list,
.channel-item .box_con .img-list,
.ui-box .box_con .img-list,
.zt-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
    width: auto;
    overflow: visible;
    padding: 0;
}

.box .box_con .img-list li,
.channel-item .box_con .img-list li,
.ui-box .box_con .img-list li,
.zt-list li {
    float: none;
    width: auto;
    padding: 0;
    margin: 0;
}

.box .box_con .img-list li a,
.channel-item .box_con .img-list li a,
.ui-box .box_con .img-list li a,
.zt-list li a {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--site-shadow-soft);
}

.box .box_con .img-list li a:hover,
.channel-item .box_con .img-list li a:hover,
.ui-box .box_con .img-list li a:hover,
.zt-list li a:hover {
    border-color: rgba(255, 114, 168, 0.28);
    background: rgba(255, 255, 255, 0.98);
    color: var(--site-ink);
    transform: translateY(-6px);
}

.box .box_con .img-list li a img,
.channel-item .box_con .img-list li a img,
.ui-box .box_con .img-list li a img,
.zt-list li a img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.box .box_con .img-list li a h2,
.channel-item .box_con .img-list li a h2,
.ui-box .box_con .img-list li a h2,
.zt-list li a h2 {
    margin: 0;
    padding: 18px 16px 8px;
    line-height: 1.4;
    font-size: 16px;
}

.box .box_con .img-list li a p,
.channel-item .box_con .img-list li a p,
.ui-box .box_con .img-list li a p,
.zt-list li a p {
    margin: 0;
    padding: 0 16px 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--site-ink-soft);
}

.box .box_con .img-list li a i,
.channel-item .box_con .img-list li a i,
.ui-box .box_con .img-list li a i,
.zt-list li a i {
    left: 14px;
    top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 114, 168, 0.96), rgba(141, 220, 255, 0.88));
}

.box .box_con .img-list li a:hover em,
.channel-item .box_con .img-list li a:hover em,
.ui-box .box_con .img-list li a:hover em,
.zt-list li a:hover em {
    display: none;
}

.box .box_news {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
    width: auto;
    padding: 0 22px 22px;
}

.box .box_news li {
    width: auto;
    height: auto;
    margin: 0;
    padding: 14px 18px;
    border: 1px solid var(--site-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    background-image: none;
}

.box .box_news li a,
.box .box_news li span {
    float: none;
    display: block;
}

.box .box_news li span {
    margin-top: 6px;
}

.filter-focus {
    padding: 22px;
}

.filter-focus .ui-title,
.filter-focus .ui-cnt {
    padding: 0;
}

.filter-focus .ui-title {
    margin-bottom: 18px;
}

.filter-list {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px dashed rgba(36, 49, 79, 0.12);
}

.filter-list:first-child {
    border-top: 0;
    padding-top: 0;
}

.filter-list h5 {
    margin: 0;
    padding-top: 8px;
    color: var(--site-ink);
    font-size: 14px;
}

.filter-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-list li {
    height: auto;
    line-height: 1.2;
}

.filter-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 145, 196, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--site-ink-soft);
    font-size: 13px;
}

.filter-list a.current,
.filter-list a:hover {
    background: linear-gradient(135deg, rgba(255, 114, 168, 0.16), rgba(141, 220, 255, 0.18));
    color: var(--site-ink);
}

.ui-bar {
    padding: 16px 22px;
}

.view-filter {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.view-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--site-ink-soft);
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--site-shadow-soft);
}

.view-filter a.current,
.view-filter a:hover {
    background: linear-gradient(135deg, rgba(255, 114, 168, 0.18), rgba(141, 220, 255, 0.2));
    color: var(--site-ink);
}

#channel-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    width: min(1280px, calc(100% - 32px));
    margin: 22px auto 0;
}

#channel-box .qire-box,
#channel-box .qire-l {
    width: auto;
    float: none;
}

#channel-box .qire-box {
    margin: 0;
}

.channel-item {
    overflow: visible;
}

.channel-item + .channel-item {
    margin-top: 22px;
}

.channel-item .ui-title {
    padding-bottom: 10px;
}

.channel-item .box_con {
    padding-top: 0;
}

.ui-ranking {
    margin: 0;
    padding: 20px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--site-shadow);
}

.ui-ranking h3 {
    height: auto;
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(36, 49, 79, 0.12);
    color: var(--site-ink);
    font-size: 22px;
    line-height: 1.2;
    text-align: left;
}

.ranking-list {
    padding: 0;
}

.ranking-list li {
    height: auto;
    line-height: 1.5;
    padding: 0;
    margin-top: 12px;
    border-bottom: 0;
}

.ranking-list li:first-child {
    margin-top: 0;
}

.ranking-list li a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.ranking-list li a:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.96);
}

.ranking-list i,
.ranking-list b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 145, 196, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    color: #5d4966;
    font-style: normal;
    font-weight: 700;
}

.ranking-list li:nth-child(-n+3) i,
.ranking-list li:nth-child(-n+3) b {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #ef5c99, #5eaef3);
    box-shadow: 0 10px 18px rgba(94, 174, 243, 0.18);
    text-shadow: 0 1px 2px rgba(71, 50, 79, 0.22);
}

.ranking-list i.stress {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--site-pink-strong), var(--site-blue-strong));
    box-shadow: 0 10px 18px rgba(94, 174, 243, 0.18);
}

.ranking-list span,
.ranking-list small {
    color: #705d78;
    font-size: 12px;
}

.ranking-list strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.4;
}

.ranking-list small {
    min-width: 36px;
    text-align: right;
}

.top-item-box {
    padding: 22px;
}

.top-item-box > .ui-title {
    padding: 0 0 18px;
}

.top-item-box .ui-cnt {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.top-item {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--site-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
}

.top-item h5 {
    margin: 0 0 14px;
    font-size: 18px;
}

.top-list li {
    margin-top: 10px;
}

.top-list li:first-child {
    margin-top: 0;
}

.top-list li a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.top-list .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 114, 168, 0.18), rgba(141, 220, 255, 0.2));
    color: var(--site-pink-strong);
}

.top-list .num.stress {
    color: #fff;
    background: linear-gradient(135deg, var(--site-pink-strong), var(--site-blue-strong));
}

.top-list .tit {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.top-list .score {
    color: var(--site-ink-soft);
}

#detail-box {
    padding: 22px;
}

.rating-box {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid var(--site-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
}

.detail-cols {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
}

.detail-pic,
.detail-info {
    float: none;
    width: auto;
}

.detail-pic img {
    width: 100%;
    border-radius: 26px;
    box-shadow: var(--site-shadow-soft);
}

.detail-title h1 {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
}

#detail-rating {
    margin: 18px 0 12px;
}

.detail-info .info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.detail-info .info dl {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 145, 196, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.detail-info .info dl.juqing,
.detail-info .info dl.fenx {
    grid-column: 1 / -1;
}

.detail-info .info dt,
.detail-info .info dd {
    float: none;
    width: auto;
}

.detail-info .info dt {
    margin-bottom: 6px;
    color: var(--site-ink);
    font-weight: 700;
}

.detail-info .info dd {
    color: var(--site-ink-soft);
}

.detail-info .link2,
.detail-info .fenx dd {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-info .link2 a,
.detail-info .link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--site-shadow-soft);
}

#rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

#rating .label,
#ratewords {
    color: var(--site-ink-soft);
}

.video_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    padding: 0 22px 22px;
}

.video_list a {
    width: auto;
    margin: 0;
    border: 1px solid var(--site-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--site-shadow-soft);
}

.video_list a:hover,
.video_list .cur {
    color: var(--site-ink);
    background: linear-gradient(135deg, rgba(255, 114, 168, 0.16), rgba(141, 220, 255, 0.2));
}

.down-title {
    margin-bottom: 0;
}

.down_list {
    padding: 0 22px 22px;
}

.down_list ul li {
    height: auto;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(36, 49, 79, 0.12);
}

.down_list ul li:last-child {
    border-bottom: 0;
}

.down_list ul li:hover {
    background: transparent;
}

.down_list li p,
.down_list ul li span {
    float: none;
}

.down_list li p {
    width: 100%;
}

.thunder_url {
    width: 100%;
    margin-top: 10px;
    border: 1px solid rgba(255, 145, 196, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.down_list ul li span {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.down_list ul li span label {
    margin: 0;
    border-radius: 999px;
}

.downtools {
    height: auto;
    min-height: 0;
    padding: 18px 0 0;
}

.downtools a {
    margin-left: 14px;
    padding: 0 14px;
    border-radius: 999px;
}

.downtools .xuanfu {
    position: static;
    display: block;
    margin-top: 12px;
    color: var(--site-ink-soft);
    font-size: 13px;
}

.zhuanti-list,
.zhuanti-con {
    position: relative;
    z-index: 1;
    padding: 22px;
}

.zhuanti-list li,
.zhuanti-con li {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--site-line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--site-shadow-soft);
}

.zhuanti-list li + li {
    margin-top: 18px;
}

.zhuanti-list .play-img,
.zhuanti-con .play-img {
    width: 100%;
    margin: 0;
}

.zhuanti-list .play-img img,
.zhuanti-con .play-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 22px;
}

.zhuanti-list .play-txt h2,
.zhuanti-con .play-txt h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
}

.zhuanti-list .play-txt p,
.zhuanti-con .play-txt p {
    margin: 0;
    color: var(--site-ink-soft);
    font-size: 14px;
    line-height: 1.9;
}

.topic-landing,
.topic-detail-shell,
.home-banner,
.home-section,
.home-content {
    width: min(1280px, calc(100% - 32px));
    margin: 22px auto 0;
}

.section-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-panel);
    box-shadow: var(--site-shadow);
    backdrop-filter: blur(10px);
}

.section-panel::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.16));
    pointer-events: none;
}

.section-panel__inner {
    position: relative;
    z-index: 1;
    padding: 26px;
}

.section-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.section-heading > div {
    min-width: 0;
}

.section-heading__sub {
    display: block;
    margin-bottom: 6px;
    color: var(--site-pink-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}

.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--site-shadow-soft);
    font-size: 13px;
    font-weight: 700;
}

.home-banner__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 22px;
    align-items: center;
    padding: 28px;
}

.home-banner__copy h1 {
    margin: 14px 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
}

.home-banner__copy p {
    margin: 0;
    color: var(--site-ink-soft);
    font-size: 16px;
    line-height: 1.9;
}

.home-banner__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 145, 196, 0.14);
    color: var(--site-pink-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.home-banner__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 14px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--site-shadow-soft);
}

.home-banner__actions a:first-child {
    color: #fff;
    background: linear-gradient(135deg, var(--site-pink-strong), #ff9dce 56%, var(--site-blue));
}

.home-banner__actions a:last-child {
    background: rgba(255, 255, 255, 0.9);
}

.home-banner__media {
    position: relative;
    min-height: 360px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(141, 220, 255, 0.42), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 147, 200, 0.34), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 250, 0.9));
}

.home-banner__media::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 126, 183, 0.08);
    border-radius: 22px;
    background:
        linear-gradient(rgba(255, 156, 209, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 220, 255, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}

.home-banner__figure {
    position: absolute;
    right: 8px;
    bottom: 0;
    z-index: 2;
    width: min(100%, 390px);
    filter: drop-shadow(0 24px 36px rgba(255, 121, 184, 0.16));
}

.home-banner__sticker {
    position: absolute;
    left: 10px;
    bottom: 22px;
    z-index: 1;
    width: 140px;
    opacity: 0.84;
}

.home-card-grid,
.home-category-grid,
.topic-list-grid,
.topic-related-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.home-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-card-grid--content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.topic-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-related-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.home-card,
.home-category-card,
.topic-card,
.topic-related-grid a {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--site-shadow-soft);
}

.home-card:hover,
.home-category-card:hover,
.topic-card:hover,
.topic-related-grid a:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 114, 168, 0.28);
}

.home-card {
    display: flex;
    flex-direction: column;
}

.home-card__cover,
.topic-card__cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.home-card__cover img,
.topic-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-card__tag {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 114, 168, 0.96), rgba(141, 220, 255, 0.92));
}

.home-card__body,
.topic-card__body,
.topic-related-grid a {
    padding: 14px;
}

.home-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-card__body h3,
.topic-card__body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.home-card__body h3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.home-card__body p,
.topic-card__body p {
    margin: 10px 0 0;
    color: var(--site-ink-soft);
    line-height: 1.8;
}

.home-card__body p {
    margin-top: 0;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-card__detail {
    overflow: hidden;
    color: var(--site-ink-soft);
    font-size: 12px;
    line-height: 1.7;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-card__meta,
.topic-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.home-card__meta {
    justify-content: flex-start;
    gap: 8px;
    margin-top: auto;
}

.home-card__meta span,
.topic-card__meta span,
.home-feed__foot span,
.home-feed__foot em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 145, 196, 0.1);
    color: var(--site-ink-soft);
    font-size: 12px;
    font-style: normal;
}

.home-card__meta span {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.topic-related-grid a img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 18px;
}

.topic-related-grid a h3 {
    margin: 16px 0 8px;
    font-size: 17px;
    line-height: 1.4;
}

.topic-related-grid a p {
    margin: 0;
    color: var(--site-ink-soft);
    font-size: 13px;
    line-height: 1.8;
}

.topic-related-grid a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 145, 196, 0.1);
    color: var(--site-ink-soft);
    font-size: 12px;
}

.home-category-card {
    padding: 22px 18px;
    text-align: left;
}

.home-category-card__icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.home-category-card__no {
    display: block;
    margin-top: 12px;
    color: rgba(36, 49, 79, 0.28);
    font-size: 30px;
    font-weight: 800;
}

.home-category-card strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
}

.home-category-card p {
    margin: 8px 0 0;
    color: var(--site-ink-soft);
    font-size: 13px;
}

.home-content__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 22px;
    padding: 26px;
}

.home-content__main {
    min-width: 0;
}

.home-content__pager {
    margin-top: 22px;
}

.home-content__pager .mac_pages {
    justify-content: center;
}

.home-content__pager .page_tip,
.home-content__pager .page_input,
.home-content__pager .page_btn {
    display: none;
}

.home-content__pager .page_info {
    justify-content: center;
}

.home-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-feed {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--site-shadow-soft);
}

.home-feed:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 114, 168, 0.28);
}

.home-feed__cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.home-feed__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-feed__body {
    padding: 14px;
}

.home-feed__body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.home-feed__body p {
    margin: 10px 0 0;
    color: var(--site-ink-soft);
    font-size: 13px;
    line-height: 1.8;
}

.home-feed__meta,
.home-feed__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-feed__meta {
    margin-bottom: 12px;
}

.home-feed__foot {
    margin-top: 12px;
}

.home-side {
    display: flex;
    flex-direction: column;
    align-self: start;
    gap: 16px;
}

.home-side .ranking-list li {
    margin-top: 8px;
}

.home-side .ranking-list li a {
    padding: 10px 12px;
    gap: 10px;
}

.home-side__card,
.topic-sidebar {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--site-shadow-soft);
}

.home-side__card .inner,
.topic-sidebar__inner {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.home-side__card h3,
.topic-sidebar__inner h3 {
    margin: 0 0 14px;
    font-size: 22px;
}

.home-side__card img {
    width: 112px;
    margin: 0 auto 12px;
}

.home-side__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.home-side__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--site-shadow-soft);
    font-size: 13px;
    font-weight: 700;
}

.topic-hero__inner,
.topic-detail-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 28px;
}

.topic-hero__cover img,
.topic-detail-hero__cover img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 26px;
}

.topic-hero__content h1,
.topic-detail-hero__content h1 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
}

.topic-hero__content p,
.topic-detail-hero__content p {
    margin: 0;
    color: var(--site-ink-soft);
    font-size: 15px;
    line-height: 1.95;
}

.topic-hero__meta,
.topic-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.topic-hero__meta span,
.topic-detail-hero__meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 145, 196, 0.1);
    color: var(--site-ink-soft);
    font-size: 12px;
}

.topic-shelf__inner,
.topic-detail-content__inner {
    position: relative;
    z-index: 1;
    padding: 26px;
}

.topic-detail-content__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
}

.topic-sidebar__list li {
    margin-top: 10px;
}

.topic-sidebar__list li:first-child {
    margin-top: 0;
}

.topic-sidebar__list a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
}

.topic-sidebar__list a:hover {
    transform: translateX(4px);
}

.topic-sidebar__list b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 114, 168, 0.18), rgba(141, 220, 255, 0.2));
    color: var(--site-pink-strong);
}

.topic-sidebar__list span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--site-ink);
    font-size: 14px;
}

.mac_pages {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.page_tip {
    color: var(--site-ink-soft);
    font-size: 13px;
}

.page_info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.page_link,
.page_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--site-shadow-soft);
}

.page_link.page_current {
    color: #fff;
    background: linear-gradient(135deg, var(--site-pink-strong), var(--site-blue-strong));
}

.page_input {
    border: 1px solid rgba(255, 145, 196, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--site-ink);
    text-align: center;
}

.wrap h1 {
    padding: 22px;
}

.site-footer {
    width: min(1280px, calc(100% - 32px));
    margin: 28px auto 34px;
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 24px 26px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-footer__brand img {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    object-fit: cover;
}

.site-footer__brand strong {
    display: block;
    font-size: 22px;
}

.site-footer__brand p {
    margin: 8px 0 0;
    color: var(--site-ink-soft);
    font-size: 13px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.site-footer__links a,
.site-footer__top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--site-shadow-soft);
    font-size: 13px;
    font-weight: 700;
}

.site-footer__top {
    border: 0;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .site-header-card {
        grid-template-columns: 1fr;
    }

    .site-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .home-banner__inner,
    .topic-hero__inner,
    .topic-detail-hero__inner,
    .home-content__inner,
    .topic-detail-content__inner,
    #channel-box {
        grid-template-columns: 1fr;
    }

    .home-card-grid,
    .topic-list-grid,
    .home-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .top-item-box .ui-cnt {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .layout,
    .marg,
    .bread-crumb-nav,
    .ui-bar,
    .box,
    .ui-box,
    .filter-focus,
    .top-item-box,
    .wenzhang,
    .site-header-wrap,
    .site-footer,
    .topic-landing,
    .topic-detail-shell,
    .home-banner,
    .home-section,
    .home-content {
        width: calc(100% - 20px);
    }

    .box .box_con .img-list,
    .channel-item .box_con .img-list,
    .ui-box .box_con .img-list,
    .zt-list,
    .home-card-grid,
    .topic-list-grid,
    .home-feed-grid {
        grid-template-columns: 1fr;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-cols,
    .zhuanti-list li,
    .zhuanti-con li {
        grid-template-columns: 1fr;
    }

    .detail-info .info {
        grid-template-columns: 1fr;
    }

    .video_list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .box .box_news {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__links {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .site-header-card,
    .site-nav-card,
    .site-footer__inner,
    .home-banner__inner,
    .section-panel__inner,
    .home-content__inner,
    .topic-hero__inner,
    .topic-detail-hero__inner,
    .topic-shelf__inner,
    .topic-detail-content__inner,
    #detail-box,
    .filter-focus {
        padding: 18px;
    }

    .site-brand__meta span {
        display: none;
    }

    .site-search form {
        flex-wrap: wrap;
        border-radius: 24px;
    }

    .site-search input[type="submit"],
    .site-action,
    .section-link,
    .home-banner__actions a,
    .home-side__actions a {
        width: 100%;
    }

    .site-actions {
        width: 100%;
    }

    .site-language__menu {
        min-width: 320px;
    }

    .site-nav__list {
        gap: 6px;
    }

    .filter-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-feed {
        display: flex;
    }

    .home-feed__cover {
        aspect-ratio: 16 / 9;
    }

    .home-category-grid,
    .video_list {
        grid-template-columns: 1fr;
    }
}

.home-head-wrap {
    width: min(1280px, calc(100% - 32px));
    margin: 18px auto 0;
}

.home-head-card {
    padding: 20px 22px;
}

.home-head-main,
.home-head-bottom {
    position: relative;
    z-index: 1;
}

.home-head-main {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
}

.home-head-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.home-head-brand__logo {
    width: 120px;
    height: auto;
}

.home-head-brand__meta {
    min-width: 0;
}

.home-head-brand__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--site-pink-strong);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-head-brand__meta strong {
    display: block;
    font-size: 22px;
    line-height: 1;
}

.home-head-brand__meta small {
    display: block;
    margin-top: 6px;
    color: var(--site-ink-soft);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-head-search {
    min-width: 0;
    align-self: start;
}

.home-head-search form {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 6px 6px 6px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 145, 196, 0.26);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 28px rgba(141, 170, 205, 0.12);
}

.home-head-search input[type="text"] {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--site-ink);
    font-size: 14px;
}

.home-head-search input[type="submit"] {
    min-width: 104px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--site-pink-strong), #ff9dce 56%, var(--site-blue));
    box-shadow: 0 10px 24px rgba(255, 120, 182, 0.22);
    cursor: pointer;
}

.home-head-hotkeys {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: var(--site-ink-soft);
    font-size: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.home-head-hotkeys::-webkit-scrollbar {
    display: none;
}

.home-head-hotkeys a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 145, 196, 0.12);
    color: var(--site-ink-soft);
}

.home-head-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
    align-self: start;
}

.home-head-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(255, 145, 196, 0.22);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 241, 247, 0.98), rgba(239, 249, 255, 0.96));
    box-shadow: var(--site-shadow-soft);
    color: var(--site-ink);
    font-size: 13px;
    font-weight: 700;
}

.home-head-action--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--site-pink-strong), #ff9dce 56%, var(--site-blue));
}

.home-head-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 145, 196, 0.12);
}

.home-head-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.home-head-nav::-webkit-scrollbar {
    display: none;
}

.home-head-nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--site-ink-soft);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.home-head-nav a:hover,
.home-head-nav a.is-active {
    background: rgba(255, 255, 255, 0.92);
    color: var(--site-ink);
    box-shadow: 0 10px 24px rgba(130, 153, 188, 0.12);
}

.home-head-status {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    padding: 10px 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--site-shadow-soft);
}

.home-head-status img {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    object-fit: cover;
}

.home-head-status strong {
    display: block;
    font-size: 14px;
}

.home-head-status span {
    display: block;
    margin-top: 4px;
    color: var(--site-ink-soft);
    font-size: 12px;
}

.type-portal-body .home-head-bottom {
    grid-template-columns: 1fr;
}

.type-portal-body .home-head-status {
    display: none;
}

.home-banner {
    min-height: 560px;
    background: linear-gradient(135deg, #24314f, #38486f);
}

.home-banner::after {
    display: none;
}

.home-banner__slider {
    position: relative;
    min-height: 560px;
}

.home-banner__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.42s ease, visibility 0.42s ease;
}

.home-banner__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-banner__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at top right, rgba(141, 220, 255, 0.24), transparent 28%),
        linear-gradient(135deg, #24314f, #2f3c60 56%, #435980);
}

.home-banner__backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: scale(1.02);
    filter: saturate(1.02) brightness(0.88);
}

.home-banner__backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(21, 27, 48, 0.82) 0%, rgba(34, 41, 68, 0.64) 42%, rgba(255, 247, 250, 0.12) 100%),
        linear-gradient(180deg, rgba(255, 132, 189, 0.14), rgba(12, 18, 35, 0.18)),
        radial-gradient(circle at top right, rgba(141, 220, 255, 0.18), transparent 28%);
}

.home-banner__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: end;
    min-height: 560px;
    padding: 40px 32px 112px;
}

.home-banner__copy {
    max-width: 720px;
}

.home-banner__copy h1 {
    margin: 16px 0 14px;
    color: #fff;
    font-size: clamp(34px, 4.8vw, 52px);
    line-height: 1.08;
    text-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.home-banner__copy p {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.85;
}

.home-banner__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.home-banner__meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.home-banner__tag {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.home-banner__actions a:last-child {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-banner__side {
    display: grid;
    gap: 14px;
    align-self: end;
    justify-self: end;
    width: min(100%, 280px);
}

.home-banner__float-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.home-banner__float-card img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.home-banner__float-card strong {
    display: block;
    font-size: 14px;
    color: #fff;
}

.home-banner__float-card span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
}

.home-banner__panel {
    padding: 18px 18px 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.home-banner__panel-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.home-banner__panel strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 22px;
    line-height: 1.35;
}

.home-banner__panel p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.75;
}

.home-banner__panel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.home-banner__panel-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
}

.home-banner__controls {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-banner__dot {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(16, 22, 40, 0.4);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    text-align: left;
    cursor: pointer;
}

.home-banner__dot span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 205, 226, 0.92);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.home-banner__dot em {
    display: block;
    overflow: hidden;
    color: #fff;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-banner__dot.is-active,
.home-banner__dot:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .home-head-main {
        grid-template-columns: 1fr;
    }

    .home-head-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .home-head-bottom,
    .home-banner__inner {
        grid-template-columns: 1fr;
    }

    .home-head-status {
        justify-content: flex-start;
    }

    .home-banner__side {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-self: stretch;
    }
}

@media (max-width: 860px) {
    .home-head-wrap {
        width: calc(100% - 20px);
    }

    .home-head-card,
    .home-banner__inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-banner {
        min-height: 680px;
    }

    .home-banner__slider,
    .home-banner__inner {
        min-height: 680px;
    }

    .home-banner__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-head-main,
    .home-head-bottom {
        gap: 14px;
    }

    .home-head-card {
        padding: 18px;
    }

    .home-head-brand__meta small,
    .home-head-status {
        display: none;
    }

    .home-head-search form {
        flex-wrap: wrap;
        border-radius: 24px;
    }

    .home-head-search input[type="submit"],
    .home-head-action {
        width: 100%;
    }

    .home-head-actions {
        width: 100%;
    }

    .home-banner {
        min-height: 760px;
    }

    .home-banner__slider,
    .home-banner__inner {
        min-height: 760px;
    }

    .home-banner__copy h1 {
        font-size: 32px;
    }

    .home-banner__controls {
        grid-template-columns: 1fr;
    }

    .home-banner__side {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .home-card-grid,
    .home-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .home-card__tag {
        left: 10px;
        top: 10px;
        padding: 4px 8px;
        font-size: 10px;
    }

    .site-header-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px 14px;
    }

    .site-nav-card {
        margin-top: 10px;
        padding: 8px 10px;
    }

    .site-brand__logo {
        width: 88px;
    }

    .site-brand__eyebrow,
    .site-brand__meta span {
        font-size: 10px;
    }

    .site-brand__meta strong {
        font-size: 14px;
    }

    .site-search form {
        min-height: 44px;
        gap: 8px;
        padding: 4px 4px 4px 12px;
    }

    .site-search input[type="text"] {
        font-size: 13px;
    }

    .site-hotkeys {
        display: none;
    }

    .site-actions {
        width: auto;
        gap: 8px;
    }

    .site-search input[type="submit"],
    .site-action {
        width: auto;
        min-width: 68px;
        min-height: 34px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .site-nav__list {
        gap: 8px;
    }

    .site-nav__item a {
        min-height: 34px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .home-head-card {
        padding: 12px 14px;
    }

    .home-head-main,
    .home-head-bottom {
        gap: 10px;
    }

    .home-head-brand__logo {
        width: 92px;
    }

    .home-head-brand__meta strong {
        font-size: 15px;
    }

    .home-head-brand__meta span {
        margin-top: 2px;
        font-size: 10px;
    }

    .home-head-search form {
        flex-wrap: nowrap;
        min-height: 44px;
        gap: 8px;
        padding: 4px 4px 4px 12px;
        border-radius: 22px;
    }

    .home-head-search input[type="text"] {
        font-size: 13px;
    }

    .home-head-search input[type="submit"],
    .home-head-action {
        width: auto;
        min-width: 68px;
        min-height: 34px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .home-head-hotkeys {
        display: none;
    }

    .home-head-actions {
        width: auto;
        gap: 8px;
    }

    .home-head-nav {
        gap: 8px;
    }

    .home-head-nav a {
        min-height: 34px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .home-banner {
        min-height: auto;
    }

    .home-banner__slider,
    .home-banner__inner {
        min-height: auto;
    }

    .home-banner__slider {
        min-height: 430px;
        padding-bottom: 12px;
    }

    .home-banner__slide {
        inset: 0 0 60px 0;
    }

    .home-banner__inner {
        min-height: 330px;
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: flex-start;
        padding: 18px 14px 16px;
    }

    .home-banner__copy {
        max-width: none;
    }

    .home-banner__copy h1 {
        margin: 10px 0 10px;
        font-size: 24px;
        line-height: 1.18;
    }

    .home-banner__copy p {
        max-width: none;
        font-size: 13px;
        line-height: 1.7;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-banner__meta {
        gap: 6px;
        margin-top: 12px;
    }

    .home-banner__meta span {
        padding: 6px 10px;
        font-size: 11px;
    }

    .home-banner__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-banner__actions a {
        min-height: 40px;
        padding: 0 10px;
        font-size: 12px;
    }

    .home-banner__controls {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding: 0 14px 14px;
    }

    .home-banner__dot {
        min-height: 0;
        padding: 8px 6px;
        border-radius: 14px;
        text-align: center;
    }

    .home-banner__dot span {
        margin-bottom: 0;
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .home-banner__dot em {
        display: none;
    }

    .home-banner__side {
        display: none;
    }

    .home-card,
    .home-feed {
        border-radius: 18px;
    }

    .home-card__body,
    .home-feed__body {
        padding: 10px;
    }

    .home-card__body h3,
    .home-feed__body h3 {
        font-size: 14px;
        line-height: 1.35;
    }

    .home-card__body p,
    .home-feed__body p {
        display: none;
    }

    .home-card__meta,
    .home-feed__meta,
    .home-feed__foot {
        gap: 6px;
    }

    .home-card__meta {
        margin-top: 8px;
    }

    .home-feed__meta {
        margin-bottom: 8px;
    }

    .home-feed__foot {
        margin-top: 8px;
    }

    .home-card__meta span,
    .home-feed__meta span,
    .home-feed__foot span,
    .home-feed__foot em {
        padding: 5px 8px;
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .layout,
    .marg,
    .bread-crumb-nav,
    .ui-bar,
    .box,
    .ui-box,
    .filter-focus,
    .top-item-box,
    .wenzhang,
    .site-header-wrap,
    .site-footer,
    .topic-landing,
    .topic-detail-shell,
    .home-head-wrap,
    .home-banner,
    .home-section,
    .home-content {
        width: calc(100% - 10px);
    }

    .site-header-wrap,
    .home-head-wrap {
        width: calc(100% - 14px);
    }

    .site-header-card {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 10px 8px;
    }

    .home-head-main {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 10px 8px;
    }

    .home-head-wrap,
    .home-banner,
    .home-section,
    .home-content {
        margin-top: 10px;
    }

    .site-header-card,
    .site-nav-card,
    .home-head-card {
        padding: 12px 14px;
    }

    .site-brand,
    .home-head-brand {
        grid-column: 1 / 2;
        grid-row: 1;
        padding-right: 0;
    }

    .site-actions {
        position: relative;
        top: auto;
        right: auto;
        grid-column: 2 / 3;
        grid-row: 1;
        justify-self: end;
        align-self: start;
        width: auto;
        gap: 6px;
        z-index: 3;
    }

    .home-head-actions {
        position: relative;
        top: auto;
        right: auto;
        grid-column: 2 / 3;
        grid-row: 1;
        justify-self: end;
        align-self: start;
        width: auto;
        gap: 6px;
        z-index: 3;
    }

    .site-action--lang-toggle,
    .site-actions a[href*="label/rank"],
    .site-actions a[href*="gbook/index"],
    .home-head-actions a[href*="label/rank"],
    .home-head-actions a[href*="gbook/index"] {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        padding: 0;
        border-radius: 50%;
        font-size: 0;
        color: transparent;
        box-shadow: 0 10px 18px rgba(141, 170, 205, 0.16);
    }

    .site-action--lang-toggle::after {
        display: none;
    }

    .site-action--lang-toggle .site-action__label {
        display: none;
    }

    .site-actions a[href*="label/rank"]::before,
    .site-actions a[href*="gbook/index"]::before,
    .home-head-actions a[href*="label/rank"]::before,
    .home-head-actions a[href*="gbook/index"]::before,
    .site-action--lang-toggle::before {
        content: "";
        display: block;
        flex: 0 0 auto;
        width: 16px;
        height: 16px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .site-actions a[href*="label/rank"]::before,
    .home-head-actions a[href*="label/rank"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d7609a' d='M4 19h16v2H4zm2-8h3v6H6zm5-4h3v10h-3zm5 2h3v8h-3z'/%3E%3C/svg%3E");
    }

    .site-actions a[href*="gbook/index"]::before,
    .home-head-actions a[href*="gbook/index"]::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d7609a' d='M6 4h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H10l-4 4v-4H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 2v8h1.17L8 13.17 8.83 14H18V6H6z'/%3E%3C/svg%3E");
    }

    .site-language__menu {
        top: calc(100% + 8px);
        right: 0;
        grid-template-columns: 1fr;
        min-width: 188px;
        max-width: min(88vw, 220px);
        padding: 8px;
        border-radius: 18px;
    }

    .site-language__item {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .site-search,
    .home-head-search {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        margin-top: 2px;
    }

    .site-search form,
    .home-head-search form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 76px;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        gap: 6px;
        padding: 4px;
        overflow: hidden;
    }

    .site-search input[type="text"],
    .home-head-search input[type="text"] {
        width: 100%;
        min-width: 0;
        padding-left: 8px;
    }

    .site-search input[type="submit"],
    .home-head-search input[type="submit"] {
        width: 100%;
        min-width: 0;
        padding: 0;
    }

    .home-head-card,
    .home-content__inner,
    .home-section .section-panel__inner {
        padding: 10px;
    }

    .section-heading {
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
    }

    .section-heading h2 {
        font-size: 20px;
        white-space: nowrap;
    }

    .section-heading__sub {
        margin-bottom: 4px;
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .section-heading .section-link {
        width: auto;
        min-height: 32px;
        padding: 7px 10px;
        font-size: 12px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .home-banner {
        min-height: auto;
    }

    .home-banner__slider {
        min-height: auto;
        padding-bottom: 10px;
    }

    .home-banner__slide {
        position: relative;
        inset: auto;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .home-banner__slide.is-active {
        display: block;
    }

    .home-banner__inner {
        min-height: auto;
        gap: 10px;
        align-items: flex-start;
        padding: 12px 10px 8px;
    }

    .home-banner__copy h1 {
        font-size: 22px;
        line-height: 1.2;
    }

    .home-banner__copy p {
        -webkit-line-clamp: 2;
    }

    .home-banner__meta span:nth-child(n+3) {
        display: none;
    }

    .home-banner__controls {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 0 10px 10px;
    }

    .home-banner__dot {
        padding: 8px 10px;
        border-radius: 14px;
        text-align: center;
    }

    .home-banner__dot span {
        margin-bottom: 0;
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .home-banner__dot em {
        display: none;
    }

    .home-card-grid,
    .home-card-grid--content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-card,
    .home-feed {
        border-radius: 16px;
    }

    .home-card__body,
    .home-feed__body {
        padding: 9px;
    }

    .home-card__body h3,
    .home-feed__body h3 {
        font-size: 13px;
        line-height: 1.35;
    }

    .home-card__detail {
        font-size: 11px;
        line-height: 1.55;
    }

    .home-card__meta {
        gap: 4px;
        margin-top: 6px;
    }

    .home-card__meta span {
        padding: 4px 6px;
        font-size: 10px;
    }

    .home-card__meta span:last-child {
        display: none;
    }

    .home-side .ranking-list li {
        margin-top: 6px;
    }

    .home-side .ranking-list li a {
        padding: 9px 10px;
    }

    .home-content__pager {
        margin-top: 16px;
    }

    .home-content__pager .page_info {
        gap: 6px;
    }

    .home-content__pager .page_link {
        min-width: 34px;
        padding: 7px 10px;
        font-size: 11px;
    }
}
