/*
Theme Name: Six
Theme URI: http://sixer.top/
Author: Your Name
Author URI: http://sixer.top/
Description: Custom theme for sixer.top
Version: 1.0
*/

/* ========== 基础重置 ========== */
:root {
    --primary-color: #333;
    --secondary-color: #777;
    --border-color: rgba(0, 0, 0, 0.1); 
    --content-padding: 2rem;
} 

@font-face {
    font-family: 'HUPO';
    src: url('/wp-content/fonts/custom/HUPO.TTF') format('truetype'); /* [!code ++] */
    font-display: swap;
  }

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

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: var(--primary-color);
    line-height: 1.6;
}

.top-container {
    width: 1080px;
    max-width: 1080px;
    display: flex;
    width: 100%;
    height: 90px;
    margin: 0 auto;
    border-radius: 8px;
    justify-content: center; /* 使子元素水平居中 */
    /*border-bottom: 1px solid #ddd; /* 添加底部边框 */
}

.six-input {
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-sizing: border-box;
    color: #666;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    box-shadow: inset 0 1px 3px rgba(136, 136, 136, 0.05);
}
.six-input:hover {
    border-color: #999;
    background-color: #fff;
}
.six-input:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(133, 133, 133, 0.2);
    background-color: #fff;
}
.six-input::placeholder {
    color: #999;
    font-weight: 300;
    font-size: 14px;
}
.ipt-30 {
    width: 150px;
}
.ipt-25 {
    width: 80px;
    height: 25px;
    font-size: 12px;
    color: #666;
    font-weight: 400;
}
.ipt-25-120 {
    width: 120px;
    height: 25px;
    font-size: 14px;
    color: #666;
    font-weight: 400;
}
.ipt-25-200 {
    width: 200px;
    height: 25px;
    font-size: 14px;
    color: #666;
    font-weight: 400;
}
.six-input:disabled {
    background-color: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
}



/* 下拉选择框基础样式 */
.six-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
   /* border: 1px solid #e0e0e0;*/
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    box-shadow: inset 0 1px 3px rgba(136, 136, 136, 0.05);
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
  }
  
  .slt-20-60 {
    height: 20px;
    width: 60px;
    font-size: 10px;
    color:#999;
    padding: 5px;
  }
  .slt-20-80 {
    height: 22px;
    width: 80px;
    font-size: 10px;
    color:#999;
    padding: 2px;
  }
  /* 悬停状态 */
  select.six-select:hover {
    border-color: #999;
    background-color: #f5f5f5;
  }
  
  /* 聚焦状态 */
  select.six-select:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(133, 133, 133, 0.2);
    background-color: #f5f5f5;
  }
  
  /* 禁用状态 */
  select.six-select:disabled {
    background-color: #f0f0f0;
    color: #aaa;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23aaa" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
    cursor: not-allowed;
  }
  
  /* 选项样式 */
  select.six-select option {
    padding: 8px;
    background-color: #f5f5f5;
    color: #666;
  }
  
  /* 分组标题样式 */
  select.six-select optgroup {
    font-weight: bold;
    color: #555;
    padding: 4px;
  }

/* 完成下拉选择框基础样式 */  

/* 文本域基础样式 */
.six-textarea {
    width: 100%;
    padding: 10px;
    line-height: 1.3;        /* 保持 */
    color: #333;             /* 保持 */
    font-weight: 500;     /* 保持 */
    background-color: #f5f5f5;  /* 改为白色背景与comment-content一致 */
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;    /* 新增：继承父元素字体 */
    margin: 0;               /* 新增：移除默认外边距 */
    text-shadow: 0.25px 0.25px 0.5px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}
/* 悬停状态 */
.six-textarea:hover {
    border-color: #ccc;
    background-color: #f5f5f5;
}
  
  /* 聚焦状态 */
.six-textarea:focus {
    outline: none;
    border-color: #ccc;
    box-shadow: 0 0 0 3px rgba(133, 133, 133, 0.2);
    background-color: #f5f5f5;
  }

.textarea-600-30 {
    width: 600px;
    height: 30px;
}
.textarea-500 {
    width: 600px;
    height: 80px;
}
.textarea-600 {
    width: 600px;
}
.textarea-700 {
    width: 700px;
}
  /* 禁用状态 */
.six-textarea:disabled {
    background-color: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
}
  
  /* 占位符样式 */
.six-textarea::placeholder {
    color: #999;
    font-weight: 300;
    font-size: 14px;
}
  
  /* 尺寸变体 */
.six-textarea.small {
    min-height: 80px;
    padding: 8px;
}
  
.six-textarea.large {
    min-height: 180px;
    padding: 16px;
}
  
  /* 响应式调整 */
@media (max-width: 768px) {
.six-textarea {
    font-size: 14px;
}
}
/* 完成文本域基础样式 */  
.logo-section {
    width: 150px;
    max-width: 150px;
    margin-top: 20px;
    flex-shrink: 0;
    /*padding: 10px;*/
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}
#logo .img {
    width: 120px !important;   /* 宽度与Logo一致 */
    height: 40px !important;   /* 高度与Logo一致 */
    margin: 0 auto 25px !important; /* 居中并调整下边距 */
}

.middle-section {
    width: 780px;
    max-width: 780px;
    flex-shrink: 0;
    background: #f5f5f5;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    margin: 0 10px;
}

.user-status-section {
    width: 130px;
    max-width: 130px;
    flex-shrink: 0;
   /* padding-left: 5px;*/
    border-radius: 5px;
    position: relative;
    z-index: 0;
    display: flex;
    justify-content:flex-end;
    align-items: flex-end;
    gap: 5px;
}


#logo {
    width: 100px;
    height: auto;
}

#logo img {
    width: 100%;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

.middle-left-section,
.middle-right-section {
    display: flex;
    width: 50%;
    align-items: center;
    background: #f5f5f5;
}

.middle-left-section {
    justify-content: flex-end; /* 内容靠右 */
    padding-right: 5px;
}

.middle-right-section {
    justify-content: flex-start; /* 内容靠左 */
    padding-left: 5px;
}

.middle-item.lottery {
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.middle-item.region-button.ao {
    min-width: 110px; 
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px; /* 可选：给图片和文字之间添加一点间距 */
}
.middle-item.region-button.ao img,
.middle-item.region-button.hk img {
    width: 32px;
    height: 32px;
}
.middle-item.region-button.hk {
    min-width: 110px; 
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px; /* 可选：给图片和文字之间添加一点间距 */
}

.middle-left-section .middle-item.lottery {
    margin-right: auto; /* $result1靠左边 */
    justify-content: flex-start;
}

.middle-right-section .middle-item.lottery {
    margin-left: auto; /* $result2靠右边 */
    justify-content: flex-end;
}


.middle-item {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 5px;
    border-radius: 4px;
    transition: background 0.3s;
}


.middle-item:checked {
    background: #c4c4c4;
}

.middle-item img {
    max-height: 40px;
    width: auto;
    height: 32px;
}

.user-status-button,
.user-status-button.rechoose,
.user-status-button.next-step,
.user-status-button.submit-guess {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    background-color: #666;
    color: #ddd;
    border: none;
    border-radius: 4px;
    font-size:small;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    height: 22px;
}
.user-status-button {
    width: 70px;
}
.user-status-button.rechoose,
.user-status-button.next-step,
.user-status-button.submit-guess {
    width: 100px;
}  
.user-status-button:hover {
    background-color: #555;
}
.user-status-button.next-step:hover {
    background-color: #555;
}
.user-status-button.rechoose:hover {
    background-color: #555;
}

.user-status-button.submit-guess:hover {
    background-color: #555;
}
.user-status-button i {
    margin-right: 5px;
}

/* ========== 中部容器布局 ========== */
#middle-container {
    display: flex;
    width: 1080px;
    max-width: 100%;
    margin: 0 auto;
}
.sidebar-right-menu {
    margin-left: 10px;
}
/* 左侧边栏 (原header内容) */
#left-sidebar {
    width: 150px;
    max-width: 150px;
    margin-top: 20px;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
}
/* 主内容区 */
#main-content { 
    width: 800px;
    max-width: 800px;
    padding: 10px;
    flex-shrink: 0;
    background: #f5f5f5;
    z-index: 1;
    display: flex;
    flex-direction: column; /* Changed from align-items: center */
    align-items: center; /* This will center child elements horizontally */
    justify-content: flex-start; /* Align children to top */
    flex: 1;
    min-width: 0;
    order: 2;
    border-radius: 8px;
}
.main-content2 {
    padding: 0 15px;
    width: 780px;
    max-width: 780px;
    min-height: 500px;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}
.main-content2 > * {
    margin-bottom: 0px; /* 调整为您需要的间距 */
}
.sub-content {
    position: relative;
    padding: 0;
    margin: 0;
}
/* 右侧边栏 */
#right-sidebar {
    height: 100%;
    width: 120px; /* 固定宽度 */
    max-width: 130px;
    order: 3;
    margin-top: 10px;
    padding-left: 10px;
    flex-shrink: 0; /* 禁止压缩 */
    border-radius: 5px;
    position: relative;
    z-index: 1; /* 确保侧边栏在堆叠顺序下层 */
    align-self: flex-start;     /* 顶部对齐 */
}
#left-header {
    height: 100%;
    padding: 0;
    flex-grow: 1;
    width: 150px;
    background: #f5f5f5;
    display: flex;              /* 启用 Flex 布局 */
    flex-direction: column;     /* 垂直排列子元素 */
    align-items: center;        /* 水平居中 */
    align-self: flex-start;     /* 顶部对齐 */
    min-height: 400px;
}
.user-section-side {
    text-align: center;
    width: 100%;
    margin-top: 0;              /* 移除顶部 margin */
    padding-top: 0;             /* 移除顶部 padding */
    align-self: flex-start;     /* 顶部对齐 */
    align-items: center; /* 新增：使子元素水平居中 */
    margin-bottom: 0;
    padding-bottom: 0;
}

