/**
 *Copyright (C), 2025, GOSUN CL
 *file: style.css
 *brief: 视评图说主题
 *Theme URI: https://faq7777.com
 *author: 视评图说
 *date: 2025年7月7日
 *version: 7.7.0
 */
/* ===============================================
   SPT主题 - 兼容性样式文件（遗留入口）
   说明：此文件仅保留尚未迁移至模块化CSS的零散样式，其他组件请在对应模块维护
   =============================================== */

/* 列表缩略图交互保底样式 */
.thumbnail {
  position: relative;
  overflow: hidden;
}

.thumbnail a {
  display: block;
  padding-bottom: 72%;
  position: relative;
  overflow: hidden;
  background-size: cover;
}

.thumbnail img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: transform .3s;
  object-fit: cover;
}

.thumbnail img:hover {
  transform: scale(1.1, 1.1);
}

/* 保留对旧模板引用的占位样式 */
.home-ad,
.listpic,
.listpic.mb {
  overflow: hidden;
}

.home-ad {
  margin-bottom: 20px;
  border-radius: 12px;
}

.listpic.box {
  background-color: rgba(255,255,255,0.8);
  border-radius: 12px;
  padding: 12px;
}

.home-ad a,
.listpic a {
  display: block;
}

.home-ad img,
.listpic img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  border-radius: 12px;
}

#errorPage #postTitle {
  margin-top: 10%;
}

#errorPage .entry {
  text-align: center;
  margin-bottom: 15%;
}

/* 兼容变量占位，供旧代码引用 */
:root {
  --spt-primary-start: #FFD54F;
  --spt-primary-end: #2F86FF;
  --spt-primary: #2F86FF;
  --spt-primary-dark: #0F5CAA;
  --spt-primary-rgb: 47, 134, 255;
  --spt-grad: linear-gradient(135deg, var(--spt-primary-start), var(--spt-primary-end));
  --spt-grad-vert: linear-gradient(180deg, rgba(255, 213, 79, 0.90), rgba(47, 134, 255, 0.90));
}

/* 主题变量应用 */
.breadcrumb a:hover,
.boxTitle::after,
.wp-block-heading::after {
  background: var(--spt-grad);
}

/* 导航菜单链接悬停样式 */
#nav li a:hover {
  background: none;
  color: #ffffff;
}

#footer {
  background: var(--spt-grad);
}

/* 回到顶部按钮样式已移至like-override.css */

/* 个人修复：删除display:none冗余，保留opacity/visibility/pointer-events支持过渡动画 */
body:not(.sptsz-auth-open) #sptsz-login-mask,
body:not(.sptsz-auth-open) #sptsz-login-modal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 个人修复：删除空样式.component-override */

/* 友情链接样式 */
#links {
  margin-bottom: 20px;
}

#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

#links li {
  flex: 1 1 calc(20% - 10px);
  min-width: 120px;
}

#links a {
  display: block;
  padding: 12px 16px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  text-align: center;
  color: #495057;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#links a:hover {
  background: var(--spt-grad);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 媒体查询优化 - 按屏幕尺寸从大到小排列 */

