/* PaiTuYa Bundle CSS - All frontend inline styles consolidated
   Generated: 2026-07-03

   PHP-dependent styles remain as inline <style> in toubu.php:
   - @font-face for HarmonyOS Sans SC (depends on $useLocalHarmonyFont)
   - :root { --pt-card-hover-lift: ... } (depends on $siteSettings)
   - Scrollbar hiding rules (depends on $siteSettings)

   paituya-user.css (auth/user system styles) is loaded separately
   and is NOT duplicated here.
*/


/* === Shared: Layout & Base (index.php, biaoqian.php) === */

body { display:flex; flex-direction:column; min-height:100vh; overflow-x:hidden; }
.content-page { flex:1; }
html { overflow-x:hidden; }


/* === toubu.php: Header, Search, Menu === */

.dark body { background-color: #111827; color: #e5e5e5; }
.header-user-avatar{width:100%;height:100%;border-radius:999px;object-fit:cover;display:block;}
.header-search-form{position:relative;}
.header-search-field{width:100%;height:40px;padding:0 42px 0 16px;font-size:14px;background:#f9fafb;border:1px solid #eef0f4;border-radius:999px;outline:none;transition:.2s ease;color:#1f2937;}
.header-search-field:focus{border-color:#fbcfe8;box-shadow:0 0 0 4px rgba(251,207,232,.35);background:#fff;}
.header-search-btn{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:none;border-radius:999px;background:transparent;color:#9ca3af;cursor:pointer;transition:.2s ease;}
.header-search-btn:hover{background:#fff;color:#8b5cf6;box-shadow:0 6px 16px rgba(139,92,246,.12);}
.mobile-search-btn{display:flex;}
.mobile-search-panel{display:none;position:fixed;top:64px;left:12px;right:12px;z-index:70;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border:1px solid #eef0f4;border-radius:20px;padding:14px;box-shadow:0 18px 42px rgba(15,23,42,.12);}
.mobile-search-panel.show{display:block;}
.menu-panel-pop{display:none;position:fixed;top:56px;right:10px;z-index:60;min-width:200px;max-width:280px;padding:6px;border-radius:18px;background:rgba(255,255,255,.98);backdrop-filter:blur(16px);border:1px solid #eef0f4;box-shadow:0 18px 42px rgba(15,23,42,.14);}
.menu-panel-pop.show{display:block;}
.menu-panel-pop.dark{background:rgba(17,24,39,.98);}
.menu-panel-group{padding:4px 0;}
.menu-panel-group + .menu-panel-group{border-top:1px solid #f1f2f6;}
.menu-panel-item{display:flex;align-items:center;gap:12px;width:100%;padding:0 14px;min-height:44px;border:none;border-radius:12px;background:transparent;color:#374151;font-size:14px;font-weight:700;line-height:1.4;text-decoration:none;cursor:pointer;box-sizing:border-box;transition:background .18s ease,color .18s ease;}
.menu-panel-item:hover{background:#f5f3ff;color:#7c3aed;}
.menu-panel-item i{width:18px;text-align:center;font-size:15px;color:#9ca3af;flex:0 0 auto;}
.menu-panel-item span{flex:1 1 auto;min-width:0;white-space:nowrap;}
.menu-panel-item:hover i{color:#7c3aed;}
.menu-panel-danger{color:#ef4444;}
.menu-panel-danger:hover{background:#fef2f2;color:#dc2626;}
.menu-panel-danger i{color:#f87171;}
.menu-panel-danger:hover i{color:#dc2626;}
@media (max-width:640px){
  .mobile-search-btn,#menuBtn,[data-auth-open="login"]{width:40px!important;height:40px!important;}
  #mobileSearchBtn{display:flex!important;}
  .mobile-search-panel{top:60px;left:8px;right:8px;border-radius:16px;padding:12px;}
  .header-search-field{height:44px;font-size:15px;}
  .header-search-btn{width:36px;height:36px;}
  .menu-panel-pop{right:8px;min-width:180px;max-width:220px;padding:5px;}
  .menu-panel-item{min-height:38px;padding:0 11px;gap:9px;font-size:13px;border-radius:10px;}
  .menu-panel-item i{width:16px;font-size:14px;}
  .menu-panel-group{padding:3px 0;}
  #categoryNav{flex-wrap:wrap!important;gap:10px 16px!important;overflow-x:visible!important;whitespace-space:normal!important;white-space:normal!important;padding:10px 12px!important;}
  #categoryNav a{white-space:nowrap;}
}


/* === toubu.php: Cards, Work Card, Grid === */

.card { width: 300px; border-radius: 12px; overflow: hidden; position: relative; flex-shrink: 0; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.card:hover { transform: translateY(calc(var(--pt-card-hover-lift, 4px) * -1)); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.card-img { width: 100%; aspect-ratio: 3/4; height: auto; object-fit: cover; display: block; }
.img-box { position: relative; overflow: hidden; }
.img-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.04); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
@media (min-width:641px) { .img-box:hover .img-overlay { opacity:1; } }
.card-info { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 4px; background: #fff; position: relative; }
.card-title { font-size: 14px; font-weight: 600; color: #333; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.bottom-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }

/* user / stats: shared across index, toubu, biaoqian, search */
.user { display: flex; align-items: center; gap: 6px; text-decoration: none; color: #666; position: relative; z-index: 3; min-width: 0; flex: 1 1 auto; }
.user:hover .user-name { color: #ff2442; }
.user-name { max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.user:active, .user:focus, .user-name:active, .user-name:focus { text-decoration: none; outline: none; }
.user-avatar { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; display:block; flex-shrink: 0; }
.stats { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.stat { display: flex; align-items: center; gap: 3px; color: #999; font-size: 12px; }
.stat i { font-size: 12px; }
.stat .fa-heart-o,.stat .fa-heart,.icon-btn .fa-heart-o,.icon-btn .fa-heart{color:#ff2442!important;}

/* work-card user: shared across index, toubu, biaoqian, search */
.work-card .fa-heart-o,.work-card .fa-heart{color:#ff2442!important;}
.work-card .user{color:#666;text-decoration:none;position:relative;z-index:3;}
.work-card .user:hover .user-name{text-decoration:none;}
.work-card .user:active .user-name,.work-card .user:focus .user-name{text-decoration:none;outline:none;}

/* card-container base: index.php; toubu.php media queries override below */
.card-container{display:flex;flex-wrap:wrap;gap:18px;justify-content:flex-start;padding:0 14px;max-width:1580px;margin:0 auto;box-sizing:border-box;}
@media (min-width:1200px) { .card-container { max-width: 1580px !important; margin: 0 auto !important; gap: 20px !important; } }
@media (min-width:1280px) {
  .card-container{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:20px!important;padding:0 14px!important;max-width:1580px!important;margin:0 auto!important;justify-items:stretch!important;}
  .card{width:100%!important;max-width:none!important;}
}
@media (min-width:1025px) and (max-width:1279px) {
  .card-container{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;padding:0 14px!important;justify-items:stretch!important;}
  .card{width:100%!important;max-width:none!important;}
}
@media (max-width:1024px) {
  .card-container{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:0 12px!important;justify-items:stretch!important;}
  .card{width:100%!important;max-width:none!important;}
}
@media (max-width:900px) {
  .card-container{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:0 12px!important;justify-items:stretch!important;}
  .card{width:100%!important;max-width:none!important;}
}
@media (max-width:768px) {
  .card{width:100%!important;max-width:none!important;border-radius:14px!important;}
  .card-container{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:0 10px!important;justify-items:stretch!important;box-sizing:border-box!important;}
  .card-img{aspect-ratio:3/4!important;}
  .card-info{padding:8px 10px 10px;gap:4px;}
  .card-title{font-size:13px;line-height:1.4;}
  .user-avatar{width:20px;height:20px;}
  .user-name{font-size:12px;max-width:80px;}
  .stat{font-size:12px;}
  .stat i{font-size:12px;}
}
@media (max-width:380px) {
  .card-container{gap:8px!important;padding:0 6px!important;}
  .card-info{padding:6px 8px 8px;}
  .card-title{font-size:12px;}
  .user-name{font-size:11px;max-width:70px;}
}


/* === toubu.php: Back-to-top & Loader === */

#backToTop { position: fixed; right: 30px; bottom: 30px; width: 50px; height: 50px; border-radius: 50%; background: #ff2442; color: white; border: none; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 8px 20px rgba(255,36,66,0.3); opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); z-index: 999; }
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width:640px) { #backToTop { width: 38px !important; height: 38px !important; right: 16px !important; font-size: 16px !important; } }
.loader { width: 45px; height: 45px; border: 4px solid #e0e0e0; border-top-color: #ff2442; border-radius: 50%; animation: loader 0.6s linear infinite; }
@keyframes loader { to { transform: rotate(360deg); } }


/* === dibu.php: Footer === */

.site-footer{width:100%;max-width:none;margin-top:auto;box-sizing:border-box;display:block;}
.footer-inner{width:100%;margin:0 auto;padding:0 16px;box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;line-height:1.8;}
.footer-inner > *{flex:0 0 auto;white-space:nowrap;}
.footer-inner a{color:inherit;text-decoration:none;}
.footer-inner a:hover{color:#ff2442;}
.footer-sep{opacity:.55;}
@media (max-width:640px){.footer-inner{gap:6px 8px;line-height:1.7;padding:0 12px;}.site-footer{padding-top:18px;padding-bottom:18px;}}


/* === Shared: Breadcrumb (xiangqing.php, search.php) === */
/* Using xiangqing.php version as base (more breakpoints: 768px, 480px, 375px).
   search.php overrides max-width via inline .crumb-nav{max-width:1280px}. */

.crumb-nav{max-width:1460px;margin:0 auto 0rem;padding:0 0.5rem;display:flex;align-items:center;gap:8px;min-width:0;}
.crumb-icon{color:#8b5cf6;font-size:14px;flex:0 0 auto;}
.crumb-list{display:flex;align-items:center;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0;min-width:0;}
.crumb-item{min-width:0;display:flex;align-items:center;}
.crumb-link{color:#6b7280;font-size:13px;font-weight:400;text-decoration:none;transition:color .18s ease;white-space:nowrap;letter-spacing:.02em;}
.crumb-link:hover{color:#8b5cf6;}
.crumb-sep{color:#c4b5fd;font-size:13px;font-weight:400;flex:0 0 auto;}
.crumb-current{color:#111827;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;letter-spacing:.02em;}
.dark .crumb-link{color:#9ca3af;}.dark .crumb-link:hover{color:#a78bfa;}.dark .crumb-current{color:#f3f4f6;}
@media (max-width:768px){
  .crumb-nav{margin:-0.5rem auto 0.5rem;padding:0 0.75rem;}
  .crumb-link,.crumb-sep,.crumb-current{font-size:12px;}
}
@media (max-width:480px){
  .crumb-nav{margin:-0.5rem auto 0.5rem;padding:0 0.75rem;gap:6px;}
  .crumb-link,.crumb-sep,.crumb-current{font-size:11px;}
}
@media (max-width:375px){
  .crumb-link,.crumb-sep,.crumb-current{font-size:10.5px;}
}


/* === search.php: Search Page === */

.search-page{max-width:1280px;margin:0 auto;padding:2px 0 40px;}
.search-hero{padding:10px 0 18px;}
.search-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #f0edf7;color:#8b5cf6;font-size:13px;font-weight:900;box-shadow:0 8px 22px rgba(139,92,246,.08);}
.search-title{margin:14px 0 8px;font-size:30px;line-height:1.2;font-weight:950;color:#111827;}
.search-desc{font-size:14px;color:#6b7280;line-height:1.8;}
.search-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;align-items:start;max-width:1280px;margin:0 auto;}
.search-side,.search-main-card{background:#fff;border:1px solid #eef0f4;border-radius:28px;box-shadow:0 16px 38px rgba(15,23,42,.05);}
.search-side{padding:18px;position:sticky;top:104px;}.search-main-card{padding:18px;box-sizing:border-box;}
.search-side-title,.search-section-title{font-size:16px;font-weight:950;color:#111827;margin:0 0 14px;}
.search-meta-list{display:grid;gap:10px;}.search-meta-item{padding:14px 15px;border-radius:18px;background:#f8fafc;border:1px solid #eef2f7;}.search-meta-item label{display:block;font-size:12px;color:#94a3b8;font-weight:800;margin-bottom:6px;}.search-meta-item strong{display:block;font-size:15px;color:#1f2937;font-weight:950;}
.search-author-list{display:grid;gap:12px;}.search-author-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:20px;background:#faf7ff;border:1px solid #efe7ff;text-decoration:none;color:inherit;}.search-author-card img{width:50px;height:50px;border-radius:50%;object-fit:cover;display:block;}.search-author-name{font-size:14px;font-weight:950;color:#1f2937;}.search-author-meta{font-size:12px;color:#94a3b8;font-weight:800;margin-top:4px;}
.search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}.search-grid .work-card{cursor:pointer;width:100%!important;max-width:none!important;flex-shrink:1;}
.search-grid .user{color:#666;}.search-grid .user:hover .user-name{text-decoration:none;}
.search-grid .user:active .user-name,.search-grid .user:focus .user-name{text-decoration:none;outline:none;}
.search-empty{padding:48px 20px;text-align:center;background:#fff;border-radius:28px;border:1px dashed #e5e7eb;color:#94a3b8;}.search-empty i{font-size:34px;color:#c4b5fd;margin-bottom:12px;display:block;}
@media(max-width:1280px){.search-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:980px){.search-layout{grid-template-columns:1fr;}.search-side{position:static}.search-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:768px){.search-title{font-size:24px}.search-side,.search-main-card{padding:14px;border-radius:22px;}.search-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}}
@media(max-width:480px){.search-grid{grid-template-columns:1fr;}}


/* === biaoqian.php: Tag Page === */

.tag-page{flex:1;width:100%;padding:0 0 40px;}
.tag-hero{max-width:1280px;margin:0 auto 24px;padding:24px 8px 6px;}
.tag-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #f0edf7;color:#8b5cf6;font-size:13px;font-weight:800;box-shadow:0 8px 20px rgba(139,92,246,.08);}
.tag-title-main{margin:14px 0 8px;font-size:28px;line-height:1.25;font-weight:900;color:#1f2937;}
.tag-desc{font-size:14px;color:#6b7280;}
.empty-card{max-width:720px;margin:40px auto;padding:34px 24px;border-radius:22px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 10px 28px rgba(15,23,42,.05);text-align:center;color:#6b7280;}
.empty-card i{font-size:34px;color:#c4b5fd;margin-bottom:12px;}
.tag-card-wrap{max-width:1580px;margin:0 auto;justify-content:flex-start!important;}
.tag-card-wrap .user{color:#666;text-decoration:none;position:relative;z-index:3;}
.tag-card-wrap .user:hover .user-name{text-decoration:none;}
.tag-card-wrap .user:active .user-name,.tag-card-wrap .user:focus .user-name{text-decoration:none;outline:none;}


/* === author.php: Author Home Page === */

.author-home{max-width:1180px;margin:0 auto;padding:4px 0 36px;}
.author-hero{position:relative;overflow:hidden;border-radius:32px;background:linear-gradient(135deg,#fff8fb 0%,#f6f3ff 42%,#ffffff 100%);border:1px solid rgba(255,255,255,.92);box-shadow:0 22px 56px rgba(148,163,184,.16);padding:32px;}
.author-hero:before{content:'';position:absolute;right:-80px;top:-90px;width:260px;height:260px;border-radius:999px;background:rgba(255,36,66,.08);}
.author-hero:after{content:'';position:absolute;left:18%;bottom:-120px;width:320px;height:220px;border-radius:999px;background:rgba(167,139,250,.13);filter:blur(10px);}
.author-main{position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;}
.author-avatar-xl{width:112px;height:112px;border-radius:50%;padding:4px;background:linear-gradient(135deg,#ff2442,#a78bfa);box-shadow:0 18px 42px rgba(167,139,250,.2);}
.author-avatar-xl img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;border:4px solid #fff;}
.author-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.author-title{font-size:32px;font-weight:950;color:#111827;line-height:1.18;}
.author-follow-chip{height:30px;padding:0 14px;border:1px solid rgba(139,92,246,.18);border-radius:999px;background:linear-gradient(135deg,#faf5ff,#fdf2f8);color:#7c3aed;font-size:12px;font-weight:900;display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap;transition:background .2s ease,border-color .2s ease,color .2s ease;}
.author-follow-chip:hover{background:linear-gradient(135deg,#f5f3ff,#fdf4ff);border-color:rgba(139,92,246,.28);color:#6d28d9;}
.author-follow-chip.following{background:linear-gradient(135deg,#fff7ed,#fff1f2);border-color:rgba(251,146,60,.26);color:#ea580c;}
.author-follow-chip i{font-size:11px;}
.author-bio{margin-top:10px;color:#64748b;font-size:14px;line-height:1.8;max-width:560px;}
.author-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;}
.author-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid #ede9fe;color:#7c3aed;font-weight:900;font-size:13px;backdrop-filter:blur(10px);}
.author-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.author-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:999px;text-decoration:none;background:#fff;border:1px solid #eef0f4;color:#475569;font-weight:900;box-shadow:0 8px 22px rgba(15,23,42,.05);}
.author-action.primary{background:linear-gradient(135deg,#ff2442,#fb7185);color:#fff;border-color:transparent;box-shadow:0 14px 28px rgba(255,36,66,.18);}
.author-stats{display:flex;align-items:center;flex-wrap:wrap;gap:0;margin-top:20px;position:relative;z-index:1;padding:13px 16px;border-radius:22px;background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.88);box-shadow:0 10px 28px rgba(148,163,184,.10);backdrop-filter:blur(14px);width:max-content;max-width:100%;}
.author-stat{position:relative;min-width:82px;padding:3px 18px;text-align:center;background:transparent;border:none;border-radius:0;box-shadow:none;backdrop-filter:none;}
.author-stat:not(:last-child)::after{content:'';position:absolute;right:0;top:8px;bottom:8px;width:1px;background:linear-gradient(to bottom,transparent,#e5e7eb,transparent);}
.author-stat strong{display:block;font-size:18px;color:#111827;font-weight:950;line-height:1.15;}.author-stat span{display:block;margin-top:4px;color:#94a3b8;font-size:12px;font-weight:800;}
.author-highlight{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin:20px 0 16px;}.author-highlight-card,.author-about-card,.author-section{background:#fff;border:1px solid #eef0f4;border-radius:26px;box-shadow:0 14px 34px rgba(15,23,42,.05);}.author-highlight-card{padding:22px;}.author-highlight-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;}.author-highlight-title h3,.author-about-card h3,.author-section-title{font-size:18px;font-weight:950;color:#111827;margin:0;}.author-highlight-sub{font-size:13px;color:#94a3b8;font-weight:800;}.author-top-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}.author-top-item{display:block;text-decoration:none;color:inherit;border-radius:20px;overflow:hidden;background:#f8fafc;border:1px solid #eef2f7;}.author-top-item img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;}.author-top-body{padding:10px 11px;}.author-top-name{font-size:13px;font-weight:900;color:#1f2937;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.author-top-meta{margin-top:8px;display:flex;justify-content:space-between;gap:6px;color:#94a3b8;font-size:12px;font-weight:800;}.author-about-card{padding:22px;display:grid;gap:14px;}.author-about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.author-about-item{padding:14px;border-radius:18px;background:#f8fafc;border:1px solid #eef2f7;}.author-about-item label{display:block;font-size:12px;color:#94a3b8;font-weight:800;margin-bottom:6px;}.author-about-item strong{font-size:15px;color:#111827;font-weight:950;}.author-tabs{position:sticky;top:112px;z-index:10;display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 14px;padding:8px;background:rgba(255,255,255,.72);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(237,233,254,.9);border-radius:18px;overflow:visible;box-shadow:0 12px 30px rgba(15,23,42,.05);}.author-tab{border:1px solid transparent;border-radius:14px;background:transparent;color:#64748b;padding:10px 16px;font-weight:900;cursor:pointer;white-space:nowrap;transition:.2s ease;display:inline-flex;align-items:center;gap:7px;}.author-tab:hover{background:#fff;color:#7c3aed;border-color:#ede9fe;box-shadow:0 8px 18px rgba(139,92,246,.08);}.author-tab.active{background:linear-gradient(135deg,#f5f3ff,#fff);color:#6d28d9;border-color:#ddd6fe;box-shadow:inset 0 0 0 1px rgba(196,181,253,.35),0 10px 24px rgba(139,92,246,.10);}.author-tab i{font-size:14px;}.author-section{padding:22px;display:none;}.author-section.active{display:block;}.author-section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px;}.author-section-note{color:#94a3b8;font-size:13px;font-weight:800;}.author-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}.author-card{display:block;text-decoration:none;color:inherit;background:#fff;border-radius:20px;overflow:hidden;border:1px solid #eef0f4;box-shadow:0 12px 28px rgba(15,23,42,.05);transition:.2s ease;}.author-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(167,139,250,.14);}.author-cover{position:relative;aspect-ratio:3/4;background:#f1f5f9;}.author-cover img{width:100%;height:100%;object-fit:cover;display:block;}.cover-gradient{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:8px;padding:34px 12px 10px;background:linear-gradient(to top,rgba(17,24,39,.58),rgba(17,24,39,0));color:#fff;font-size:12px;font-weight:800;}.private-mark{position:absolute;left:10px;top:10px;padding:6px 9px;border-radius:999px;background:rgba(17,24,39,.64);color:#fff;font-size:12px;font-weight:900;backdrop-filter:blur(8px);}.author-card-body{padding:12px;}.author-card-title{font-size:14px;font-weight:900;color:#1f2937;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px;}.author-card-meta{display:flex;justify-content:space-between;gap:8px;margin-top:10px;color:#94a3b8;font-size:12px;font-weight:800;}.empty-author{padding:42px;text-align:center;background:#fff;border-radius:24px;color:#94a3b8;border:1px dashed #e5e7eb;}.author-share-tip{font-size:12px;color:#94a3b8;font-weight:800;margin-top:8px;}.author-follow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}.author-follow-card{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid #eef0f4;text-decoration:none;color:#1f2937;box-shadow:0 10px 24px rgba(15,23,42,.05);}.author-follow-card img{width:48px;height:48px;border-radius:50%;object-fit:cover;flex:0 0 auto;}.author-follow-card span{font-size:14px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@media(max-width:1024px){.author-highlight{grid-template-columns:1fr}.author-top-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.author-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.author-follow-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:900px){.author-main{grid-template-columns:1fr;text-align:center;justify-items:center}.author-actions{justify-content:center}.author-stats{width:100%;justify-content:center;padding:10px 8px;gap:4px}.author-stat{min-width:72px;padding:4px 12px}.author-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.author-tabs{top:58px}.author-title{font-size:26px}.author-about-grid{grid-template-columns:1fr}.author-section{padding:16px}.author-hero{padding:22px}.author-highlight-card,.author-about-card{padding:18px}.author-title-row{justify-content:center}.author-follow-grid{grid-template-columns:1fr}}
@media(max-width:560px){.author-home{padding:0 0 24px}.author-hero{margin:0 -8px;border-radius:0 0 24px 24px;padding:18px 14px}.author-avatar-xl{width:88px;height:88px}.author-title{font-size:22px}.author-bio{font-size:13px;line-height:1.7}.author-badges,.author-actions{gap:8px}.author-action{width:100%;padding:10px 14px}.author-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:18px;margin-top:16px}.author-stat{min-width:0;padding:7px 4px}.author-stat:nth-child(3n)::after{display:none}.author-stat strong{font-size:16px}.author-highlight{margin:14px 0;gap:12px}.author-highlight-card,.author-about-card,.author-section{border-radius:18px;padding:14px}.author-top-grid{grid-template-columns:1fr 1fr;gap:10px}.author-tabs{margin:14px 0 12px;padding:8px;border-radius:16px;top:56px;gap:6px}.author-tab{padding:9px 13px;font-size:13px}.author-grid{gap:10px}.author-card{border-radius:15px}.author-card-body{padding:10px}.author-card-title{font-size:13px;min-height:38px}.author-section-head{align-items:flex-start}.author-follow-card{padding:12px;border-radius:16px}.author-follow-card img{width:42px;height:42px}.empty-author{padding:30px 14px;border-radius:18px}}


/* === user-center.php: User Center / Profile === */

.pt-center-v2{padding-bottom:10px}.pt-hero-upgrade{justify-content:space-between;gap:18px;padding:28px;background:linear-gradient(135deg,#fff 0%,#f8f5ff 52%,#eef6ff 100%);border-radius:28px;box-shadow:0 24px 60px rgba(76,29,149,.08)}.pt-hero-main{display:flex;gap:18px;align-items:center;min-width:0;flex:1}.pt-hero-avatar-wrap{position:relative;flex:0 0 auto}.pt-avatar-lg{width:88px;height:88px}.pt-avatar-edit{position:relative;display:block;width:88px;height:88px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}.pt-avatar-edit .pt-avatar{display:block}.pt-avatar-edit-tip{position:absolute;inset:auto 0 0 0;height:34px;border-radius:0 0 999px 999px;background:rgba(17,24,39,.68);color:#fff;display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:900;opacity:0;transition:opacity .18s ease}.pt-avatar-edit:hover .pt-avatar-edit-tip{opacity:1}.pt-avatar-hidden-input{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}.pt-hero-copy{min-width:0;flex:1}.pt-hero-name-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.pt-hero-name{font-size:28px;font-weight:900;color:#1f2937}.pt-hero-badge{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(139,92,246,.10);color:#7c3aed;font-size:12px;font-weight:900}.pt-hero-bio{color:#7c7f8a;margin-top:10px;line-height:1.8}.pt-hero-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.pt-hero-actions{display:flex;align-items:flex-start}.pt-grid-upgrade{grid-template-columns:auto minmax(0,1fr);gap:20px;align-items:start}.pt-side-upgrade{position:sticky;top:88px;padding:14px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.65);border-radius:18px;box-shadow:0 10px 26px rgba(15,23,42,.035);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%)}.pt-side-title{font-size:16px;font-weight:900;color:#1f2937}.pt-menu-tabs{display:grid;gap:8px;margin-top:12px;justify-items:start}.pt-menu-tab{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(255,255,255,.55);border-radius:12px;background:rgba(255,255,255,.6);color:#475569;cursor:pointer;text-align:left;font-size:13px;font-weight:900;box-shadow:0 6px 16px rgba(15,23,42,.035);backdrop-filter:blur(10px) saturate(160%);-webkit-backdrop-filter:blur(10px) saturate(160%);transition:background-color .18s ease,color .18s ease,box-shadow .18s ease;width:auto;min-width:0;max-width:100%;white-space:nowrap}.pt-menu-tab i{width:17px;text-align:center;color:#8b5cf6;font-size:15px}.pt-menu-tab.active,.pt-menu-tab:hover{background:linear-gradient(135deg,#ede9fe,#f5f3ff);color:#6d28d9;transform:none;box-shadow:0 8px 18px rgba(139,92,246,.08)}.pt-panel-upgrade{padding:22px 22px 24px;background:linear-gradient(180deg,#fff 0%,#fcfcff 100%)}.pt-tab-panel{display:none;animation:ptFadeIn .22s ease}.pt-tab-panel.active{display:block}.pt-section-head-inline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pt-label{display:block;margin:0 0 8px;color:#64748b;font-size:13px;font-weight:900}.pt-profile-form{display:grid;gap:16px}.pt-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pt-form-card{padding:16px;border:1px solid #eef0f7;border-radius:18px;background:#fff}.pt-form-card-full{grid-column:1/-1}.pt-form-card-switch{display:flex;flex-direction:column;justify-content:center}.pt-switch-inline{display:flex;align-items:center;gap:10px;color:#475569;font-weight:800;line-height:1.7}.pt-switch-inline input{width:16px;height:16px;accent-color:#8b5cf6}.pt-profile-submit{margin-top:4px}.pt-privacy-card,.pt-bind-card{margin:0;padding:16px;border:1px solid #ede9fe;border-radius:20px;background:linear-gradient(135deg,#fbfaff,#fff);box-shadow:0 10px 26px rgba(139,92,246,.06)}.pt-bind-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.pt-bind-item{padding:12px;border-radius:16px;background:#fff;border:1px solid #eef0f7}.pt-bind-item strong{display:block;color:#1f2937}.pt-bind-item span{display:block;margin-top:6px;color:#64748b;font-size:13px;font-weight:800;word-break:break-all}.pt-bind-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pt-bind-form .pt-code-row{display:flex;gap:8px}.pt-bind-form .pt-code-row .pt-field{flex:1;min-width:0}.pt-privacy-title{font-size:15px;font-weight:950;color:#1f2937;margin-bottom:6px}.pt-privacy-note{font-size:13px;color:#94a3b8;font-weight:800;margin-bottom:12px}.pt-switch-row{display:flex;align-items:center;gap:10px;padding:10px 0;color:#475569;font-weight:850;border-top:1px solid #f1f2f6}.pt-switch-row:first-of-type{border-top:none}.pt-switch-row input{width:16px;height:16px;accent-color:#8b5cf6}.pt-follow-list,.pt-report-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pt-follow-item{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #eef0f4;border-radius:18px;background:#fff;text-decoration:none;color:#1f2937;box-shadow:0 8px 22px rgba(15,23,42,.04)}.pt-follow-item img{width:46px;height:46px;border-radius:50%;object-fit:cover}.pt-follow-item strong{display:block;font-size:14px;font-weight:950}.pt-follow-item span{display:block;margin-top:4px;font-size:12px;color:#94a3b8;font-weight:800}.pt-section-note{margin:-6px 0 14px;color:#94a3b8;font-size:13px;font-weight:800}.pt-report-item{display:grid;gap:12px;padding:16px;border:1px solid #eef0f4;border-radius:20px;background:linear-gradient(135deg,#fff,#fbfaff);box-shadow:0 10px 26px rgba(15,23,42,.04)}.pt-report-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.pt-report-title{font-size:15px;font-weight:950;color:#1f2937;line-height:1.6}.pt-report-meta{display:flex;flex-wrap:wrap;gap:8px;color:#94a3b8;font-size:12px;font-weight:800}.pt-report-reason{padding:10px 12px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:13px;font-weight:900}.pt-report-note{padding:12px;border-radius:14px;background:#f8fafc;border:1px solid #e5e7eb;color:#475569;font-size:13px;line-height:1.8}.pt-report-status{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}.pt-report-status.waiting{background:#fff7ed;color:#c2410c}.pt-report-status.processing{background:#eff6ff;color:#2563eb}.pt-report-status.done{background:#f0fdf4;color:#15803d}
@keyframes ptFadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:960px){.pt-grid-upgrade{grid-template-columns:1fr}.pt-side-upgrade{position:static;overflow:hidden}.pt-menu-tabs{display:flex;flex-wrap:wrap;gap:8px;overflow:visible}.pt-menu-tab{flex:0 0 auto}.pt-form-grid{grid-template-columns:1fr}}
@media(max-width:760px){.pt-center-v2{padding:0 10px 10px}.pt-hero-upgrade{padding:18px;border-radius:22px;flex-direction:column;align-items:stretch}.pt-hero-main{align-items:center;gap:14px}.pt-avatar-lg,.pt-avatar-edit{width:72px;height:72px}.pt-avatar-edit-tip{height:28px;font-size:11px;opacity:1}.pt-hero-name{font-size:22px}.pt-hero-bio{font-size:13px;line-height:1.6}.pt-hero-actions{justify-content:flex-start}.pt-panel-upgrade{padding:16px 12px;border-radius:18px}.pt-menu-tabs{margin-top:10px}.pt-menu-tab{padding:9px 11px;font-size:13px}.pt-form-card,.pt-privacy-card{padding:13px;border-radius:16px}.pt-profile-submit{width:100%;max-width:none!important}.pt-follow-list,.pt-report-list{grid-template-columns:1fr}.pt-item{grid-template-columns:64px minmax(0,1fr);gap:10px}.pt-item .pt-actions{grid-column:1/-1;justify-content:flex-start}.pt-table{display:block;overflow-x:auto;white-space:nowrap}}
@media(max-width:480px){.pt-hero-main{align-items:flex-start}.pt-hero-name-row{gap:8px}.pt-hero-badge,.pt-mini{font-size:12px}.pt-hero-meta{gap:8px;width:100%}.pt-hero-meta .pt-mini,.pt-hero-actions .pt-mini{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 10px;white-space:nowrap}.pt-hero-actions{width:100%;justify-content:flex-start}.pt-section-head-inline{align-items:flex-start}.pt-report-top{flex-direction:column}.pt-switch-row,.pt-switch-inline{align-items:flex-start}.pt-side-title{font-size:15px}.pt-bind-grid,.pt-bind-form{grid-template-columns:1fr}.pt-bind-form .pt-code-row{flex-direction:column}}

/* === user-center.php: Glassmorphism Visual Upgrade === */

/* Page decorative background: soft purple-pink glow */
body{background:radial-gradient(circle at 15% 8%,rgba(196,181,253,.24),transparent 30%),radial-gradient(circle at 85% 18%,rgba(251,207,232,.20),transparent 28%),radial-gradient(circle at 50% 92%,rgba(167,139,250,.18),transparent 34%),#f9f9f9;background-attachment:fixed}

/* Glassmorphism common params */
.pt-hero-upgrade,.pt-panel-upgrade,.pt-form-card,.pt-privacy-card,.pt-bind-card,.pt-follow-item,.pt-report-item,.pt-item,.pt-comment-card,.pt-tip-card{position:relative;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.55);backdrop-filter:blur(10px) saturate(160%);-webkit-backdrop-filter:blur(10px) saturate(160%);box-shadow:0 10px 30px rgba(76,29,149,.08)}

/* Hero container: softer gradient direction */
.pt-hero-upgrade{background:linear-gradient(135deg,rgba(255,255,255,.68) 0%,rgba(248,245,255,.6) 52%,rgba(238,246,255,.6) 100%)}

/* Panel container transparency */
.pt-panel-upgrade{background:rgba(255,255,255,.62)}

/* Card hover micro-feedback */
.pt-item,.pt-follow-item,.pt-report-item,.pt-comment-card,.pt-tip-card{transition:box-shadow .18s ease,background-color .18s ease}
.pt-item:hover,.pt-follow-item:hover,.pt-report-item:hover,.pt-comment-card:hover,.pt-tip-card:hover{box-shadow:0 16px 40px rgba(76,29,149,.14)}

/* Sidebar border coordination */
.pt-side-upgrade{border-color:rgba(255,255,255,.55)}

/* Embedded tip cards: higher opacity for contrast */
.pt-report-reason,.pt-report-note,.pt-bind-item{background:rgba(255,255,255,.82)}

/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .pt-hero-upgrade,.pt-panel-upgrade,.pt-form-card,.pt-privacy-card,.pt-bind-card,.pt-follow-item,.pt-report-item,.pt-item,.pt-comment-card,.pt-tip-card,.pt-side-upgrade,.pt-menu-tab{background:rgba(255,255,255,.94)}
}

/* === user-center.php: Mobile Xiaohongshu-style Double Column Layout === */

/* Comment / tip card grid: desktop single column, mobile double */
.pt-cards-grid{display:grid;grid-template-columns:1fr;gap:12px}
.pt-empty{color:#94a3b8;font-size:14px;font-weight:800;padding:8px 4px}

/* Comment card */
.pt-comment-card{display:flex;flex-direction:column;gap:8px;padding:14px}
.pt-comment-work{color:#8b5cf6;font-size:13px;font-weight:900;text-decoration:none;word-break:break-all}
.pt-comment-work:hover{text-decoration:underline}
.pt-comment-content{color:#1f2937;font-size:13px;line-height:1.7;flex:1;word-break:break-word}
.pt-comment-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.pt-comment-time{color:#94a3b8;font-size:12px;font-weight:800}

/* Tip card grid: desktop 3 cols, mobile 2 cols */
.pt-tip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}

/* Tip card: Xiaohongshu style (image above text below) */
.pt-tip-card{display:flex;flex-direction:column;padding:0;overflow:hidden;border-radius:16px}
.pt-tip-cover{position:relative;width:100%;aspect-ratio:3/4;overflow:hidden;background:#f0edf7}
.pt-tip-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.pt-tip-card:hover .pt-tip-cover img{transform:scale(1.05)}
.pt-tip-badge{position:absolute;left:8px;bottom:8px;padding:4px 10px;border-radius:999px;background:rgba(17,24,39,.62);color:#fff;font-size:13px;font-weight:950;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.pt-tip-body{display:flex;flex-direction:column;gap:5px;padding:10px 11px 12px}
.pt-tip-work{color:#1f2937;font-size:13px;font-weight:850;line-height:1.5;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.pt-tip-work:hover{color:#7c3aed}
.pt-tip-note{color:#64748b;font-size:12px;line-height:1.5;word-break:break-word;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.pt-tip-foot{display:flex;align-items:center;gap:6px;margin-top:2px}
.pt-tip-time{font-size:11px;color:#94a3b8;font-weight:800}

@media(max-width:760px){
  /* Image cards: vertical double column */
  .pt-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pt-item{flex-direction:column;align-items:stretch;padding:0;gap:0;overflow:hidden}
  .pt-item img{width:100%;height:auto;aspect-ratio:3/4;border-radius:0;object-fit:cover}
  .pt-item>div:not(.pt-actions){width:100%;padding:9px 10px 5px}
  .pt-item .pt-actions{margin-left:0;padding:0 10px 10px;flex-wrap:wrap}
  .pt-item .pt-mini{font-size:11px;padding:5px 9px}

  /* Follow / comment / tip: mobile double column */
  .pt-follow-list,.pt-cards-grid,.pt-tip-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pt-follow-item{padding:10px;gap:8px}
  .pt-follow-item img{width:38px;height:38px}
  .pt-follow-item strong{font-size:12px}
  .pt-follow-item span{font-size:11px}

  /* Report: keep single column for readability */
  .pt-report-list{grid-template-columns:1fr}

  /* Container padding */
  .pt-panel-upgrade{padding:14px 10px}
}

@media(max-width:480px){
  /* Ultra-narrow: maintain double column, tighten spacing */
  .pt-list,.pt-follow-list,.pt-cards-grid,.pt-tip-grid{gap:8px}
  .pt-comment-card{padding:12px}
  .pt-tip-body{padding:8px 9px 10px}
}


/* === xiangqing.php: Detail Page === */

:root{--detail-primary:#8b5cf6;--detail-soft:#f5f3ff;--detail-soft-2:#fbfaff;--detail-text:#1f2937;--detail-muted:#6b7280;--detail-line:#efedf7;}
body { background:#f9f9fb; -webkit-overflow-scrolling:touch; }
.detail-page{max-width:1460px;margin:0 auto;padding:10px 8px 32px;}
.detail-layout{display:grid;grid-template-columns:minmax(0, 1.05fr) minmax(360px, .95fr);gap:42px;align-items:start;}
.detail-preview{background:#fff;border-radius:6px;padding:12px;box-shadow:0 10px 30px rgba(15,23,42,.04);border:1px solid #f1f2f6;box-sizing:border-box;align-self:start;}
.detail-preview-main{background:#f3efef;border-radius:2px;overflow:hidden;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;cursor:zoom-in;position:relative;}
.detail-preview-main img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .2s ease, transform .28s ease;}
.detail-preview-main:hover img{transform:scale(1.015);}
.detail-carousel{display:none;}
.hero-nav-btn{position:absolute;top:50%;transform:translateY(-50%) scale(.96);width:auto;height:auto;border:none;border-radius:0;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;box-shadow:none;text-shadow:0 3px 12px rgba(0,0,0,.55);transition:opacity .45s ease,transform .45s ease,text-shadow .45s ease;opacity:0;padding:18px 12px;pointer-events:none;}
.detail-preview-main:hover .hero-nav-btn{opacity:.92;transform:translateY(-50%) scale(1);pointer-events:auto;}
.hero-nav-btn:hover{background:transparent;color:#fff;transform:translateY(-50%) scale(1.16)!important;box-shadow:none;opacity:1;text-shadow:0 4px 16px rgba(0,0,0,.7);}
.hero-nav-btn.prev{left:16px;}
.hero-nav-btn.next{right:16px;}
.hero-nav-btn i{font-size:30px;font-weight:900;}
.hero-nav-btn:disabled{opacity:.35;cursor:not-allowed;transform:translateY(-50%);box-shadow:none;}
.image-count-badge{position:absolute;left:50%;bottom:14px;transform:translateX(-50%) translateY(8px);z-index:4;display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:28px;padding:0 12px;border-radius:999px;background:rgba(17,24,39,.46);color:#fff;font-size:13px;font-weight:800;line-height:1;box-shadow:0 8px 22px rgba(0,0,0,.18);backdrop-filter:blur(10px);opacity:0;pointer-events:none;transition:opacity .45s ease,transform .45s ease;}
.detail-preview-main:hover .image-count-badge{opacity:1;transform:translateX(-50%) translateY(0);}
.lightbox-count-badge{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:3;display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:30px;padding:0 13px;border-radius:999px;background:rgba(17,24,39,.5);color:#fff;font-size:13px;font-weight:900;line-height:1;box-shadow:0 8px 22px rgba(0,0,0,.24);backdrop-filter:blur(10px);}
.detail-side{display:flex;flex-direction:column;gap:14px;position:sticky;top:92px;}
.detail-side > .summary-card{margin-top:auto;}
.action-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-6px;}
.action-icons,.action-main{display:flex;align-items:center;gap:10px;}
.icon-btn,.download-btn{height:36px;border-radius:6px;border:1px solid #e8e9ef;background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s ease;font-size:14px;color:#7b8190;box-shadow:0 2px 10px rgba(15,23,42,.03);}
.icon-btn{width:36px;}
.icon-btn:hover,.download-btn:hover{border-color:#d8cbe8;box-shadow:0 8px 20px rgba(196,181,253,.12);color:var(--detail-primary);}
.action-like-btn i{color:#ff2442!important;}.action-fav-btn i{color:#f59e0b;}.action-share-btn i{color:#8b5cf6;}.action-edit-btn i{color:#64748b;}.action-tip-btn,.action-cart-btn{background:linear-gradient(135deg,#fff7ed,#fff);border-color:#fed7aa;color:#f97316;}.action-cart-btn i,.action-tip-btn i{color:#f97316;}.action-cart-btn:hover,.action-tip-btn:hover{border-color:#fdba74;color:#ea580c;box-shadow:0 8px 20px rgba(249,115,22,.14);}.action-report-btn{background:#fff;border-color:#e8e9ef;color:#7b8190;}.action-report-btn:hover{border-color:#d8cbe8;color:#6b7280;box-shadow:0 8px 20px rgba(196,181,253,.12);}
.download-btn{padding:0 16px;background:linear-gradient(135deg,#c4b5fd,#a78bfa);color:#fff;border-color:#c4b5fd;font-weight:700;gap:8px;transform:none!important;will-change:auto;}
.download-btn:hover,.download-btn:active,.download-btn:focus{color:#fff;filter:brightness(.99);transform:none!important;}
.report-modal-mask{position:fixed;inset:0;background:rgba(17,24,39,.44);backdrop-filter:blur(8px);z-index:10030;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .36s ease,visibility .36s ease;}.report-modal-mask.show{opacity:1;visibility:visible;pointer-events:auto;}.report-modal-mask.closing{opacity:0;visibility:visible;pointer-events:none;}.report-modal{width:min(520px,94vw);background:#fff;border-radius:26px;box-shadow:0 30px 80px rgba(15,23,42,.25);overflow:hidden;border:1px solid rgba(255,255,255,.9);will-change:transform,opacity;backface-visibility:hidden;transform:translateY(18px);opacity:0;transition:transform .36s cubic-bezier(.22,1,.36,1),opacity .28s ease;}.report-modal-mask.show .report-modal{transform:translateY(0);opacity:1;}.report-modal-mask.closing .report-modal{transform:translateY(12px);opacity:0;}.report-head{padding:20px 22px;background:linear-gradient(135deg,#fff1f2,#fff7ed);display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ffe4e6;}.report-title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:900;color:#1f2937;}.report-title i{width:38px;height:38px;border-radius:14px;background:#e11d48;color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 12px 24px rgba(225,29,72,.18);}.report-close{width:36px;height:36px;border:none;border-radius:999px;background:#fff;color:#64748b;cursor:pointer;box-shadow:0 6px 18px rgba(15,23,42,.06);}.report-body{padding:20px 22px 22px;}.report-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 14px;}.report-option{position:relative;}.report-option input{position:absolute;opacity:0;pointer-events:none;}.report-option span{display:flex;align-items:center;gap:8px;padding:12px 13px;border:1px solid #eef0f4;border-radius:16px;background:#fff;color:#4b5563;font-size:13px;font-weight:800;cursor:pointer;transition:.2s ease;}.report-option input:checked+span{border-color:#fb7185;background:#fff1f2;color:#be123c;box-shadow:0 10px 22px rgba(225,29,72,.08);}.report-textarea{width:100%;box-sizing:border-box;border:1px solid #e5e7eb;border-radius:18px;padding:13px 14px;min-height:110px;outline:none;resize:vertical;font-size:14px;}.report-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px;}.report-cancel,.report-submit{border:none;border-radius:999px;padding:11px 18px;font-weight:900;cursor:pointer;}.report-cancel{background:#f8fafc;color:#64748b;}.report-submit{background:linear-gradient(135deg,#e11d48,#fb7185);color:#fff;box-shadow:0 12px 24px rgba(225,29,72,.18);}
.detail-toast-wrap{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:2147483647;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;width:min(92vw,420px);}.detail-toast{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.94);color:#475569;border:1px solid rgba(226,232,240,.95);box-shadow:0 12px 32px rgba(148,163,184,.22);font-size:13px;font-weight:800;line-height:1;backdrop-filter:blur(16px);opacity:0;transform:translateY(-8px) scale(.98);transition:opacity .2s ease,transform .2s ease;max-width:100%;pointer-events:none;white-space:nowrap;}.detail-toast.show{opacity:1;transform:translateY(0) scale(1);}.detail-toast i{width:21px;height:21px;border-radius:999px;background:#f8fafc;color:#94a3b8;display:inline-flex;align-items:center;justify-content:center;font-size:11px;flex:0 0 auto;}.detail-toast-count{margin-left:2px;padding:2px 7px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:12px;font-weight:900;}.detail-toast.success{background:rgba(240,253,244,.96);color:#166534;border-color:#bbf7d0;box-shadow:0 12px 30px rgba(34,197,94,.14);}.detail-toast.success i{background:#dcfce7;color:#22c55e;}.detail-toast.warning{background:rgba(255,251,235,.97);color:#92400e;border-color:#fde68a;box-shadow:0 12px 30px rgba(245,158,11,.14);}.detail-toast.warning i{background:#fef3c7;color:#f59e0b;}.detail-toast.error{background:rgba(254,242,242,.97);color:#991b1b;border-color:#fecaca;box-shadow:0 12px 30px rgba(239,68,68,.12);}.detail-toast.error i{background:#fee2e2;color:#ef4444;}
.tip-modal-mask{position:fixed;inset:0;background:rgba(17,24,39,.42);backdrop-filter:blur(10px);z-index:10035;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .36s ease,visibility .36s ease;}.tip-modal-mask.show{opacity:1;visibility:visible;pointer-events:auto;}.tip-modal-mask.closing{opacity:0;visibility:visible;pointer-events:none;}.tip-modal-shell{position:relative;width:min(410px,94vw);}.report-close,.summary-modal-close,.tip-modal-close,.lightbox-close{position:relative;overflow:hidden;background:#fff!important;color:#64748b!important;transition:color .22s ease,box-shadow .28s ease!important;}.report-close i,.summary-modal-close i,.tip-modal-close i,.lightbox-close i{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;transition:color .22s ease;}.report-close:hover,.summary-modal-close:hover,.tip-modal-close:hover,.lightbox-close:hover{color:#ef4444!important;box-shadow:0 12px 28px rgba(15,23,42,.14)!important;}.report-close:hover i,.summary-modal-close:hover i,.tip-modal-close:hover i,.lightbox-close:hover i{color:#ef4444!important;}.tip-modal-close{position:absolute;right:-10px;top:-10px;z-index:2;width:38px;height:38px;border:none;border-radius:50%;font-size:18px;cursor:pointer;box-shadow:0 14px 34px rgba(15,23,42,.16);}.tip-modal{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#fcfbff 100%);border-radius:28px;box-shadow:0 30px 80px rgba(139,92,246,.18);padding:22px 18px 20px;border:1px solid #efe9ff;will-change:transform,opacity;backface-visibility:hidden;transform:translateY(18px);opacity:0;transition:transform .36s cubic-bezier(.22,1,.36,1),opacity .28s ease;}.tip-modal-mask.show .tip-modal{transform:translateY(0);opacity:1;}.tip-modal-mask.closing .tip-modal{transform:translateY(12px);opacity:0;}.tip-modal:before{content:'';position:absolute;inset:0 0 auto 0;height:128px;background:radial-gradient(circle at 18% 18%,rgba(251,113,133,.18),transparent 34%),radial-gradient(circle at 78% 0%,rgba(139,92,246,.18),transparent 38%),linear-gradient(135deg,#fbfaff,#fff7fb);}.tip-modal:after{content:'';position:absolute;right:26px;top:22px;width:86px;height:86px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.9) 0%,rgba(255,255,255,.2) 56%,transparent 72%);}.tip-modal>*{position:relative;z-index:1}.tip-modal-head{display:flex;align-items:center;justify-content:center;padding:2px 4px 8px}.tip-modal-title{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:950;color:#1f2937;margin:0;}.tip-author-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 12px 24px rgba(139,92,246,.16);background:#f5f3ff;}.tip-modal-quote{text-align:center;margin:18px 0 24px;color:#7c3aed;font-size:15px;font-weight:900;letter-spacing:1px;}.tip-amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px;}.tip-amount-btn{height:54px;border:1px solid #ebe7fb;border-radius:16px;background:#fff;padding:0;font-size:0;font-weight:900;color:#334155;cursor:pointer;transition:.18s ease;box-shadow:0 8px 18px rgba(139,92,246,.04);}.tip-amount-btn span{font-size:26px;line-height:1;font-weight:900;letter-spacing:.4px;}.tip-amount-btn span:before{content:'\01F36C';font-size:18px;margin-right:6px;font-weight:500;vertical-align:2px;}.tip-amount-btn span:after{content:'\00A5';font-size:13px;margin-left:2px;vertical-align:-6px;color:#94a3b8;}.tip-amount-btn.active{border-color:#c4b5fd;color:#7c3aed;background:linear-gradient(135deg,#f6f2ff,#fff);box-shadow:0 14px 26px rgba(139,92,246,.12);}.tip-amount-btn:hover{border-color:#c4b5fd;color:#7c3aed;}.tip-amount-custom-btn{display:flex;align-items:center;justify-content:center;padding:0 10px;}.tip-amount-custom-btn input{width:100%;height:100%;border:none;background:transparent;outline:none;text-align:center;font-size:14px;font-weight:900;color:#7c3aed;}.tip-amount-custom-btn input::placeholder{color:#a78bfa;font-weight:800;}.tip-amount-preview{margin:16px 0 13px;text-align:center;color:#16a34a;font-size:22px;font-weight:900;line-height:1;display:flex;align-items:center;justify-content:center;gap:6px;}.tip-amount-preview strong{font-size:42px;margin-left:2px;}.tip-custom-input{display:none;}.tip-pay-types{display:grid;grid-template-columns:1fr;gap:10px;margin-top:8px;}.tip-pay-types label{display:flex;align-items:center;justify-content:center;height:42px;border:1px solid #bbf7d0;border-radius:15px;background:linear-gradient(135deg,#f0fdf4,#fff);color:#16a34a;font-size:14px;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(34,197,94,.08);}.tip-pay-types input{position:absolute;opacity:0;pointer-events:none;}.tip-qr-box{margin:18px auto 0;padding:16px;border-radius:18px;background:#fff;border:1px solid #ece8fb;text-align:center;box-shadow:0 8px 22px rgba(15,23,42,.05);max-width:260px;}.tip-qr-title{font-size:13px;font-weight:900;color:#1f2937;margin-bottom:10px;}.tip-qr-title span{color:#16a34a;}.tip-qr-box img{display:block;width:200px;height:200px;max-width:100%;object-fit:contain;border-radius:12px;background:#fff;padding:8px;border:1px solid #f3f4f6;margin:0 auto;}.tip-pay-status{margin-top:12px;color:#64748b;font-size:13px;font-weight:800;}.tip-pay-link{display:inline-flex;margin-top:10px;color:#7c3aed;font-weight:800;text-decoration:none;font-size:13px;}.tip-success-box{margin:18px auto 0;padding:22px 18px;border-radius:22px;background:linear-gradient(135deg,#f0fdf4,#fff);border:1px solid #bbf7d0;text-align:center;box-shadow:0 10px 24px rgba(34,197,94,.08);}.tip-success-icon{width:56px;height:56px;border-radius:20px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;margin:0 auto 12px;box-shadow:0 14px 24px rgba(34,197,94,.18);}.tip-success-title{font-size:20px;font-weight:950;color:#166534;}.tip-success-desc{margin-top:8px;color:#15803d;font-size:14px;font-weight:800;}.tip-rank-box{margin-top:18px;padding:16px;border-radius:20px;background:linear-gradient(135deg,#fbfaff,#fff);border:1px solid #ede9fe;}.tip-rank-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:950;color:#7c3aed;margin-bottom:12px;}.tip-rank-title i{color:#f59e0b;}.tip-rank-list{display:grid;gap:10px;}.tip-rank-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;background:#fff;border:1px solid #f3f0ff;}.tip-rank-item img{width:38px;height:38px;border-radius:50%;object-fit:cover;}.tip-rank-no{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#8b5cf6,#c4b5fd);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;}.tip-rank-meta{display:grid;gap:3px;min-width:0;}.tip-rank-meta strong{font-size:14px;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.tip-rank-meta span{font-size:12px;color:#16a34a;font-weight:900;}.tip-rank-empty{text-align:center;color:#94a3b8;font-size:13px;font-weight:800;padding:8px 0;}.tip-modal-actions{margin-top:18px;}.tip-modal-submit{width:100%;height:48px;border:none;border-radius:16px;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 14px 28px rgba(139,92,246,.22);}.tip-modal-submit:disabled{opacity:.72;cursor:not-allowed;}
.detail-title{font-size:20px;line-height:1.65;font-weight:900;color:var(--detail-text);margin:0;padding:4px 0 2px;}
.author-card{background:linear-gradient(180deg,#f7f4fb 0%,#f5f3ff 100%);border:1px solid #ede9fe;border-radius:10px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:none;}
.author-left{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;color:inherit;}
.author-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--detail-primary),#fb7185);display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:800;box-shadow:0 10px 24px rgba(196,181,253,.16);overflow:hidden;flex:0 0 auto;}
.author-avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.author-meta{min-width:0;display:flex;flex-direction:column;gap:3px;}
.author-name-row{display:flex;align-items:center;gap:8px;min-width:0;}
.author-name{font-size:15px;font-weight:700;color:var(--detail-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:160px;}
.author-follow-chip{height:22px;padding:0 10px;border:1px solid rgba(139,92,246,.18);border-radius:999px;background:linear-gradient(135deg,#faf5ff,#fdf2f8);color:#7c3aed;font-size:11px;font-weight:900;display:inline-flex;align-items:center;gap:5px;box-shadow:none;cursor:pointer;white-space:nowrap;flex:0 0 auto;transition:background .2s ease,border-color .2s ease,color .2s ease;}
.author-follow-chip:hover{background:linear-gradient(135deg,#f5f3ff,#fdf4ff);border-color:rgba(139,92,246,.3);color:#6d28d9;}
.author-follow-chip.following{background:linear-gradient(135deg,#fff7ed,#fff1f2);border-color:rgba(251,146,60,.26);color:#ea580c;}
.author-follow-chip i{font-size:10px;}
.author-sub{font-size:12px;color:#9b8bc3;margin-top:3px;display:flex;align-items:center;gap:6px;}
.author-sub-dot{width:8px;height:8px;border-radius:999px;background:#facc15;display:inline-block;}
.author-right{text-align:right;color:var(--detail-muted);font-size:12px;flex:0 0 auto;}
.pt-comment-user{display:inline-flex;align-items:center;gap:8px;min-width:0;text-decoration:none!important;color:inherit;vertical-align:middle;}
.pt-comment-user:hover,.pt-comment-user:hover .pt-comment-name{text-decoration:none!important;color:#7c3aed;}
.pt-comment-content{font-size:16px;line-height:1.9;word-break:break-word;}
.pt-comment-actions{margin-top:8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.pt-comment-action{font-size:13px;font-weight:700;line-height:1.2;text-decoration:none!important;}
.pt-comment-action:hover{text-decoration:none!important;}
.pt-comment-name{display:inline-block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475569;font-weight:900;transition:color .18s ease;text-decoration:none!important;}
.author-right .views{font-size:14px;font-weight:500;color:#6b7280;display:flex;align-items:center;gap:6px;justify-content:flex-end;}
.author-right .date{margin-top:4px;}
.thumb-strip{display:flex;gap:10px;overflow-x:auto;padding-bottom:2px;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;position:relative;}
.thumb-strip::-webkit-scrollbar{display:none;}
.thumb-strip-wrap{position:relative;}
.thumb-strip-wrap .thumb-arrow{position:absolute;top:50%;transform:translateY(-50%) scale(.96);width:auto;height:auto;border:none;border-radius:0;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;box-shadow:none;text-shadow:0 3px 12px rgba(0,0,0,.55);transition:opacity .3s ease,transform .3s ease,text-shadow .3s ease;opacity:0;padding:14px 8px;pointer-events:none;}
.thumb-strip-wrap:hover .thumb-arrow{opacity:.92;transform:translateY(-50%) scale(1);pointer-events:auto;}
.thumb-arrow:hover{background:transparent;color:#fff;transform:translateY(-50%) scale(1.16)!important;box-shadow:none;opacity:1;text-shadow:0 4px 16px rgba(0,0,0,.7);}
.thumb-arrow.prev{left:0;}
.thumb-arrow.next{right:0;}
.thumb-arrow i{font-size:22px;font-weight:900;}
.thumb-card{position:relative;width:94px;height:118px;border-radius:6px;overflow:hidden;flex:0 0 auto;background:#f3f4f6;border:1px solid #ececf3;cursor:pointer;transition:.2s ease;}
.thumb-card.active{border-color:#c4b5fd;box-shadow:0 10px 20px rgba(196,181,253,.22);}
.thumb-card img{width:100%;height:100%;object-fit:cover;display:block;}
.pager-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.pager-card{height:52px;padding:0 16px;border-radius:8px;border:1px solid #ebecef;background:#fff;color:#6b7280;display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;font-size:14px;transition:.2s ease;overflow:hidden;}
.pager-card:hover{border-color:#ddd6fe;color:#8b5cf6;box-shadow:0 8px 20px rgba(196,181,253,.10);}
.pager-card.disabled{opacity:.45;cursor:not-allowed;pointer-events:none;}
.pager-label{display:flex;align-items:center;gap:8px;white-space:nowrap;}
.pager-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tag-panel{background:#fff;border:1px solid #ececf3;border-radius:8px;padding:12px 14px;overflow:visible;}
.tag-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:800;color:#4b5563;margin-bottom:8px;}
.tag-title i{color:#8b5cf6;font-size:14px;}
.tag-scroll-wrap{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;overflow:visible;}
.tag-scroll-wrap.has-overflow{grid-template-columns:28px minmax(0,1fr) 28px;}
.tag-scroll-btn{width:28px;height:28px;border:none;border-radius:999px;background:#f8f7fc;color:#8b5cf6;display:none;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 16px rgba(139,92,246,.08);transition:.2s ease;}
.tag-scroll-wrap.has-overflow .tag-scroll-btn{display:inline-flex;}
.tag-scroll-btn:hover{background:#f5f3ff;color:#6d28d9;box-shadow:0 8px 20px rgba(139,92,246,.14);}
.tag-scroll-btn:disabled{opacity:.32;cursor:not-allowed;box-shadow:none;}
.tag-row{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;min-width:0;padding:6px 0 10px;margin:-4px 0 -6px;}
.tag-row::-webkit-scrollbar{display:none;}
.tag-chip{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:8px;background:#f8f8fb;border:1px solid #ececf3;color:#7c8191;font-size:13px;line-height:1;text-decoration:none;white-space:nowrap;transition:.2s ease;position:relative;z-index:1;}
.tag-chip:hover{border-color:#ddd6fe;color:#8b5cf6;background:#fff;box-shadow:0 8px 20px rgba(196,181,253,.10);transform:translateY(-1px);}
.info-card,.summary-card{background:linear-gradient(180deg,#f8f7fc 0%,#f5f5fb 100%);border:1px solid #efedf7;border-radius:10px;padding:14px 16px;box-shadow:none;}
.info-card{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.info-card .card-title-sm{margin-bottom:0;flex:0 0 auto;white-space:nowrap;}
.card-title-sm{font-size:15px;font-weight:800;color:#4b5563;display:flex;align-items:center;gap:8px;margin-bottom:12px;line-height:1.4;}
.card-title-sm i{color:#9ca3af;line-height:1;}
.info-grid{display:flex;flex-wrap:wrap;gap:20px;font-size:13px;color:#6b7280;align-items:center;}
.info-item{display:flex;align-items:center;gap:8px;line-height:1.4;}
.info-item span{line-height:1.4;display:inline-flex;align-items:center;}
.info-item strong{font-size:16px;color:#374151;line-height:1.4;display:inline-flex;align-items:center;}
.summary-card{position:relative;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden;}
.summary-text{font-size:14px;line-height:1.9;color:#5b6473;white-space:pre-wrap;display:block;overflow:hidden;text-align:left;word-break:break-word;opacity:0;transition:opacity .12s ease;}
.summary-text.ready{opacity:1;}
.read-more-inline{display:inline;color:#8b5cf6;font-weight:800;cursor:pointer;text-decoration:none;white-space:nowrap;position:relative;z-index:2;padding-left:4px;vertical-align:baseline;}
.read-more-inline:hover{text-decoration:underline;}
.summary-modal-mask{position:fixed;inset:0;background:rgba(17,24,39,.42);backdrop-filter:blur(8px);z-index:9998;display:none;align-items:center;justify-content:center;padding:20px;}
.summary-modal-mask.show{display:flex;}
.summary-modal{width:min(720px,92vw);max-height:min(78vh,720px);background:#fff;border-radius:24px;box-shadow:0 30px 80px rgba(15,23,42,.24);border:1px solid rgba(255,255,255,.9);overflow:hidden;display:flex;flex-direction:column;}
.summary-modal-head{padding:18px 22px;background:linear-gradient(135deg,#f5f3ff,#fbfaff);display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #efedf7;}
.summary-modal-title{font-size:18px;font-weight:900;color:#1f2937;display:flex;align-items:center;gap:10px;}
.summary-modal-title i{color:#8b5cf6;}
.summary-modal-close{width:36px;height:36px;border:none;border-radius:999px;background:#fff;color:#6b7280;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(15,23,42,.06);}
.summary-modal-body{padding:22px;font-size:15px;line-height:2;color:#4b5563;white-space:pre-wrap;overflow:auto;}
.pt-comment-box{margin-top:26px;background:linear-gradient(180deg,#fff,#fbfaff);border:1px solid #efedf7;border-radius:24px;padding:20px;box-shadow:0 16px 40px rgba(148,163,184,.10);}.pt-comment-head{display:flex;align-items:baseline;justify-content:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px;}.pt-comment-title{font-size:18px;font-weight:950;color:#1f2937;line-height:1.2;}.pt-comment-empty-inline{font-size:12px;color:#a1a1aa;font-weight:800;}.pt-comment-form{margin:0 0 16px;}.pt-comment-editor{background:#fff;border:1px solid #ececf3;border-radius:20px;overflow:visible;box-shadow:0 10px 28px rgba(15,23,42,.04);transition:.2s ease;}.pt-comment-editor:focus-within{border-color:#ddd6fe;box-shadow:0 14px 34px rgba(139,92,246,.10);}#commentContent{width:100%;min-height:116px;box-sizing:border-box;border:none;outline:none;resize:vertical;padding:15px 18px 11px;background:transparent;color:#374151;font-size:16px;line-height:1.85;}#commentContent::placeholder{color:#a1a1aa;font-size:14px;}.pt-comment-toolbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-top:1px solid #f1f2f6;background:rgba(248,250,252,.72);border-radius:0 0 20px 20px;}.pt-comment-toolbar-left,.pt-comment-toolbar-right{display:flex;align-items:center;gap:10px;}.pt-comment-toolbar-right{margin-left:auto;}.pt-emoji-trigger{height:40px;border:none;border-radius:999px;background:#f5f3ff;color:#7c3aed;padding:0 15px;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:900;cursor:pointer;transition:.2s ease;}.pt-emoji-trigger i{font-size:18px;}.pt-emoji-trigger:hover,.pt-emoji-trigger.active{background:#ede9fe;color:#6d28d9;box-shadow:0 8px 18px rgba(139,92,246,.12);}.pt-emoji-panel{position:absolute;left:12px;bottom:56px;display:none;grid-template-columns:repeat(6,40px);gap:8px;padding:13px;border-radius:18px;background:rgba(255,255,255,.98);border:1px solid #ede9fe;box-shadow:0 18px 46px rgba(15,23,42,.14);backdrop-filter:blur(14px);z-index:8;max-width:332px;}.pt-emoji-panel.show{display:grid;}.pt-emoji-panel button{width:40px;height:40px;border:none;border-radius:12px;background:#f8fafc;display:flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer;transition:.18s ease;}.pt-emoji-panel button:hover{background:#f5f3ff;transform:translateY(-2px) scale(1.04);}.pt-comment-reply-tip{color:#7c3aed;font-size:13px;font-weight:800;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.pt-comment-submit{height:36px;border:none;border-radius:999px;padding:0 17px;background:linear-gradient(135deg,#c4b5fd,#a78bfa);color:#fff;font-size:13px;font-weight:950;display:inline-flex;align-items:center;gap:8px;cursor:pointer;box-shadow:0 12px 24px rgba(167,139,250,.22);transition:.2s ease;}.pt-comment-submit:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(167,139,250,.28);filter:brightness(1.02);}.pt-login-tip,.pt-bind-tip{padding:13px 15px;border-radius:16px;background:#f8fafc;border:1px solid #eef2f7;color:#64748b;font-size:14px;line-height:1.7;margin-bottom:14px;}.pt-link{color:#7c3aed;text-decoration:none;font-weight:900;}.pt-link:hover{text-decoration:underline;}.pt-comment{display:flex;gap:12px;padding:14px 0;border-top:1px solid #f1f2f6;}.pt-comment:first-child{border-top:none;}.pt-comment img{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:0 0 auto;}.pt-comment-body{min-width:0;flex:1;color:#374151;}.pt-comment-meta{color:#94a3b8;font-size:12px;font-weight:800;margin-bottom:6px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;}.pt-comment-meta .pt-comment-sep{color:#cbd5e1;}.pt-replies{margin-top:10px;padding:6px 12px;background:#f8fafc;border-radius:16px;border:1px solid #eef2f7;}.pt-pager{display:flex;justify-content:center;gap:8px;margin-top:12px;flex-wrap:wrap;}.pt-pager a{min-width:34px;height:34px;border-radius:999px;background:#fff;border:1px solid #e5e7eb;display:inline-flex;align-items:center;justify-content:center;color:#64748b;text-decoration:none;font-weight:900;}.pt-pager a.active,.pt-pager a:hover{background:#8b5cf6;color:#fff;border-color:#8b5cf6;}
.related-box{margin-top:28px;padding:24px;border-radius:28px;background:linear-gradient(180deg,#fff,#fbfaff);border:1px solid #efedf7;box-shadow:0 16px 40px rgba(148,163,184,.10);}.related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px;}.related-title-wrap{display:grid;gap:6px;}.related-title{font-size:22px;font-weight:950;color:#1f2937;line-height:1.2;}.related-sub{font-size:13px;color:#94a3b8;font-weight:800;}.related-grid{column-count:4;column-gap:18px;}.related-card{break-inside:avoid;margin-bottom:18px;border-radius:22px;overflow:hidden;background:#fff;border:1px solid #eef0f4;box-shadow:0 14px 34px rgba(15,23,42,.06);text-decoration:none;color:inherit;display:block;transition:.24s ease;}.related-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(139,92,246,.14);}.related-cover-wrap{position:relative;background:#f5f5f7;}.related-cover{width:100%;display:block;object-fit:cover;}.related-cover-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,24,39,0) 28%,rgba(17,24,39,.18) 100%);}.related-card-body{padding:14px 14px 15px;display:grid;gap:10px;}.related-card-title{font-size:15px;font-weight:900;color:#1f2937;line-height:1.7;word-break:break-word;}.related-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#94a3b8;font-weight:800;}.related-author{display:flex;align-items:center;gap:8px;min-width:0;}.related-author img{width:28px;height:28px;border-radius:50%;object-fit:cover;}.related-author span{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.related-load{margin-top:10px;display:flex;justify-content:center;}.related-load button{height:44px;padding:0 22px;border:none;border-radius:999px;background:linear-gradient(135deg,#c4b5fd,#a78bfa);color:#fff;font-size:14px;font-weight:900;cursor:pointer;box-shadow:0 14px 30px rgba(167,139,250,.24);}.related-empty{padding:22px 14px;text-align:center;color:#94a3b8;font-size:14px;font-weight:800;}.related-load button[disabled]{opacity:.62;cursor:not-allowed;box-shadow:none;}
@media (max-width:1200px){.related-grid{column-count:3;}}
@media (max-width:860px){.related-grid{column-count:2;}.related-box{padding:18px;border-radius:24px;}}
@media (max-width:560px){.related-grid{column-count:1;}.related-title{font-size:20px;}}

/* === xiangqing.php: Lightbox === */

.lightbox-mask{position:fixed;inset:0;background:rgba(15,23,42,.54);backdrop-filter:blur(8px);z-index:10020;display:flex;align-items:center;justify-content:center;padding:8px 12px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .38s ease,backdrop-filter .38s ease;}
.lightbox-mask::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top,rgba(167,139,250,.18),transparent 42%);pointer-events:none;}
.lightbox-mask.show{opacity:1;visibility:visible;pointer-events:auto;}
.lightbox-mask.closing{opacity:0;backdrop-filter:blur(3px);}
.lightbox-shell{position:relative;width:min(1040px,calc(100vw - 24px));height:min(1060px,calc(100vh - 12px));display:grid;grid-template-columns:minmax(0,700px) 340px;background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.72);border-radius:32px;box-shadow:0 28px 90px rgba(15,23,42,.28);overflow:visible;transform:translateY(28px) scale(.965);opacity:0;transition:transform .42s cubic-bezier(.22,1,.36,1),opacity .42s ease,box-shadow .42s ease;}
.lightbox-mask.show .lightbox-shell{transform:translateY(0) scale(1);opacity:1;box-shadow:0 36px 110px rgba(15,23,42,.34);}
.lightbox-mask.closing .lightbox-shell{transform:translateY(18px) scale(.975);opacity:0;}
.lightbox-main-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;background:linear-gradient(135deg,#f7f5ff 0%,#f4efff 48%,#fbfaff 100%);overflow:hidden;padding:0;border-radius:32px 0 0 32px;}
.lightbox-main{width:100%;height:100%;border-radius:32px 0 0 32px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:transparent;margin:0;box-shadow:none;}
.lightbox-main img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;filter:drop-shadow(0 16px 32px rgba(15,23,42,.14));}
.lightbox-count-badge{position:absolute;left:50%;bottom:24px;transform:translateX(-50%) translateY(8px);background:rgba(17,24,39,.52);opacity:0;pointer-events:none;transition:opacity .24s ease,transform .24s ease;}
.lightbox-main-wrap:hover .lightbox-count-badge{opacity:1;transform:translateX(-50%) translateY(0);}
.lightbox-close,.lightbox-nav{position:absolute;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:4;transition:transform .45s ease,opacity .45s ease,text-shadow .45s ease;}
.lightbox-close{top:-16px;right:-16px;width:46px;height:46px;border-radius:999px;background:#fff;color:#64748b;box-shadow:0 18px 34px rgba(15,23,42,.16);}
.lightbox-nav{top:50%;width:auto;height:auto;border-radius:0;background:transparent;color:#fff;box-shadow:none;text-shadow:0 3px 12px rgba(0,0,0,.55);opacity:0;padding:18px 12px;pointer-events:none;}
.lightbox-nav.prev{left:16px;transform:translateY(-50%) scale(.96);}
.lightbox-nav.next{right:16px;transform:translateY(-50%) scale(.96);}
.lightbox-nav i{font-size:30px;font-weight:900;}
.lightbox-main-wrap:hover .lightbox-nav{opacity:.92;transform:translateY(-50%) scale(1);pointer-events:auto;}
.lightbox-nav:hover{background:transparent;color:#fff;transform:translateY(-50%) scale(1.16)!important;box-shadow:none;opacity:1;text-shadow:0 4px 16px rgba(0,0,0,.7);}
.lightbox-nav:disabled{opacity:.35;cursor:not-allowed;transform:translateY(-50%);box-shadow:none;}
.lightbox-side{position:relative;display:flex;flex-direction:column;min-height:0;background:rgba(255,255,255,.98);color:#1f2937;border-left:1px solid #eee;border-radius:0 32px 32px 0;overflow:hidden;}
.lb-author-row{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:20px 18px 12px;border-bottom:1px solid #f1f2f4;flex:0 0 auto;min-height:69px;box-sizing:border-box;contain:layout paint;}
.lb-author-main{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;}.lb-author{display:inline-flex;align-items:center;gap:10px;min-width:0;max-width:100%;color:#4b5563;text-decoration:none;font-size:14px;font-weight:800;overflow:hidden}.lb-author img{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:0 0 36px}.lb-author span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.lb-author-main .author-follow-chip{flex:0 0 auto;justify-content:center;transform:translateZ(0);will-change:auto}.lb-follow{height:28px;padding:0 12px;border:none;border-radius:999px;background:linear-gradient(135deg,#a78bfa,#8b5cf6);color:#fff;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(139,92,246,.18);flex:0 0 auto}.lb-follow.following{background:#f1f5f9;color:#64748b;box-shadow:none}.lb-content-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:20px 20px 16px;display:flex;flex-direction:column;scrollbar-width:none;-ms-overflow-style:none;contain:layout paint}.lb-content-scroll::-webkit-scrollbar{width:0;height:0}.lb-title{margin:0 0 12px;font-size:20px;line-height:1.65;font-weight:950;color:#111827;flex:0 0 auto}.lb-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;flex:0 0 auto}.lb-tags a{color:#6d28d9;font-size:13px;font-weight:800;text-decoration:none;background:#f5f3ff;padding:5px 10px;border-radius:999px}.lb-summary{font-size:15px;line-height:1.95;color:#4b5563;margin:10px 0 14px;white-space:normal;word-break:break-word;flex:0 0 auto}.lb-meta{font-size:13px;color:#9ca3af;border-bottom:1px solid #f1f2f4;padding-bottom:12px;margin-bottom:12px;flex:0 0 auto}.lb-comments-title{font-size:14px;color:#6b7280;font-weight:900;margin:6px 0 12px;flex:0 0 auto}.lb-comment-list{display:grid;gap:12px;overflow:visible;flex:0 0 auto;align-content:start;min-height:120px}.lb-empty{display:flex;align-items:center;justify-content:center;min-height:92px;padding:18px 14px;border-radius:18px;background:linear-gradient(135deg,#faf8ff,#fff);border:1px dashed #e9ddff;color:#9ca3af;font-size:13px;font-weight:900;text-align:center}.lb-empty:before{content:'\f075';font-family:FontAwesome;margin-right:8px;color:#c4b5fd;font-size:15px}.lb-comment{display:flex;gap:12px;padding:12px;border-radius:18px;background:#faf8ff;border:1px solid #f1ebff}.lb-comment img{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:0 0 auto}.lb-comment-body{min-width:0;flex:1}.lb-comment-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#94a3b8;font-size:12px;flex-wrap:wrap}.lb-comment-name{font-weight:900;color:#64748b;font-size:13px}.lb-comment-text{margin-top:6px;color:#374151;font-size:14px;line-height:1.76;word-break:break-word}.lb-comment-replies{margin-top:10px;display:grid;gap:8px}.lb-comment-reply{display:flex;gap:10px;padding:10px 12px;border-radius:15px;background:#fff;border:1px solid #ece7ff}.lb-comment-reply img{width:26px;height:26px}.lb-comment-reply .lb-comment-body{min-width:0;flex:1}.lb-comment-reply .lb-comment-meta{justify-content:flex-start;flex-wrap:wrap}.lb-reply-label{color:#8b5cf6;font-weight:900}.lb-comment-action-row{margin-top:8px;display:flex;justify-content:flex-end}.lb-comment-reply-btn{border:none;background:transparent;color:#8b5cf6;font-size:13px;font-weight:900;cursor:pointer;padding:0}.lb-comment-reply-btn:hover{text-decoration:underline}.lb-bottom-bar{min-height:64px;border-top:1px solid #f1f2f4;display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;flex:0 0 auto}.lb-comment-input{height:42px;min-width:0;flex:1;border:1px solid transparent;border-radius:999px;background:#f6f3ff;padding:0 18px;outline:none;font-size:14px;transition:border-color .2s ease,box-shadow .2s ease}.lb-comment-input:focus{border-color:#c4b5fd;box-shadow:0 0 0 4px rgba(196,181,253,.22)}.lb-action{border:none;background:transparent;color:#4b5563;display:inline-flex;align-items:center;gap:5px;font-size:15px;cursor:pointer;padding:6px 4px;transition:transform .18s ease,opacity .18s ease,color .18s ease}.lb-action:hover{transform:translateY(-1px);opacity:.9}.lb-action .fa-heart,.lb-action .fa-heart-o{color:#ff2442!important}.lb-action .fa-star,.lb-action .fa-star-o{color:#f59e0b!important}

/* === xiangqing.php: Desktop only (> 1200px) — summary alignment & flex layout === */

@media (min-width:1201px){
  .detail-side{overflow:hidden;}
  .detail-side > .action-row{margin-top:0;}
  .detail-side > .summary-card{flex:1 1 0;min-height:80px;overflow:hidden;display:flex;flex-direction:column;}
  .detail-side > .summary-card .summary-text{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c4b5fd transparent;}
  .detail-side > .summary-card .summary-text::-webkit-scrollbar{width:6px;}
  .detail-side > .summary-card .summary-text::-webkit-scrollbar-track{background:transparent;}
  .detail-side > .summary-card .summary-text::-webkit-scrollbar-thumb{background:#c4b5fd;border-radius:999px;}
  .detail-side > .summary-card .summary-text::-webkit-scrollbar-thumb:hover{background:#8b5cf6;}
  .detail-side > .tag-panel,.detail-side > .pager-row,.detail-side > .info-card,.detail-side > .author-card,.detail-side > .detail-title,.detail-side > .action-row,.detail-side > .thumb-strip-wrap{flex-shrink:0;}
}

/* === xiangqing.php: Detail Responsive (Desktop <= 1200px) === */

@media (max-width:1200px){.detail-layout{grid-template-columns:1fr;align-items:start;}.detail-side{position:static;height:auto;}.detail-preview{max-width:760px;margin:0 auto;}.summary-card{height:auto!important;min-height:0;}.summary-text{max-height:none!important;opacity:1;}.detail-preview-main::after{display:none;}.lightbox-shell{width:min(760px,calc(100vw - 20px));height:min(980px,calc(100vh - 16px));grid-template-columns:minmax(0,460px) 300px;}}

/* === xiangqing.php: Detail Responsive (Tablet <= 1024px + touch devices <= 1400px) === */

@media (max-width:1024px), (max-width:1400px) and (hover:none) and (pointer:coarse){
  .detail-page{padding:0 0 24px;max-width:100%;overflow-x:hidden;background:#fff;}
  .detail-layout{gap:0;max-width:100%;grid-template-columns:1fr;align-items:start;}
  .detail-preview{padding:0;margin:0;border:none;border-radius:0;background:#000;box-shadow:none;max-width:100%!important;overflow:hidden;}
  .detail-preview-main{aspect-ratio:4/5;max-height:72vh;}
  .detail-side{position:static;height:auto;padding:0 1rem;gap:1rem;min-height:auto;max-width:100%;overflow-x:hidden;background:#fff;display:flex;flex-direction:column;}
  .detail-side > .thumb-strip-wrap{order:0;margin:0.75rem 0 0;}
  .detail-side > .author-card{order:1;margin:0;}
  .detail-side > .detail-title{order:2;margin:0.25rem 0 0;}
  .detail-side > .action-row{order:3;margin:0;}
  .detail-side > .summary-card{order:4;}
  .detail-side > .tag-panel{order:5;}
  .detail-side > .info-card{order:6;}
  .detail-side > .pager-row{order:7;}
  .summary-card{height:auto!important;min-height:0!important;}
  .summary-text{max-height:none!important;opacity:1;}
  .detail-preview-main::after{display:none;}
  .detail-title{font-size:1.1875rem;line-height:1.5;padding:0;word-break:break-word;font-weight:800;color:#333;}
  .action-row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:0.75rem;padding:0;margin-top:0.75rem;}
  .action-icons,.action-main{display:flex;flex-wrap:nowrap;gap:0.75rem;justify-content:flex-start;}
  .action-icons{flex:0 0 auto;}
  .action-main{flex:1 1 auto;align-items:center;}
  .icon-btn{width:2.375rem;height:2.375rem;min-width:2.375rem;padding:0;border-radius:999px;border:1px solid #e8e9ef;background:#fff;font-size:1.25rem;box-shadow:0 2px 8px rgba(15,23,42,.04);color:#7b8190;}
  .icon-btn:hover{border-color:#d8cbe8;box-shadow:0 4px 12px rgba(196,181,253,.12);color:var(--detail-primary);transform:scale(1.05);}
  .download-btn{height:2.375rem;min-width:2.375rem;padding:0;border-radius:999px;font-size:1.25rem;}
  .download-text{display:none;}
  .author-card{display:flex;flex-wrap:nowrap;gap:0.75rem;padding:0.875rem 1rem;border-radius:0.625rem;box-shadow:none;background:linear-gradient(180deg,#f7f4fb 0%,#f5f3ff 100%);border:1px solid #ede9fe;align-items:center;}
  .author-avatar{width:2.5rem;height:2.5rem;}
  .author-name{font-size:0.9375rem;max-width:none;}
  .thumb-card{width:3rem;height:3.75rem;border-radius:0.5rem;}
  .tag-panel{border-radius:0;padding:0;background:transparent;border:none;}
  .tag-title{font-size:0.875rem;margin-bottom:0.625rem;color:#333;font-weight:600;}
  .tag-row{gap:0.5rem;flex-wrap:wrap;}
  .tag-chip{padding:0.3125rem 0.75rem;border-radius:999px;font-size:0.75rem;background:#f5f3ff;color:#7c3aed;border:none;font-weight:500;}
  .info-card{background:transparent;border:none;border-radius:0;padding:0;display:flex;flex-direction:row;align-items:center;gap:0.75rem;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;}
  .info-card::-webkit-scrollbar{display:none;}
  .card-title-sm{font-size:0.875rem;margin:0;color:#333;font-weight:600;flex:0 0 auto;white-space:nowrap;line-height:1.4;display:flex;align-items:center;gap:0.375rem;}
  .card-title-sm i{line-height:1;}
  .info-grid{display:flex;flex-wrap:nowrap;overflow:visible;gap:0.625rem;align-items:center;flex:1 1 auto;}
  .info-item{flex:0 0 auto;min-width:auto;padding:0.375rem 0.625rem;border-radius:0.5rem;display:flex;flex-direction:row;align-items:center;justify-content:center;text-align:center;background:#f8f8f8;border:none;gap:0.25rem;line-height:1.4;}
  .info-item span{font-size:0.6875rem;line-height:1.4;color:#999;display:inline-flex;align-items:center;}
  .info-item strong{font-size:0.75rem;line-height:1.4;word-break:break-word;color:#333;display:inline-flex;align-items:center;}
  .summary-card{border-radius:0;padding:0;height:auto!important;min-height:0!important;background:transparent;border:none;}
  .pt-comment-box{margin-top:1rem;padding:0 1rem;border-radius:0;background:transparent;border:none;box-shadow:none;}
  .related-box{margin-top:1rem;padding:0 1rem;border-radius:0;background:transparent;border:none;box-shadow:none;}
  .lightbox-shell{width:100%;height:min(94vh,920px);grid-template-columns:1fr;grid-template-rows:minmax(0,52vh) minmax(0,42vh);gap:0;border-radius:20px;}
  .lightbox-main-wrap{padding:0;border-radius:20px 20px 0 0;}
  .lightbox-main{border-radius:20px 20px 0 0;}
  .lightbox-side{border-left:none;border-top:1px solid #eee;border-radius:0 0 20px 20px;}
  .detail-carousel{display:block;border-radius:0;overflow:hidden;background:#000;}
  .detail-carousel .swiper{width:100%;max-width:100%;overflow:hidden;}
  .detail-carousel .swiper-wrapper{width:100%!important;max-width:100%!important;}
  .detail-carousel .swiper-slide{display:flex;align-items:center;justify-content:center;background:#000;aspect-ratio:4/5;width:100%!important;max-width:100%!important;box-sizing:border-box;}
  .detail-carousel .swiper-slide img{width:100%;height:100%;object-fit:cover;display:block;}
  .detail-carousel .swiper-pagination{position:absolute;left:0;right:0;bottom:10px;z-index:2;text-align:center;}
  .detail-carousel .swiper-pagination-bullet{width:7px;height:7px;opacity:.42;background:#fff;}
  .detail-carousel .swiper-pagination-bullet-active{opacity:1;background:var(--detail-primary);}
  .detail-preview-main{display:none;}
}

/* === xiangqing.php: Detail Responsive (Mobile <= 768px) === */

@media (max-width:768px){
  .detail-page{padding:0 0 24px;max-width:100%;overflow-x:hidden;background:#fff;}
  .detail-layout{gap:0;max-width:100%;}
  .detail-preview{padding:0;margin:0;border:none;border-radius:0;background:#000;box-shadow:none;max-width:100%!important;overflow:hidden;}
  .detail-preview-main{aspect-ratio:4/5;max-height:72vh;}
  .detail-side{padding:0 1rem;gap:1rem;min-height:auto;max-width:100%;overflow-x:hidden;background:#fff;}
  .detail-carousel{display:block;border-radius:0;overflow:hidden;background:#000;}
  .detail-carousel .swiper{width:100%;max-width:100%;overflow:hidden;}
  .detail-carousel .swiper-wrapper{width:100%!important;max-width:100%!important;}
  .detail-carousel .swiper-slide{display:flex;align-items:center;justify-content:center;background:#000;aspect-ratio:4/5;width:100%!important;max-width:100%!important;box-sizing:border-box;}
  .detail-carousel .swiper-slide img{width:100%;height:100%;object-fit:cover;display:block;}
  .detail-carousel .swiper-pagination{position:absolute;left:0;right:0;bottom:10px;z-index:2;text-align:center;}
  .detail-carousel .swiper-pagination-bullet{width:7px;height:7px;opacity:.42;background:#fff;}
  .detail-carousel .swiper-pagination-bullet-active{opacity:1;background:var(--detail-primary);}
  .detail-preview-main{display:none;}

  .detail-side > .thumb-strip-wrap{order:0;margin:0.75rem 0 0;}
  .detail-side > .author-card{order:1;margin:0;}
  .detail-side > .detail-title{order:2;margin:0.25rem 0 0;}
  .detail-side > .summary-card{order:3;}
  .detail-side > .tag-panel{order:4;}
  .detail-side > .action-row{order:5;margin:0;}
  .detail-side > .info-card{order:6;}
  .detail-side > .pager-row{order:7;}

  .detail-title{font-size:1.1875rem;line-height:1.5;padding:0;word-break:break-word;font-weight:800;color:#333;}

  .action-row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:0.75rem;padding:0;margin-top:0.75rem;}
  .action-icons{display:flex;gap:0.75rem;justify-content:flex-start;flex:0 0 auto;}
  .action-main{display:flex;gap:0.75rem;justify-content:flex-start;flex:1 1 auto;align-items:center;}
  .icon-btn{width:2.375rem;height:2.375rem;min-width:2.375rem;padding:0;border-radius:999px;border:1px solid #e8e9ef;background:#fff;font-size:1.25rem;box-shadow:0 2px 8px rgba(15,23,42,.04);color:#7b8190;}
  .icon-btn:hover{border-color:#d8cbe8;box-shadow:0 4px 12px rgba(196,181,253,.12);color:var(--detail-primary);transform:scale(1.05);}
  .download-btn{width:auto;height:2.375rem;min-width:2.375rem;border-radius:999px;justify-content:center;font-size:1.25rem;padding:0;gap:0;}
  .download-btn:hover{filter:brightness(1.05);transform:scale(1.05);}
  .download-text{display:none;}

  .author-card{display:flex;flex-wrap:nowrap;gap:0.75rem;padding:0.875rem 1rem;border-radius:0.625rem;box-shadow:none;background:linear-gradient(180deg,#f7f4fb 0%,#f5f3ff 100%);border:1px solid #ede9fe;align-items:center;}
  .author-left{flex:1 1 auto;min-width:0;align-items:center;gap:0.625rem;}
  .author-avatar{width:2.5rem;height:2.5rem;flex:0 0 auto;border:1px solid #f0f0f0;}
  .author-meta{gap:0.125rem;min-width:0;}
  .author-name-row{flex-wrap:nowrap;align-items:center;gap:0.5rem;}
  .author-name{font-size:0.9375rem;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;color:#333;}
  .author-follow-chip{height:1.75rem;padding:0 0.875rem;font-size:0.75rem;border-radius:999px;background:#8b5cf6;color:#fff;border:none;font-weight:600;}
  .author-follow-chip.following{background:#f5f5f5;color:#999;border:1px solid #e8e8e8;}
  .author-sub{font-size:0.6875rem;line-height:1.4;color:#999;}
  .author-right{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;text-align:right;padding:0;border:none;gap:0.125rem;}
  .author-right .views{font-size:0.75rem;color:#999;justify-content:flex-end;}
  .author-right .date{font-size:0.6875rem;color:#bbb;}

  .thumb-strip{gap:0.5rem;padding:0.5rem 0;scrollbar-width:none;-ms-overflow-style:none;}
  .thumb-strip::-webkit-scrollbar{display:none;}
  .thumb-card{width:3rem;height:3.75rem;border-radius:0.5rem;border:1px solid #f0f0f0;}

  .tag-panel{border-radius:0;padding:0;background:transparent;border:none;}
  .tag-title,.card-title-sm{font-size:0.875rem;margin-bottom:0.625rem;color:#333;font-weight:600;}
  .tag-row{gap:0.5rem;flex-wrap:wrap;}
  .tag-chip{padding:0.3125rem 0.75rem;border-radius:999px;font-size:0.75rem;background:#f5f3ff;color:#7c3aed;border:none;font-weight:500;}

  .pager-row{grid-template-columns:1fr;gap:0.5rem;}
  .pager-card{height:auto;min-height:0;padding:0.75rem;border-radius:0.75rem;align-items:center;background:#f8f8f8;border:none;}
  .pager-label{font-size:0.6875rem;font-weight:600;color:#999;}
  .pager-text{font-size:0.8125rem;line-height:1.5;white-space:normal;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;color:#333;}

  .info-card{background:transparent;border:none;border-radius:0;padding:0;display:flex;flex-direction:row;align-items:center;gap:0.75rem;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;}
  .info-card::-webkit-scrollbar{display:none;}
  .card-title-sm{font-size:0.875rem;margin:0;color:#333;font-weight:600;flex:0 0 auto;white-space:nowrap;line-height:1.4;display:flex;align-items:center;gap:0.375rem;}
  .card-title-sm i{line-height:1;}
  .info-grid{display:flex;flex-wrap:nowrap;overflow:visible;gap:0.625rem;align-items:center;flex:1 1 auto;}
  .info-item{flex:0 0 auto;min-width:auto;padding:0.375rem 0.625rem;border-radius:0.5rem;display:flex;flex-direction:row;align-items:center;justify-content:center;text-align:center;background:#f8f8f8;border:none;gap:0.25rem;line-height:1.4;}
  .info-item span{font-size:0.6875rem;line-height:1.4;color:#999;display:inline-flex;align-items:center;}
  .info-item strong{font-size:0.75rem;line-height:1.4;word-break:break-word;color:#333;display:inline-flex;align-items:center;}

  .summary-card{border-radius:0;padding:0;height:auto!important;min-height:0!important;background:transparent;border:none;border-left:none;}
  .summary-text{max-height:none!important;font-size:0.9375rem;line-height:1.7;opacity:1;color:#333;}

  .pt-comment-box{margin-top:1rem;padding:0 1rem;border-radius:0;background:transparent;border:none;box-shadow:none;}
  .pt-comment-head{gap:0.5rem;margin-bottom:0.75rem;}
  .pt-comment-title{font-size:1rem;font-weight:600;color:#333;}
  .pt-comment-editor{border-radius:0.75rem;background:#f5f5f5;border:none;}
  #commentContent{min-height:100px;padding:0.75rem;font-size:0.9375rem;line-height:1.6;background:#f5f5f5;border:none;border-radius:0.75rem;}
  .pt-comment-toolbar{flex-direction:row;align-items:center;gap:0.5rem;padding:0.5rem 0;background:transparent;}
  .pt-comment-toolbar-left{flex:0 0 auto;}
  .pt-comment-toolbar-right{flex:1 1 auto;min-width:0;justify-content:flex-end;gap:0.5rem;}
  .pt-emoji-trigger{height:2rem;width:2rem;min-width:2rem;padding:0;justify-content:center;font-size:1rem;border-radius:999px;background:transparent;border:none;}
  .pt-emoji-panel{left:0;right:0;bottom:3rem;grid-template-columns:repeat(6,minmax(0,1fr));max-width:none;border-radius:0.75rem;}
  .pt-emoji-panel button{width:100%;height:2.25rem;font-size:1.25rem;}
  .pt-comment-reply-tip{max-width:100%;font-size:0.75rem;white-space:normal;line-height:1.5;}
  .pt-comment-submit{width:auto;height:2rem;padding:0 0.875rem;justify-content:center;font-size:0.8125rem;border-radius:999px;background:#8b5cf6;color:#fff;border:none;}
  .pt-login-tip,.pt-bind-tip{padding:0.625rem 0.75rem;border-radius:0.75rem;font-size:0.8125rem;background:#f5f5f5;border:none;}
  .pt-comment{gap:0.625rem;padding:0.625rem 0;}
  .pt-comment img{width:2.125rem;height:2.125rem;border-radius:999px;}
  .pt-comment-meta{gap:0.25rem;font-size:0.6875rem;}
  .pt-comment-user{gap:0.375rem;align-items:center;}
  .pt-comment-name{max-width:120px;font-size:0.8125rem;color:#666;font-weight:500;}
  .pt-comment-content{font-size:0.9375rem;line-height:1.6;color:#333;}
  .pt-comment-actions{gap:0.75rem;}
  .pt-comment-action{font-size:0.75rem;color:#999;}
  .pt-replies{margin-top:0.5rem;margin-left:0;padding:0.5rem 0.625rem;border-radius:0.5rem;background:#f5f5f5;}

  .related-box{margin-top:1rem;padding:0 1rem;border-radius:0;background:transparent;border:none;box-shadow:none;}
  .related-head{margin-bottom:0.75rem;}
  .related-title{font-size:1rem;font-weight:600;color:#333;}
  .related-sub{font-size:0.75rem;color:#999;}

  .hero-nav-btn{width:2rem;height:2rem;padding:0;border-radius:999px;background:rgba(0,0,0,.3);backdrop-filter:blur(8px);box-shadow:none;opacity:1;pointer-events:auto;display:flex;align-items:center;justify-content:center;}
  .detail-preview-main:hover .hero-nav-btn,.detail-preview-main:active .hero-nav-btn{opacity:1;transform:translateY(-50%) scale(1);pointer-events:auto;}
  .hero-nav-btn.prev{left:0.5rem;}
  .hero-nav-btn.next{right:0.5rem;}
  .hero-nav-btn i{font-size:0.875rem;color:#fff;}
  .image-count-badge{bottom:0.625rem;height:1.25rem;font-size:0.6875rem;opacity:1;transform:translateX(-50%) translateY(0);background:rgba(0,0,0,.4);border-radius:999px;}

  .lightbox-mask{padding:8px 6px;}
  .lightbox-shell{width:100%;height:min(94vh,920px);grid-template-columns:1fr;grid-template-rows:minmax(0,52vh) minmax(0,42vh);gap:0;border-radius:20px;}
  .lightbox-main-wrap{padding:0;border-radius:20px 20px 0 0;}
  .lightbox-main{border-radius:20px 20px 0 0;}
  .lightbox-main img{width:100%;height:100%;max-height:100%;object-fit:cover;}
  .lightbox-side{border-left:none;border-top:1px solid #eee;border-radius:0 0 20px 20px;}
  .lightbox-count-badge{bottom:14px;height:26px;font-size:12px;}
  .lightbox-nav{width:38px;height:38px;font-size:16px;opacity:1;pointer-events:auto;}
  .lightbox-nav.prev{left:8px;transform:translate(0,-50%) scale(1);}
  .lightbox-nav.next{right:8px;transform:translate(0,-50%) scale(1);}
  .lightbox-close{top:8px;right:8px;width:38px;height:38px;border-radius:999px;}
  .lb-author-row{gap:8px;min-height:58px;padding:12px 12px 8px;}
  .lb-author-main{max-width:100%;flex-wrap:wrap;}
  .lb-content-scroll{padding:14px 12px 10px;}
  .lb-title{font-size:17px;line-height:1.55;margin-bottom:8px;}
  .lb-tags{gap:7px;margin-bottom:10px;}
  .lb-tags a{font-size:12px;padding:5px 10px;}
  .lb-summary{font-size:14px;line-height:1.8;margin:6px 0 10px;}
  .lb-meta{font-size:12px;padding-bottom:8px;margin-bottom:8px;}
  .lb-comments-title{margin:4px 0 8px;}
  .lb-comment{padding:10px;border-radius:14px;gap:9px;}
  .lb-comment-reply{padding:8px 10px;border-radius:12px;}
  .lb-comment img{width:30px;height:30px;}
  .lb-comment-reply img{width:24px;height:24px;}
  .lb-comment-text{font-size:13px;line-height:1.7;}
  .lb-bottom-bar{min-height:56px;padding:8px 10px;gap:8px;flex-wrap:wrap;}
  .lb-comment-input{order:1;flex:1 1 100%;height:38px;font-size:14px;}
  .lb-action{padding:6px 2px;font-size:14px;}

  .detail-carousel{display:block;border-radius:0;overflow:hidden;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.06);}
  .detail-carousel .swiper{width:100%;max-width:100%;overflow:hidden;}
  .detail-carousel .swiper-wrapper{width:100%!important;max-width:100%!important;}
  .detail-carousel .swiper-slide{display:flex;align-items:center;justify-content:center;background:#f3efef;aspect-ratio:4/5;width:100%!important;max-width:100%!important;box-sizing:border-box;}
  .detail-carousel .swiper-slide img{width:100%;height:100%;object-fit:cover;display:block;}
  .detail-carousel .swiper-pagination{position:absolute;left:0;right:0;bottom:10px;z-index:2;text-align:center;}
  .detail-carousel .swiper-pagination-bullet{width:7px;height:7px;opacity:.42;background:#fff;}
  .detail-carousel .swiper-pagination-bullet-active{opacity:1;background:var(--detail-primary);}
  .detail-preview-main{display:none;}
  .no-comments{margin-top:6px;text-align:center;color:#9ca3af;font-weight:700;}

  .report-modal-mask{padding:12px;}
  .report-modal{width:100%;border-radius:20px;}
  .report-head{padding:16px 18px;}
  .report-title{font-size:17px;}
  .report-body{padding:16px 18px 18px;}
  .tip-modal-mask{padding:12px;}
  .tip-modal-shell{width:100%;}
  .tip-modal{border-radius:22px;padding:18px 14px 16px;}
}

/* === xiangqing.php: Detail Responsive (Mobile <= 640px) === */

@media (max-width:640px){
  .detail-page{padding:0 0 20px;}
  .detail-side{padding:0 0.625rem;gap:0.75rem;}
  .detail-title{font-size:1.0625rem;line-height:1.5;padding:0;}
  .action-row{gap:0.5rem;}
  .icon-btn{width:2.125rem;height:2.125rem;min-width:2.125rem;font-size:1.125rem;}
  .download-btn{height:2.125rem;min-width:2.125rem;font-size:1.125rem;}
  .author-avatar{width:2.25rem;height:2.25rem;}
  .author-name{font-size:0.875rem;}
  .author-sub{font-size:0.6875rem;}
  .author-right .views,.author-right .date{font-size:0.6875rem;}
  .thumb-card{width:2.75rem;height:3.5rem;}
  .tag-chip{padding:0.25rem 0.625rem;font-size:0.6875rem;}
  .pager-card{padding:0.625rem;}
  .info-item{min-width:auto;padding:0.375rem 0.5rem;}
  .info-item span{font-size:0.625rem;display:inline-flex;align-items:center;}
  .info-item strong{font-size:0.6875rem;display:inline-flex;align-items:center;}
  .summary-text{font-size:0.875rem;line-height:1.6;}
  .pt-comment-box,.related-box{padding:0 0.625rem;}
  #commentContent{min-height:90px;padding:0.625rem;font-size:0.875rem;}
  .pt-comment img{width:2rem;height:2rem;}
  .pt-comment-name{font-size:0.75rem;}
  .pt-comment-content{font-size:0.875rem;line-height:1.6;}
  .report-options{grid-template-columns:1fr!important;gap:8px;}
  .report-modal{border-radius:18px;}
  .report-body{padding:14px 16px 16px;}
  .tip-amounts{gap:8px;}
  .tip-amount-btn{height:48px;}
  .tip-amount-btn span{font-size:22px;}
  .tip-modal{border-radius:20px;padding:16px 12px 14px;}
  .lightbox-shell{height:min(92vh,880px);grid-template-rows:minmax(0,48vh) minmax(0,44vh);}
}

/* === xiangqing.php: Detail Responsive (Small Phone <= 480px) === */

@media (max-width:480px){
  .detail-page{padding:0 0 18px;}
  .detail-side{padding:0 0.75rem;gap:0.625rem;}
  .pt-comment-box,.related-box{padding:0 0.75rem;}
  .detail-preview{max-width:100%!important;overflow:hidden;}
  .detail-title{font-size:1rem;line-height:1.5;}
  .action-row{gap:0.375rem;}
  .icon-btn{width:2rem;height:2rem;min-width:2rem;font-size:1rem;}
  .download-btn{height:2rem;min-width:2rem;font-size:1rem;}
  .author-avatar{width:2rem;height:2rem;}
  .author-name{font-size:0.8125rem;}
  .thumb-card{width:2.5rem;height:3.125rem;}
  .tag-chip{padding:0.25rem 0.5rem;font-size:0.6875rem;}
  .info-item{min-width:auto;padding:0.3125rem 0.5rem;}
  .info-item span{font-size:0.625rem;display:inline-flex;align-items:center;}
  .info-item strong{font-size:0.6875rem;display:inline-flex;align-items:center;}
  .summary-text{font-size:0.8125rem;line-height:1.6;}
  #commentContent{min-height:80px;padding:0.5625rem;font-size:0.8125rem;}
  .pt-comment-submit{height:1.75rem;padding:0 0.75rem;font-size:0.75rem;}
  .pt-comment img{width:1.875rem;height:1.875rem;}
  .pt-comment-name{font-size:0.6875rem;max-width:90px;}
  .pt-comment-content{font-size:0.8125rem;line-height:1.6;}
  .pager-text{font-size:0.75rem;}
  .hero-nav-btn{width:1.75rem;height:1.75rem;}
  .hero-nav-btn i{font-size:0.8125rem;}
  .image-count-badge{height:1.125rem;font-size:0.625rem;padding:0 0.5rem;}
  .lightbox-shell{height:min(90vh,820px);grid-template-rows:minmax(0,46vh) minmax(0,44vh);border-radius:18px;}
  .lightbox-main-wrap{border-radius:18px 18px 0 0;}
  .lightbox-main{border-radius:18px 18px 0 0;}
  .lightbox-side{border-radius:0 0 18px 18px;}
  .lb-title{font-size:16px;}
  .lb-summary{font-size:13px;line-height:1.75;}
  .lb-comment{padding:9px;border-radius:12px;}
  .lb-comment img{width:28px;height:28px;}
  .lb-comment-text{font-size:12px;line-height:1.65;}
}

/* === xiangqing.php: Detail Responsive (iPhone SE <= 375px) === */

@media (max-width:375px){
  .detail-side{padding:0 0.625rem;}
  .pt-comment-box,.related-box{padding:0 0.625rem;}
  .detail-preview{max-width:100%!important;}
  .detail-title{font-size:0.9375rem;}
  .icon-btn{width:1.875rem;height:1.875rem;min-width:1.875rem;font-size:0.9375rem;}
  .download-btn{height:1.875rem;min-width:1.875rem;font-size:0.9375rem;}
  .author-avatar{width:1.875rem;height:1.875rem;}
  .author-name{font-size:0.75rem;}
  .thumb-card{width:2.25rem;height:2.8125rem;}
  .tag-chip{padding:0.1875rem 0.5rem;font-size:0.625rem;}
  .summary-text{font-size:0.75rem;}
  #commentContent{min-height:72px;font-size:0.75rem;}
  .pt-comment-title{font-size:0.875rem;}
  .pt-comment-toolbar{gap:0.25rem!important;padding:0.25rem 0!important;}
  .pt-emoji-trigger{height:1.75rem!important;width:1.75rem!important;min-width:1.75rem!important;font-size:0.875rem!important;}
  .pt-comment-submit{height:1.625rem!important;padding:0 0.625rem!important;font-size:0.6875rem!important;}
  .related-title{font-size:0.875rem;}
  .hero-nav-btn{width:1.625rem;height:1.625rem;}
  .hero-nav-btn i{font-size:0.75rem;}
}


/* === sitemap-page.php: Sitemap Page === */

.smap-hero{background:linear-gradient(135deg,#fff 0%,#f6f1ff 40%,#fef2f2 100%);border:1px solid var(--pt-line,#eeeafc);border-radius:24px;padding:36px 32px 28px;margin-bottom:28px;text-align:center;position:relative;overflow:hidden}
.smap-hero::before{content:'';position:absolute;top:-60px;right:-60px;width:200px;height:200px;background:radial-gradient(circle,rgba(167,139,250,.12),transparent 70%);border-radius:50%}
.smap-hero::after{content:'';position:absolute;bottom:-40px;left:-40px;width:160px;height:160px;background:radial-gradient(circle,rgba(251,207,232,.15),transparent 70%);border-radius:50%}
.smap-hero h1{font-size:28px;font-weight:900;color:#1f2937;margin:0 0 8px;position:relative}
.smap-hero p{color:#6b7280;font-size:15px;margin:0;position:relative}

.smap-stats{display:flex;gap:16px;justify-content:center;margin-top:20px;position:relative}
.smap-stat{background:rgba(255,255,255,.85);border:1px solid #f0edf8;border-radius:16px;padding:14px 28px;text-align:center;min-width:120px;backdrop-filter:blur(8px)}
.smap-stat-num{font-size:26px;font-weight:900;background:linear-gradient(135deg,#c4b5fd,#a78bfa);-webkit-background-clip:text;color:transparent;line-height:1.2}
.smap-stat-label{font-size:13px;color:#6b7280;margin-top:4px}

.smap-section{margin-bottom:32px}
.smap-section-title{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:900;color:#1f2937;margin-bottom:18px;padding-bottom:12px;border-bottom:2px solid #f0edf8}
.smap-section-title i{font-size:18px;color:#a78bfa}
.smap-section-title span.badge{font-size:12px;font-weight:700;background:linear-gradient(135deg,#c4b5fd,#a78bfa);color:#fff;border-radius:999px;padding:2px 10px;margin-left:6px}

.smap-tags{display:flex;flex-wrap:wrap;gap:10px}
.smap-tag{display:inline-flex;align-items:center;gap:5px;padding:7px 16px;border-radius:999px;border:1px solid #ede9fe;background:#faf5ff;color:#6d28d9;font-size:13px;font-weight:600;text-decoration:none;transition:.2s ease;cursor:pointer}
.smap-tag:hover{background:linear-gradient(135deg,#c4b5fd,#a78bfa);color:#fff;border-color:transparent;box-shadow:0 6px 18px rgba(167,139,250,.25);transform:translateY(-1px)}
.smap-tag .count{font-size:11px;color:#a78bfa;font-weight:700}
.smap-tag:hover .count{color:#fff}

.smap-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.smap-cat-card{background:#fff;border:1px solid #f0edf8;border-radius:18px;padding:20px;transition:.2s ease;box-shadow:0 4px 16px rgba(15,23,42,.03)}
.smap-cat-card:hover{box-shadow:0 8px 28px rgba(167,139,250,.1);transform:translateY(-2px)}
.smap-cat-head{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #f5f0ff}
.smap-cat-icon{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#fff;flex-shrink:0}
.smap-cat-name{font-size:16px;font-weight:800;color:#1f2937}
.smap-cat-count{font-size:12px;color:#9ca3af;margin-left:auto;flex-shrink:0}

.smap-articles{display:flex;flex-direction:column;gap:8px}
.smap-article{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;text-decoration:none;transition:.15s ease;cursor:pointer}
.smap-article:hover{background:#faf5ff}
.smap-article-dot{width:6px;height:6px;border-radius:50%;background:#c4b5fd;flex-shrink:0}
.smap-article-title{font-size:14px;color:#374151;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.smap-article:hover .smap-article-title{color:#7c3aed}
.smap-article-date{font-size:12px;color:#9ca3af;flex-shrink:0}

.smap-pages{display:flex;flex-wrap:wrap;gap:12px}
.smap-page-link{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:14px;border:1px solid #ede9fe;background:#fff;color:#374151;font-size:14px;font-weight:600;text-decoration:none;transition:.2s ease}
.smap-page-link i{color:#a78bfa;font-size:15px}
.smap-page-link:hover{border-color:#c4b5fd;background:#faf5ff;color:#7c3aed;box-shadow:0 4px 14px rgba(167,139,250,.12)}

.smap-more{display:inline-flex;align-items:center;gap:4px;margin-top:8px;font-size:13px;color:#a78bfa;font-weight:600;cursor:pointer;text-decoration:none}
.smap-more:hover{color:#7c3aed}

@media(max-width:768px){
  .smap-hero{padding:24px 18px 20px;border-radius:18px}
  .smap-hero h1{font-size:22px}
  .smap-stats{flex-wrap:wrap;gap:10px}
  .smap-stat{min-width:90px;padding:10px 18px}
  .smap-stat-num{font-size:22px}
  .smap-cats{grid-template-columns:1fr}
  .smap-section-title{font-size:18px}
}