/*
Theme Name: 塔娘网 Taniang
Theme URI: https://taniang.com/
Author: 塔娘网
Description: 为动漫、游戏、同人和资源社区设计的清爽蓝白 Typecho 主题。
Version: 1.0.0
*/

:root {
    --blue: #5d8df7;
    --blue-deep: #356ddd;
    --blue-soft: #eef4ff;
    --pink: #ff6f9f;
    --purple: #a879ef;
    --mint: #46c7ae;
    --orange: #ff9a55;
    --ink: #20283a;
    --muted: #8b95a9;
    --line: #e7ecf5;
    --surface: rgba(255,255,255,.96);
    --shadow: 0 10px 35px rgba(73, 104, 157, .08);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(circle at 6% 7%, rgba(116, 164, 255, .12), transparent 25%),
        radial-gradient(circle at 92% 13%, rgba(217, 158, 247, .1), transparent 24%),
        #f8faff;
    font-size: 14px;
    line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.93);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(225, 232, 244, .8);
}
.header-inner, .nav-wrap { width: min(1480px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { height: 82px; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 12px; }
.brand-mascot, .brand-logo-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: contain;
}
.brand-mascot {
    position: relative;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(145deg, #a0c8ff, #7795f7 62%, #b48be9);
    border: 4px solid #edf5ff;
    box-shadow: 0 5px 16px rgba(91,132,223,.22);
}
.brand-mascot::before, .brand-mascot::after { content: ""; position: absolute; top: -8px; width: 18px; height: 22px; background: #9fb8fb; border-radius: 80% 15% 80% 20%; z-index: -1; }
.brand-mascot::before { left: -2px; transform: rotate(-31deg); }
.brand-mascot::after { right: -2px; transform: rotate(31deg) scaleX(-1); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.3; }
.brand-copy strong { font-size: 26px; letter-spacing: .04em; color: #222a37; }
.brand-copy small { color: #8c95a8; font-size: 12px; margin-top: 3px; }
.header-actions { display: flex; align-items: center; gap: 11px; margin-left: auto; }
.notice-button { position: relative; width: 42px; height: 42px; display: grid; place-items: center; }
.notice-button svg { width: 24px; }
.notice-button i { position: absolute; right: 1px; top: -1px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #ff648e; color: #fff; font-size: 10px; font-style: normal; border: 2px solid #fff; }
.button { display: inline-grid; place-items: center; height: 42px; min-width: 72px; padding: 0 19px; border-radius: 11px; font-weight: 600; }
.button-ghost { color: var(--blue-deep); border: 1px solid #7ea5fa; background: #fff; }
.button-primary { color: #fff; background: linear-gradient(135deg, #ff7bab, #ff5d91); box-shadow: 0 6px 18px rgba(255,93,145,.2); }
.nav-wrap { height: 54px; display: flex; align-items: stretch; justify-content: space-between; gap: 15px; }
.site-nav { min-width: 0; display: flex; align-items: stretch; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { position: relative; display: grid; place-items: center; flex: 0 0 auto; padding: 0 17px; font-size: 15px; white-space: nowrap; color: #4d5567; }
.site-nav a:hover { color: var(--blue-deep); }
.site-nav a.active { color: #fff; background: linear-gradient(135deg, #69a0ff, #527fe9); border-radius: 11px 11px 0 0; }
.publish-link { align-self: center; flex: 0 0 auto; padding: 8px 14px; color: #fb5e91; border: 1px solid #ffc2d5; border-radius: 9px; background: #fff7fa; font-weight: 600; }
.publish-link span { font-size: 18px; }

.home-shell, .inner-shell { width: min(1480px, calc(100% - 40px)); margin: 18px auto 30px; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.home-primary, .home-sidebar { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.card-surface, .content-panel, .side-panel, .topic-strip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.hero-card {
    position: relative;
    min-height: 425px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 15%, rgba(255,255,255,.35) 0 2px, transparent 3px),
        radial-gradient(circle at 48% 23%, rgba(255,255,255,.32) 0 3px, transparent 4px),
        linear-gradient(118deg, #5d98f3 0%, #74b2ff 45%, #ad91f2 100%);
    background-size: auto, auto, cover;
    box-shadow: 0 16px 38px rgba(76,129,230,.18);
}
.hero-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(38,100,210,.38), transparent 60%); }
.hero-card::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -55%; height: 75%; background: rgba(255,255,255,.13); border-radius: 50%; transform: rotate(-4deg); }
.hero-card.has-image { background-position: center; background-size: cover; }
.hero-card.has-image .hero-placeholder { opacity: 0; }
.hero-copy { position: relative; z-index: 3; max-width: 610px; padding: 68px 48px; text-shadow: 0 2px 10px rgba(54, 80, 140, .16); }
.hero-kicker { display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: .18em; padding: 6px 12px; border: 1px solid rgba(255,255,255,.55); border-radius: 20px; background: rgba(255,255,255,.12); }
.hero-copy h1 { margin: 15px 0 6px; font-size: clamp(38px, 4.4vw, 70px); line-height: 1.08; letter-spacing: .03em; font-weight: 900; }
.hero-copy h1 b { color: #fff1a9; }
.hero-copy p { margin: 0; font-size: 19px; letter-spacing: .08em; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.hero-button { padding: 10px 23px; border-radius: 23px; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.13); font-weight: 700; }
.hero-button.primary { background: #fff; color: #5481dc; border-color: #fff; box-shadow: 0 8px 22px rgba(49,89,164,.18); }
.hero-placeholder { position: absolute; z-index: 2; right: 7%; bottom: 0; width: 330px; height: 390px; display: grid; place-items: center; }
.hero-character { position: relative; width: 210px; height: 245px; display: grid; place-items: center; border-radius: 48% 48% 40% 40%; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(224,236,255,.75)); box-shadow: 0 20px 40px rgba(40,76,156,.2); color: #6e8edc; }
.hero-character .face { width: 116px; height: 116px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #738fe7; font-weight: 900; font-size: 52px; box-shadow: inset 0 -12px 22px rgba(137,167,237,.16); }
.hero-character small { position: absolute; bottom: 24px; text-align: center; color: #9faedd; font-size: 10px; letter-spacing: .16em; line-height: 1.35; }
.hero-character .ear { position: absolute; top: -30px; width: 70px; height: 95px; background: linear-gradient(145deg, #dfeaff, #aabefa); border-radius: 85% 10% 70% 15%; z-index: -1; }
.hero-character .ear.left { left: 12px; transform: rotate(-26deg); }
.hero-character .ear.right { right: 12px; transform: rotate(26deg) scaleX(-1); }
.hero-ring { position: absolute; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.ring-one { width: 310px; height: 310px; }
.ring-two { width: 380px; height: 190px; transform: rotate(-18deg); }
.hero-sparkles i { position: absolute; z-index: 2; width: 8px; height: 8px; background: #fff; transform: rotate(45deg); border-radius: 2px; opacity: .8; }
.hero-sparkles i:nth-child(1) { left: 48%; top: 13%; }
.hero-sparkles i:nth-child(2) { left: 67%; top: 20%; width: 5px; height: 5px; }
.hero-sparkles i:nth-child(3) { right: 7%; top: 25%; }
.hero-sparkles i:nth-child(4) { left: 56%; bottom: 15%; width: 4px; height: 4px; }

.quick-entry { display: grid; grid-template-columns: repeat(8, 1fr); padding: 20px 12px 17px; }
.quick-entry a { min-width: 0; display: flex; align-items: center; flex-direction: column; gap: 4px; border-right: 1px solid #edf0f6; transition: transform .2s, color .2s; }
.quick-entry a:last-child { border-right: 0; }
.quick-entry a:hover { color: var(--blue-deep); transform: translateY(-2px); }
.quick-entry strong { margin-top: 3px; font-size: 15px; }
.quick-entry small { color: #a0a8b7; font-size: 11px; white-space: nowrap; }
.entry-icon { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 15px; color: #fff; box-shadow: 0 8px 18px rgba(86,120,180,.13); }
.entry-icon svg { width: 25px; height: 25px; }
.entry-1 { background: linear-gradient(135deg, #63a4fb, #567ce5); }
.entry-2 { background: linear-gradient(135deg, #52d1b6, #3aac9a); }
.entry-3 { background: linear-gradient(135deg, #aa78f6, #8159df); }
.entry-4 { background: linear-gradient(135deg, #ff829e, #ef5f86); }
.entry-5 { background: linear-gradient(135deg, #a983f4, #7f62e8); }
.entry-6 { background: linear-gradient(135deg, #ffae65, #ef8542); }
.entry-7 { background: linear-gradient(135deg, #5b9cf4, #4981dd); }
.entry-8 { background: linear-gradient(135deg, #47c9b4, #37a995); }

.content-panel, .topic-strip { padding: 0 14px 14px; }
.section-heading { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.section-heading > div:first-child { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
.section-heading > div:first-child > i { width: 4px; height: 20px; border-radius: 2px; background: linear-gradient(#578bfc, #6db5ff); align-self: center; }
.section-heading h2 { margin: 0; font-size: 19px; line-height: 1; }
.section-heading span { font-size: 12px; color: #929caf; }
.section-heading > a { flex: 0 0 auto; color: #8b96aa; font-size: 13px; }
.section-heading > a b { font-size: 20px; font-weight: 400; vertical-align: -1px; }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.news-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(76,102,153,.12); }
.card-cover, .archive-cover { position: relative; display: block; height: 150px; overflow: hidden; background-position: center; background-size: cover; }
.card-cover::before, .schedule-cover::before, .recommend-cover::before, .review-thumb::before, .archive-cover::before, .topic-card::before, .cosplay-grid a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.18), transparent 50%), radial-gradient(circle at 70% 20%, rgba(255,255,255,.28) 0 3%, transparent 4%), radial-gradient(circle at 28% 74%, rgba(255,255,255,.16) 0 12%, transparent 13%); }
.tone-1 { background: linear-gradient(135deg, #152550, #4757be 55%, #b12b80); }
.tone-2 { background: linear-gradient(135deg, #5b8ee8, #8ec5ff 55%, #c6b7ff); }
.tone-3 { background: linear-gradient(135deg, #e9ba83, #a980ca 50%, #5c4e9c); }
.tone-4 { background: linear-gradient(135deg, #18274c, #313a89 48%, #7d36b2); }
.tone-5 { background: linear-gradient(135deg, #556c99, #84b1c8 54%, #d6a1af); }
.tone-6 { background: linear-gradient(135deg, #ffa3bd, #ab8ae5 52%, #5e83d4); }
.cover-chip { position: absolute; z-index: 2; left: 9px; top: 9px; padding: 2px 8px; border-radius: 5px; background: rgba(87,116,226,.9); color: #fff; font-size: 11px; }
.cover-mark { position: absolute; right: 15px; bottom: 6px; color: rgba(255,255,255,.63); font-size: 28px; font-weight: 900; font-style: italic; letter-spacing: .08em; }
.news-card-body { padding: 11px 12px 10px; }
.news-card h3 { min-height: 44px; margin: 0 0 5px; font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { height: 36px; margin: 0 0 8px; color: #8d96a7; font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta-line { display: flex; align-items: center; gap: 7px; color: #9aa3b2; font-size: 11px; white-space: nowrap; overflow: hidden; }
.meta-line span:first-child { overflow: hidden; text-overflow: ellipsis; }
.meta-line span:last-child { margin-left: auto; color: #ff7b9e; }

.section-heading.with-tabs { justify-content: flex-start; }
.section-heading.with-tabs > a { margin-left: auto; }
.mini-tabs { display: flex; align-self: stretch; margin-left: 18px; }
.mini-tabs button { border: 0; padding: 0 16px; color: #7e899e; background: transparent; }
.mini-tabs button.active { color: var(--blue-deep); font-weight: 700; border-bottom: 3px solid var(--blue); }
.schedule-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.schedule-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.schedule-cover { position: relative; height: 125px; overflow: hidden; color: #fff; }
.schedule-cover b { position: absolute; z-index: 2; top: 8px; left: 8px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: #ff688d; }
.schedule-cover span { position: absolute; z-index: 2; right: 12px; bottom: 8px; text-align: right; color: rgba(255,255,255,.72); font-weight: 900; font-size: 18px; line-height: .9; }
.schedule-card > div:last-child { padding: 10px; }
.schedule-card h3 { margin: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedule-card p { margin: 1px 0; color: #8993a6; font-size: 12px; }
.schedule-card small { color: #8f99ab; font-size: 11px; }
.schedule-card small span { color: #ff7897; }

.community-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 9px; }
.community-grid a { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: .2s; }
.community-grid a:hover { border-color: #b7cbfa; transform: translateY(-2px); }
.community-grid .entry-icon { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto; }
.community-grid .entry-icon svg { width: 22px; }
.community-grid strong, .community-grid small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.community-grid strong { font-size: 13px; }
.community-grid small { color: #a0a8b6; font-size: 9px; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-card { position: relative; min-height: 178px; overflow: hidden; padding: 25px; border-radius: 18px; color: #fff; box-shadow: var(--shadow); }
.feature-card, .topic-card, .cosplay-grid a, .app-banner, .archive-banner, .schedule-cover, .review-thumb, .recommend-cover { background-position: center; background-size: cover; }
.feature-card::after { content: ""; position: absolute; right: -30px; bottom: -90px; width: 250px; height: 250px; border: 30px solid rgba(255,255,255,.08); border-radius: 50%; }
.feature-card > div { position: relative; z-index: 2; }
.feature-game { background: linear-gradient(135deg, #1c396f, #3b56aa 55%, #8558c4); }
.feature-psp { background: linear-gradient(135deg, #3174b9, #5596dd 55%, #52c2c9); }
.feature-card span { color: #bcd6ff; font-size: 12px; }
.feature-card h2 { margin: 4px 0 2px; font-size: 19px; }
.feature-card p { margin: 0 0 14px; color: rgba(255,255,255,.73); font-size: 12px; }
.feature-card a { display: inline-block; padding: 5px 14px; border: 1px solid rgba(255,255,255,.62); border-radius: 16px; font-size: 11px; }
.feature-card > b { position: absolute; z-index: 1; right: 24px; bottom: 12px; color: rgba(255,255,255,.13); font-size: 58px; font-style: italic; }

.review-list article { display: grid; grid-template-columns: 100px minmax(0,1fr) auto; gap: 12px; align-items: center; min-height: 68px; padding: 7px 2px; border-top: 1px solid #edf0f5; }
.review-thumb { position: relative; height: 56px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: rgba(255,255,255,.82); font-weight: 900; font-size: 19px; }
.review-list p { margin: 0 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-list p em { margin-right: 8px; color: #7663e3; font-size: 11px; font-style: normal; font-weight: 700; }
.review-list small, .review-count { color: #99a2b1; font-size: 11px; }
.review-count { white-space: nowrap; }
.topic-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 11px; }
.topic-card { position: relative; min-height: 138px; padding: 23px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-radius: 14px; color: #fff; }
.topic-card > * { position: relative; z-index: 2; }
.topic-card small { color: #b9d4ff; }
.topic-card strong { font-size: 21px; margin: 2px 0; }
.topic-card span { color: rgba(255,255,255,.72); font-size: 12px; }

.side-panel { padding: 15px; }
.side-heading { min-height: 36px; display: flex; justify-content: space-between; align-items: center; }
.side-heading h2 { margin: 0; padding-left: 10px; font-size: 18px; border-left: 3px solid var(--pink); }
.side-heading a { color: #929caf; font-size: 12px; }
.rank-tabs { display: grid; grid-template-columns: repeat(3,1fr); margin: 10px 0; padding: 3px; border-radius: 19px; background: #f5f7fb; }
.rank-tabs button { border: 0; border-radius: 16px; padding: 5px; color: #8892a5; background: transparent; font-size: 12px; }
.rank-tabs button.active { color: var(--blue-deep); background: #fff; box-shadow: 0 4px 10px rgba(83,109,160,.08); font-weight: 700; }
.rank-list { margin: 3px 0 10px; padding: 0; list-style: none; }
.rank-list li { min-width: 0; height: 41px; display: flex; align-items: center; gap: 9px; border-bottom: 1px dashed #edf0f5; }
.rank-list li:last-child { border-bottom: 0; }
.rank-list li b { width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #b8bec9; color: #fff; font-size: 11px; }
.rank-list li:nth-child(1) b { background: #ff6969; }
.rank-list li:nth-child(2) b { background: #ff9762; }
.rank-list li:nth-child(3) b { background: #f6b34d; }
.rank-list li a { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; }
.rank-list li span { margin-left: auto; color: #ff7d77; font-size: 10px; white-space: nowrap; }
.wide-more { display: block; padding: 8px; border: 1px solid #e5ebf5; border-radius: 8px; color: #5a83e6; text-align: center; font-size: 11px; background: #fafcff; }
.recommend-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.recommend-list a { display: grid; grid-template-columns: 53px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.recommend-cover { position: relative; height: 53px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 900; }
.recommend-list strong { min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recommend-list strong small { display: block; color: #ff9338; margin-top: 3px; }
.recommend-list em { padding: 2px 6px; border-radius: 8px; color: #59af9e; background: #edfaf6; font-size: 9px; font-style: normal; }
.avatar-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 4px; padding: 12px 0 3px; }
.avatar-row a { min-width: 0; text-align: center; }
.avatar { width: 45px; height: 45px; margin: 0 auto 4px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; border: 3px solid #fff; box-shadow: 0 3px 12px rgba(72,91,133,.16); }
.avatar.has-image, .footer-mascot.has-image { background-position: center; background-size: cover; color: transparent; }
.avatar-1 { background: #415270; }.avatar-2 { background: #8c83db; }.avatar-3 { background: #e68a96; }.avatar-4 { background: #c49a6c; }.avatar-5 { background: #6591d9; }
.avatar-row strong, .avatar-row small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.avatar-row strong { font-size: 10px; }.avatar-row small { color: #9da6b5; font-size: 8px; }
.cosplay-panel .side-heading h2 { color: var(--pink); }
.cosplay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding-top: 8px; }
.cosplay-grid a { position: relative; height: 118px; overflow: hidden; border-radius: 10px; }
.cosplay-grid a span { position: absolute; z-index: 2; left: 6px; right: 6px; bottom: 6px; padding: 3px; border-radius: 7px; color: #fff; background: rgba(40,49,82,.45); text-align: center; font-size: 9px; backdrop-filter: blur(5px); }
.carousel-dots { display: flex; justify-content: center; gap: 4px; padding-top: 8px; }
.carousel-dots i { width: 5px; height: 5px; border-radius: 5px; background: #d8dfeb; }
.carousel-dots i:first-child { width: 22px; background: var(--blue); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 10px; }
.tag-cloud a { padding: 3px 10px; border: 1px solid #e6ddff; border-radius: 14px; color: #8f6de0; background: #fbfaff; font-size: 11px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding-top: 10px; }
.stats-grid > div { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid #edf0f5; border-radius: 11px; }
.stats-grid i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #568ff5; background: #edf4ff; font-style: normal; }
.stats-grid div:nth-child(2) i { color: #f66d92; background: #fff0f5; }
.stats-grid div:nth-child(3) i { color: #ee973f; background: #fff5e8; }
.stats-grid div:nth-child(4) i { color: #5eb556; background: #effaed; }
.stats-grid span { color: #98a1af; font-size: 9px; }
.stats-grid strong { display: block; color: #3d4555; font-size: 12px; }
.app-banner { min-height: 175px; display: flex; align-items: center; justify-content: space-between; padding: 23px; overflow: hidden; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #567ddb, #7d6ceb 55%, #b080ef); box-shadow: var(--shadow); }
.app-banner > * { position: relative; z-index: 2; }
.app-banner small, .app-banner strong, .app-banner p { display: block; }
.app-banner strong { margin-top: 3px; font-size: 19px; }.app-banner p { margin: 2px 0 12px; color: rgba(255,255,255,.75); font-size: 11px; }
.app-banner a { display: inline-block; padding: 5px 13px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; font-size: 11px; }
.qr-placeholder { width: 72px; height: 72px; display: grid; place-items: center; flex: 0 0 auto; border: 6px double #222; color: #222; background: repeating-linear-gradient(45deg,#fff,#fff 3px,#222 3px,#222 5px); font-size: 8px; line-height: 1.1; text-align: center; text-shadow: 0 0 3px #fff; }
.qr-image { width: 78px; height: 78px; flex: 0 0 auto; object-fit: cover; border: 5px solid #fff; border-radius: 5px; }

.site-footer { margin-top: 28px; color: #dbe8ff; background: linear-gradient(135deg, #17366e, #214d99 55%, #183d7e); }
.footer-inner { width: min(1480px, calc(100% - 40px)); margin: 0 auto; padding: 45px 0 30px; display: grid; grid-template-columns: 1.25fr 1.7fr .65fr; gap: 55px; }
.footer-brand { display: flex; gap: 17px; align-items: center; }
.footer-mascot { width: 82px; height: 82px; display: grid; place-items: center; flex: 0 0 auto; border: 6px solid rgba(255,255,255,.25); border-radius: 50%; background: linear-gradient(145deg,#9ac3ff,#8f78dc); color: #fff; font-size: 30px; font-weight: 900; }
.footer-brand strong { font-size: 20px; color: #fff; }.footer-brand p { max-width: 320px; margin: 6px 0 0; color: #adc6ed; font-size: 12px; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.footer-links section { display: flex; flex-direction: column; gap: 5px; }
.site-footer h3 { margin: 0 0 8px; color: #fff; font-size: 14px; }.footer-links a, .footer-follow p { color: #afc6e8; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.social-row { display: flex; gap: 8px; }.social-row i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-style: normal; background: #4e79cf; }.social-row i:nth-child(2){background:#ef6f8e}.social-row i:nth-child(3){background:#54b27b}
.footer-follow p { line-height: 1.7; }
.footer-bottom { min-height: 53px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #91add7; font-size: 11px; }
.mobile-bottom-nav { display: none; }
.back-top { position: fixed; z-index: 80; right: 24px; bottom: 25px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(57,101,202,.25); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .2s; }
.back-top.visible { opacity: 1; transform: none; pointer-events: auto; }

/* 内容页 */
.inner-shell { min-height: 60vh; margin-top: 24px; }
.content-with-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; align-items: start; }
.article-card { padding: 28px 42px 36px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.breadcrumb { display: flex; gap: 8px; color: #9aa3b3; font-size: 12px; }
.breadcrumb a:hover { color: var(--blue-deep); }
.article-header { padding: 28px 0 24px; border-bottom: 1px solid #edf0f5; }
.article-category { display: inline-block; padding: 3px 10px; border-radius: 12px; color: var(--blue-deep); background: var(--blue-soft); font-size: 11px; }
.article-header h1 { margin: 13px 0 18px; font-size: clamp(27px,3vw,40px); line-height: 1.35; }
.article-meta { display: flex; align-items: center; gap: 10px; }
.author-avatar, .large-avatar { display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#7ca9fa,#9b7ee3); font-weight: 800; }
.author-avatar { width: 40px; height: 40px; }.article-meta strong, .article-meta small { display: block; }.article-meta small { color: #99a2b1; font-size: 11px; }
.article-cover { height: 420px; margin: 25px 0; border-radius: 16px; background-position: center; background-size: cover; }
.article-content { padding: 24px 0; font-size: 16px; line-height: 1.95; word-break: break-word; }
.article-content h2 { margin-top: 1.8em; font-size: 25px; }.article-content h3 { margin-top: 1.6em; font-size: 20px; }.article-content blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--blue); background: #f5f8ff; color: #66728a; }.article-content pre { overflow-x: auto; padding: 17px; border-radius: 12px; background: #242b3a; color: #ecf1fa; }.article-content code { padding: 2px 5px; border-radius: 4px; background: #f2f4f8; }.article-content pre code { padding: 0; background: none; }.article-content a { color: var(--blue-deep); border-bottom: 1px dashed #8bacf4; }.article-content img { display: block; margin: 22px auto; border-radius: 12px; }
.article-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 0; border-top: 1px solid #edf0f5; }
.article-tags { display: flex; gap: 7px; align-items: center; color: #99a2b1; }.article-tags a, .article-tags em { padding: 3px 9px; border-radius: 12px; color: #8068d5; background: #f6f2ff; font-size: 11px; font-style: normal; }
.article-actions { display: flex; gap: 8px; }.article-actions a { border: 1px solid #e4e9f2; border-radius: 16px; padding: 5px 12px; color: #6f7f9c; background: #fff; }
.article-near { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 15px 0 30px; }.article-near div { min-width: 0; padding: 13px; border-radius: 10px; background: #f7f9fc; }.article-near small { display: block; color: #a1a9b7; }.article-near a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.article-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 155px; }
.author-box { text-align: center; }.large-avatar { width: 74px; height: 74px; margin: 5px auto 8px; font-size: 24px; }.author-box h3 { margin: 0; }.author-box p { color: #8f99aa; font-size: 12px; }.author-box > a { display: block; padding: 8px; border-radius: 8px; color: var(--blue-deep); background: var(--blue-soft); }
.rank-list.compact li { height: auto; min-height: 43px; align-items: flex-start; padding: 8px 0; }.rank-list.compact li a { white-space: normal; line-height: 1.45; }
.page-card { max-width: 1000px; margin: 0 auto; }

/* 评论 */
.comments-area { margin-top: 20px; padding-top: 24px; border-top: 1px solid #edf0f5; }
.comments-title { display: flex; align-items: baseline; gap: 12px; }.comments-title h2 { margin: 0; font-size: 20px; }.comments-title span { color: #9ba4b3; font-size: 12px; }
.comment-list, .comment-list ol { list-style: none; padding: 0; }.comment-list > li { padding: 18px 0; border-bottom: 1px solid #edf0f5; }.comment-list ol { margin: 12px 0 0 48px; }.comment-list ol li { padding: 14px; border-radius: 10px; background: #f7f9fc; }.comment-author { font-weight: 700; }.comment-author img { width: 38px; height: 38px; margin-right: 9px; border-radius: 50%; vertical-align: middle; }.comment-meta { margin: 5px 0; color: #9ba4b3; font-size: 11px; }.comment-content { padding-left: 49px; }.comment-reply { text-align: right; }.comment-reply a { color: var(--blue-deep); font-size: 11px; }
.no-comments { margin: 14px 0; padding: 20px; border-radius: 10px; color: #9aa3b1; background: #f8f9fc; text-align: center; }
.respond { margin-top: 25px; }.respond h3 { font-size: 18px; }.comment-fields { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.comment-fields label { color: #7d8799; font-size: 11px; }.comment-fields input, .comment-textarea textarea { width: 100%; border: 1px solid #e1e7f0; border-radius: 9px; outline: none; background: #fbfcfe; }.comment-fields input { display: block; height: 40px; margin-top: 4px; padding: 0 10px; }.comment-textarea textarea { margin-top: 11px; padding: 13px; resize: vertical; }.comment-fields input:focus, .comment-textarea textarea:focus { border-color: #9cb7f6; background: #fff; box-shadow: 0 0 0 3px rgba(93,141,247,.08); }.comment-submit { margin-top: 10px; padding: 9px 24px; border: 0; border-radius: 20px; color: #fff; background: linear-gradient(135deg,#6899f6,#547be6); }.logged-info { color: #8792a5; }

/* 归档与 404 */
.archive-banner { padding: 38px; margin-bottom: 16px; overflow: hidden; border-radius: 20px; color: #fff; background: linear-gradient(135deg,#547fdc,#6ca7f6 58%,#9a7fe3); box-shadow: var(--shadow); }.archive-banner span { font-size: 11px; letter-spacing: .16em; opacity: .75; }.archive-banner h1 { margin: 5px 0; font-size: 32px; }.archive-banner p { margin: 0; opacity: .75; }
.archive-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }.archive-card { min-width: 0; display: grid; grid-template-columns: 180px minmax(0,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }.archive-cover { height: 100%; min-height: 170px; display: grid; place-items: center; color: rgba(255,255,255,.7); font-size: 24px; font-weight: 900; }.archive-card > div { min-width: 0; padding: 16px; }.archive-cat { color: var(--blue-deep); font-size: 11px; }.archive-card h2 { margin: 5px 0; font-size: 18px; line-height: 1.45; }.archive-card p { margin: 0 0 8px; color: #8791a3; font-size: 12px; }.archive-card small { color: #9ea6b4; font-size: 10px; }
.page-nav { margin: 20px 0; text-align: center; }.page-navigator { display: inline-flex; gap: 7px; padding: 0; list-style: none; }.page-navigator li a, .page-navigator li span { min-width: 34px; height: 34px; display: grid; place-items: center; padding: 0 8px; border: 1px solid #e2e7ef; border-radius: 8px; background: #fff; }.page-navigator .current a { color: #fff; border-color: var(--blue); background: var(--blue); }
.empty-state, .not-found { text-align: center; }.empty-state { grid-column: 1/-1; padding: 70px 20px; border-radius: 18px; background: #fff; }.empty-state > span { color: #8caaf0; font-size: 44px; }.empty-state a, .not-found > a { display: inline-block; padding: 9px 20px; border-radius: 20px; color: #fff; background: var(--blue); }
.not-found { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }.not-found-art { display: flex; align-items: center; gap: 15px; color: #6d8fe1; font-size: 80px; font-weight: 900; }.not-found-art b { width: 105px; height: 105px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#78aaff,#a081e5); font-size: 40px; }.not-found h1 { margin: 5px; }.not-found p { color: #909aaa; }

@media (max-width: 1250px) {
    .header-inner { gap: 20px; }
    .brand-copy small { display: none; }
    .home-layout { grid-template-columns: minmax(0,1fr) 300px; }
    .quick-entry { grid-template-columns: repeat(4,1fr); gap: 15px 0; }
    .quick-entry a:nth-child(4) { border-right: 0; }
    .community-grid { grid-template-columns: repeat(4,1fr); }
    .news-grid { grid-template-columns: repeat(2,1fr); }
    .card-cover { height: 175px; }
    .hero-copy { padding-left: 38px; }
    .hero-placeholder { right: 2%; transform: scale(.88); transform-origin: bottom right; }
    .archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    body { padding-bottom: 66px; }
    .site-header { position: relative; }
    .header-inner { height: auto; min-height: 75px; flex-wrap: wrap; gap: 10px; padding: 10px 0; }
    .brand { flex: 1; }.brand-copy strong { font-size: 22px; }.brand-mascot, .brand-logo-img { width: 48px; height: 48px; }
    .header-actions .button-primary, .notice-button { display: none; }
    .nav-wrap { width: 100%; height: 49px; padding-left: 16px; border-top: 1px solid #edf0f5; }
    .site-nav a { padding: 0 15px; }.site-nav a.active { color: var(--blue-deep); background: transparent; border-bottom: 3px solid var(--blue); border-radius: 0; }
    .publish-link { display: none; }
    .home-shell, .inner-shell { width: min(100% - 24px, 760px); margin-top: 12px; }
    .home-layout { display: block; }.home-primary, .home-sidebar { gap: 12px; }.home-sidebar { margin-top: 12px; }
    .hero-card { min-height: 330px; }.hero-copy { padding: 52px 34px; }.hero-placeholder { right: 0; width: 300px; height: 320px; transform: scale(.72); transform-origin: bottom right; }.hero-copy { max-width: 55%; }.hero-copy h1 { font-size: 38px; }.hero-copy p { font-size: 15px; }
    .cosplay-grid a { height: 180px; }
    .content-with-sidebar { display: block; }.article-sidebar { display: none; }.article-card { padding: 24px 30px; }
    .mobile-bottom-nav { position: fixed; z-index: 110; left: 0; right: 0; bottom: 0; height: 62px; display: grid; grid-template-columns: repeat(5,1fr); align-items: center; border-top: 1px solid #e6ebf3; background: rgba(255,255,255,.96); backdrop-filter: blur(15px); box-shadow: 0 -7px 25px rgba(58,83,130,.08); }
    .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8892a3; font-size: 10px; }.mobile-bottom-nav a > span { font-size: 20px; line-height: 1.1; }.mobile-bottom-nav a.active { color: var(--blue); }.mobile-bottom-nav .mobile-publish > span { width: 48px; height: 48px; margin-top: -25px; margin-bottom: 2px; display: grid; place-items: center; border: 5px solid #f7f9ff; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#68a1ff,#5b7de6); font-size: 28px; box-shadow: 0 7px 20px rgba(66,102,198,.22); }
    .site-footer { margin-bottom: 0; }.footer-inner { grid-template-columns: 1fr 1fr; }.footer-brand { grid-column: 1/-1; }.footer-follow { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 13px; background: #f7f9fd; }
    .header-inner { width: calc(100% - 24px); }.header-actions .button { min-width: 60px; height: 36px; padding: 0 13px; }.brand-copy strong { font-size: 20px; }
    .home-shell, .inner-shell { width: calc(100% - 16px); margin-top: 8px; }
    .home-primary, .home-sidebar { gap: 9px; }.card-surface, .content-panel, .side-panel, .topic-strip { border-radius: 14px; }
    .hero-card { min-height: 235px; border-radius: 15px; }.hero-copy { max-width: 68%; padding: 30px 20px; }.hero-kicker { font-size: 8px; padding: 3px 7px; }.hero-copy h1 { margin: 9px 0 4px; font-size: 29px; }.hero-copy p { font-size: 11px; }.hero-actions { margin-top: 16px; gap: 7px; }.hero-button { padding: 6px 12px; font-size: 10px; }
    .hero-placeholder { right: -29px; width: 220px; height: 220px; transform: scale(.48); }.hero-character { width: 195px; height: 230px; }
    .quick-entry { grid-template-columns: repeat(4,1fr); gap: 16px 0; padding: 18px 6px; }.quick-entry a { border-right: 0; }.entry-icon { width: 43px; height: 43px; border-radius: 13px; }.quick-entry strong { font-size: 12px; }.quick-entry small { display: none; }
    .content-panel, .topic-strip { padding: 0 9px 9px; }.section-heading { min-height: 48px; }.section-heading h2 { font-size: 16px; }.section-heading span { display: none; }.section-heading > div:first-child > i { height: 16px; }.section-heading > a { font-size: 11px; }
    .news-grid { display: block; }.news-card { display: grid; grid-template-columns: 128px minmax(0,1fr); margin-bottom: 8px; border-radius: 10px; }.news-card:last-child { margin-bottom: 0; }.card-cover { height: 112px; }.cover-mark { font-size: 17px; }.news-card-body { padding: 9px; }.news-card h3 { min-height: auto; margin-bottom: 7px; font-size: 13px; }.news-card p { display: none; }.meta-line { margin-top: 15px; font-size: 9px; }
    .section-heading.with-tabs { flex-wrap: wrap; padding-bottom: 7px; }.mini-tabs { order: 3; width: 100%; height: 31px; margin: -3px 0 0; border-radius: 16px; background: #f4f6fa; }.mini-tabs button { flex: 1; padding: 0; font-size: 10px; }.mini-tabs button.active { border: 0; border-radius: 16px; color: #fff; background: var(--blue); }
    .schedule-grid { display: flex; overflow-x: auto; padding-bottom: 3px; scroll-snap-type: x mandatory; }.schedule-card { min-width: 155px; scroll-snap-align: start; }.schedule-cover { height: 105px; }
    .community-grid { grid-template-columns: repeat(2,1fr); }.community-grid a { padding: 10px 7px; }.community-grid .entry-icon { width: 36px; height: 36px; }
    .feature-row { grid-template-columns: 1fr; gap: 8px; }.feature-card { min-height: 142px; padding: 19px; }.feature-card h2 { font-size: 17px; }.feature-card > b { font-size: 45px; }
    .review-list article { grid-template-columns: 75px minmax(0,1fr); gap: 8px; }.review-thumb { height: 50px; }.review-count { display: none; }.review-list p { font-size: 12px; }
    .topic-grid { grid-template-columns: 1fr; }.topic-card { min-height: 115px; }.topic-card strong { font-size: 17px; }
    .cosplay-grid a { height: 135px; }
    .avatar-row { gap: 2px; }.avatar { width: 43px; height: 43px; }.app-banner { min-height: 145px; }
    .footer-inner { width: calc(100% - 32px); padding: 28px 0 22px; display: block; }.footer-brand { margin-bottom: 25px; }.footer-mascot { width: 66px; height: 66px; }.footer-brand strong { font-size: 17px; }.footer-links { gap: 18px; }.footer-links a { font-size: 10px; }.footer-bottom { padding: 10px 20px; gap: 5px; flex-direction: column; }
    .article-card { padding: 20px 17px; border-radius: 14px; }.article-header { padding: 20px 0; }.article-header h1 { font-size: 25px; }.article-content { font-size: 15px; }.article-cover { height: 230px; }.article-footer { align-items: flex-start; flex-direction: column; }.article-near { grid-template-columns: 1fr; }.comment-fields { grid-template-columns: 1fr; }.comment-list ol { margin-left: 18px; }.comment-content { padding-left: 0; }.archive-banner { padding: 26px 20px; border-radius: 14px; }.archive-banner h1 { font-size: 25px; }.archive-card { grid-template-columns: 115px minmax(0,1fr); }.archive-cover { min-height: 150px; }.archive-card > div { padding: 12px; }.archive-card h2 { font-size: 15px; }.archive-card p { display: none; }
    .back-top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