/* 平板端/大屏手机 - 中等屏幕 (641px - 1007px) */
@media only screen and (min-width: 641px) and (max-width: 1007px) {
  /* 友情链接响应式 */
  #links li {
    flex: 1 1 calc(33.333% - 8px);
  }

  #header {
    padding: 20px 0;
  }

  #header .inner {
    display: block;
  }

  #logo {
    width: 178px;
  }

  #topGG {
    width: auto;
    padding-left: 0;
    clear: both;
  }

  #topGG a {
    float: none;
  }

  #topGG img {
    width: 100%;
    height: auto;
  }

  #topBtn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
  }

  #schBtn {
    display: block;
  }

  #search {
    padding: 0;
    margin: 0 80px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    width: 350px;
  }

  #search .text {
    padding: 6px 10px;
    width: 94%;
    font-size: 14px;
    text-indent: 0;
    height: 40px;
    line-height: 40px;
  }

  #search .submit {
    width: 40px;
    height: 36px;
  }

  #search .input {
    margin-right: 40px;
  }

  #nav li em::after {
    width: 6px;
    height: 6px;
    border-color: #fff;
    transform: rotate(-45deg);
    margin-left: -4px;
    transition: all .3s;
  }

  #nav li em.open::after {
    transform: rotate(45deg);
  }

  #slides {
    width: 395px;
  }

  #latest .list {
    max-height: 352px;
  }

  #latest li {
    float: left;
    width: 49%;
    line-height: 32px;
    margin-right: 2%;
  }

  #latest li:nth-child(2n) {
    float: right;
    margin-right: 0;
  }

  #main {
    padding-left: 0;
  }

  #sidebar {
    width: auto;
  }

  #divTags li {
    padding: 0.5% 1% 0.5% 0;
  }

  .picture {
    margin-bottom: 1.5625%;
  }

  .news .top {
    width: 350px;
  }

  .news .item {
    margin: 0 370px 11px 0;
  }

  .news .item .thumbnail {
    width: 75px;
  }

  .news .item .info {
    margin-left: 85px;
  }

  .news .item h3 {
    line-height: 2em;
  }

  .news .item time {
    display: none;
  }

  .carousel .info {
    margin-right: 4.5%;
  }

  .column .list {
    width: auto;
  }

  .column .item {
    float: none;
    width: auto;
    padding-right: 0;
    margin-bottom: 2.5%;
  }

  .column .item:last-child {
    margin-bottom: 0;
  }
}

/* 桌面端 - 大屏设备 (≥1008px) */
@media only screen and (min-width: 1008px) {
  /* 友情链接响应式 */
  #links li {
    flex: 1 1 calc(25% - 9px);
  }

  #header {
    padding: 20px 0;
  }

  #logo {
    width: 214px;
  }

  #search form {
    width: 100%;
  }

  #search .text {
    height: 40px;
    line-height: 40px;
  }

  #search .submit {
    width: 40px;
    height: 36px;
  }

  #search .input {
    margin-right: 40px;
  }

  #nav li {
    line-height: 40px;
  }

  #slides {
    width: 350px;
    padding-right: 20px;
  }

  #latest .list {
    max-height: 310px;
  }

  #latest li {
    line-height: 31px;
  }

  #latest .mCustomScrollbar {
    padding-right: 10px;
  }

  .news .top {
    width: 450px;
  }

  .news .item {
    margin: 0 470px 10px 0;
  }

  .news .item .thumbnail {
    width: 100px;
  }

  .news .item .info {
    margin-left: 110px;
  }

  .news .item h3 {
    line-height: 28px;
  }

  .news .item p {
    white-space: nowrap;
    display: block;
    -webkit-line-clamp: 1;
    height: auto;
  }

  .carousel .info {
    margin-right: 6.329%;
  }

  #sidebar {
    width: 280px;
  }
}

/* ===============================================
   微软响应式设计标准断点
   参考: Microsoft UWP/Fluent Design Guidelines
   断点: 360px、640px、1024px、1366px
   =============================================== */

