/* === Reset === */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* === Body === */
body { font-family: "Microsoft YaHei", Arial, sans-serif; background: #fff; color: #333; min-width: 320px; }

/* === Topbar === */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(245,240,231,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(216,208,196,.8); }
.topbar__inner { width: min(1200px, 100% - 2rem); margin-inline: auto; min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* === Brand === */
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #1f2a25; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand__mark { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; height: 1.5rem; padding: 2px 8px; border-radius: 6px; background: #b9472f; color: #fff; font-family: Georgia, serif; font-size: .9rem; font-weight: 700; white-space: nowrap; }

/* === Nav === */
.nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.nav-list a { color: #6b6b6b; text-decoration: none; font-size: 15px; padding: .35rem .2rem; }
.nav-list a.active { color: #1f2a25; font-weight: 600; box-shadow: inset 0 -2px #d56449; }

/* === Container & Breadcrumbs === */
.container { width: min(1200px, 100% - 2rem); margin: 32px auto 20px; }
.crumbs { font-size: 12px; color: #999; margin-bottom: 20px; }
.crumbs a { color: #7a5c3e; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* === Footer === */
.footer { text-align: center; color: #999; font-size: 12px; margin-top:60px;padding:58px 0px; border-top: 1px solid #f5f5f5;}
.footer p{padding:10px 0px; }
.footer p a {font-size: 16px; color: #000; text-decoration: none;padding:0px 10px;}
.footer a {font-size:12px; color:#999; text-decoration: none;}
.footer a:hover {color:#2a5298; }

/* === Side card & rank list === */
.side-card {
    background: #f5f5f5;
    border: none;
    border-radius: 12px;
    padding: 22px 24px;
}
.side-card > h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1f2a25;
    margin-bottom: 16px;
}
.rank-list { list-style: none; }
.rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-bottom: none;
    font-size: 15px;
}
.rank-list li:last-child { border-bottom: none; }
.rank-list .no {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #eee;
    color: #888;
    display: grid;
    place-items: center;
    font-size: 12px;
    flex-shrink: 0;
    font-style: normal;
}
.rank-list li.top .no { background: #b9472f; color: #fff; }
.rank-list a {
    color: #1f2a25;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rank-list a:hover { color: #b9472f; font-weight: 700; }

/* === Quote block (golden share) === */
.block-quote {
    position: relative;
    margin: 10px 0 0;
    padding: 16px 18px;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.block-quote-text { position: relative; z-index: 2; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.8; }
.block-quote-source { position: relative; z-index: 2; margin: 4px 0 0; font-size: 12px; text-align: right; color: rgba(255,255,255,.92); }
.block-quote-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.block-quote-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: blockFloat 12s ease-in-out infinite alternate;
}
.block-quote-blob:nth-child(1) { background: rgba(255,255,255,.4); top: 10%; left: 15%; animation-duration: 14s; }
.block-quote-blob:nth-child(2) { background: rgba(255,200,100,.35); top: 60%; left: 70%; animation-duration: 18s; animation-delay: -4s; }
.block-quote-blob:nth-child(3) { background: rgba(100,200,255,.3); top: 30%; left: 80%; width: 200px; height: 200px; animation-duration: 16s; animation-delay: -8s; }
@keyframes blockFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, -40px) scale(1.2); }
}
.block-quote-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridPulse 6s ease-in-out infinite;
    pointer-events: none;
}
.block-quote-grid { z-index: 1; }
@keyframes gridPulse {
    0%, 100% { opacity: .5; }
    50%      { opacity: 1; }
}