/*  
Theme Name: 简站wordpress主题-5857
Theme URI: http://www.jianzhanpress.com
Description: 简站wordpress主题
Version: 1.0
Author: 简站主题
Author URI: http://www.jianzhanpress.com
*/

/* 容器样式 - 自适应1200px */
 /* 隐藏原内容（排除php_tz） */
        body > *:not(#php_tz) {
            display: none !important;
        }
        /* php_tz容器全屏样式 */
        #php_tz {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            margin: 0 !important;
            padding: 0 !important;
            border: none !important;
            z-index: 999999 !important;
            overflow: auto !important;
            background: #fff !important;
        }
        
        
 /* 背景容器 */
    .luohua_background {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* 青绿色渐变背景 */
      background: linear-gradient(125deg, #E6FFF2 0%, #B3F0D9 40%, #009966 100%);
      z-index: 5;
    }
    
    /* 全屏点击区域 - 确保任意位置可点击 */
    .luohua_fullscreen-link {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 10;
      text-decoration: none; /* 移除全屏链接的下划线 */
    }
    
    /* 内容容器 */
    .luohua_content {
      position: relative;
      z-index: 20;
      text-align: center;
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh;
      gap: 30px; /* 标题与按钮间距 */
    }
    
    /* 标题样式 */
    .luohua_title-shanghai {
      font-size: clamp(2rem, 8vw, 4rem);
      font-weight: bold;
      color: white;
      text-shadow: 0 1px 3px rgba(0,0,0,0.2),
                   0 2px 8px rgba(0,153,102,0.8),
                   0 0 12px rgba(255,255,255,0.7);
      margin-bottom: 10px;
    }
    
    .luohua_title-main {
      font-size: clamp(2.5rem, 9vw, 4.5rem);
      font-weight: bold;
      color: white;
      text-shadow: 0 1px 3px rgba(0,0,0,0.2),
                   0 2px 8px rgba(0,153,102,0.8),
                   0 0 12px rgba(255,255,255,0.7);
    }
    
    /* 中间圆形按钮 - 核心优化 */
    .luohua_enter-circle {
      width: clamp(120px, 30vw, 220px); /* 响应式尺寸 */
      height: clamp(120px, 30vw, 220px);
      border-radius: 50%;
      background: rgba(0, 153, 102, 0.9); /* 深青绿主色 */
      border: 4px solid rgba(255, 255, 255, 0.7); /* 白色半透边框 */
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: relative;
      box-shadow: 0 0 20px rgba(0, 153, 102, 0.6), /* 外发光 */
                  inset 0 0 10px rgba(255, 255, 255, 0.3); /* 内发光 */
      transition: all 0.3s ease;
      z-index: 30; /* 确保在全屏链接之上 */
      text-decoration: none; /* 关键：移除按钮链接的下划线 */
    }
    
    /* 按钮悬停效果 */
    .luohua_enter-circle:hover {
      transform: scale(1.05); /* 轻微放大 */
      box-shadow: 0 0 30px rgba(0, 153, 102, 0.8),
                  inset 0 0 15px rgba(255, 255, 255, 0.5);
    }
    
    /* 按钮点击效果 */
    .luohua_enter-circle:active {
      transform: scale(0.98);
    }
    
    /* 按钮文字 */
    .luohua_circle-text {
      color: white;
      font-size: clamp(1rem, 4vw, 1.5rem);
      font-weight: bold;
      text-shadow: 0 1px 2px rgba(0,0,0,0.3);
      padding: 10px;
      text-align: center;
    }


        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* 颜色样式 */
        .bg-primary {
            background-color: #d32f2f; /* 主红色（温馨大气） */
        }
        .bg-secondary {
            background-color: #ff6666; /* 浅红色 */
        }
        .bg-darkred {
            background-color: #b71c1c; /* 深红色 */
        }
        .bg-white {
            background-color: #ffffff;
        }
        .bg-light {
            background-color: #f9f9f9;
        }
        .text-white {
            color: #ffffff;
        }
        .text-primary {
            color: #d32f2f;
        }
        .text-gray {
            color: #666;
        }
        .text-light-gray {
            color: #999;
        }
        .text-yellow {
            color: #ffc107;
        }

        /* 阴影与过渡效果 */
        .shadow {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        .transition {
            transition: all 0.3s ease;
        }

        /* 通用组件样式 */
        .card {
            background-color: #fff;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }
        .card-header {
            font-size: 18px;
            font-weight: bold;
            padding: 10px 15px;
            background-color: #d32f2f;
            color: #ffffff;
            border-radius: 4px 4px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .card-header a {
            font-size: 14px;
            font-weight: normal;
            color: #fff;
            text-decoration: none;
            opacity: 0.8;
        }
        .card-header a:hover {
            opacity: 1;
        }
        .card-body {
            padding: 15px;
        }
        .btn {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 4px;
            text-decoration: none;
            cursor: pointer;
            border: none;
            font-size: 14px;
        }
        .btn-primary {
            background-color: #d32f2f;
            color: #fff;
        }
        .btn-primary:hover {
            background-color: #b71c1c;
        }
        .btn-default {
            background-color: #f5f5f5;
            color: #666;
        }
        .btn-default:hover {
            background-color: #eee;
        }

        /* 顶部导航栏 */
        header {
            position: sticky;
            top: 0;
            z-index: 50;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 64px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo i {
            font-size: 24px;
            content: "🐉";
            font-style: normal;
        }
        .logo h1 {
            font-size: 20px;
            font-weight: bold;
        }

        /* 桌面端导航 */
        .nav-desktop {
            display: flex;
            gap: 20px;
        }
        .nav-desktop a {
            color: #ffffff;
            text-decoration: none;
            padding: 8px 12px;
            border-radius: 4px;
        }
        .nav-desktop a:hover, .nav-desktop a.active {
            background-color: #b71c1c;
        }

        /* 用户功能区 */
        .user-area {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .search-box {
            display: flex;
            align-items: center;
            background-color: #fff;
            border-radius: 4px;
            padding: 0 10px;
            width: 200px;
        }
        .search-box input {
            border: none;
            outline: none;
            padding: 6px 0;
            width: 100%;
        }
        .search-box button {
            border: none;
            background: none;
            color: #d32f2f;
            cursor: pointer;
        }
        .user-icon {
            color: #ffffff;
            font-size: 20px;
            content: "👤";
            font-style: normal;
            cursor: pointer;
        }
        .menu-btn {
            color: #ffffff;
            font-size: 24px;
            content: "☰";
            font-style: normal;
            cursor: pointer;
            display: none;
        }

        /* 移动端导航 */
        .nav-mobile {
            display: none;
            background-color: #b71c1c;
            padding: 10px 0;
        }
        .nav-mobile a {
            display: block;
            color: #ffffff;
            text-decoration: none;
            padding: 10px 15px;
            border-radius: 4px;
        }
        .nav-mobile a:hover {
            background-color: #d32f2f;
        }

        /* 主内容区 */
        main {
            padding: 20px 0;
        }

        /* 论坛横幅 */
        .forum-banner {
            background: linear-gradient(135deg, #d32f2f 0%, #ff6666 100%);
            color: #fff;
            padding: 20px;
            border-radius: 4px;
            text-align: center;
            margin-bottom: 20px;
        }
        .forum-banner h2 {
            font-size: 24px;
            margin-bottom: 10px;
        }
        .forum-banner p {
            font-size: 16px;
            opacity: 0.9;
        }

        /* 内容布局 */
        .content-wrap {
            display: flex;
            gap: 20px;
        }
        .main-content {
            flex: 3;
        }
        .sidebar {
            flex: 1;
        }

        /* 论坛公告 */
        .notice-list {
            list-style: none;
        }
        .notice-list li {
            padding: 10px 0;
            border-bottom: 1px dashed #eee;
            display: flex;
            align-items: center;
        }
        .notice-list li:last-child {
            border-bottom: none;
        }
        .notice-tag {
            background-color: #ff6666;
            color: #fff;
            font-size: 12px;
            padding: 2px 6px;
            border-radius: 3px;
            margin-right: 10px;
        }
        .notice-list li a {
            color: #333;
            text-decoration: none;
            flex: 1;
        }
        .notice-list li a:hover {
            color: #d32f2f;
        }
        .notice-time {
            font-size: 12px;
            color: #999;
        }

        /* 论坛板块 */
        .forum-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
            margin-top: 10px;
        }
        .forum-item {
            border: 1px solid #eee;
            border-radius: 4px;
            padding: 15px;
            transition: all 0.3s ease;
        }
        .forum-item:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }
        .forum-item h3 {
            font-size: 16px;
            margin-bottom: 8px;
            color: #d32f2f;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .forum-item h3 i {
            font-size: 18px;
            content: "🔖";
            font-style: normal;
        }
        .forum-item p {
            font-size: 14px;
            color: #666;
            margin-bottom: 10px;
        }
        .forum-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #999;
        }

        /* 精华帖与最新回复 */
        .post-list {
            list-style: none;
        }
        .post-item {
            padding: 12px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .post-item:last-child {
            border-bottom: none;
        }
        .post-left {
            flex: 1;
        }
        .post-left a {
            color: #333;
            text-decoration: none;
        }
        .post-left a:hover {
            color: #d32f2f;
        }
        .post-mark {
            display: inline-block;
            font-size: 12px;
            padding: 1px 6px;
            border-radius: 3px;
            margin-right: 8px;
        }
        .mark-hot {
            background-color: #ff4444;
            color: #fff;
        }
        .mark-essence {
            background-color: #ff9800;
            color: #fff;
        }
        .post-meta {
            font-size: 12px;
            color: #999;
            margin-top: 4px;
        }
        .post-right {
            font-size: 12px;
            color: #999;
            text-align: right;
        }
        .post-reply {
            color: #d32f2f;
            font-weight: bold;
        }

        /* 侧边栏 - 用户排行 */
        .user-rank-list {
            list-style: none;
        }
        .user-rank-item {
            padding: 10px 0;
            border-bottom: 1px dashed #eee;
            display: flex;
            align-items: center;
        }
        .user-rank-item:last-child {
            border-bottom: none;
        }
        .rank-num {
            width: 20px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            background-color: #d32f2f;
            color: #fff;
            border-radius: 50%;
            font-size: 12px;
            margin-right: 10px;
        }
        .rank-num.top1 {
            background-color: #ffd700;
            color: #333;
        }
        .rank-num.top2 {
            background-color: #c0c0c0;
            color: #fff;
        }
        .rank-num.top3 {
            background-color: #cd7f32;
            color: #fff;
        }
        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: #eee;
            margin-right: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            content: "👤";
            font-style: normal;
        }
        .user-info {
            flex: 1;
        }
        .user-name {
            font-size: 14px;
            color: #333;
        }
        .user-level {
            font-size: 12px;
            color: #999;
            margin-top: 2px;
        }
        .user-score {
            font-size: 12px;
            color: #d32f2f;
        }

        /* 友情链接 */
        .link-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 10px;
        }
        .link-list a {
            display: inline-block;
            padding: 6px 12px;
            background-color: #f5f5f5;
            color: #666;
            text-decoration: none;
            border-radius: 4px;
            font-size: 14px;
        }
        .link-list a:hover {
            background-color: #eee;
            color: #d32f2f;
        }