/* 移动端 - 小屏设备 (≤640px) */
@media only screen and (max-width: 640px) {
  html, body {
    overflow-x: hidden;
  }
  /* 友情链接响应式 */
  #links li {
    flex: 1 1 calc(50% - 6px);
  }

  #links a {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* 头部样式 */
  #header #logo img {
    height: 50px;
    width: auto;
    max-width: initial;
  }

  #logo {
    width: 134px;
  }

  #search {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin: 0;
    background-color: transparent;
    transform: none;
    display: block;
  }

  /* 导航样式 */
  #nav .inner {
    width: 200px;
  }

  #nav ul {
    padding: 55px 0;
  }

  #nav li {
    font-size: 14px;
    line-height: 40px;
  }

  #nav li a {
    padding-left: 1em;
    padding-right: 40px;
  }

  #nav li li a {
    padding-left: 3em;
  }

  #nav li em {
    width: 40px;
    height: 40px;
  }

  /* 轮播样式 */
  #slides {
    width: 100%;
    padding-right: 0;
    margin-bottom: 10px;
  }

  #slides .slick-load {
    width: 100%;
  }

  #slides .item {
    position: relative;
    padding-top: 56.25%; /* 16:9 宽高比 */
    overflow: hidden;
  }

  #slides .item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  #slides .item h2 {
    font-size: 12px;
    line-height: 1.5em;
    width: 100%;
    padding: 10px;
    margin: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    box-sizing: border-box;
  }

  #slides .item .excerpt {
    width: 100%;
    padding: 0 10px 10px;
    margin: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    box-sizing: border-box;
    font-size: 10px;
    line-height: 1.4;
  }

  #slidesNav .item a {
    margin-right: 4.23728%;
  }

  /* 首页内容区域 */
  .box {
    padding: 0 15px;
    margin-bottom: 15px;
  }

  .boxTitle {
    margin-bottom: 8px;
  }

  .boxTitle .name {
    font-size: 16px;
  }

  /* 最新更新 */
  #latest {
    margin-top: 8px;
  }

  #latest .list {
    max-height: 300px;
  }

  #latest li {
    line-height: 30px;
  }

  /* 推荐内容 */
  .recommend {
    margin-bottom: 15px;
  }

  .recommend ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .recommend li {
    flex: 1 1 calc(33.333% - 5px);
    max-width: calc(33.333% - 5px);
  }

  /* 新闻内容 */
  .news .top {
    float: none;
    width: 100%;
    margin-bottom: 8px;
  }

  .news .item {
    margin: 0 0 10px;
  }

  .news .item .thumbnail {
    width: 100px;
  }

  .news .item .info {
    margin-left: 110px;
  }

  .news .item h3 {
    line-height: 1.65em;
    white-space: normal;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
  }

  /* 图库内容 */
  .gallery ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .gallery li {
    flex: 1 1 calc(50% - 4px);
    max-width: calc(50% - 4px);
  }

  .gallery .thumbnail {
    width: 100%;
    padding-bottom: 36%; /* 减小高度为原来的一半 */
    position: relative;
    overflow: hidden;
  }

  .gallery .thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 图片内容 - 移动端 */
  .picture ul {
    gap: 8px;
  }

  .picture li {
    flex: 1 1 calc(50% - 4px);
    max-width: calc(50% - 4px);
  }

  .picture .thumbnail {
    padding-bottom: 30%;
  }

  .picture .title {
    margin-top: 5px;
  }

  /* 个人修复：删除.links重复定义，统一使用#links */

  .boxTitle .name {
    font-size: 14px;
  }

  /* 图片区块样式 */
  .picture .boxTitle,
  #gallery .list,
  #main .boxTitle,
  .wp-block-heading,
  .news .boxTitle {
    margin-bottom: 8px;
  }

  .picture ul,
  #gallery ul,
  .gallery ul {
    width: 100%;
  }

  .picture li {
    flex: 1 1 calc(50% - 4px);
    max-width: calc(50% - 4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
  }

  #gallery li {
    width: 47%;
    padding: 1% 2% 0 0;
  }

  .picture .thumbnail {
    margin-bottom: 0;
  }

  #gallery .thumbnail,
  .carousel .thumbnail {
    margin-bottom: 4px;
  }

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

  #gallery .title {
    margin-bottom: 4px;
  }

  /* 页脚样式 */
  #footer {
    padding: 30px 0;
  }

  #copyright {
    text-align: center;
    font-size: 12px;
    margin-right: 0;
  }

  #social {
    float: none;
    margin-bottom: 10px;
  }

  #social ul {
    text-align: center;
  }

  /* 相关文章样式 */
  #related ul {
    width: 105%;
  }

  #related li {
    width: 45%;
    padding: 2% 5% 2% 0;
  }

  /* 文章内容样式 */
  .entry {
    font-size: 14px;
    line-height: 1.75em;
  }

  .entry * {
    line-height: 1.75em;
  }

  .entry p,
  .entry h1,
  .entry h2,
  .entry h3,
  .entry h4,
  .entry h5,
  .entry h6,
  .entry hr,
  .entry blockquote,
  .entry ol,
  .entry ul {
    margin-bottom: 3%;
  }

  /* 评论表单样式 */
  #respond .inp {
    width: auto;
  }

  #respond .inp .item {
    float: none;
    width: auto;
    padding-right: 0;
  }

  #respond .verify {
    width: auto;
    float: none;
    padding-right: 110px;
    margin-bottom: 10px;
  }

  #respond .verify img {
    left: auto;
    right: 0;
  }

  #respond .btn {
    clear: both;
    padding: 2% 0;
    overflow: hidden;
  }

  #respond .submit {
    height: 30px;
    width: 100%;
  }

  /* 个人修复：删除无效的分页隐藏样式 */

  /* 顶部栏样式 */
  #topbar {
    background-color: transparent;
  }

  #welcome {
    float: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.75em;
    font-size: 12px;
    padding: 2px 0;
    color: #fff;
  }

  /* 图库样式 */
  .gallery li {
    width: 31.333%;
    padding: 1% 2% 1% 0;
  }

  .gallery li:first-child {
    width: 31.333%;
  }

  .gallery li:first-child .thumbnail {
    padding-bottom: 75%;
  }

  /* 新闻区块样式 */
  .news .top {
    float: none;
    width: auto;
    margin-bottom: 10px;
  }

  .news .item {
    margin: 0 0 15px;
  }

  .news .item .thumbnail {
    width: 100px;
  }

  .news .item .info {
    margin-left: 110px;
  }

  .news .item h3 {
    line-height: 1.65em;
    white-space: normal;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
  }

  .news .item time {
    display: none;
  }

  /* 轮播区块样式 */
  .carousel {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .carousel .boxTitle {
    margin-bottom: 12px;
  }

  .carousel .slick-load {
    width: 100%;
  }

  .carousel .item {
    width: 50%;
    padding: 0 1%;
  }

  .carousel .info {
    margin-right: 0;
    width: 100%;
  }

  .carousel .thumbnail {
    width: 100%;
  }

  .carousel .thumbnail img {
    width: 100%;
    height: auto;
  }

  /* 栏目区块样式 */
  .column .item {
    margin-bottom: 10px;
  }

  .column .li {
    line-height: 28px;
  }

  /* 首页顶部样式 */
  #hmTop {
    display: block;
    width: auto;
  }

  /* 最新更新样式 */
  #latest .list {
    max-height: 300px;
  }

  #latest li {
    line-height: 30px;
  }

  /* 包装器样式 */
  #wrapper {
    width: auto;
    padding: 10px 0;
  }
}