.site-navigation-left {
    width: 100%;
    margin-top: 10px;           /* 与用户信息区的间距 */
}

.news-item {
    padding: 10px 0 2px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    vertical-align: bottom;
}
.post-title22 {
    flex: 1;
    width: 30%;
    font-weight: 400;
    font-size: medium;
    padding: 0;
}
.post-title22 a {
    color: var(--primary-color);
    text-decoration: none;
}
.post-title22 a:hover {
    color: #078786;
}

.post-meta22 {
    width: 70%;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size:small;
    font-weight: 300;
    padding: 0 5px 0 10px;
    color: #666;
}
/* 用户元信息容器 */
.meta-item22 {
    display: flex;
    align-items: center;  /* 垂直居中 */
    gap: 8px;  /* 元素间距 */
    line-height: 1.2;  /* 重置行高 */
    font-size:small;
}

/* 等级图标容器 */
.meta-value {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 2px;
    margin: 0;
    font-size: 12px;
}

/* 等级图片样式 */
.rank-img {
    height: 12px;
    width: auto;
    max-width: 48px;
    vertical-align: middle;
    object-fit: contain;
}



/* 积分文本样式 */
.rank-points {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

/* 奖杯图标调整 */
.rank-points .fas.fa-trophy {
    font-size: 12px;
    vertical-align: middle;
}

.user-info {
    margin-top: 10px;
}

.user-info .username {
    font-weight: bold;
    font-size: 1.2rem;
}

.user-info .user-level {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.guest-message {
    color: #666;
    font-size: 14px;
}
.guest-message-left {
    line-height: 1.2;
    font-size: small;
}

.guest-message-left p {
    margin: 5px 0;
}

.meta-item-s {
    display: flex;
    justify-content: center;
    align-items: center;
}
.meta-value {
    white-space: nowrap;
    display: inline-flex;   /* 使用inline-flex保持内容对齐 */
    align-items: center;    /* 垂直居中内容 */
    margin: 0 2px;         /* 左右边距设置为2px */
    padding: 0px 1px;      /* 适当内边距 */
    font-size: 0.85rem;    /* 可选：减小字体大小 */
}
.meta-value img {
    vertical-align: middle;
    margin-right: 2px;     /* 图片右边距减小 */
    height: 12px;
    width: 12px;
}
.meta-value1 img {
    vertical-align: middle;
    margin-right: 2px;     /* 图片右边距减小 */
    height: 12px;
    width: 48px;
}

.news-list2 {
    margin: 0;
    padding: 0;
}
.news-item22 {
    display: flex;
    align-items: center; /* 这才是真正控制垂直居中的关键 */
    height: 40px;
    line-height: normal; /* 重置行高 */
    padding-right:10px;
    border-top: #eee solid 1px;
  }

.news-list a:hover {
    color: #078786;
}
.news-list li::after {
    content: "";
    display: table;
    clear: both;
}
.auth-section {
    margin-top: auto; /* 使登录区域固定在底部 */
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-around;
}

.auth-button {
    padding: 8px 15px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.auth-button:hover {
    background: #555;
}


#slider-region-container {
    height: 100%;
    width: 120px; /* 固定宽度 */
    flex-shrink: 0; /* 禁止压缩 */
    border-radius: 5px;
    position: relative;
    z-index: 1; /* 确保侧边栏在堆叠顺序下层 */
    align-self: flex-start;     /* 顶部对齐 */
    justify-items: center;
    margin-left: 10px;
}
/* ========== 底部样式 ========== */
#footer {
    width: 100%;
    background: #f5f5f5;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.footer-line {
    margin: 5px 0;
    background: #f5f5f5;
}

.footer-item {
    display: inline-block;
    margin: 0 10px;
    background: #f5f5f5;
}

.footer-icon {
    width: 16px;
    text-align: center;
    margin-right: 5px;
}
/* ========== 工具类 ========== */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Font Awesome 图标兼容性 */
.fas, .fab, .far {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* 侧边栏样式 */
#right-sidebar.region-sidebar {
    transition: all 0.3s ease;
}

/* 开奖信息备用样式 */
.lottery-fallback {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}


.lottery-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.period-serial {
    margin-right: 15px;
    font-weight: bold;
}

.open-date {
    color: #666;
}

#dynamic-sidebar {
    transition: all 0.3s;
}
.ao-sidebar, .hk-sidebar {
    width: 130px;
    max-width: 130px;
    background: #f5f5f5;
    border-radius: 5px;
    align-items: center;        /* 水平居中 */
    text-align: center;
}

/* Tab切换样式 */
.tab-section {
    position: relative;
    margin-top: 30px;
    border: 1px solid #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid #ddd;
    background: #f5f5f5;
}

.tab-button {
    padding: 10px 20px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: medium;
    font-weight: 600;
    color: #666;
    position: relative;
    transition: all 0.3s;
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--primary-color);
    background: #f5f5f5;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
}

.tab-content-container {
    position: relative;
    padding: 0;
    background: #f5f5f5;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

#tab-3 {
    position: static !important;
  }

.sxpm-tab:hover {
    color: #078786;
}

.sxpm-tab.active {
    color: #666;
}
/* 选项卡样式 */
.sxpm-lottery-container {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
  }

.sxpm-number2 {
    text-align: center;
    display: inline-block;
    padding: 0 3px 0 2px;

}
.sxpm-numbers2 {
    padding: 0;
    margin: 0;
}
.sxpm-number2 img {
    width: 28px;
    height: 28px;
}
  
.sxpm-number-info2 {
    font-size: 10px;
    margin-top: 0;
    padding: 0;
    margin-top: -4px; /* 将文字向上移动2px */
    color: #666;
}
.no-numbers {
    color: #666;
    font-size: medium;
}
.sxpm-separator {
    font-size: 20px;
    font-weight: bold;
    margin: 0 10px;
}
.sxpm-separator2 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 10px;
} 

.sxpm-tab-header {
    width: 100%;
    padding: 10px;
    display: flex;
    border-bottom: 1px solid #ddd;
    background: #f5f5f5;
    align-items: center;
  }

.sxpm-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    order: 1;
    flex-grow: 1;
}
.chat-header-right {
    margin-left: auto;
    order: 2;
}
.sxpm-tab {
    padding: 10px 20px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: medium;
    font-weight: 600;
    color: #666;
    position: relative;
    transition: all 0.3s;
    text-decoration: none;
}

.sxpm-sort-toolbar {
    order: 2;
    margin-left: auto;
    display: flex;          /* 启用flex布局 */
    align-items: center;    /* 垂直居中 */
    justify-content: flex-end; /* 右对齐 */
  }
  
  .sort-options {
    display: flex;
    gap: 10px;
  }
  .sort-options2 {
    display: flex;
    gap: 10px;
  }
  .sxpm-lottery-table {
    width: 100%;
    padding: 10px;
  }
  .sxpm-lottery-table tr {
    width: 100%;
    min-height: 50px;  /* 设置最小行高 */
    height: 30px;      /* 固定行高 */
  }
  /* 修改后的表格单元格对齐方式 */
  .sxpm-lottery-table th,
  .sxpm-lottery-table td {
      text-align: center;
      border: none;
      border-bottom: #e4e4e4 solid 1px;
      font-size: medium;
      margin: 0;
      padding: 2px;
      font-weight: 400;
      color: #999;
      font-size: 12px;
  }
.lottery-status {
  width: 100px;
  }
.sxpm-lottery-table th:first-child,
.sxpm-lottery-table td:first-child {
    text-align: center;
}

.lottery-code {
    font-weight: normal;
    color: #666;
    font-size: 14px;
  }
.lottery-time {
    color: #666;
    font-size: 14px;
    font-weight: normal;
  }


/* 导航菜单样式 */
#item-nav .item-list-tabs {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

#item-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

#item-nav li {
    margin-right: 15px;
    margin-bottom: 5px;
}

#item-nav a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s;
    border-radius: 4px;
}

#item-nav li.selected a,
#item-nav a:hover {
    color: #fff;
    background: #0073aa;
}

/* 内容区域样式 */
#item-body {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 竞猜记录样式 */
#six-guesses {
    padding: 20px;
}

.six-guesses-container {
    margin-top: 20px;
}


.user-meta-side {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 12px;
    color: #666;
    width: 100%;
    align-items: center; /* 修改为居中 */
    justify-content: center; /* 新增：垂直居中 */
    padding: 2px 0; /* 添加一些内边距 */
}
.user-name-side {
    font-weight: bold;
    font-size:18px;
    line-height: 1.2;
    color: #333;
    width: 100%;
    text-align: center; /* 确保文本居中 */
}
.user-name-side a {
    font-size:18px;
    font-weight: 400;
    text-decoration: none;
    color: #666;
    display: inline-block; /* 确保链接也能居中 */
}
.user-name-side a:hover {
    color: #078786;
    text-decoration: none;
}

.user-meta-side div {
    display: flex;
    justify-content: center; /* 保持居中 */
    align-items: center; /* 修改为居中 */
    gap: 2px;
    padding: 0;
    margin: 0;
    font-size: 12px;
    flex-wrap: wrap; /* 允许内容换行 */
}

.um-account-tab:not(#um_account_tab_password):not(#um_account_tab_privacy) {
    display: none;
}

