﻿* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #1a1a2e; }
html, body { width: 100%; overflow-x: hidden; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; transition: background 0.8s ease; min-height: 100vh; line-height: 1.4; }
.theme-bamboo { --primary: #4a7c59; --primary-dark: #2d5a3d; --primary-light: rgba(74,124,89,0.12); --primary-rgb: 74,124,89; background: linear-gradient(180deg, #f0f7f0 0%, #d4e8d4 40%, #b8d8b8 100%); color: #333; }
.theme-sea { --primary: #1565c0; --primary-dark: #0d47a1; --primary-light: rgba(21,101,192,0.12); --primary-rgb: 21,101,192; background: linear-gradient(180deg, #e3f2fd 0%, #bbdefb 40%, #90caf9 100%); color: #333; }
.theme-sky { --primary: #0288d1; --primary-dark: #01579b; --primary-light: rgba(2,136,209,0.12); --primary-rgb: 2,136,209; background: linear-gradient(180deg, #e1f5fe 0%, #b3e5fc 40%, #81d4fa 100%); color: #333; }
.theme-ginkgo { --primary: #e67e22; --primary-dark: #d35400; --primary-light: rgba(230,126,34,0.12); --primary-rgb: 230,126,34; background: linear-gradient(180deg, #fff8e7 0%, #ffe4b5 40%, #ffd89b 100%); color: #333; }
.theme-star { --primary: #7986cb; --primary-dark: #5c6bc0; --primary-light: rgba(121,134,203,0.25); --primary-rgb: 121,134,203; background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: #e8eaf6; }
.theme-star .top-bar { background: rgba(20,25,50,0.6) !important; color: #c5cae9 !important; }
.theme-star .top-bar a { color: #9fa8da !important; }
.theme-star .site-nav { background: rgba(20,25,50,0.85) !important; color: #e8eaf6; }
.theme-star .site-nav .nav-item { color: #c5cae9; }
.theme-star .site-nav .nav-item:hover { color: #fff; background: rgba(121,134,203,0.2); }
.theme-star .site-nav .nav-item.nav-active { color: #fff !important; background: rgba(121,134,203,0.25); }
.theme-star .site-nav .nav-item::after { background: #fff; }
.theme-star .theme-dropdown { background: rgba(25,32,60,0.97) !important; box-shadow: 0 6px 20px rgba(0,0,0,0.5) !important; }
.theme-star .theme-dropdown > div { color: #c5cae9; }
.theme-star .cat-table { background: rgba(25,32,60,0.9) !important; }
.theme-star .cat-table td { color: #c5cae9 !important; border-color: rgba(121,134,203,0.4) !important; }
.theme-star .cat-table td:hover { background: var(--primary) !important; color: #fff !important; }
.theme-star .site-footer { background: rgba(20,25,50,0.9) !important; color: #9fa8da !important; }
.theme-star .site-footer a { color: #9fa8da !important; }
.theme-star #remember-label { color: #b0b8d8 !important; }
.theme-star #remember-label:hover { color: #fff !important; }
.theme-star a[onclick*="忘记密码"] { color: #9fa8da !important; }
.theme-star a[onclick*="忘记密码"]:hover { color: #fff !important; }
.theme-star .footer-inner { background: rgba(25,32,60,0.92) !important; }
.theme-star .footer-inner a { color: #b0b8d8 !important; }
.theme-star .footer-inner a:hover { color: #fff !important; }
.theme-star .module-card { background: rgba(25,32,60,0.92) !important; }
.theme-star .module-card h3 { color: #fff !important; }
.theme-star .module-card .subcat-tags { color: #9fa8da; }
.theme-star .module-card .subcat-tags span { color: #9fa8da !important; }
.theme-star .grid-card { background: rgba(30,38,70,0.85) !important; color: #c5cae9 !important; }
.theme-star .grid-card:hover { background: rgba(121,134,203,0.3) !important; color: #fff !important; }
.theme-star .banner-box { background: rgba(25,32,60,0.92) !important; color: #e8eaf6 !important; }
.theme-star .banner-box h3 { color: #fff !important; }
.theme-star .module-card { background: rgba(25,32,60,0.92) !important; color: #e8eaf6 !important; }
.theme-star .module-card h3 { color: #fff !important; }
.theme-star .module-card .subcat-tags { color: #9fa8da !important; }
.theme-star .module-card .subcat-tags span { color: #9fa8da !important; }
.theme-star .timeline-item { border-left-color: rgba(121,134,203,0.5) !important; }
.theme-star .timeline-item::before { background: var(--primary) !important; box-shadow: 0 0 0 3px rgba(121,134,203,0.25) !important; }
.theme-star .timeline-item div[style*="opacity:0.65"],
.theme-star .timeline-item div[style*="opacity:0.55"] { opacity: 0.85 !important; color: #9fa8da !important; }
.theme-star .rank-num { background: rgba(121,134,203,0.4) !important; color: #c5cae9 !important; }
.theme-star .rank-item.top1 .rank-num { background: linear-gradient(135deg, #ffd700, #ffb300) !important; color: #333 !important; }
.theme-star .rank-item.top2 .rank-num { background: linear-gradient(135deg, #c0c0c0, #a0a0a0) !important; color: #333 !important; }
.theme-star .rank-item.top3 .rank-num { background: linear-gradient(135deg, #cd7f32, #a0522d) !important; color: #fff !important; }
.recommend-list { flex:1; display:flex; flex-direction:column; justify-content:space-around; padding:2px 0; }
.rec-item { display:flex; align-items:center; gap:8px; padding:5px 8px; border-radius:6px; font-size:13px; cursor:pointer; transition:all 0.25s ease; line-height:1.4; }
.rec-item:hover { background:var(--primary-light); transform:translateX(3px); }
.rec-rank { width:22px; height:22px; display:flex; align-items:center; justify-content:center; border-radius:5px; font-size:12px; font-weight:700; color:#fff; flex-shrink:0; background:#c0c0c0; letter-spacing:0; box-shadow:0 1px 3px rgba(0,0,0,0.1); }
.rec-item.rec-top1 .rec-rank { background:linear-gradient(135deg,#ffd700,#ffb300); color:#5c3b00; box-shadow:0 2px 6px rgba(255,179,0,0.35); }
.rec-item.rec-top2 .rec-rank { background:linear-gradient(135deg,#e0e0e0,#b0b0b0); color:#444; box-shadow:0 2px 6px rgba(176,176,176,0.3); }
.rec-item.rec-top3 .rec-rank { background:linear-gradient(135deg,#e8a87c,#c08050); color:#fff; box-shadow:0 2px 6px rgba(192,128,80,0.3); }
.rec-item.rec-other .rec-rank { background:rgba(var(--primary-rgb),0.2); color:var(--primary); }
.rec-cat-tag { display:inline-block; padding:2px 10px; border-radius:10px; background:var(--primary); color:#fff; font-size:11px; font-weight:500; flex-shrink:0; white-space:nowrap; letter-spacing:0.3px; opacity:0.85; transition:all 0.2s; }
.rec-item:hover .rec-cat-tag { opacity:1; }
.rec-title { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; color:#333; font-weight:500; }
.theme-star .rec-title { color:#e0e5f5; }
.rec-item:hover .rec-title { color:var(--primary) !important; }
.rec-author { font-size:11px; opacity:0.55; flex-shrink:0; color:#888; }
.theme-star .rec-author { color:#9fa8da; }
.theme-star .rec-cat-tag { background:var(--primary); color:#fff; opacity:0.9; }
.theme-star .rec-item.rec-other .rec-rank { background:rgba(121,134,203,0.3); color:#c5cae9; }
.theme-star .rec-item:hover { background:rgba(121,134,203,0.2); }
.theme-star .rank-num-badge { background: rgba(121,134,203,0.5) !important; color: #fff !important; }
.theme-star .glass-card label { color: #c5cae9 !important; }
.theme-star .tab-btn { color: #9fa8da !important; }
.theme-star .tab-btn.active { color: #fff !important; border-bottom-color: #fff !important; }
.theme-star .tab-content { color: #c5cae9 !important; }
.theme-star .subcat-tag { color: #9fa8da !important; }
.theme-star .subcat-tag.active { color: #fff !important; background: rgba(121,134,203,0.35) !important; }
.theme-star .article-item { background: rgba(25,32,60,0.85) !important; color: #c5cae9 !important; }
.theme-star .article-item:hover { background: rgba(121,134,203,0.3) !important; color: #fff !important; }
.theme-star .login-card { background: rgba(25,32,60,0.92) !important; color: #e8eaf6 !important; }
.theme-star .login-card input { background: rgba(255,255,255,0.08) !important; color: #fff !important; border-color: rgba(121,134,203,0.4) !important; }
.theme-star .login-card input::placeholder { color: #7986cb; }
.theme-star .login-card .login-title { color: #fff !important; }
.theme-star .notice-card { background: rgba(25,32,60,0.92) !important; color: #c5cae9 !important; }
.theme-star .notice-card .notice-title { color: #fff !important; }
.theme-star .page-btn.active { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }
.theme-star .side-box-title { color: #fff !important; border-bottom-color: var(--primary) !important; }
.theme-star .submit-btn { background: linear-gradient(135deg, #7986cb, #5c6bc0) !important; color: #fff !important; }
.theme-star .glass-card input,
.theme-star .glass-card select,
.theme-star .glass-card textarea { background: rgba(255,255,255,0.08) !important; color: #e8eaf6 !important; border-color: rgba(255,255,255,0.2) !important; }
.theme-star .glass-card input:read-only,
.theme-star .glass-card select:disabled { background: rgba(255,255,255,0.05) !important; color: #7986cb !important; cursor: not-allowed !important; }
.theme-star .glass-card input::placeholder,
.theme-star .glass-card textarea::placeholder { color: rgba(197,202,233,0.5) !important; }
.theme-star .glass-card label { color: #c5cae9 !important; }
.theme-star .img-placeholder { background: rgba(121,134,203,0.15) !important; color: #7986cb !important; }
.theme-star .module-card h3,
.theme-star .glass-card h3,
.theme-star .glass-card h4 { color: #fff !important; }
.theme-sunset { --primary: #e74c3c; --primary-dark: #c0392b; --primary-light: rgba(231,76,60,0.12); --primary-rgb: 231,76,60; background: linear-gradient(180deg, #fff5f0 0%, #ffd6cc 40%, #ffb3a7 100%); color: #333; }
.theme-aurora { --primary: #009688; --primary-dark: #00695c; --primary-light: rgba(0,150,136,0.12); --primary-rgb: 0,150,136; background: linear-gradient(180deg, #e0f2f1 0%, #b2dfdb 40%, #80cbc4 100%); color: #333; }
.glass-card { background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); border-radius: 0; box-shadow: none; }
.main-col > .glass-card { border-top: none !important; }
.main-col .glass-card h3 { color: var(--primary) !important; }
.theme-star .glass-card { background: rgba(30,40,70,0.92); color: #e8eaf6; }
.theme-star .glass-card input { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); }
.theme-star table { background: rgba(30,40,70,0.92); color: #e8eaf6; }
#latest-update .glass-card h4 { border-bottom-color: var(--primary-light) !important; color: var(--primary) !important; }
#latest-update .timeline-item { background: var(--primary-light) !important; border-left-color: var(--primary) !important; color: #333 !important; }
#latest-update .timeline-item:hover { background: rgba(var(--primary-rgb),0.18) !important; }
#latest-update .timeline-item > div:first-child,
#latest-update .timeline-item > div:last-child { color: var(--primary) !important; opacity: 0.7 !important; }
#latest-update .timeline-item .article-item { color: var(--primary-dark) !important; }
#latest-update .timeline-item .article-item:hover { color: var(--primary) !important; }
.theme-star #latest-update .timeline-item { background: rgba(121,134,203,0.15) !important; color: #e8eaf6 !important; }
.theme-star #latest-update .timeline-item .article-item { color: #fff !important; }
.theme-star #latest-update .timeline-item .article-item:hover { color: #c5cae9 !important; }
.ginkgo-leaf { width: 38px; height: 38px; }
.nav-item { position: relative; transition: all 0.3s ease; }
.nav-item::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--primary); transition: all 0.3s ease; transform: translateX(-50%); }
.nav-item:hover::after { width: 80%; }
.nav-item:hover { color: var(--primary); background: var(--primary-light); }
.nav-item.nav-active { color: var(--primary); background: var(--primary-light); }
.nav-item.nav-active::after { width: 80%; }
.theme-dropdown { position: absolute; top: 100%; right: 0; min-width: 130px; z-index: 9999; display: none; border-radius: 6px; margin-top: 0; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.theme-menu:hover .theme-dropdown { display: block; }
.category-cell { transition: all 0.25s ease; border: 1px dashed var(--primary); }
.category-cell:hover { background: var(--primary); color: #fff !important; }
.category-cell:hover a { color: #fff !important; }
.category-cell.active-cell { background: var(--primary); color: #fff !important; font-weight: 700; }
.theme-star .category-cell.active-cell { background: var(--primary); color: #fff !important; }
.cat-mod2 { background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); border: none; border-radius: 0; box-shadow: none; padding: 16px 18px; }
.theme-star .cat-mod2 { background: rgba(30,40,70,0.92); }
.cat-mod-head2 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cat-seal2 { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg,var(--primary),var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 3px 8px rgba(var(--primary-rgb),0.3); flex-shrink: 0; }
.cat-tt2 { font-size: 16px; font-weight: 800; color: var(--primary-dark); letter-spacing: .5px; }
.theme-star .cat-tt2 { color: #fff; }
.cat-st2 { font-size: 11px; color: var(--primary); opacity: .75; margin-top: 1px; }
.theme-star .cat-st2 { color: #9fa8da; }
.cat-ln2 { flex: 1; height: 1px; background: linear-gradient(90deg,rgba(var(--primary-rgb),0.4),rgba(var(--primary-rgb),0.05)); }
.cat-grid2 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.cat-cell2 { background: #fff; border-radius: 14px; padding: 15px 12px; text-align: center; cursor: pointer; border: 1px solid rgba(var(--primary-rgb),0.14); box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.08); transition: all .22s; position: relative; overflow: hidden; }
.cat-cell2::after { content: '\2192'; position: absolute; right: 10px; bottom: 8px; font-size: 14px; color: var(--primary); opacity: 0; transform: translateX(-6px); transition: all .22s; }
.cat-cell2:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(var(--primary-rgb),0.2); border-color: var(--primary); }
.cat-cell2:hover::after { opacity: 1; transform: translateX(0); }
.cat-ico2 { width: 46px; height: 46px; border-radius: 12px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: linear-gradient(135deg,rgba(var(--primary-rgb),0.12),rgba(var(--primary-rgb),0.07)); box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb),0.1); }
.cat-nm2 { font-size: 13px; font-weight: 700; color: #333; }
.theme-star .cat-nm2 { color: #e0e5f5; }
.cat-ct2 { font-size: 11px; color: #888; margin-top: 3px; }
.cat-ct2 b { color: var(--primary); }
.theme-star .cat-cell2 { background: rgba(30,38,70,0.85); border-color: rgba(121,134,203,0.3); }
.theme-star .cat-cell2:hover { background: rgba(121,134,203,0.3); }
.theme-star .cat-ct2 { color: #9fa8da; }
.carousel-slide { display: none; width: 100%; height: 100%; }
.carousel-slide.active { display: block; }
.article-item { transition: all 0.25s ease; color: #555; }
.theme-star .article-item { color: #ccc; }
.article-item:hover { color: var(--primary) !important; background: var(--primary-light); }
.tab-btn.active { color: var(--primary); border-bottom: 2px solid var(--primary); font-weight: 600; }
.timeline-item { position: relative; padding-left: 18px; border-left: 2px solid var(--primary); margin-left: 4px; }
.timeline-item::before { content: ''; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.rank-item.top1 .rank-num { background: linear-gradient(135deg, #ffd700, #ffb300); color: #fff; }
.rank-item.top2 .rank-num { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #fff; }
.rank-item.top3 .rank-num { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }
.timeline-item { min-width: 0; overflow: hidden; }
#latest-update .glass-card,
.side-col .glass-card { min-width: 0; }
.rank-item { min-width: 0; }
.rank-item { display: flex; align-items: center; gap: 8px; }
.rank-item .rank-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-item .rank-num, .rank-item .rank-views { flex-shrink: 0; }
.list-page-wrap { width: 100%; display: flex; justify-content: center; padding-top: 8px; }
.list-page-inner { width: 80%; display: flex; gap: 8px; align-items: flex-start; }
.list-page-main { flex: 1; min-width: 0; background: rgba(255,255,255,0.95); border: 1px solid rgba(var(--primary-rgb),0.2); }
.list-page-side { flex: 0 0 240px; width: 240px; display: flex; flex-direction: column; gap: 8px; }
.theme-star .list-page-main { background: rgba(30,40,70,0.92); color: #e8eaf6; border-color: rgba(100,120,180,0.3); }
.theme-star .list-page-side .side-box { background: rgba(30,40,70,0.92); color: #e8eaf6; border: 1px solid rgba(100,120,180,0.3); }
.list-page-title-bar { padding: 8px 12px; border-bottom: 2px solid var(--primary); display: flex; align-items: center; gap: 8px; }
.list-page-title-bar .crumb { font-size: 13px; color: #888; }
.theme-star .list-page-title-bar .crumb { color: #b0b8d8; }
.list-page-title-bar .crumb a { cursor: pointer; }
.list-page-title-bar .current-title { font-size: 16px; font-weight: 700; color: var(--primary); }
.list-article-item { padding: 12px 14px; border-bottom: 1px dotted rgba(var(--primary-rgb),0.15); transition: background 0.2s; cursor: pointer; }
.list-article-item:hover { background: var(--primary-light); }
.list-article-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 6px; line-height: 1.5; }
.theme-star .list-article-title { color: #e8eaf6; }
.list-article-title:hover { color: var(--primary); }
.list-article-summary { font-size: 12px; color: #777; line-height: 1.7; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-star .list-article-summary { color: #b0b8d8; }
.list-article-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: #999; }
.theme-star .list-article-meta { color: #9fa8da; }
.list-article-meta .meta-tag { padding: 1px 6px; border-radius: 2px; background: rgba(var(--primary-rgb),0.1); color: var(--primary); font-size: 11px; }
.list-pagination { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 14px 0; }
.page-btn { min-width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; border: 1px solid rgba(var(--primary-rgb),0.3); background: #fff; font-size: 13px; cursor: pointer; transition: all 0.2s; color: #555; border-radius: 2px; }
.theme-star .page-btn { background: rgba(40,50,80,0.9); color: #c5cae9; border-color: rgba(100,120,180,0.3); }
.page-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.page-btn.disabled:hover { background: #fff; color: #555; border-color: rgba(var(--primary-rgb),0.3); }
.theme-star .page-btn.disabled:hover { background: rgba(40,50,80,0.9); color: #ccc; border-color: rgba(100,120,180,0.3); }
.small-tag { transition: all 0.25s ease; color: #777; }
.theme-star .small-tag { color: #b0b8d8; }
.small-tag:hover { color: #fff !important; background: var(--primary); }
a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--primary); }
input { outline: none; }
input:focus { border-color: var(--primary) !important; box-shadow: 0 0 0 2px var(--primary-light); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
.hidden { display: none !important; }
img { display: block; }
.module-wrap { width: 100%; display: flex; justify-content: center; }
.module-inner { width: 80%; display: flex; align-items: stretch; min-width: 0; }
.side-col { flex: 0 0 260px !important; width: 260px !important; min-width: 0; overflow: hidden; }
.main-col { flex: 1; min-width: 0; overflow: hidden; }
.subcat-tag { transition: all 0.25s ease; cursor: pointer; position: relative; }
.subcat-tag:hover { color: #fff !important; background: var(--primary); }
.subcat-tag.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }
.subcat-content { min-height: 280px; }
.subcat-pane { display: none; }
.subcat-pane.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.cat-page-wrap { width: 100%; display: flex; justify-content: center; padding-top: 8px; }
.cat-page-inner { width: 80%; display: flex; gap: 2px; align-items: flex-start; }
.cat-page-main { flex: 1; min-width: 0; background: #fff; padding: 14px 16px; border: 1px solid rgba(var(--primary-rgb),0.2); }
.cat-page-side { flex: 0 0 230px; width: 230px; display: flex; flex-direction: column; gap: 2px; }
.theme-star .cat-page-main { background: rgba(30,40,70,0.92); color: #e8eaf6; border-color: rgba(100,120,180,0.3); }
.theme-star .cat-page-side .side-box { background: rgba(30,40,70,0.92); color: #e8eaf6; border: 1px solid rgba(100,120,180,0.3); }
.cat-page-title-bar { display: flex; justify-content: flex-start; align-items: center; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 2px solid var(--primary); flex-wrap: nowrap; gap: 16px; }
.cat-page-title { font-size: 22px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; writing-mode: horizontal-tb; }
.cat-page-title span { white-space: nowrap; display: inline-block; }
.cat-page-title::before { content:''; width:5px;height:24px;background:var(--primary);border-radius:2px;display:inline-block;flex-shrink:0; }
.cat-page-subtabs { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; align-items: center; }
.cat-page-subtabs a { font-size: 13px; color: #555; transition: color 0.2s; text-decoration: none; cursor: pointer; padding: 2px 0; }
.theme-star .cat-page-subtabs a { color: #b0b8d8; }
.cat-page-subtabs a:hover { color: var(--primary); }
.cat-page-subtabs a.active {
color: #555 !important;
font-weight: normal !important;
border-bottom: none !important;
}
.theme-star .cat-page-subtabs a.active {
color: #b0b8d8 !important;
}
.subcat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-page-subtabs { position: relative; padding: 2px 0; gap: 8px !important; }
.cat-page-subtabs a {
position: relative;
z-index: 1;
padding: 3px 2px !important;
font-size: 12px !important;
transition: color 0.28s ease;
white-space: nowrap;
}
.cat-page-subtabs a::after {
content: '';
position: absolute;
bottom: -2px;
left: 50%;
width: 0;
height: 2px;
background: var(--primary);
transition: width 0.28s ease, left 0.28s ease;
border-radius: 1px;
}
.cat-page-subtabs a:hover {
color: var(--primary) !important;
}
.cat-page-subtabs a:hover::after {
width: 100%;
left: 0;
}
.cat-page-subtabs a.active {
color: inherit;
font-weight: normal;
}
.subcat-block { border: 1px solid rgba(var(--primary-rgb),0.15); border-radius: 2px; overflow: hidden; }
.subcat-block-header { background: linear-gradient(90deg, rgba(var(--primary-rgb),0.18), rgba(var(--primary-rgb),0.06)); padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--primary); border-bottom: 1px solid rgba(var(--primary-rgb),0.15); }
.subcat-block-body { padding: 10px 12px; }
.block-featured { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed rgba(var(--primary-rgb),0.2); }
.block-featured-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 5px; line-height: 1.4; }
.theme-star .block-featured-title { color: #e8eaf6; }
.block-featured-excerpt { font-size: 12px; color: #888; line-height: 1.7; }
.theme-star .block-featured-excerpt { color: #b0b8d8; }
.block-article-list { display: flex; flex-direction: column; }
.block-article-item { display: flex; align-items: center; padding: 4px 0; font-size: 13px; color: #444; cursor: pointer; transition: color 0.2s; border-bottom: 1px dotted rgba(0,0,0,0.05); }
.theme-star .block-article-item { color: #c5cae9; border-bottom-color: rgba(255,255,255,0.08); }
.block-article-item:hover { color: var(--primary); }
.block-article-item .flower { color: var(--primary); margin-right: 6px; font-size: 11px; flex-shrink: 0; }
.block-article-item .art-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.block-article-item .art-date { font-size: 11px; color: #999; margin-left: 8px; flex-shrink: 0; }
.theme-star .block-article-item .art-date { color: #9fa8da; }
.side-box { background: rgba(255,255,255,0.92); padding: 12px 14px; }
.side-box-title { font-size: 15px; font-weight: 700; color: var(--primary); padding-bottom: 6px; margin-bottom: 8px; border-bottom: 2px solid var(--primary); display: flex; align-items: center; gap: 4px; }
.side-rank-item { display: flex; align-items: center; padding: 4px 0; font-size: 13px; cursor: pointer; gap: 8px; transition: color 0.2s; border-bottom: 1px dotted rgba(0,0,0,0.05); }
.theme-star .side-rank-item { color: #c5cae9; border-bottom-color: rgba(255,255,255,0.08); }
.side-rank-item:hover { color: var(--primary); }
.side-rank-num { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 3px; font-size: 11px; font-weight: 700; color: #fff; background: #b0b0b0; flex-shrink: 0; }
.side-rank-item:nth-child(1) .side-rank-num,
.side-rank-item:nth-child(2) .side-rank-num,
.side-rank-item:nth-child(3) .side-rank-num { background: var(--primary); }
.side-rank-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-page-wrap { width: 100%; display: flex; justify-content: center; padding-top: 8px; }
.detail-page-inner { width: 80%; display: flex; gap: 8px; align-items: flex-start; }
.detail-page-main { flex: 1; min-width: 0; background: rgba(255,255,255,0.95); border: 1px solid rgba(var(--primary-rgb),0.2); padding: 24px 32px; }
.detail-page-side { flex: 0 0 280px; width: 280px; display: flex; flex-direction: column; gap: 8px; }
.theme-star .detail-page-main { background: rgba(30,40,70,0.92); color: #e8eaf6; border-color: rgba(100,120,180,0.3); }
.theme-star .detail-page-side .side-box { background: rgba(30,40,70,0.92); color: #e8eaf6; border: 1px solid rgba(100,120,180,0.3); }
.detail-breadcrumb { font-size: 13px; color: #888; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(var(--primary-rgb),0.15); }
.theme-star .detail-breadcrumb { color: #b0b8d8; }
.detail-breadcrumb a { cursor: pointer; color: #888; }
.detail-breadcrumb a:hover { color: var(--primary); }
.theme-star .detail-breadcrumb a { color: #b0b8d8; }
.detail-article-title { font-size: 28px; font-weight: 700; color: var(--primary); font-family: 'Songti SC','STSong','SimSun','Source Han Serif CN','Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',serif; line-height: 1.4; margin-bottom: 16px; letter-spacing: 1px; }
.detail-author-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--primary-light); border-radius: 8px; margin-bottom: 24px; }
.detail-author-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 20px; background: linear-gradient(135deg,var(--primary),var(--primary-dark)); box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.3); flex-shrink: 0; }
.detail-author-info { flex: 1; }
.detail-author-name { font-size: 15px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.detail-author-meta { font-size: 12px; color: #888; margin-top: 4px; display: flex; gap: 14px; flex-wrap: wrap; }
.theme-star .detail-author-meta { color: #b0b8d8; }
.detail-cat-tag { padding: 2px 8px; border-radius: 3px; background: var(--primary); color: #fff !important; font-size: 11px; }
.level-badge { display: inline-flex; align-items: center; justify-content: center; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap; letter-spacing: 0.3px; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.detail-article-body { font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 28px; }
.theme-star .detail-article-body { color: #e8eaf6; }
.reader-toolbar { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:8px 12px; margin-bottom:14px; background:var(--primary-light); border-radius:8px; font-size:12px; color:#666; }
.reader-toolbar .rt-group { display:flex; align-items:center; gap:5px; }
.reader-toolbar .rt-label { font-weight:600; color:var(--primary); }
.reader-toolbar .rt-btn-sm { border:1px solid rgba(0,0,0,0.14); background:#fff; border-radius:4px; padding:2px 9px; cursor:pointer; font-size:12px; line-height:1.5; }
.reader-toolbar .rt-btn { border:none; background:var(--primary); color:#fff; border-radius:5px; padding:4px 12px; cursor:pointer; font-size:12px; }
.detail-article-body.reader-night { background:#1c2230; color:#c8d0dc; border-radius:8px; padding:16px 18px; }
.detail-article-body.reader-night p { color:#c8d0dc; }
.detail-article-body.reader-night blockquote { background:#27304a; border-left-color:var(--primary); color:#d4dcea; }
.detail-article-body p { text-indent: 2em; margin-bottom: 16px; }
.detail-article-body img { max-width: 100%; border-radius: 4px; margin: 12px auto; }
.detail-article-body blockquote { border-left: 3px solid var(--primary); padding: 8px 16px; margin: 16px 0; background: var(--primary-light); border-radius: 0 4px 4px 0; }
.prevnext { margin: 0 0 6px; padding-top: 4px; }
.prevnext-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #888; margin-bottom: 10px; }
.prevnext-grid { display: flex; justify-content: space-between; align-items: center; }
.pn-item { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; color: var(--primary); transition: transform 0.25s; }
.pn-item:hover:not(.disabled) { transform: translateX(-5px) scale(1.04); }
.pn-item.next:hover:not(.disabled) { transform: translateX(5px) scale(1.04); }
.pn-item .pn-label { font-size: 14px; font-weight: 700; color: var(--primary); }
.pn-item .pn-arrow { width: 170px; height: 112px; display: block; animation: pn-breathe 3.4s ease-in-out infinite; }
.pn-item .pn-arrow .eye-arrow { animation: pn-blink 4.6s infinite; transform-origin: 105px 28px; }
.pn-item .pn-arrow .eye-man { animation: pn-blink 4.6s infinite; animation-delay: 0.35s; transform-origin: 85px 71px; }
@keyframes pn-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
@keyframes pn-blink { 0%, 90%, 100% { transform: scaleY(1); } 93%, 96% { transform: scaleY(0.1); } }
@media (prefers-reduced-motion: reduce) { .pn-item .pn-arrow, .pn-item .pn-arrow .eye-arrow, .pn-item .pn-arrow .eye-man { animation: none; } }
.pn-item.disabled { opacity: 0.35; cursor: not-allowed; }
.pn-item.disabled:hover { transform: none; }
@media (max-width: 1023px) and (min-width: 641px) { .pn-item .pn-arrow { width: 150px; height: 99px; } .pn-item .pn-label { font-size: 13.5px; } }
@media (max-width: 640px) { .pn-item { gap: 6px; } .pn-item .pn-label { font-size: 13px; } .pn-item .pn-arrow { width: 120px; height: 79px; } }
.detail-action-bar { display: flex; gap: 12px; justify-content: center; padding: 20px 0; border-top: 1px solid rgba(var(--primary-rgb),0.15); border-bottom: 1px solid rgba(var(--primary-rgb),0.15); margin-bottom: 28px; }
.action-btn { display: flex; align-items: center; gap: 6px; padding: 10px 24px; border-radius: 24px; border: 1px solid rgba(var(--primary-rgb),0.3); background: transparent; color: var(--primary); font-size: 14px; cursor: pointer; transition: all 0.3s; }
.action-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(var(--primary-rgb),0.3); }
.action-btn.liked { background: var(--primary); color: #fff; }
.action-btn.collected { background: #ff922b; color: #fff; border-color: #ff922b; }
.action-btn.shared { background: #26c6da; color: #fff; border-color: #26c6da; }
.action-btn.reading { background: #8e44ad; color: #fff; border-color: #8e44ad; animation: pulse-reading 1.5s infinite; }
@keyframes pulse-reading { 0%,100% { box-shadow: 0 0 0 0 rgba(142,68,173,0.4); } 50% { box-shadow: 0 0 0 8px rgba(142,68,173,0); } }
.tts-panel { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-radius: 50px; padding: 10px 20px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); z-index: 9998; border: 1px solid rgba(var(--primary-rgb),0.2); animation: ttsPanelIn 0.3s ease-out; }
@keyframes ttsPanelIn { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.tts-btn { width: 40px; height: 40px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; transition: all 0.2s; }
.tts-btn:hover { transform: scale(1.1); }
.tts-btn.play { background: linear-gradient(135deg, #8e44ad, #9b59b6); color: #fff; }
.tts-btn.pause { background: #f39c12; color: #fff; }
.tts-btn.stop { background: #e74c3c; color: #fff; }
.tts-speed { padding: 6px 12px; border-radius: 20px; border: 1px solid #ddd; background: #f8f9fa; font-size: 13px; cursor: pointer; color: #555; }
.tts-speed:hover { border-color: var(--primary); color: var(--primary); }
.tts-progress { font-size: 12px; color: #888; min-width: 60px; text-align: center; }
.theme-star .tts-panel { background: rgba(25,32,60,0.98); border-color: rgba(121,134,203,0.3); }
.theme-star .tts-speed { background: rgba(121,134,203,0.15); border-color: rgba(121,134,203,0.3); color: #c5cae9; }
.theme-star .tts-progress { color: #9fa8da; }
.tts-highlight { background: rgba(255,235,59,0.3); border-radius: 4px; padding: 2px 4px; transition: background 0.3s; }
.theme-star .tts-highlight { background: rgba(255,193,7,0.25); }
.detail-tags { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 6px; }
.detail-tag { display:inline-block; padding:4px 12px; border-radius:14px; background:rgba(var(--primary-rgb),0.08); color:var(--primary); font-size:13px; cursor:pointer; transition:all .2s; border:1px solid rgba(var(--primary-rgb),0.15); }
.detail-tag:hover { background:var(--primary); color:#fff; }
.tag-back-row { display:flex; align-items:center; gap:8px; margin:0 0 10px; }
.tag-back-btn { padding:6px 16px; border-radius:16px; border:1px solid rgba(var(--primary-rgb),.35); background:rgba(var(--primary-rgb),.08); color:var(--primary); cursor:pointer; font-size:13px; }
.tag-back-btn:hover { background:var(--primary); color:#fff; }
.author-link { color:var(--primary); cursor:pointer; text-decoration:none; }
.author-link:hover { text-decoration:underline; }
.writer-badge { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:50%; background:linear-gradient(135deg,#f6c453,#d4a017); color:#fff; font-size:11px; font-weight:700; box-shadow:0 1px 3px rgba(212,160,23,.4); }
.tag-article-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:14px; }
.tag-article-item { display:flex; gap:10px; background:#fff; border-radius:10px; padding:10px; cursor:pointer; box-shadow:0 1px 6px rgba(0,0,0,.06); transition:transform .15s, box-shadow .15s; }
.tag-article-item:hover { transform:translateY(-2px); box-shadow:0 4px 14px rgba(0,0,0,.1); }
.tag-article-thumb { width:80px; height:56px; object-fit:cover; border-radius:8px; flex-shrink:0; }
.tag-article-title { font-size:14px; font-weight:600; color:#222; line-height:1.45; }
.tag-article-meta { font-size:12px; color:#999; margin-top:6px; display:flex; gap:10px; }
.list-pager { display:flex; gap:6px; justify-content:center; margin:22px 0 8px; flex-wrap:wrap; }
.page-btn { min-width:30px; height:30px; border:1px solid #ddd; border-radius:6px; background:#fff; cursor:pointer; font-size:13px; color:#555; }
.page-btn.active { background:var(--primary); color:#fff; border-color:var(--primary); }
.tip-amount-btn { width:56px; height:36px; border:1px solid #ddd; border-radius:8px; background:#fff; cursor:pointer; font-size:14px; color:#444; }
.tip-amount-btn.active { background:var(--primary); color:#fff; border-color:var(--primary); }
.share-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.share-modal { background: #fff; border-radius: 16px; padding: 28px 32px; width: 360px; max-width: 90vw; box-shadow: 0 20px 60px rgba(0,0,0,0.25); animation: shareModalIn 0.25s ease-out; }
@keyframes shareModalIn { from { opacity: 0; transform: scale(0.9) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.share-modal-title { font-size: 18px; font-weight: 600; text-align: center; margin-bottom: 24px; color: #333; }
.share-options { display: flex; justify-content: center; gap: 28px; margin-bottom: 24px; }
.share-option { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; padding: 12px; border-radius: 12px; transition: all 0.2s; }
.share-option:hover { background: #f5f5f5; transform: translateY(-3px); }
.share-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; }
.share-icon.qq { background: linear-gradient(135deg, #12b7f5, #0099e5); }
.share-icon.wechat { background: linear-gradient(135deg, #07c160, #06ad56); }
.share-icon.copy { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.share-label { font-size: 13px; color: #666; }
.share-cancel-btn { width: 100%; padding: 10px; border: 1px solid #e0e0e0; background: #fafafa; border-radius: 8px; font-size: 14px; color: #666; cursor: pointer; transition: all 0.2s; }
.share-cancel-btn:hover { background: #f0f0f0; }
.comment-section { margin-top: 20px; }
.comment-section-title { font-size: 18px; font-weight: 700; color: var(--primary); padding-bottom: 12px; border-bottom: 2px solid var(--primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.comment-input-box { margin-bottom: 20px; padding: 14px; background: var(--primary-light); border-radius: 8px; }
.comment-input-box textarea { width: 100%; min-height: 80px; padding: 10px 12px; border: 1px solid rgba(var(--primary-rgb),0.2); border-radius: 4px; font-size: 14px; resize: vertical; background: rgba(255,255,255,0.8); color: #333; font-family: inherit; line-height: 1.6; }
.theme-star .comment-input-box textarea { background: rgba(255,255,255,0.1); color: #e8eaf6; border-color: rgba(255,255,255,0.2); }
.comment-input-box textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }
.comment-submit-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.comment-submit-btn { padding: 8px 20px; border: none; border-radius: 4px; background: var(--primary); color: #fff; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.comment-submit-btn:hover { background: var(--primary-dark); }
.comment-login-tip { text-align: center; padding: 20px; color: #888; font-size: 14px; }
.comment-login-tip a { color: var(--primary); cursor: pointer; text-decoration: underline; }
.comment-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px dashed rgba(var(--primary-rgb),0.15); }
.comment-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; font-size: 18px; flex-shrink: 0; background: #fff; border: 2px solid #dfe8df; overflow: hidden; }
.comment-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.comment-body { flex: 1; min-width: 0; }
.c-role { font-size: 11px; padding: 2px 9px; border-radius: 10px; font-weight: 600; display: inline-block; vertical-align: middle; }
.role-super { background: rgba(230,126,34,.13); color: #e67e22; border: 1px solid rgba(230,126,34,.25); }
.role-admin { background: rgba(52,152,219,.12); color: #2980b9; border: 1px solid rgba(52,152,219,.25); }
.role-editor { background: rgba(121,134,203,.12); color: #5c6bc0; border: 1px solid rgba(121,134,203,.25); }
.role-writer { background: rgba(39,174,96,.12); color: #27ae60; border: 1px solid rgba(39,174,96,.25); }
.comment-header { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.comment-nickname { font-size: 15px; font-weight: 700; color: #222; }
.comment-time { font-size: 12px; color: #999; }
.theme-star .comment-time { color: #9fa8da; }
.comment-content { font-size: 14px; line-height: 1.7; color: #444; margin-bottom: 8px; }
.theme-star .comment-content { color: #c5cae9; }
.comment-actions { display: flex; gap: 8px; font-size: 12px; color: #666; }
.theme-star .comment-actions { color: #9fa8da; }
.comment-actions span { cursor: pointer; transition: all 0.2s; background: #f2f2f2; padding: 3px 12px; border-radius: 12px; display: inline-block; }
.comment-actions span:hover { color: var(--primary); background: #e8e8e8; }
.reply-list { margin-top: 10px; padding-left: 12px; border-left: 2px solid rgba(var(--primary-rgb),0.2); }
.reply-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dotted rgba(var(--primary-rgb),0.1); }
.reply-item:last-child { border-bottom: none; }
.reply-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; font-size: 13px; flex-shrink: 0; background: #fff; border: 2px solid #e8ece8; overflow: hidden; }
.reply-body { flex: 1; min-width: 0; }
.reply-header { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; flex-wrap: wrap; }
.reply-nickname { font-size: 13px; font-weight: 600; color: var(--primary); }
.reply-to { font-size: 12px; color: #999; }
.theme-star .reply-to { color: #9fa8da; }
.reply-time { font-size: 11px; color: #aaa; }
.theme-star .reply-time { color: #7986cb; }
.reply-content { font-size: 13px; line-height: 1.6; color: #555; margin-bottom: 4px; word-break: break-word; }
.theme-star .reply-content { color: #b0b9db; }
.reply-actions { display: flex; gap: 14px; font-size: 12px; color: #888; }
.theme-star .reply-actions { color: #9fa8da; }
.reply-actions span { cursor: pointer; transition: color 0.2s; }
.reply-actions span:hover { color: var(--primary); }
.reply-count { margin-left: 4px; font-weight: 600; color: var(--primary); }
.reply-form { margin-top: 10px; padding: 10px; background: rgba(var(--primary-rgb),0.06); border-radius: 6px; }
.reply-form textarea { width: 100%; min-height: 54px; padding: 8px 10px; border: 1px solid rgba(var(--primary-rgb),0.2); border-radius: 4px; font-size: 13px; resize: vertical; background: rgba(255,255,255,0.85); color: #333; font-family: inherit; line-height: 1.5; }
.theme-star .reply-form textarea { background: rgba(255,255,255,0.08); color: #e8eaf6; border-color: rgba(255,255,255,0.2); }
.reply-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }
.reply-form-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.reply-form-row button { padding: 5px 14px; border: none; border-radius: 4px; font-size: 12px; cursor: pointer; transition: all 0.2s; }
.reply-cancel-btn { background: #eee; color: #666; }
.reply-cancel-btn:hover { background: #ddd; }
.reply-submit-btn { background: var(--primary); color: #fff; }
.reply-submit-btn:hover { background: var(--primary-dark); }
.side-author-card { text-align: center; padding: 20px 14px; }
.side-author-card .author-avatar-lg { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 26px; margin: 0 auto 10px; background: linear-gradient(135deg,var(--primary),var(--primary-dark)); box-shadow: 0 4px 12px rgba(var(--primary-rgb),0.3); }
.side-author-card .author-name-lg { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 4px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.side-author-card .author-bio { font-size: 12px; color: #888; line-height: 1.6; margin-bottom: 12px; }
.theme-star .side-author-card .author-bio { color: #b0b8d8; }
.side-author-stats { display: flex; justify-content: center; gap: 20px; margin-bottom: 14px; padding: 10px 0; border-top: 1px solid rgba(var(--primary-rgb),0.15); border-bottom: 1px solid rgba(var(--primary-rgb),0.15); }
.side-author-stat { text-align: center; }
.side-author-stat .stat-num { font-size: 16px; font-weight: 700; color: var(--primary); }
.side-author-stat .stat-label { font-size: 11px; color: #888; margin-top: 2px; }
.theme-star .side-author-stat .stat-label { color: #9fa8da; }
.follow-btn { width: 100%; padding: 8px; border: none; border-radius: 20px; background: linear-gradient(135deg,var(--primary),var(--primary-dark)); color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.3s; }
.follow-btn:hover { transform: scale(1.02); box-shadow: 0 4px 12px rgba(var(--primary-rgb),0.4); }
.follow-btn.followed { background: #ccc; }
.recommend-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dotted rgba(var(--primary-rgb),0.1); cursor: pointer; transition: all 0.2s; }
.recommend-item:last-child { border-bottom: none; }
.recommend-item:hover { background: var(--primary-light); margin: 0 -6px; padding: 10px 6px; border-radius: 4px; }
.recommend-thumb { width: 60px; height: 48px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.recommend-info { flex: 1; min-width: 0; }
.recommend-title { font-size: 13px; font-weight: 500; color: #333; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 4px; }
.theme-star .recommend-title { color: #e8eaf6; }
.recommend-meta { font-size: 11px; color: #999; display: flex; gap: 8px; }
.theme-star .recommend-meta { color: #9fa8da; }
.submit-layout { display: flex; gap: 10px; align-items: stretch; flex: 1; min-height: 0; overflow: visible; position: relative; }
.submit-notice { flex: 0 0 180px; width: 180px; display: flex; flex-direction: column; min-height: 0; }
.submit-notice-card { background: #fff; border: 1px solid #d9e4ec; border-radius: 8px; padding: 9px 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); flex: 1; height: 100%; overflow-y: auto; display: flex; flex-direction: column; border-left: 3px solid #4aa3e0; }
.theme-star .submit-notice-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); border-left-color: var(--primary); color: #e8eaf6; }
.submit-notice-card h4 { font-size: 13px; font-weight: 700; color: #1e88d9; margin: 0 0 6px; padding-bottom: 4px; border-bottom: 1px solid #d6eaf7; display: flex; align-items: center; gap: 5px; }
.theme-star .submit-notice-card h4 { color: var(--primary); border-bottom-color: rgba(121,134,203,0.25); }
.notice-section { margin-bottom: 7px; }
.notice-section:last-child { margin-bottom: 0; }
.notice-section-title { font-size: 12px; font-weight: 700; color: #333; margin-bottom: 3px; display: flex; align-items: center; gap: 4px; }
.theme-star .notice-section-title { color: #c5cae9; }
.notice-list { margin: 0; padding-left: 0; list-style: none; font-size: 11px; color: #555; line-height: 1.5; }
.theme-star .notice-list { color: #b0b8d8; }
.notice-list li { margin-bottom: 1px; }
.notice-list li::before { content: "• "; color: #4aa3e0; font-weight: 700; }
.notice-tip { font-size: 11px; color: #1e88d9; background: #e8f4fc; padding: 4px 7px; border-radius: 5px; line-height: 1.45; margin-top: 4px; }
.theme-star .notice-tip { background: rgba(121,134,203,0.15); color: var(--primary); }
.notice-warn { display: none; }
.theme-star .notice-warn { background: rgba(230,126,34,0.12); color: #ffb774; }
.submit-main { flex: 1; min-width: 0; display: flex; flex-direction: column; border: 1px solid #d9e4ec; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.04); min-height: 0; height: 100%; }
.theme-star .submit-main { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); }
.submit-side { flex: 0 0 220px; width: 220px; display: flex; flex-direction: column; gap: 6px; min-height: 0; overflow: visible; }
.submit-side-card { background: #fff; border: 1px solid #d9e4ec; border-radius: 8px; padding: 7px 9px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); overflow: visible; position: relative; z-index: 2; }
.submit-side-card.submit-side-last { flex: 0 0 auto; display: flex; flex-direction: column; padding: 7px 9px; z-index: 1; }
.submit-side-card.submit-side-last .submit-action-group { margin-top: 0; }
.theme-star .submit-side-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); color: #e8eaf6; }
.submit-side-card h4 { font-size: 12px; font-weight: 700; color: #1e88d9; margin: 0 0 5px; padding-bottom: 3px; border-bottom: 1px solid #d6eaf7; display: flex; align-items: center; gap: 4px; }
.theme-star .submit-side-card h4 { color: var(--primary); border-bottom-color: rgba(121,134,203,0.25); }
.submit-form-group { margin-bottom: 5px; }
.submit-form-group:last-child { margin-bottom: 0; }
.submit-form-group label { display: block; font-size: 11px; font-weight: 700; color: #333; margin-bottom: 2px; }
.theme-star .submit-form-group label { color: #c5cae9; }
.submit-form-group label .required { color: #e53935; margin-right: 2px; }
.submit-form-group label .optional { font-weight: 400; color: #999; font-size: 10px; margin-left: 2px; }
.submit-form-group input,
.submit-form-group select,
.submit-form-group textarea { width: 100%; padding: 4px 7px; border: 1px solid #dfe6ec; border-radius: 5px; font-size: 11px; outline: none; transition: border 0.2s; font-family: inherit; background: #fafcfd; line-height: 1.4; }
.theme-star .submit-form-group input,
.theme-star .submit-form-group select,
.theme-star .submit-form-group textarea { background: rgba(255,255,255,0.06); color: #e8eaf6; border-color: rgba(255,255,255,0.2); }
.submit-form-group input:focus,
.submit-form-group select:focus,
.submit-form-group textarea:focus { border-color: #4aa3e0; box-shadow: 0 0 0 2px rgba(74,163,224,0.15); }
.submit-form-group input[readonly] { background: #f3f5f7; color: #555; }
.theme-star .submit-form-group input[readonly] { background: rgba(255,255,255,0.04); color: #9fa8da; }
.submit-form-group textarea { resize: none; line-height: 1.4; }
.submit-form-group textarea,
.submit-form-group select { min-height: 24px; }
.submit-title-input { width: 100%; padding: 10px 14px 7px; font-size: 18px; font-weight: 500; font-family: inherit; border: none; border-bottom: 1px solid #e6ecf1; outline: none; color: #333; background: transparent; }
.submit-title-input::placeholder { color: #b0b8c0; font-weight: 400; }
.theme-star .submit-title-input { color: #fff; border-bottom-color: rgba(255,255,255,0.1); }
.theme-star .submit-title-input::placeholder { color: rgba(197,202,233,0.5); }
.submit-editor-wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; }
#submit-editor-toolbar { border: none !important; border-bottom: 1px solid #e6ecf1 !important; border-radius: 0 !important; background: #fff !important; flex-shrink: 0; width: 100% !important; }
#submit-editor-toolbar .w-e-bar { padding: 2px 8px !important; }
#submit-editor-toolbar .w-e-bar-item button { height: 26px !important; font-size: 12px !important; }
#submit-editor .w-e-text-placeholder { color: #b8c0c8 !important; font-size: 13px !important; }
#submit-editor { flex: 1; height: 0 !important; min-height: 0 !important; border: none !important; border-radius: 0 !important; overflow-y: auto; font-size: 13px !important; line-height: 1.65 !important; }
#submit-editor .w-e-text-container { font-size: 13px !important; line-height: 1.65 !important; height: 100% !important; }
#submit-editor .w-e-scroll { height: 100% !important; }
#submit-editor p { margin: 6px 0; font-size: 13px !important; line-height: 1.65 !important; }
.theme-star #submit-editor-toolbar { background: rgba(255,255,255,0.04) !important; border-bottom-color: rgba(255,255,255,0.1) !important; }
.theme-star #submit-editor { background: rgba(255,255,255,0.02) !important; }
.submit-footer-bar { display: none !important; }
.theme-star .submit-footer-bar { background: rgba(255,255,255,0.03); border-top-color: rgba(255,255,255,0.08); color: #9fa8da; }
.submit-footer-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.submit-footer-right { display: flex; align-items: center; gap: 10px; }
.insert-image-group { display: inline-flex; align-items: center; gap: 4px; }
.insert-image-label { display: inline-flex; align-items: center; gap: 3px; cursor: pointer; color: #555; font-size: 11px; }
.theme-star .insert-image-label { color: #c5cae9; }
.insert-tab { padding: 3px 10px; border-radius: 5px; cursor: pointer; font-size: 11px; transition: all 0.2s; background: var(--primary-light); color: var(--primary); font-weight: 500; border: 1px solid transparent; }
.insert-tab:hover { background: var(--primary); color: #fff; }
.word-count { font-variant-numeric: tabular-nums; }
.footer-tip { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; }
.switch-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 12px; color: #444; }
.theme-star .switch-row { color: #c5cae9; }
.switch-row + .switch-row { border-top: 1px dashed rgba(var(--primary-rgb),0.12); }
.theme-star .switch-row + .switch-row { border-top-color: rgba(255,255,255,0.08); }
.toggle-switch { position: relative; width: 38px; height: 20px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: #ccc; border-radius: 20px; transition: 0.3s; }
.toggle-slider::before { content: ''; position: absolute; height: 14px; width: 14px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.3s; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }
.submit-action-group { display: flex; flex-direction: column; gap: 4px; }
.btn-publish { width: 100%; padding: 6px; border: none; border-radius: 6px; color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.25s; background: linear-gradient(135deg, #2196d8, #0d6fb8); box-shadow: 0 2px 6px rgba(13,111,184,0.3); margin: 0; }
.btn-publish:hover:not(:disabled) { background: linear-gradient(135deg, #1a84c2, #0b5fa0); }
.btn-publish:disabled { opacity: 0.7; cursor: not-allowed; }
.btn-draft { width: 100%; padding: 4px; border: 1px solid #dde3e8; border-radius: 6px; background: #f1f4f6; color: #888; font-size: 11px; cursor: pointer; transition: all 0.2s; }
.btn-draft:hover { background: #e6ebef; color: #555; border-color: #c3ccd2; }
.theme-star .btn-draft { background: rgba(255,255,255,0.08); color: #b0b8d8; border-color: rgba(255,255,255,0.15); }
.theme-star .btn-draft:hover { background: rgba(255,255,255,0.15); color: #fff; }
.cover-upload-side { border: 2px dashed #d0d9e2; border-radius: 6px; padding: 5px 4px; text-align: center; cursor: pointer; transition: all 0.2s; background: #fafcfd; position: relative; min-height: 42px; max-height: 50px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cover-upload-side:hover { border-color: #4aa3e0; background: #eaf4fb; }
.cover-upload-side.has-image { padding: 0; border-style: solid; min-height: 42px; max-height: 50px; overflow: hidden; }
.cover-upload-side.has-image img { width: 100%; height: 100%; max-height: 50px; object-fit: cover; }
.cover-upload-icon { font-size: 16px; line-height: 1; }
.cover-upload-text { font-size: 10px; color: #9099a2; margin-top: 1px; }
.theme-star .cover-upload-side { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.2); }
.theme-star .cover-upload-side:hover { background: rgba(121,134,203,0.12); border-color: var(--primary); }
.cover-remove-btn { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,0.5); color: #fff; border: none; cursor: pointer; font-size: 12px; line-height: 1; display: flex; align-items: center; justify-content: center; z-index: 2; }
.tag-hint { font-size: 9px; color: #999; margin-top: 1px; line-height: 1.3; }
.theme-star .tag-hint { color: rgba(197,202,233,0.5); }
.submit-agreement { font-size: 9px; color: #888; margin-top: 3px; text-align: center; line-height: 1.3; }
.theme-star .submit-agreement { color: #9fa8da; }
.submit-page-wrap { width: 100%; display: flex; justify-content: center; padding: 6px 0; overflow: visible; }
.submit-page-outer { width: 80%; margin: 0 auto; box-sizing: border-box; background: linear-gradient(180deg, #d6ecfa 0%, #e8f3fb 100%); border-radius: 10px; padding: 8px 10px 10px; display: flex; flex-direction: column; height: calc(100vh - 140px); min-height: 540px; max-height: 700px; overflow: visible; }
.theme-star .submit-page-outer { background: transparent; padding: 4px 0 6px; }
.submit-page-container { width: 100% !important; margin: 0 !important; flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: visible; }
.submit-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; padding: 0 2px; flex-shrink: 0; }
.submit-topbar-title { font-size: 16px; font-weight: 700; color: #0d6fb8; display: flex; align-items: center; gap: 7px; }
.submit-topbar-title .topbar-pen { font-size: 17px; }
.submit-topbar-title .topbar-tag { font-size: 10px; font-weight: 500; color: #4aa3e0; background: rgba(255,255,255,0.7); padding: 2px 8px; border-radius: 10px; }
.theme-star .submit-topbar-title { color: var(--primary); }
.theme-star .submit-topbar-title .topbar-tag { background: rgba(121,134,203,0.15); color: var(--primary); }
.btn-back-home { padding: 4px 12px; border: 1px solid rgba(13,111,184,0.4); background: rgba(255,255,255,0.85); color: #0d6fb8; border-radius: 14px; cursor: pointer; font-size: 11px; font-weight: 500; transition: all 0.2s; }
.btn-back-home:hover { background: #0d6fb8; color: #fff; border-color: #0d6fb8; }
.theme-star .btn-back-home { background: rgba(255,255,255,0.08); color: var(--primary); border-color: rgba(121,134,203,0.4); }
.theme-star .btn-back-home:hover { background: var(--primary); color: #fff; }
@media (max-width: 1200px) {
.submit-notice { flex: 0 0 210px; width: 210px; }
.submit-side { flex: 0 0 250px; width: 250px; }
}
@media (max-width: 1024px) {
.submit-page-container { width: 100% !important; }
.submit-page-outer { padding: 6px; border-radius: 8px; height: auto; max-height: none; }
.submit-layout { flex-direction: column; gap: 8px; }
.submit-notice { flex: none; width: 100%; }
.submit-notice-card { max-height: 180px; }
.submit-side { flex: none; width: 100%; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.submit-side-card { flex: 1; min-width: 220px; }
.submit-main { min-height: 440px; height: 440px; }
.module-inner { width:95% !important; }
.cat-page-inner { width:95% !important; }
.list-page-inner { width:95% !important; }
.detail-page-inner { width:95% !important; }
}
@media (max-width: 768px) {
.submit-page-outer { padding: 5px !important; border-radius: 6px; height: auto; max-height: none; }
.submit-page-container { width: 100% !important; }
.submit-title-input { font-size: 16px; padding: 10px 12px 6px; }
.submit-main { min-height: 360px; height: 360px; }
#submit-editor { font-size: 13px !important; line-height: 1.6 !important; }
#submit-editor p { font-size: 13px !important; line-height: 1.6 !important; }
.submit-side { flex-direction: column; gap: 6px; }
.submit-side-card { min-width: auto; }
.submit-topbar-title { font-size: 16px; }
.module-inner { width:98% !important; }
.cat-page-inner { width:98% !important; }
.list-page-inner { width:98% !important; }
.detail-page-inner { width:98% !important; }
.home-top-inner { flex-wrap: wrap !important; }
.home-top-inner > div { flex: 1 1 100% !important; width: 100% !important; min-width: 0 !important; }
.carousel-col .glass-card { height: 210px !important; }
}
.cute-search-box {
display: flex;
align-items: center;
background: rgba(255,255,255,0.9);
border: 2px solid var(--primary);
border-radius: 25px;
padding: 0 7px 0 15px;
height: 40px;
box-shadow: 0 3px 12px rgba(var(--primary-rgb),0.2);
transition: all 0.3s ease;
position: relative;
}
.cute-search-box:focus-within {
transform: scale(1.02);
box-shadow: 0 5px 20px rgba(var(--primary-rgb),0.35);
border-color: var(--primary-dark);
}
.cute-search-box::before {
content: '🔍';
font-size: 16px;
margin-right: 8px;
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-3px); }
}
.cute-search-input {
flex: 1;
min-width: 0;
border: none;
outline: none;
background: transparent;
font-size: 14px;
color: #333;
font-family: inherit;
height: 100%;
padding: 0;
}
.cute-search-input::placeholder {
color: rgba(var(--primary-rgb),0.5);
font-size: 13px;
}
.cute-search-btn {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border: none;
border-radius: 20px;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: #fff;
font-size: 14px;
transition: all 0.3s ease;
flex-shrink: 0;
margin-left: 8px;
}
.cute-search-btn:hover {
transform: scale(1.1) rotate(15deg);
box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.4);
}
.theme-star .cute-search-box {
background: rgba(25,32,60,0.8);
border-color: var(--primary);
box-shadow: 0 3px 12px rgba(121,134,203,0.3);
}
.theme-star .cute-search-input {
color: #e8eaf6;
background: transparent !important;
-webkit-text-fill-color: #e8eaf6;
caret-color: #e8eaf6;
}
.theme-star .cute-search-box input,
.theme-star .logo-search-box input,
.theme-star .search-page-box input,
.theme-star .cute-search-input,
.theme-star .logo-search-input,
.theme-star .search-page-input {
background: transparent !important;
background-color: transparent !important;
-webkit-text-fill-color: #e8eaf6 !important;
caret-color: #e8eaf6 !important;
box-shadow: none !important;
}
.theme-star .cute-search-box input:-webkit-autofill,
.theme-star .cute-search-box input:-webkit-autofill:hover,
.theme-star .cute-search-box input:-webkit-autofill:focus,
.theme-star .logo-search-box input:-webkit-autofill,
.theme-star .logo-search-box input:-webkit-autofill:hover,
.theme-star .logo-search-box input:-webkit-autofill:focus,
.theme-star .search-page-box input:-webkit-autofill,
.theme-star .search-page-box input:-webkit-autofill:hover,
.theme-star .search-page-box input:-webkit-autofill:focus,
.theme-star .cute-search-input:-webkit-autofill,
.theme-star .cute-search-input:-webkit-autofill:hover,
.theme-star .cute-search-input:-webkit-autofill:focus,
.theme-star .logo-search-input:-webkit-autofill,
.theme-star .logo-search-input:-webkit-autofill:hover,
.theme-star .logo-search-input:-webkit-autofill:focus,
.theme-star .search-page-input:-webkit-autofill,
.theme-star .search-page-input:-webkit-autofill:hover,
.theme-star .search-page-input:-webkit-autofill:focus {
-webkit-text-fill-color: #e8eaf6 !important;
-webkit-box-shadow: 0 0 0 1000px transparent inset !important;
box-shadow: 0 0 0 1000px transparent inset !important;
background-color: transparent !important;
background: transparent !important;
transition: background-color 9999s ease-out, color 9999s ease-out;
caret-color: #e8eaf6 !important;
}
.theme-star .cute-search-input::placeholder {
color: rgba(197,202,233,0.5);
}
.theme-bamboo .cute-search-box::before { content: '🎍'; }
.theme-sea .cute-search-box::before { content: '🐚'; }
.theme-sky .cute-search-box::before { content: '☁️'; }
.theme-ginkgo .cute-search-box::before { content: '🍂'; }
.theme-star .cute-search-box::before { content: '✨'; }
.theme-sunset .cute-search-box::before { content: '🌅'; }
.theme-aurora .cute-search-box::before { content: '🌌'; }
.search-page-wrap {
width: 100%;
display: flex;
justify-content: center;
padding-top: 40px;
min-height: 60vh;
}
.search-page-inner {
width: 33.333%;
min-width: 400px;
display: flex;
flex-direction: column;
gap: 20px;
}
.search-page-header {
text-align: center;
margin-bottom: 20px;
}
.search-page-title {
font-size: 28px;
font-weight: 700;
color: var(--primary);
margin-bottom: 8px;
font-family: 'Songti SC','STSong','SimSun','Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',serif;
}
.search-page-subtitle {
font-size: 14px;
color: #888;
opacity: 0.8;
}
.theme-star .search-page-subtitle { color: #9fa8da; }
.search-page-box {
display: flex;
align-items: center;
background: rgba(255,255,255,0.95);
border: 3px solid var(--primary);
border-radius: 50px;
padding: 8px 20px;
box-shadow: 0 6px 24px rgba(var(--primary-rgb),0.25);
transition: all 0.3s ease;
gap: 12px;
}
.search-page-box:focus-within {
transform: scale(1.02);
box-shadow: 0 8px 32px rgba(var(--primary-rgb),0.4);
}
.theme-star .search-page-box {
background: rgba(25,32,60,0.9);
border-color: var(--primary);
box-shadow: 0 6px 24px rgba(121,134,203,0.35);
}
.search-page-icon {
font-size: 22px;
animation: bounce 2s infinite;
}
.search-page-input {
flex: 1;
border: none;
outline: none;
background: transparent;
font-size: 16px;
color: #333;
font-family: inherit;
padding: 8px 0;
}
.theme-star .search-page-input { color: #e8eaf6; }
.search-page-input::placeholder {
color: rgba(var(--primary-rgb),0.5);
}
.search-page-btn {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border: none;
border-radius: 30px;
padding: 10px 24px;
cursor: pointer;
color: #fff;
font-size: 14px;
font-weight: 600;
transition: all 0.3s ease;
flex-shrink: 0;
}
.search-page-btn:hover {
transform: scale(1.05);
box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.4);
}
.search-hot-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin-top: 10px;
}
.search-hot-tag {
padding: 6px 16px;
border-radius: 20px;
background: var(--primary-light);
color: var(--primary);
font-size: 13px;
cursor: pointer;
transition: all 0.3s ease;
border: 1px solid transparent;
}
.search-hot-tag:hover {
background: var(--primary);
color: #fff;
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.3);
}
.search-results {
margin-top: 30px;
}
.search-result-item {
background: rgba(255,255,255,0.9);
border-radius: 12px;
padding: 16px 20px;
margin-bottom: 12px;
cursor: pointer;
transition: all 0.3s ease;
border-left: 4px solid var(--primary);
}
.theme-star .search-result-item {
background: rgba(25,32,60,0.85);
border-left-color: var(--primary);
}
.search-result-item:hover {
transform: translateX(5px);
box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.2);
}
.search-result-title {
font-size: 16px;
font-weight: 600;
color: #333;
margin-bottom: 6px;
}
.theme-star .search-result-title { color: #fff; }
.search-result-summary {
font-size: 13px;
color: #777;
line-height: 1.6;
margin-bottom: 8px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.theme-star .search-result-summary { color: #b0b8d8; }
.search-result-meta {
display: flex;
gap: 15px;
font-size: 12px;
color: #999;
}
.theme-star .search-result-meta { color: #9fa8da; }
.search-result-tag {
padding: 2px 8px;
border-radius: 10px;
background: var(--primary-light);
color: var(--primary);
font-size: 11px;
}
.search-empty {
text-align: center;
padding: 60px 20px;
color: #888;
}
.theme-star .search-empty { color: #9fa8da; }
.search-empty-icon {
font-size: 64px;
margin-bottom: 16px;
opacity: 0.5;
}
.search-empty-text {
font-size: 16px;
}
.toast-container {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 10000;
display: flex;
flex-direction: column;
gap: 10px;
pointer-events: none;
}
.toast-item {
min-width: 220px;
max-width: 360px;
padding: 12px 18px;
border-radius: 8px;
font-size: 14px;
line-height: 1.5;
color: #fff;
box-shadow: 0 6px 20px rgba(0,0,0,0.18);
backdrop-filter: blur(6px);
opacity: 0;
transform: translateY(20px);
transition: opacity .3s ease, transform .3s ease;
pointer-events: auto;
}
.toast-item.show {
opacity: 1;
transform: translateY(0);
}
.toast-item.error {
background: rgba(231, 76, 60, 0.92);
}
.toast-item.success {
background: rgba(39, 174, 96, 0.92);
}
.toast-item.info {
background: rgba(52, 152, 219, 0.92);
}
.toast-item.warning {
background: rgba(243, 156, 18, 0.92);
}
#float-tools {
position: fixed;
right: 30px;
bottom: 130px;
z-index: 9998;
display: flex;
flex-direction: column;
gap: 5px;
font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
#float-tools .ft-btn {
width: 52px;
height: 52px;
border-radius: 14px;
background: rgba(255,255,255,0.85);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(var(--primary-rgb), 0.25);
box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.18), 0 1px 3px rgba(0,0,0,0.08);
color: var(--primary);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
user-select: none;
text-decoration: none;
}
#float-tools .ft-btn:hover {
transform: translateX(-4px) scale(1.06);
background: var(--primary);
color: #fff;
box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.45);
border-color: var(--primary);
}
#float-tools .ft-btn .ft-icon {
font-size: 20px;
line-height: 1;
margin-bottom: 2px;
}
#float-tools .ft-btn .ft-label {
font-size: 10px;
line-height: 1;
font-weight: 600;
letter-spacing: 0.5px;
}
#float-tools .ft-btn::after {
content: attr(data-tip);
position: absolute;
right: calc(100% + 10px);
top: 50%;
transform: translateY(-50%) translateX(6px);
background: var(--primary);
color: #fff;
font-size: 12px;
padding: 5px 10px;
border-radius: 6px;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: all 0.25s ease;
box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
#float-tools .ft-btn::before {
content: "\200B";
position: absolute;
right: calc(100% + 4px);
top: 50%;
width: 0; height: 0;
transform: translateY(-50%);
border: 5px solid transparent;
border-left-color: var(--primary);
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
}
#float-tools .ft-btn:hover::after {
opacity: 1;
transform: translateY(-50%) translateX(0);
}
#float-tools .ft-btn:hover::before {
opacity: 1;
}
.theme-star #float-tools .ft-btn {
background: rgba(25,32,60,0.85);
border-color: rgba(121,134,203,0.45);
color: #e0e5f5;
box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}
.theme-star #float-tools .ft-btn:hover {
background: var(--primary);
color: #fff;
border-color: var(--primary);
box-shadow: 0 6px 20px rgba(121,134,203,0.6);
}
.theme-sunset #float-tools .ft-btn {
background: rgba(255,245,240,0.9);
border-color: rgba(231,76,60,0.3);
color: #c0392b;
}
.theme-aurora #float-tools .ft-btn {
background: rgba(255,255,255,0.88);
border-color: rgba(0,150,136,0.3);
color: #00695c;
}
.theme-ginkgo #float-tools .ft-btn {
background: rgba(255,248,231,0.92);
border-color: rgba(230,126,34,0.3);
color: #d35400;
}
#app.cw-fade-in { animation: cwAppFadeIn .35s ease; }
@keyframes cwAppFadeIn { from { opacity: 0; } to { opacity: 1; } }
/* 移动端入口：hover弹出二维码卡片 */
#float-tools .ft-mobile::after,#float-tools .ft-mobile::before{display:none!important}
#float-tools .ft-mobile{overflow:visible}
#float-tools .ft-mobile .ft-mobile-pop{position:absolute;right:calc(100% + 16px);top:50%;margin-top:-40px;background:#fff;border-radius:14px;box-shadow:0 8px 30px rgba(0,0,0,.2);padding:16px;opacity:0;visibility:hidden;transform:translateX(10px);transition:all .25s ease;border:1px solid rgba(var(--primary-rgb),.15);white-space:nowrap;z-index:10000}
#float-tools .ft-mobile:hover .ft-mobile-pop,#float-tools .ft-mobile.show .ft-mobile-pop{opacity:1;visibility:visible;transform:translateX(0)}
#float-tools .ft-mobile-title{text-align:center;font-size:13px;font-weight:600;color:#333;margin-bottom:12px}
#float-tools .ft-mobile-qr-box{width:64px;height:64px;margin:0 auto;border:1px solid #e5e5e5;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#fff}
#float-tools .ft-mobile-qr-box img,#float-tools .ft-mobile-qr-box canvas{width:100%!important;height:100%!important}
/* 二级菜单：互动 / 分享 */
#float-tools .ft-has-sub::after,#float-tools .ft-has-sub::before{display:none!important}
#float-tools .ft-has-sub{overflow:visible}
#float-tools .ft-has-sub:hover{transform:none}
#float-tools .ft-has-sub .ft-sub{position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%) translateX(8px);background:#fff;border-radius:12px;border:1px solid rgba(var(--primary-rgb),.18);box-shadow:0 8px 26px rgba(0,0,0,.16);padding:6px;min-width:132px;white-space:nowrap;opacity:0;visibility:hidden;transition:all .22s ease;z-index:10000;display:flex;flex-direction:column;gap:2px}
#float-tools .ft-has-sub:hover .ft-sub,#float-tools .ft-has-sub.show .ft-sub{opacity:1;visibility:visible;transform:translateY(-50%) translateX(0)}
#float-tools .ft-sub::after{content:"";position:absolute;right:-14px;top:0;bottom:0;width:14px}
#float-tools .ft-sub-item{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;font-size:13px;line-height:1.2;color:#333;text-decoration:none;cursor:pointer;transition:background .18s ease,color .18s ease}
#float-tools .ft-sub-item:hover{background:var(--primary-light);color:var(--primary)}
#float-tools .ft-sub-item i{font-style:normal;font-size:15px;line-height:1}
.theme-star #float-tools .ft-has-sub .ft-sub{background:#1b2340;border-color:rgba(121,134,203,.4);box-shadow:0 8px 26px rgba(0,0,0,.5)}
.theme-star #float-tools .ft-sub-item{color:#e0e5f5}
.theme-star #float-tools .ft-sub-item:hover{background:rgba(121,134,203,.22);color:#fff}
/* 文章详情页中间二维码 */
.pn-qr{display:flex;flex-direction:column;align-items:center;gap:6px}
.pn-qr .pn-label{font-size:13px;color:#8b6f47;font-weight:600}
.pn-qr-card{width:110px;height:110px;border:2px solid #c4a47a;border-radius:10px;background:#fff;padding:6px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.pn-qr-box{width:96px;height:96px;overflow:hidden}
.pn-qr-box img,.pn-qr-box canvas{width:100%!important;height:100%!important}
.qr-caption{font-size:11px;color:#8b6f47;text-align:center;margin-top:4px}
.prevnext-grid{align-items:flex-end}
.realm-banner{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:99999;background:rgba(255,255,255,.97);border:2px solid;border-radius:14px;padding:14px 28px;text-align:center;box-shadow:0 10px 34px rgba(0,0,0,.20);animation:rbIn .5s ease;font-family:'Songti SC','STSong','SimSun',serif;max-width:86vw;}
.theme-star .realm-banner{background:rgba(30,34,60,.96);}
.realm-banner.rb-out{animation:rbOut .6s ease forwards;}
.realm-banner .rb-title{font-size:17px;font-weight:700;letter-spacing:1px;}
.realm-banner .rb-poem{font-size:13px;margin-top:4px;opacity:.82;}
.realm-banner .rb-tip{font-size:11px;margin-top:3px;opacity:.55;}
@keyframes rbIn{from{opacity:0;transform:translate(-50%,-16px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes rbOut{to{opacity:0;transform:translate(-50%,-16px)}}