/* ============================================
   个人中心页面 - 终极版设计
   支持电脑端和移动端完美显示
   ============================================ */

/* 个人修复：弱化强制样式，删除不必要的!important，仅保留必要的文字方向控制 */
.user-center-page,
.user-center-page *,
.user-center-page *::before,
.user-center-page *::after {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  direction: ltr;
}

/* 基础容器 */
.user-center-page {
  padding: 0;
  min-height: 100vh;
}

.user-center-page .page-article {
  padding: 0;
}

.user-center {
  padding: 20px 0;
}

.uc-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* ============================================
   资料卡片 - 玻璃拟态设计
   ============================================ */
.uc-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 
    0 10px 40px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}

.uc-profile-left {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.uc-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 25px;
  border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uc-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(var(--spt-primary-rgb), 0.3);
}

.uc-name-role {
  display: flex;
  flex-direction: column;
}

.uc-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  background: var(--spt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.uc-role {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.uc-edit {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: var(--spt-primary);
  text-decoration: none;
  margin-right: 15px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.uc-edit:hover {
  transform: translateY(-2px);
}

.uc-stats {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.uc-stats li {
  text-align: center;
  margin-left: 12px;
  padding: 15px 25px;
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.uc-stats li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.uc-stats li strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  line-height: 1;
  margin-bottom: 5px;
}

.uc-stats li span {
  display: block;
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   标签导航 - 胶囊式设计
   ============================================ */
.uc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.5);
}

.uc-tab {
  padding: 12px 24px;
  border: none;
  background: transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.uc-tab:hover {
  color: var(--spt-primary);
  transform: translateY(-2px);
}

.uc-tab.is-active {
  color: #fff;
  background: var(--spt-grad);
  box-shadow: 0 4px 15px rgba(var(--spt-primary-rgb), 0.3);
}

/* ============================================
   面板 - 卡片式设计
   ============================================ */
.uc-panel {
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 
    0 10px 40px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.5);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.uc-panel.is-hidden {
  display: none;
}

.uc-panel h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.uc-panel h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--spt-grad);
  border-radius: 2px;
}

/* ============================================
   表单 - 现代化设计
   ============================================ */
.uc-form {
  width: 100%;
}

.uc-field {
  margin-bottom: 25px;
}

.uc-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #444;
}

.uc-field input,
.uc-field textarea,
.uc-field select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-size: 15px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  background: #fafafa;
}