/* 美化头像上传 */
.um-account-avatar a {
    background: #f5f5f5;
    color: white!important;
    padding: 8px 15px;
    border-radius: 4px;
}


.user-links-side {
    color: #666;
    font-size: small;
}
.user-links-side a {
    color: #666;
    font-size: small;
    text-decoration: none;
}
.user-links-side a:hover {
    color: #078786;
}


.user-status-section.sixer-user-actions {
    display: flex;
    justify-content: flex-end; /* 默认靠右对齐 */
    align-items: center;
    padding: 0 0 8px 0;
    margin: 0;
    min-height: 40px;
    align-items: flex-end; /* 垂直靠底部 */
}

/* 当只有一个按钮时的样式 */
.user-status-section.sixer-user-actions.single-button {
    justify-content: center !important; /* 强制居中 */
    align-items: flex-end; /* 垂直靠底部 */
}


/* 头像容器样式 */
.user-avatar-container {
    display: flex;
    justify-content: center;
    padding: 0px;
}

/* 48px头像主体样式 */
.user-avatar-side {
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 2px solid #fff;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.user-avatar-side.small {
    /* 保持原有尺寸 */
    width: 32px;
    height: 32px;
}
.user-avatar-side.big {
    /* 保持原有尺寸 */
    width: 48px;
    height: 48px;
}
/* 在线状态指示器 - 根据等级变化颜色 */
.user-avatar-side::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #fff;
    z-index: 2;
}
/* 不同等级的颜色 */
/* 不同等级的颜色 - 在线状态 */
.user-avatar-side.online.rank-0::after { background-color: #333; }      /* 水鬼 */
.user-avatar-side.online.rank-1::after { background-color: #0cbfda; }   /* 士兵 */
.user-avatar-side.online.rank-2::after { background-color: #078786; }   /* 先锋 */
.user-avatar-side.online.rank-3::after { background-color: #2e1375; }   /* 卫士 */
.user-avatar-side.online.rank-4::after { background-color: #e39f00; }   /* 中军 */
.user-avatar-side.online.rank-5::after { background-color: #e9f105; }   /* 统帅 */
.user-avatar-side.online.rank-6::after { background-color: #e76705; }   /* 传奇 */
.user-avatar-side.online.rank-7::after { background-color: #422f1a; }   /* 万古 */
.user-avatar-side.online.rank-8::after { background-color: #f14498; }   /* 超凡 */

/* 不同等级的颜色 - 边框颜色（无论在线与否都显示） */
.user-avatar-side.rank-0 { border-color: #333; }      /* 水鬼 */
.user-avatar-side.rank-1 { border-color: #0cbfda; }   /* 士兵 */
.user-avatar-side.rank-2 { border-color: #078786; }   /* 先锋 */
.user-avatar-side.rank-3 { border-color: #2e1375; }   /* 卫士 */
.user-avatar-side.rank-4 { border-color: #e39f00; }   /* 中军 */
.user-avatar-side.rank-5 { border-color: #e9f105; }   /* 统帅 */
.user-avatar-side.rank-6 { border-color: #e76705; }   /* 传奇 */
.user-avatar-side.rank-7 { border-color: #422f1a; }   /* 万古 */
.user-avatar-side.rank-8 { border-color: #f14498; }   /* 超凡 */

.rank-list {
    font-family: HUPO;
}
.rank-0 { color: #333; }      /* 水鬼 */
.rank-1 { color: #0cbfda; }   /* 士兵 */
.rank-2 { color: #078786; }   /* 先锋 */
.rank-3 { color: #2e1375; }   /* 卫士 */
.rank-4 { color: #e39f00; }   /* 中军 */
.rank-5 { color: #e9f105; }   /* 统帅 */
.rank-6 { color: #e76705; }   /* 传奇 */
.rank-7 { color: #422f1a; }   /* 万古 */
.rank-8 { color: #f14498; }   /* 超凡 */

.user-avatar-side.online::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #fff;
    z-index: 2;
    display: block;
}

.user-avatar-side.offline::after {
    display: none;
}
/* 悬停效果 */
.user-avatar-side:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* 装饰性元素 */
.user-avatar-side::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
    z-index: 1;
}
/* 头像图片样式 */
.user-avatar-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
}

.rank {
    font-family: 'HUPO';
    font-size: 12px;
    padding-top: 3px;
}
.rank .bi {
    font-size: 10px;
    padding-right: 4px;
}
.meta-item-side i {
    font-size: 10px;
}
.meta-item-side {
    display: flex;          /* 启用 Flex 布局 */
    align-items: flex-end; 
    color: #078786;
}

/* 区域特定小工具样式 */
.hk-widget {
    border-left: 3px solid #e53935;
}

.ao-widget {
    border-left: 3px solid #fb8c00;
}
/* 侧边栏错误提示 */
.sidebar-error {
    padding: 15px;
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

/* 无小工具提示 */
.no-widgets {
    padding: 15px;
    background: #e3f2fd;
    color: #1565c0;
    text-align: center;
}



/* 香港版特定样式 */
.sidebar-hk .region-banner {
    margin-bottom: 20px;
}
.sidebar-hk .nav-item a {
    color: #e63946;
}
.sidebar-hk .nav-item.active a {
    font-weight: bold;
}

/* 澳门版特定样式 */
.sidebar-ao .region-banner {
    margin-bottom: 20px;
}
.sidebar-ao .nav-item a {
    color: #457b9d;
}
.sidebar-ao .nav-item.active a {
    font-weight: bold;
}

/* 默认侧边栏样式 */
.sidebar-default .nav-item a {
    color: #6c757d;
}

/* 小工具统一样式 */
.sidebar-widgets {
    margin-top: 25px;
}
.hk-widget {
    border-left: 3px solid #e63946;
}
.ao-widget {
    border-left: 3px solid #457b9d;
}


/* 香港专区标题图片 */
.title-img {
    display: block;
    width: 32px; /* 推荐固定宽度 */
    height: 32px; /* 推荐固定宽度 */
    margin: 10px auto; /* 上下边距10px，左右自动（水平居中） */
}

/* 右侧菜单简化版 */
.sidebar-right-menu {
    margin-left: 10px;
    font-size: medium;
}

.sidebar-right-menu a {
    display: block; /* 使每个链接单独成行 */
    color: #666;
    text-decoration: none;
    padding-left: 10px;
    position: relative;
    font-size:medium;
}

.sidebar-right-menu a:hover {
    color: #000;
    text-decoration: none;
    font-size:medium;
}

.rank2 .bi {
    padding-right:2px;
}
.bi-flower2 {
    color: #078786;
    font-weight: bold;
    font-size: 12px;
    padding-right: 2px;
  }

.rank2 {
    font-size: 12px;
    color: #999;
    gap:0;
    padding: 0;
}

/* 用户目录样式 */
.user-directory {
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 5px;
    align-items: center;    
}
.user-directory ul {
    list-style: none;
    padding-left: 0;
    margin: 0;  
}

.user-directory li {
    padding: 3px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    color: #666;
    text-align: center;
}

.user-directory li:last-child {
    border-bottom: none;
}

.user-directory a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
}

.user-directory a:hover {
    color: #078786;
}

/* 用户文章列表样式 */
.user-post-list {
    list-style: none;
    padding-left: 0;
}

.user-post-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.no-posts-message {
    padding: 20px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 5px;
}


/* 用户文章头部样式 */
.user-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.user-post-header h3 {
    margin: 0;
}

.publish-button-container {
    margin-left: 20px;
}

.publish-button {
    padding: 5px 15px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.publish-button:hover {
    background-color: #005177;
}

.already-published {
    color: #666;
    font-size: 14px;
    font-style: italic;
}
.publish-content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.publish-content-container h2 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.error-message {
    padding: 10px 15px;
    margin-bottom: 20px;
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
    border-radius: 4px;
}


.cancel-button {
    padding: 9px 20px;
    margin-left: 10px;
    background: #f5f5f5;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.cancel-button:hover {
    background: #e0e0e0;
}


/* <开始修改> 发布页面样式 */
.publish-tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-link {
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-bottom: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
}

.tab-link.active {
    background: #fff;
    font-weight: bold;
    position: relative;
    top: 1px;
}

.publish-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
}

.publish-tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
    padding: 0 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #666;
    font-size: 16px;
    padding: 0;
}

.parent-category {
    padding: 8px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* bublish-ma */
.content-material {
    width: 780px;
    max-width: 780px;
    margin: 10px;
    padding: 20px 10px 10px 30px;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.title-section h2 {
    font-size: 20px;
    color: #333;
    border-bottom: 2px solid #999;
    margin-bottom: 10px;
}


.inline-group {
    display: flex;
    align-items: center;
    gap: 5px;
}


.content2 {
    font-weight: 400;
    color: #666;
    border:0;
}

#material-category {
    background: #f5f5f5;
    padding: 4px 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    color: #666;
}
#material-image {
    background: #f5f5f5;
    padding: 4px 5px;
    border-radius: 4px;
    font-size: 15px;
    color: #666;
}
#image-preview {
    margin-top: 10px;
    min-height: 100px;
    border: 1px dashed #ddd;
    border-radius: 4px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
}

#image-preview img {
    max-width: 100%;
    max-height: 200px;
}

/* water-publish */
.title-section {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    margin: 15px 0;
    gap: 15px;
}

.title-section h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.form-group.inline-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.form-group.submit-line {
    display: flex;
    justify-content:center;
    margin-bottom: 15px;
}
.form-group.inline-group label {
    margin-right: 10px;
    margin-bottom: 0; /* 去除下边距 */
    flex-shrink: 0; /* 防止标签被压缩 */
}
.form-group.inline-group .current-issue,
.form-group.inline-group .auto-title {
    background: #f5f5f5;
    color: #666;
    font-size: 16px;
    padding:0px;
    font-weight: 400;
}
.content-water,
.tabs-container,
.content-material {
    width: 760px;
    max-width: 760px; /* 限制内容最大宽度 */
    margin: 0 auto; /* 居中显示 */
    box-sizing: border-box;
    margin: 10px 10px 30px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding-bottom: 20px;
}
/* 基础按钮样式 - 增强版 */
.six-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.8rem;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    outline: none;
    line-height: 1;
    position: relative;
    overflow: hidden;
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);*/
    margin: 0.25rem;
}

/* 主按钮样式 */
.six-btn-primary {
    background-color: #078786;
    border: #f5f5f5 solid 4px;
    color: #f5f5f5;
}

.six-btn-primary:hover {
    background-color: #078786;
    border: #e0f8f8 solid 4px;
}

/* 次按钮样式 */
.six-btn-secondary {
    border: #f5f5f5 solid 4px;
    background-color: #666;
    color: #f5f5f5;
}
.six-btn-secondary:hover {
    border: #ddd solid 4px;
    background-color: #777;
}

.six-btn-secondary:hover {
    border: #ddd solid 4px;
    background-color: #777;
}

/* 简约按钮样式 */
.six-btn-minimal {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
}
.six-btn-minimal:hover {
    background-color: #ddd;
    color: #333;
    border-color: #ccc;
}

.btn-30 {
    height: 35px;
    width: 120px;
}
.btn-25-60 {
    height: 25px;
    width: 60px;
    font-size: 12px;
    padding: 0.1rem 0.2rem;
}
.btn-40-90 {
    height: 28px;
    width: 90px;
    font-size: 12px;
    padding: 0.1rem 0.2rem;
}
.btn-25-80 {
    height: 25px;
    width: 80px;
    font-size: 12px;
    padding: 0.1rem 0.2rem;
}
.btn-25-120 {
    height: 25px;
    width: 120px;
    font-size: 12px;
    padding: 0.1rem 0.2rem;
}
.btn-30-120 {
    height: 35px;
    width: 110px;
}
.btn-30-120-radius {
    height: 35px;
    width: 110px;
    border-radius: 15%;
}
.btn-45 {
    height: 45px;
}
.btn-45-120 {
    height: 45px;
    width: 120px;
}
/* 禁用状态 */
.six-btn-disabled {
    background-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

.six-btn-disabled:hover {
    transform: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* 按钮尺寸 */
.six-btn-small {
    padding: 10px;
    font-size: 14px;
    height: 25px;
    color: #999;
    background-color: #ddd;
}
.six-btn-small:hover {
    color: #666;
    background-color: #ccc;
}
.six-btn-large {
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
}
.material-submit,
.water-submit {
    color: #f5f5f5;
    background-color: #078786;
    width: 120px;
    height: 40px;
}

/* 图标按钮 */
.six-btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 50%;
}

/* 特殊效果按钮 */
.six-btn-gradient {
    background: linear-gradient(135deg, #333 0%, #666 100%);
    color: #f5f5f5;
}

.six-btn-gradient:hover {
    background: linear-gradient(135deg, #444 0%, #777 100%);
}

/* 图标样式 */
.six-btn i {
    margin-right: 0.5rem;
    font-size: 0.9em;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .six-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .six-btn i {
        margin-right: 0.3rem;
    }
    
    .user-status-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* 区域按钮样式 */
.region-button {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    color: #555;
    border: #ccc solid 1px;
    width: 120px;
}

.region-button.active {
    background-color: #ccc;
    color: #555;
    border: #ccc solid 1px;
}

.region-button img {
    width: 24px;  
    height: 24px;
    margin: 0 0.5rem;
}

/* 确保平滑过渡 */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}


.tabs-nav {
    display: flex;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
    border-bottom: 1px solid #ddd;
}
.tabs-nav li {
    margin: 0;
}

.tabs-nav li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #666;
    background: #f5f5f5;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}
    
.tabs-nav li.active a {
    background: #f5f5f5;
    color: #078786;
    font-weight: bold;
    border-bottom-color: #078786;
}

.tabs-nav li a:hover {
    background: #e9ecef;
    color: #078786;
}
.post-list-container,

.tab-panel { 
    width: 100%;
    margin: 0; /* 移除子元素的外边距 */
    padding: 0 10px;
}

.tab-panel {
    display: none;
}   
.tab-panel.active {
    display: block;
}
    
    /* 筛选器样式 */
    .filter-container {
        margin-bottom: 20px;
        text-align: right;
    }
    
    .filter-select {
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 3px;
        background: #f5f5f5;
        color: #666;
    }
    
    /* 文章列表样式 */
    .post-item {
        border-bottom: 1px solid #eee;
        padding: 15px 0;
    }
    
    .post-item.single-line {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    .post-item .post-title a:hover {
        color: #078786 !important;
    }
    .post-list-container .post-title {
        font-size: 16px;
        flex: 1;
    }
    .post-list-container .post-title a {
        color: #666;
        font-weight: 500;
        text-decoration: none;
    }
    
    .post-list-container .post-title a:hover {
        color: #078786;
    }
    .post-list-container .post-meta {
        display: flex;
        align-items: center;
        font-size: 12px;
        color: #999;
    }
    
    .post-list-container .meta-item {
        display: flex;
        align-items: center;
        margin-left: 15px;
        white-space: nowrap;
        position: relative;
        cursor: help;
    }
    .post-list-container .meta-item2 {
        display: flex;
        align-items: center;
        margin-left: 15px;
        white-space: nowrap;
        position: relative;
        cursor: help;
    }
.post-list-container .meta-item i {
    margin-right: 3px;
}
.post-list-container .meta-item2 i {
    margin-right: 3px;
}
/* 分页样式优化 */
.post-pagination {
    margin-top: 20px;
    text-align: center;
    width: 100%;
    min-height: 30px; /* 确保即使没有分页也占用空间 */
}
.no-posts {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    min-height: 100px; /* 确保占位内容有一定高度 */
}
.post-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.post-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.25s ease;
    color: #666;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
}

.post-pagination .page-numbers:hover {
    background-color: #e9e9e9;
    color: #666;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-pagination .page-numbers.current {
    background-color: #078786;
    color: white;
    border-color: #078786;
    font-weight: 600;
}

.post-pagination .page-numbers.dots {
    background-color: transparent;
    border: none;
    min-width: auto;
}
.post-pagination .page-numbers.prev,
.post-pagination .page-numbers.next {
    padding: 0 15px;
    font-weight: 400;
}

.post-pagination .page-numbers.prev:hover,
.post-pagination .page-numbers.next:hover {
    background-color: #078786;
    color: #f5f5f5;
}

.likes-count, .flower-count {
    color: #e76705;
}
/* 主页 */

/* guess-list */
/* 竞猜列表样式 */
/* 竞猜列表样式 - 调整布局 */
.guess-list-container {
    margin-top: 15px;
}
.guess-list-container .post-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.guess-list-container .user-info-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.guess-list-container .meta-items-right { 
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.guess-list-container .meta-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #999;
}
.guess-list-container .meta-item a {
    font-size: 14px;
    color: #666; 
    text-decoration: none;
}
.guess-list-container .meta-item a:hover {
    font-size: 14px;
    color: #078786; 
}
.guess-list-container .meta-item2 a {
    font-size: 14px;
    color: #666; 
    text-decoration: none;
}
.guess-list-container .meta-item2 a:hover {
    font-size: 14px;
    color: #078786; 
}
.guess-list-container .meta-item.user-name {
    font-weight: bold;
    color: #666;
    padding-top: 10px;
    font-size: 14px;
    margin-left: 10px;
}

.guess-list-container .meta-item i {
    margin-right: 3px;
}

.guess-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 排序工具栏样式 */
.guess-sort-toolbar-list {
    margin-bottom: 15px;
}

.sort-options-list {
    display: flex;
    gap: 10px;
}

.sort-btn {
    padding: 5px 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.sort-btn.active {
    background: #078786;
    color: white;
    border-color: #078786;
}

.sort-btn:hover {
    background: #eaeaea;
}

.sort-btn.active:hover {
    background: #067676;
}

/* 分页样式 */
.guess-list-footer {
    margin-top: 20px;
}

.guess-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.page-link {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #666;
    text-decoration: none;
}

.page-link.active {
    background: #078786;
    color: white;
    border-color: #078786;
}

.page-link:hover {
    background: #f5f5f5;
}

.page-link.active:hover {
    background: #067676;
}

/* 无记录提示 */
.no-record {
    text-align: center;
    padding: 30px;
    color: #999;
}
.meta-item.user-name {
    font-weight: bold;
    color: #666;
    font-size: 14px;
    padding: 0;
}

.meta-item:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #666;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

.user-info-left {
    display: flex;
    align-items: center;
    gap: 10px; /* 头像和名字间距10px */
}
/* guess-list */


/* material-de */
/* 资料详情样式 */
.moderator-tag {
    margin-left: 10px;
    font-family: 'HUPO', sans-serif;
    font-size: 12px;
    color: #FC6668;
    font-weight: 400;
}
.sxpm-material-detail {
    width: 780px;
    max-width: 780px;
    margin: 10px;
    padding: 10px 10px 10px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.post-type h2 {
    font-size: 20px;
    color: #333;
    border-bottom: 2px solid #3a9c3a;
    margin-bottom: 10px;
}
 
/* 用户信息卡片 */
.user-info-card {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    background: #f5f5f5;
    position: relative; /* 为绝对定位的子元素提供参考 */
}
.content2 {
    font-weight: 400;
    color: #666;
    border:0;
}
.content2 a {
    text-decoration: none;
    color: #078786;
}
.content2 a:hover {
    color: #078786;
    text-decoration: underline;
}
.user-avatar-container {
    margin: 0px;
}

.user-avatar-side {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.user-avatar-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-name {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    padding-left: 5px;
}

.user-name a {
    color: #333;
    text-decoration: none;
}

.user-name a:hover {
    color: #078786;
}

.user-stats {
    font-size: 14px;
    color: #666;
}

.stat-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #999;
    font-size: 12px;
    padding-left: 8px;
}
.stat-line34 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #999;
    font-size: 1;
}
.user-items {
    margin-right: 5px;
}

.representation-detail {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.representation-detail h3 {
    border: none;
    font-size: 16px;
    padding: 10px;
}


.trade-info-panel {
    width: 740px;
    background: #f5f5f5;
    padding: 10px 10px 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.trade-info-panel h3 {
    margin-top: 0;
    color: #555;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    font-size:16px;
    font-weight: 500;
}

/* 资料信息 */
.info-row  {
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
    display: flex; /* 启用弹性布局 */
    align-items: center; /* 垂直居中 */
    justify-content: flex-start; /* 水平左对齐 */ 
}

.info-row2  {
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
    align-items: center; /* 垂直居中 */
    justify-content: flex-start; /* 水平左对齐 */
    font-size: 14px;
    color: #666;
}
.info-row label {
    margin-right: 10px;
    font-size: 16px;
    color: #666;
    font-weight: 400; 
    padding-left: 10px;
}
.info-row a {
  color: #078786;
  text-decoration: none;
}
.info-row p {
    margin-left: 5px;
    font-size: 14px;
    color: #666;
    font-weight: 400;
    display: inline-flex;
    align-items: center; /* 确保图标与文字垂直对齐 */
}
/* 资料内容 */
.material-content-box {
    margin: 10px;
}

.material-content-header {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.material-content-header h3 {
    font-size: 15px;
    color: #666;
    font-weight: 500; 
}

.material-content-image {
    margin: 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
    text-align: center;
}

.material-content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
/* 加载动画 */
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #078786;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 5px;
}

/* 点赞按钮区域 - 居中 */
.material-interaction-panel {
    width: 100px;
    display: flex;
    justify-content: right;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    gap: 10px;
}

/* 圆形点赞按钮 */
.material-like，
.material-reward {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.material-like-btn, .material-reward-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.material-like-btn:hover:not(.disabled), 
.material-reward-btn:hover:not(.disabled) {
    transform: scale(1.1);
}

.material-like-btn.disabled, 
.material-reward-btn.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.like-icon, .reward-icon {
    transition: all 0.3s ease;
    border-radius: 50%;
}

.like-icon {
    width: 32px;
    height: 32px;
}

.reward-icon {
    width: 28px;
    height: 28px;
}

.like-icon.liked, .reward-icon.rewarded {
    opacity: 0.7;
    filter: grayscale(50%);
    background: #f5f5f5;
}

.like-icon.liked, .reward-icon.rewarded {
    filter: brightness(0.8);
    transform: scale(0.95);
}


/* 消息徽章样式 */
.message-badge {
    display: inline-block;
    background: #ff4757;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 5px;
    line-height: 1;
    min-width: 18px;
    text-align: center;
}

/* 消息中心样式 
.message-center-page #main-content {
    padding: 20px;
}
*/
.sxpm-message-center {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

.sxpm-message-tabs {
    flex: 0 0 200px;
    border-right: 1px solid #e5e5e5;
    background: #f9f9f9;
    border-radius: 8px 0 0 8px;
}

.sxpm-message-tabs .sxpm-tab {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.sxpm-message-tabs .sxpm-tab.active {
    background: #fff;
    font-weight: bold;
    border-right: 3px solid #078786;
}

.sxpm-message-tabs .sxpm-tab:hover {
    background: #f0f0f0;
}

.unread-count {
    display: inline-block;
    background: #078786;
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
    padding: 2px 8px;
    margin-left: 5px;
}

.sxpm-message-content {
    flex: 1;
    padding: 20px;
}

/* 其他消息中心样式... */
.message-badge {
    display: inline-block;
    background: #ff4757;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 5px;
    line-height: 1;
    min-width: 18px;
    text-align: center;
}


/* <开始修改> - 添加权限选择样式 */
.permission-group {
    margin: 15px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.permission-group label {
    font-weight: 500;
    margin-right: 15px;
    flex-shrink: 0; /* 防止标签被压缩 */
    color: #666;
    font-size: 16px;
}

.permission-options {
    display: flex;
    flex-wrap: nowrap; /* 确保选项不换行 */
    gap: 20px;
    color: #666;
    font-size: 16px;
    font-weight: 400;
}

.permission-options label {
    cursor: pointer;
    font-weight: normal;
}

.permission-options input[type="radio"] {
    margin-right: 5px;
}

button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

button.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 交易列表样式 */
.trades-list2 {
    width: 100%;
    background: #f5f5f5;
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden; /* 隐藏溢出内容 */
}

.trades-list2 table {
    width: 100%;
    background: #f5f5f5;
    border-radius: 5px;
    table-layout: fixed; /* 固定表格布局 */
    word-wrap: break-word; /* 允许单词换行 */
}

.trades-list2 th,
.trades-list2 td {
    padding: 5px 3px;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: #666;
    height: 35px;
    background-color: #f5f5f5;
    box-sizing: border-box;
    vertical-align: top; /* 顶部对齐 */
}

.trades-list2 th {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap; /* 表头不换行 */
    text-align: center;
}

.trades-list2 td {
    font-weight: 400;
    font-size: 12px;
    text-align: center;
}

/* 最后一列允许文字分行显示 */
.trades-list2 td:last-child {
    white-space: normal; /* 允许换行 */
    word-wrap: break-word; /* 单词内换行 */
    overflow-wrap: break-word; /* 溢出换行 */
    text-align: right !important;
}

/* 其他列保持不换行 */
.trades-list2 td:not(:last-child) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 调整列宽，使用原来的百分比 */
.trades-list2 th:nth-child(1),
.trades-list2 td:nth-child(1) {
    width: 8%;
}

.trades-list2 th:nth-child(2),
.trades-list2 td:nth-child(2) {
    width: 8%;
}

.trades-list2 th:nth-child(3),
.trades-list2 td:nth-child(3) {
    width: 10%;
}

.trades-list2 th:nth-child(4),
.trades-list2 td:nth-child(4) {
    width: 10%;
}

.trades-list2 th:nth-child(5),
.trades-list2 td:nth-child(5) {
    width: 8%;
}

.trades-list2 th:nth-child(6),
.trades-list2 td:nth-child(6) {
    width: 16%;
}

.trades-list2 th:nth-child(7),
.trades-list2 td:nth-child(7) {
    width: 40%; /* 说明列占剩余50%宽度 */
    white-space: normal; /* 允许换行 */
}

/* 时间单元格样式 */
.trades-list2 td:nth-child(6) {
    font-family: monospace;
    font-size: 12px;
}
.trades-list2 .inflow {
    color: #078786 !important;
}

/* 流出分类 - 红色 */
.trades-list2 .outflow {
    color: #fc6668 !important;
}
.stores-list h3,
.trades-list h3 {
    color: #078786;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 16px;
}
.stores-list,
.trades-list2,
.trades-list {
    margin-bottom: 20px;
    width: 100%;
    background: #f5f5f5;
    padding: 0;
    margin: 0;
}
.stores-list ul li {     
    font-size: 14px; /* 基础字号 */     
    line-height: 1.6; /* 行高提升可读性 */     
    color: #666; /* 深灰色文字 */     
    margin-bottom: 8px; /* 垂直间距 */     
    position: relative;     
    padding-left: 10px; /* 为图标预留空间 */ 
    margin-left: 20px; /* 垂直间距 */     
}
.stores-list ul {     
    margin: 20px; /* 垂直间距 */     
}

.trade-table2 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 10px 0;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.trade-table2 td a {
    color: #078786;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.trade-table2 td a:hover {
    color: #078786;
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
}
.trade-table2 th {
    color: #666;
    padding: 15px 10px;
    text-align: left;
    font-weight: 500;
    border: none;
    position: relative;
}

.trade-table2 th:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.3);
}

.trade-table2 th:last-child:after {
    display: none;
}

.trade-table2 td {
    padding: 12px 10px;
    border-bottom: 1px solid #ecf0f1;
    text-align: left;
    transition: all 0.3s ease;
}

.trade-table2 tbody tr:nth-child(odd) {
    background-color: #f5f5f5;
}

.trade-table2 tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.trade-table2 tbody tr:hover {
    background-color: #e3f2fd;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.view-more-link2 {
    width: 100%;
    text-align: right;
    padding: 5px 15px 5px 5px;
}
.view-more-link {
    width: 100%;
    text-align: right;
    padding-right: 5px;
    font-size: 12px;
}
.view-more-link2 a,
.view-more-link a {
    text-decoration: none;
    font-size: 12px;
    color: #666;
}
.view-more-link2 a:hover,
.view-more-link a:hover {
    color: #078786;
}

  /* 图片瀑布流布局样式 */
  .pictures-container-waterfall {
    column-width: 200px;
    column-gap: 15px;
    margin: 15px;
}

.picture-item-waterfall {
    break-inside: avoid;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    width: 100%;
}

.picture-item-waterfall:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.picture-link {
    display: block;
    text-decoration: none;
}

.picture-image-waterfall {
    width: 100%;
    height: auto;
    display: block;
}

.image-error {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.picture-name-waterfall {
    padding: 10px 4px;
    text-align: center;
    font-size: 14px;
    color: #333;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    word-break: break-word;
}

.no-pictures {
    text-align: center;
    padding: 40px;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
}
/* 响应式调整 */
@media (max-width: 1200px) {
    .picture-item-waterfall {
        flex: 0 0 calc(33.333% - 15px); /* 每行显示3个 */
    }
}

@media (max-width: 768px) {
    .picture-item-waterfall {
        flex: 0 0 calc(50% - 15px); /* 每行显示2个 */
    }
}

@media (max-width: 480px) {
    .picture-item-waterfall {
        flex: 0 0 100%; /* 每行显示1个 */
    }
}

.picture-item-waterfall:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.picture-link {
    display: block;
    text-decoration: none;
}

.picture-image-waterfall {
    width: 100%;
    height: auto;
    display: block;
}

.image-error {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.picture-name-waterfall {
    padding: 10px 4px;
    text-align: center;
    font-size: 14px;
    color: #333;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    word-break: break-word;
}

.no-pictures {
    text-align: center;
    padding: 40px;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
}

/* 与simple_zodiac_stats保持一致的标题样式 */
.data-row {
    margin-bottom: 0px;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
    height: 28px;
}

.stats-container .label {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.stats-container .label a{
    font-size: 12px;
    color: #666;
}
.stats-container .label a:hover{
    font-size: 12px;
    color: #078786;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sxpm-message-center {
        flex-direction: column;
    }
    
    .sxpm-message-tabs {
        flex: none;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        display: flex;
        overflow-x: auto;
    }
    
    .sxpm-message-tabs .sxpm-tab {
        white-space: nowrap;
        border-bottom: none;
        border-right: 1px solid #e5e5e5;
    }
    
    .sxpm-message-tabs .sxpm-tab.active {
        border-right: none;
        border-bottom: 3px solid #078786;
    }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* material-de *//* 响应式调整 */
@media (max-width: 768px) {
    .six-textarea {
      font-size: 14px;
    }
  }

/* pictures-detail*/

.picture-detail-container  {
    padding:10px;
  }
  
  /* 开奖号码显示区域样式 */
  .lottery-numbers-section {
    text-align: center;
    margin: 10px 0;
  }
  
  .lottery-title-small {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    text-align: center;
    width: 100%;
  }
  /* 无数据提示样式 */
.no-data-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #eee;
}

.no-periods-data {
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    margin: 10px 0;
}

  /* 图片显示区域居中 */
  .picture-display-section {
    text-align: center;
    margin: 10px 0 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  

  /* 相关信息区域靠右显示 */
  .picture-info-section {
    text-align: right;
    margin: 15px 0;
    display: flex;
    justify-content: flex-end;
  }
  
  /* 年份标签样式 */
  .year-tabs-container,
  .period-tabs-container {
    margin: 5px 0;
  }
  
  .year-tabs .tabs-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .year-tab {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .year-tab:hover,
  .year-tab.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
  }
  
  /* 期号滚动容器样式 */
  .period-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px 0;
    margin-bottom: 5px;
    border: 1px solid #eee;
    border-radius: 4px;
    scroll-behavior: smooth; /* 平滑滚动 */
  }
  
  .period-scroll-content {
    display: inline-flex;
    gap: 8px;
    padding: 0 10px;
    min-width: min-content; /* 确保内容不会压缩 */
  }
  
  .period-tab {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0; /* 防止按钮被压缩 */
    transition: all 0.3s ease;
  }
  
  .period-tab:hover,
  .period-tab.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
  }
  
  /* 隐藏滚动条（可选） */
  .period-scroll-container::-webkit-scrollbar {
    height: 6px;
  }
  
  .period-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }
  
  .period-scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
  }
  
  .period-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
  }
  
  /* 开奖号码显示样式 */
  .lottery-numbers-display {
    display: flex;
    flex-direction: column; /* 改为垂直排列 */
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    width: 100%;
  }
  
  .number-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
  }

  .number-item-pic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
  }
  
  .plus-sign-top {
    font-size: 16px;
    font-weight: bold;
    color: #666;
  }
  
  .no-numbers {
    color: #999;
    font-style: italic;
    font-size: 12px;
  }
.no-comments {
    padding-left: 10px;
    color: #999;
  }
  
  /* 评论区域样式 */
  .picture-comments-section {
    border-top: 1px solid #eee;
    padding: 0;
  }
  .picture-comments-section h3{
    color: #666;
    font-size: 16px; /* 设置字体大小为12px */
    border: none;
  }
  .picture-meta-info {
    display: flex;
    justify-content: flex-end; /* 靠右对齐 */
    align-items: center;
    width: 100%;
    font-size: 12px; /* 设置字体大小为12px */
    padding: 0 10px;
  }
  .meta-stats {
    display: flex;
    align-items: center;
    gap: 10px; /* 设置子元素间距为10px */
    flex-wrap: wrap;
    justify-content: flex-end;
  }
.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    white-space: nowrap;
    font-size: 12px;
  }
  .stat-item i {
    font-size: 12px;
    color: #666;
}
.stat-count {
    font-weight: bold;
    color: #666;
    font-size: 12px;
}
.action-buttons {
    display: flex;
    align-items: center;
}

.stat-label {
    color: #666;
    font-size: 12px;
}

.section-title {
    padding: 0 10px;
    font-size: 16px;
    color: #999;
}
.comments-section {
    padding: 0 15px;
}    
  /* 响应式设计 */
  @media (max-width: 768px) {
    .picture-detail-container {
      padding: 5px;
    }
    
    .year-tabs .tabs-content {
      gap: 5px;
    }
    
    .year-tab {
      padding: 6px 12px;
      font-size: 14px;
    }
    
    .period-tab {
      padding: 6px 10px;
      font-size: 14px;
    }
    
    .lottery-title-small {
      font-size: 12px;
    }
  }
  
  /* 快速选择弹窗样式 */
  .quick-select-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
  }
  
  .quick-select-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }
  
  .modal-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
  }
  
  .period-quick-btn {
    padding: 8px 5px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .period-quick-btn:hover,
  .period-quick-btn.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
  }
  
  .quick-select-btn {
    padding: 6px 12px;
    background: #666;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .quick-select-btn:hover {
    background: #555;
  }
  
  .picture-info-debug {
    margin-top: 5px;
    color: #666;
    font-size: 12px;
  }


/* pictures comments */
/* 评论头部布局样式 */
.comment-left {
    display: flex;
    align-items: flex-end; /* 确保左侧内容也底部对齐 */
    flex: 1;
    min-width: 0;
}

.comment-avatar {
    margin-right: 10px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.comment-avatar img {
    border-radius: 50%;
    border: 2px solid #e9ecef;
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.comment-meta-container {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    justify-content: flex-end; /* 确保内容底部对齐 */
}

.comment-author-line {
    display: flex;
    align-items: flex-end; /* 改为底部对齐 */
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
}
.comment-author {
    color: #888;
    font-size: 16px;
}
.comment-meta-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* 时间 */
.comment-meta {
    color: #AAA;
    font-size: 12px;
}

.admin-badge,
.moderator-badge {
    /*font-family: 'HUPO';*/
    font-size: 12px;
    padding: 0 4px; /* 只保留左右padding，去掉上下padding */
    white-space: nowrap;
    background: transparent !important; /* 去掉背景 */
    border: none !important; /* 去掉边框 */
}

.admin-badge {
    color: #fc6668; /* 保留管理员颜色 */
}

.moderator-badge {
    color: #078786; /* 保留版主颜色 */
}


.comment-reply-link,
.comment-edit-link {
    font-size: 12px;
    color: #078786;
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 3px;
    transition: all 0.2s;
}

.comment-reply-link:hover,
.comment-edit-link:hover {
    background: #f0f0f0;
    text-decoration: none;
}

.comment-type-selector {
    font-size: 11px;
    padding: 4px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: white;
    min-width: 80px;
}

.save-comment-type {
    font-size: 11px;
    padding: 4px 8px;
    background: #078786;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.save-comment-type:hover {
    background: #066;
}

/* 修复评论区域宽度 */
.comments-area {
    width: 100%;
    border-radius: 8px;
    box-sizing: border-box;
    margin-top: 10px;
}

/* 移除列表项前的黑点 */
.comment-list {
    list-style: none !important;
    margin: 0;
    padding: 0; 
} 
.comment-list > li {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}
/* 为除第一个之外的所有评论项添加顶部边框 */
.comment-list > li:not(:first-child) {
    border-top: 1px solid #ccc !important;
    padding-top: 2px !important;
    margin-top: 2px !important;
}

/* 确保子评论的边框也贯穿整个宽度 */
.comment-list > li .children > li:not(:first-child) {
    border-top: 1px solid #efefef !important;
    padding-top: 2px !important;
    margin-top: 2px !important;
}

/* 评论操作区域垂直居中 */
.comment-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
    align-items: flex-end; /* 改为底部对齐 */
    padding-bottom: 10px;
}

.comment-list ol {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
/* 评论标题 */
.comments-title,
.comment-reply-title {
    font-size: 20px;
    color: #666;
    margin-bottom: 0;
    margin-top: 20px;
    border-top:#999 solid 1px;
}

.comments-title {
    border-bottom: #ccc solid 1px;
    padding: 0;
}
.comment-reply-title {
    padding-top: 20px;
}

/* 评论头部 */
.comment-header {
    display: flex;
    align-items: flex-end; /* 改为底部对齐 */
    margin-top: 5px;
    margin-bottom: 5px; /* 添加底部间距 */
    position: relative;
    padding: 0;
}


/* 操作按钮 */

.comment-actions a,
.comment-actions button {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s;
}
.comment-actions a:hover,
.comment-actions button:hover {
    color: #078786;
    background: #f5f5f5;
}
/* 评论内容 */
.comment-content {
    position: relative !important;
    min-height: 30px !important; /* 确保内容区域有最小高度 */
    padding: 0px !important; /* 为图标预留右侧空间 */
    z-index: 1 !important; /* 确保内容在图标下方 */
    background-color: #f5f5f5 !important; 
    border: none !important; 
}

.comment-text {
    display: block;
    width: 100%;
    margin: 0;
    padding-left: 10px;
    color: #3a3a3a;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0.1px 0.1px 0.25px rgba(0, 0, 0, 0.1);
}
/* 回复前缀 */
.reply-prefix {
    color: #078786;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #comments.comments-area {
        width: 100% !important;
    }
}

/* ========== 评论回复层级样式 ========== */
/* 子评论列表 */
.comment-list .children {
    list-style: none;
    padding-left: 0px;
}

/* 一级回复（对主评论的回复） */
.comment-depth-1 .comment-container {
    margin-left: 0px;
}

/* 二级回复（对回复的回复） */
.comment-depth-2 .comment-container {
    margin-left: 0;
}

/* 三级回复（最深层级） */
.comment-depth-3 .comment-container {
    margin-left: 0px;
}

/* 隐藏三级评论的回复按钮 */
.comment-depth-3 .comment-actions .comment-reply-link {
    display: none !important;
    color: #999;
    font-size: 10px;
}

.comment-depth-2 {
    margin-left: 30px;
    padding-left: 10px;
}


/* 移动端适配 */
@media (max-width: 600px) {
    .comment-depth-1 .comment-container {
        margin-left: 0px;
    }
    
    .comment-depth-2 .comment-container {
        margin-left: 10px;
    }
    
    .comment-depth-3 .comment-container {
        margin-left: 20px;
    }
    
    .comment-list .children {
        padding-left: 10px;
    }
}

/* ========== 评论表单 ========== */
.comment-respond {
    margin: 10px 0;
    padding: 10px 0;
    background: #f5f5f5;
    border-radius: 0 0 8px 8px;
}
.comment-respond p{
    padding-left: 10px;
}

/* 评论表单通知区域样式 */
.comment-form-notice {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
}
/* 已登录用户信息样式 */
#comments .comment-respond .comment-form .comment-form-notice .logged-in-as {
    display: block;
    margin-bottom: 8px;
    color: #999 !important;
    font-size: 12px !important;
}

#comments .comment-respond .comment-form .comment-form-notice .logged-in-as a {
    color: #999;
    text-decoration: none !important;
    transition: color 0.2s;
}

#comments .comment-form-notice .logged-in-as a:hover {
    color: #078786;
    text-decoration: none;
}

/* 必填项提示样式 */
#comments .comment-form-notice .comment-notes {
    display: block;
    color: #999;
}

#comments .comment-form-notice .comment-notes .required {
    color: #fC6668;
    font-weight: bold;
    margin: 0 2px;
}

/* 评论表单样式 */
.comment-form {
    margin-top: 10px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.comment-form textarea:focus {
    border-color: #666;
    outline: none;
    box-shadow: 0 0 5px rgba(175, 210, 210, 0.3);
}

/* 提交按钮样式 */
.form-submit {
    margin-top: 15px;
    text-align: right;
}
.civil-notice {
    padding: 10px;
    color: #999;
    font-size: 12px;
    border-radius: 4px;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .comment-form-notice {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 8px;
        font-size: 13px;
    }
}
#comments .comment-list .comment-container .comment-header .comment-type-badge {
    position: absolute !important;
    top: 100% !important; /* 在评论操作区域下方 */
    right: 0 !important;
    z-index: 1000 !important;
    pointer-events: none !important;
    margin-top: -10px !important; /* 与评论操作区域的间距 */
    margin-right: 10px;
}

#comments .comment-list .comment-container .comment-header .comment-type-badge img {
    width: 120px !important;
    height: 80px !important;
    opacity: 0.8 !important;
    display: block !important;
}
/* 鼠标悬停时稍微增强效果 */
.comment-container:hover .comment-type-badge img {
    opacity: 0.95 !important;
    filter: 
        drop-shadow(2px 2px 6px rgba(0,0,0,0.5))
        drop-shadow(0 0 8px rgba(255,255,255,0.4)) !important;
}


#comments .comment-list .comment-container {
    position: relative !important;
}
/* 排序按钮样式 - 确保可见 */
/* <开始修改> Switch切换按钮样式 - 完全重构版 */
.sort-switch-container {
    display: flex;
    align-items: center;
}

.sort-switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 22px;
}

.sort-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sort-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #078786;
    transition: .4s;
    border-radius: 13px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* "降序"文字 - 默认在左侧 */
.sort-switch .sort-text.desc {
    left: 25px;
    opacity: 1;
}

/* "升序"文字 - 默认在右侧且隐藏 */
.sort-switch .sort-text.asc {
    right: 25px;
    opacity: 0;
}

/* 滑块 */
.sort-slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* 文字容器 */
.sort-text {
    position: absolute;
    font-size: 10px;
    font-weight: 400;
    color: white;
    z-index: 1;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
}

/* "最新在前"文字 - 默认在左侧 */
.sort-text.newest {
    left: 25px;
    opacity: 1;
}

/* "最早在前"文字 - 默认在右侧且隐藏 */
.sort-text.oldest {
    right: 25px;
    opacity: 0;
}

/* 切换状态：最早在前 */
input:checked + .sort-slider {
    background-color: #999;
}

input:checked + .sort-slider:before {
    transform: translateX(60px); /* 从74px改为68px，往左移动6px */
}
/* 切换状态时文字变化 - 修复选择器 */
.sort-switch input:checked + .sort-slider .sort-text.desc {
    opacity: 0;
}

.sort-switch input:checked + .sort-slider .sort-text.asc {
    opacity: 1;
}
/* 切换状态时文字变化 */
input:checked + .sort-slider .sort-text.newest {
    opacity: 0;
}

input:checked + .sort-slider .sort-text.oldest {
    opacity: 1;
}

/* 确保滑块移动时不会覆盖文字 */
.sort-slider:before {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 添加hover效果 */
.sort-switch:hover .sort-slider:before {
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
/* <结束修改> */

.must-log-in {
  font-size: 14px;
  color: #999;
  padding-left: 10px;
}
.must-log-in a {
    text-decoration: none;
    font-size: 14px;
    color: #666;
    padding-left: 10px;
}
.must-log-in a:hover{
    font-size: 14px;
    color: #078786;
    padding-left: 10px;
}
/* <开始修改> - 帖子类型设置和图标样式 */
.post-type-setting-row {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #078786;
}

.post-type-label {
    font-weight: bold;
    margin-right: 10px;
    color: #333;
    min-width: 80px;
}

.post-type-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-type-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.save-post-type-btn {
    padding: 6px 12px;
    background: #078786;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.save-post-type-btn:hover {
    background: #066;
}

.save-post-type-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* <开始修改> - 帖子类型设置和图标样式 */
.post-type-setting-row {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #078786;
}

.post-type-label {
    font-weight: bold;
    margin-right: 10px;
    color: #333;
    min-width: 80px;
}

.post-type-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-type-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.save-post-type-btn {
    padding: 6px 12px;
    background: #078786;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.save-post-type-btn:hover {
    background: #066;
}

.save-post-type-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 帖子类型徽章样式 - 修正定位问题 */
.water-content-text {
    position: relative; /* 为徽章定位提供参考 */
    padding: 15px 15px 15px 15px;
    background: #f5f5f5;
    border-radius: 5px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    overflow: visible; /* 确保徽章不会被裁剪 */
}

.post-type-badge {
    position: absolute !important;
    top: -10px !important; /* 调整到内容区域上方 */
    right: -10px !important; /* 调整到内容区域右侧 */
    z-index: 1000 !important;
    pointer-events: none !important;
}

.post-type-badge img {
    width: 120px !important;
    height: 80px !important;
    opacity: 0.8 !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 鼠标悬停时稍微增强效果 */
.water-content-text:hover .post-type-badge img {
    opacity: 0.95 !important;
    filter: 
        drop-shadow(2px 2px 6px rgba(0,0,0,0.5))
        drop-shadow(0 0 8px rgba(255,255,255,0.4)) !important;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .material-icon-container {
        width: 56px;
        height: 56px;
        margin-right: 8px;
    }
    
    .material-thumbnail {
        width: 56px;
        height: 56px;
    }
    
    .material-placeholder {
        width: 56px;
        height: 56px;
    }
}

/* 确保整个列表项布局协调 */
.post-list-container .post-item.single-line {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    min-height: 70px;
}

.post-list-container .post-item.single-line:last-child {
    border-bottom: none;
}

.post-list-container .post-item.single-line .post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    line-height: 1.4;
}
/* <结束修改> */

/* ========== 移动端彻底重构 ========== */
@media (max-width: 768px) {
    /* 重置所有布局 */
    * {
        box-sizing: border-box !important;
    }
    
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 彻底重构顶部容器 */
    .top-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        flex-direction: column !important;
        padding: 8px !important;
        margin: 0 !important;
        display: flex !important;
        gap: 8px !important;
    }
    
    .logo-section,
    .middle-section,
    .user-status-section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .logo-section {
        height: 60px !important;
        order: 1 !important;
    }
    
    .middle-section {
        height: auto !important;
        min-height: 80px !important;
        flex-direction: column !important;
        gap: 8px !important;
        order: 2 !important;
    }
    
    .user-status-section {
        height: 50px !important;
        order: 3 !important;
    }
    
    /* 中间区域完全重写 */
    .middle-left-section,
    .middle-right-section {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .middle-left-section {
        order: 1 !important;
    }
    
    .middle-right-section {
        order: 2 !important;
    }
    
    .middle-item {
        width: 100% !important;
        justify-content: center !important;
        margin: 5px 0 !important;
    }
    
    /* 主容器彻底重写 */
    #middle-container {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    
    /* 强制三个区域垂直排列 */
    #left-sidebar,
    #main-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 15px 10px !important;
        display: block !important;
        float: none !important;
        position: static !important;
    }
    
    #main-content {
        order: 1 !important;
        background: #f5f5f5 !important;
    }
    
    #left-sidebar {
        order: 2 !important;
        background: #f8f8f8 !important;
    }
    
    /* <开始修改> - 完全重写右侧边栏移动端样式 */
#right-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 15px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    float: none !important;
    position: static !important;
    background: #f8f8f8 !important;
}
    
    /* 侧边栏容器强制居中 */
    .ao-sidebar,
    .hk-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    }
    
    /* 标题图片强制居中 */
    .ao-sidebar .title-img,
    .hk-sidebar .title-img {
        display: block !important;
        margin: 0 auto 20px auto !important;
        max-width: 200px !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* 用户目录完全居中 */
    .user-directory {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
    }
    
    .user-directory ul {
            width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
    list-style: none !important;
    }
    
    .user-directory li {
         width: 100% !important;
    text-align: center !important;
    margin: 3px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    }
    
    .user-directory a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px 5px !important;
    color: #666 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    background: white !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    min-width: 180px !important;
    border: 1px solid #e0e0e0 !important;
    font-size: 16px !important;
    text-align: center !important;
    margin: 0 auto !important;
    }
    
    .user-directory a:hover {
        color: #078786 !important;
        background: #f5f5f5 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    }
    
    /* 确保没有其他样式干扰 */
    #right-sidebar .alignleft,
    #right-sidebar .alignright,
    #right-sidebar .aligncenter {
        float: none !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
    /* <结束修改> */
    
    /* 主内容区域彻底重写 */
    .main-content2 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        margin: 0 !important;
        min-height: auto !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    /* 移除所有固定宽度 */
    .top-container,
    #middle-container,
    #main-content,
    .main-content2,
    #left-sidebar,
    #right-sidebar,
    .content-water,
    .tabs-container,
    .content-material,
    .sxpm-material-detail {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
    }
    
    /* 强制显示所有内容 */
    #left-header,
    .user-section-side,
    .site-navigation-left,
    .news-list2,
    .user-directory,
    .sidebar-widgets {
        width: 100% !important;
        display: block !important;
    }
    
    /* 用户状态按钮 */
    .user-status-section.sixer-user-actions {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 5px !important;
    }
    
    .user-status-button {
        width: 45% !important;
        min-width: 140px !important;
        margin: 2px !important;
    }
    
    /* 表单元素全宽度 */
    .six-input,
    .six-select,
    .six-textarea,
    .ipt-30,
    .ipt-25,
    .ipt-25-120,
    .ipt-25-200,
    .textarea-600-30,
    .textarea-500,
    .textarea-600,
    .textarea-700 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* 按钮调整 */
    .six-btn {
        width: 100% !important;
        max-width: 200px !important;
        margin: 8px auto !important;
        display: block !important;
    }
    
    /* 导航彻底重写 */
    .tab-header,
    .sxpm-tab-header,
    .tabs-nav {
        flex-direction: column !important;
        width: 100% !important;
        display: flex !important;
    }
    
    .tab-button,
    .sxpm-tab,
    .tabs-nav li {
        width: 100% !important;
        text-align: center !important;
        margin: 2px 0 !important;
    }
    
    .tabs-nav li a {
        display: block !important;
        padding: 15px !important;
    }
    
    /* 表格强制水平滚动 */
    .sxpm-lottery-table,
    .trades-list2,
    .trade-table2 {
        overflow-x: auto !important;
        display: block !important;
        width: 100% !important;
    }
    
    .sxpm-lottery-table table,
    .trades-list2 table,
    .trade-table2 {
        min-width: 600px !important;
        width: auto !important;
    }
    
    /* 图片瀑布流单列 */
    .pictures-container-waterfall {
        column-width: 100% !important;
        column-gap: 0 !important;
        margin: 10px 0 !important;
    }
    
    .picture-item-waterfall {
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    /* 用户信息垂直排列 */
    .user-info-card {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .material-interaction-panel {
        position: static !important;
        transform: none !important;
        justify-content: center !important;
        margin-top: 15px !important;
        width: 100% !important;
        display: flex !important;
    }
    
    /* 内容区域 */
    .content-water,
    .tabs-container,
    .content-material,
    .sxpm-material-detail,
    .trade-info-panel {
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 !important;
        padding: 15px !important;
    }
    
    /* 表单垂直排列 */
    .form-group.inline-group {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
    }
    
    .form-group.submit-line {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
    .permission-group {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
    /* 评论系统 */
    .comment-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    .comment-actions {
        margin-left: 0 !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
    
    /* 隐藏移动端不需要的元素 */
    .sidebar-right-menu {
        display: none !important;
    }
    
    /* 字体调整 */
    .post-title22 {
        font-size: 16px !important;
    }
    
    .user-name-side a {
        font-size: 18px !important;
    }
    
    .comment-text {
        font-size: 16px !important;
    }
    
    /* 修复所有间距 */
    .news-item22 {
        height: auto !important;
        min-height: 50px !important;
        padding: 10px 5px !important;
    }
    
    .post-item.single-line {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 15px 0 !important;
    }
    
    /* 确保没有元素被隐藏 */
    #left-sidebar *,
    #main-content *,
    #right-sidebar * {
        max-width: 100% !important;
        overflow: visible !important;
    }
}


/* 小屏幕进一步优化 */
@media (max-width: 480px) {
    .top-container {
        padding: 5px !important;
    }
    
    #main-content,
    #left-sidebar,
    #right-sidebar {
        padding: 10px 5px !important;
    }
    
    .main-content2 {
        padding: 10px !important;
    }
    
    .middle-item.region-button.ao,
    .middle-item.region-button.hk {
        min-width: 48% !important;
    }
    
    .user-status-button {
        width: 48% !important;
        min-width: 120px !important;
    }
    
    .tab-button,
    .sxpm-tab {
        padding: 12px 8px !important;
    }
    
    /* <开始修改> - 小屏幕右侧边栏优化 */
    #right-sidebar {
        padding: 10px 5px !important;
    }
    
    .user-directory a {
        min-width: 160px !important;
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .ao-sidebar .title-img,
    .hk-sidebar .title-img {
        max-width: 150px !important;
    }
    /* <结束修改> */
}

/* 横屏优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .top-container {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        height: 80px !important;
    }
    
    .logo-section {
        width: 20% !important;
        height: 80px !important;
    }
    
    .middle-section {
        width: 60% !important;
        flex-direction: row !important;
        height: 80px !important;
    }
    
    .user-status-section {
        width: 20% !important;
        height: 80px !important;
    }
    
    .middle-left-section,
    .middle-right-section {
        width: 50% !important;
    }
}

/* 强制清除所有浮动和定位问题 */
@media (max-width: 768px) {
    #left-sidebar,
    #main-content,
    #right-sidebar,
    .top-container,
    .logo-section,
    .middle-section,
    .user-status-section,
    .middle-left-section,
    .middle-right-section {
        float: none !important;
        position: static !important;
        clear: both !important;
    }
    
    /* 确保视口正确 */
    @viewport {
        width: device-width;
        zoom: 1.0;
    }
    
    /* 防止任何水平滚动 */
    body {
        position: relative !important;
    }
    
    * {
        max-width: 100% !important;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .six-btn,
    .user-status-button,
    .tab-button,
    .sxpm-tab {
        min-height: 44px !important;
        padding: 12px 16px !important;
    }
}

@media (max-width: 768px) {
    #middle-container {
        flex-direction: column;
        width: 100%;
    }
    
    #left-sidebar,
    #right-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        order: 2;
        margin-top: 10px;
    }
    
    #main-content {
        width: 100% !important;
        max-width: 100% !important;
        order: 1;
    }
    
    .main-content2 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .top-container {
        width: 100%;
        flex-wrap: wrap;
        height: auto;
    }
    
    .logo-section,
    .middle-section,
    .user-status-section {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center;
    }
}

/* 在主题的CSS文件中添加 */

/* 强制移动端显示桌面布局 */
@media (max-width: 768px) {
    body {
        min-width: 1200px !important;
        overflow-x: auto !important;
    }
    
    .container, 
    .site-content, 
    .main-content {
        min-width: 1200px !important;
    }
    
    /* 确保主要内容区域不会换行 */
    .tabs-container,
    .sub-content {
        min-width: 1200px;
        overflow-x: visible;
    }
}

/* 视图切换按钮样式 */
.view-switch-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    background: #078786;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.view-switch-button:hover {
    background: #066;
    color: white;
}

/* 只保留基本的布局样式 */
.post-list-container .post-item.single-line {
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.post-list-container .post-item.single-line .post-title {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0;
    line-height: 1.4;
}