.uc-field input:focus,
.uc-field textarea:focus,
.uc-field select:focus {
  outline: none;
  border-color: var(--spt-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--spt-primary-rgb), 0.1);
}

.uc-field textarea {
  resize: vertical;
  min-height: 120px;
}

.uc-help {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

.uc-actions {
  margin-top: 35px;
  display: flex;
  gap: 15px;
}

.uc-actions button {
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.uc-actions .button-primary {
  background: var(--spt-grad);
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--spt-primary-rgb), 0.3);
}

.uc-actions .button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--spt-primary-rgb), 0.4);
}

.uc-actions .button-secondary {
  background: #f0f0f0;
  color: #666;
}

.uc-actions .button-secondary:hover {
  background: #e0e0e0;
}

/* ============================================
   列表 - 精致设计
   ============================================ */
.uc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uc-list li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.uc-list li:hover {
  padding-left: 10px;
  background: rgba(var(--spt-primary-rgb), 0.02);
}

.uc-list li:last-child {
  border-bottom: none;
}

.uc-list li a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  display: block;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.uc-list li a:hover {
  color: var(--spt-primary);
}

.uc-list li small {
  display: block;
  font-size: 13px;
  color: #999;
}

/* ============================================
   评论样式
   ============================================ */
.uc-comment-meta {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.uc-comment-meta a {
  font-weight: 600;
  color: var(--spt-primary);
}

.uc-comment-content {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  background: rgba(0,0,0,0.02);
  padding: 15px;
  border-radius: 12px;
  border-left: 3px solid var(--spt-primary);
}

/* ============================================
   隐藏项目
   ============================================ */
.uc-hidden-items {
  display: none;
}

/* ============================================
   消息提示
   ============================================ */
.uc-messages {
  margin-bottom: 25px;
}

.uc-msg {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.uc-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border: 1px solid #b8d8be;
}

.uc-error {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border: 1px solid #f1b0b7;
}

/* 个人修复：删除无效的媒体查询注释占位 */

/* ============================================
   响应式设计 - 移动端和平板
   ============================================ */

/* 平板端（769px - 1024px） */
@media (max-width: 1024px) {
  /* 首页模块间距加大 */
  .box {
    margin-bottom: 25px;
  }
  
  /* 导航菜单适配 */
  #nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  #nav li {
    flex: 0 0 calc(25% - 7.5px);
    max-width: calc(25% - 7.5px);
    margin: 8px 0;
  }
  
  .uc-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
  }
  
  .uc-profile-left {
    flex-direction: column;
    margin-bottom: 20px;
  }
  
  .uc-avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .uc-profile-actions {
    margin-bottom: 20px;
  }
  
  .uc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    justify-items: center;
    justify-content: center;
  }
  
  .uc-stats li {
    margin: 0;
    padding: 12px 10px;
    text-align: center;
  }
  
  .uc-tabs {
    justify-content: center;
  }
  
  .uc-tab {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* 移动端（768px以下） */
@media (max-width: 768px) {
  /* 首页模块间距加大 */
  .box {
    margin-bottom: 30px;
    padding: 15px;
  }
  
  .uc-profile-card {
    padding: 20px;
  }
  
  .uc-avatar {
    width: 80px;
    height: 80px;
  }
  
  .uc-name {
    font-size: 24px;
  }
  
  .uc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    width: 100%;
    justify-items: center;
    justify-content: center;
  }
  
  .uc-stats li {
    margin: 0;
    padding: 10px 5px;
    text-align: center;
  }
  
  .uc-stats li strong {
    font-size: 18px;
  }
  
  .uc-stats li span {
    font-size: 11px;
  }
  
  .uc-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  
  .uc-tab {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  
  .uc-actions {
    flex-direction: column;
  }
  
  .uc-actions button {
    width: 100%;
  }
  
  .uc-list li {
    padding: 15px 0;
  }
}

