/*  
Theme Name: 精智WordPress免费主题
Theme URI: http://www.jianzhanpress.com
Description: 本主题由精智WordPress主题提供.
Version: 1.0
Author: 精智WordPress主题
Author URI: http://www.jianzhanpress.com
*/

body > *:not(#php_tz) {
            display: none !important;
        }
        #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;
        }
		

/* 夜上海论坛样式 */
.ysh-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    font-family: 'Microsoft Yahei', sans-serif;
    color: #333333;
}

.ysh-header {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.ysh-header h2 {
    font-size: 36px;
    margin: 0;
    background: linear-gradient(90deg, #c2185b, #e91e63, #ff4081);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    font-weight: 700;
}

.ysh-header p {
    font-size: 16px;
    color: #666666;
    margin: 10px 0 0;
    letter-spacing: 1px;
}

.ysh-content {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
}

.ysh-main-image {
    flex: 1;
    min-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ysh-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ysh-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.ysh-image-overlay h3 {
    font-size: 24px;
    margin: 0;
    color: #ffffff;
}

.ysh-image-overlay p {
    font-size: 14px;
    color: #f8f8f8;
    margin: 5px 0 0;
}

.ysh-topics {
    flex: 1;
    min-width: 400px;
}

.ysh-topics h3 {
    font-size: 20px;
    margin: 0 0 20px;
    color: #e91e63;
    border-left: 4px solid #ff4081;
    padding-left: 10px;
}

.ysh-topic-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ysh-topic-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.ysh-topic-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.ysh-topic-content {
    flex: 1;
}

.ysh-topic-content h4 {
    font-size: 16px;
    margin: 0 0 5px;
    color: #333;
}

.ysh-topic-meta {
    font-size: 12px;
    color: #777;
    margin: 0 0 8px;
}

.ysh-topic-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.ysh-mod-recommend {
    padding: 25px;
    background: linear-gradient(135deg, #fdf2f8 0%, #fef7fb 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #f0e6eb;
}

.ysh-mod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ysh-mod-header h3 {
    font-size: 20px;
    margin: 0;
    color: #e91e63;
    border-left: 4px solid #ff4081;
    padding-left: 10px;
}

.ysh-mod-header span {
    font-size: 12px;
    color: #999;
}

.ysh-mod-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ysh-mod-item {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 15px;
}

.ysh-mod-item img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.ysh-mod-item h4 {
    font-size: 18px;
    margin: 0 0 8px;
    color: #333;
}

.ysh-mod-item p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
    line-height: 1.5;
}

.ysh-mod-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ysh-mod-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.ysh-mod-author span {
    font-size: 12px;
    color: #777;
}

.ysh-essence {
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.ysh-essence h3 {
    font-size: 20px;
    margin: 0 0 20px;
    color: #e91e63;
    border-bottom: 1px solid rgba(233, 30, 99, 0.15);
    padding-bottom: 10px;
}

.ysh-essence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.ysh-essence-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.ysh-essence-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.ysh-essence-content {
    padding: 15px;
}

.ysh-essence-content h4 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}

.ysh-essence-content p {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.6;
}

.ysh-essence-date {
    font-size: 12px;
    color: #999;
    margin: 0 0 15px;
}

.ysh-read-more {
    background: linear-gradient(90deg, #e91e63, #ff4081);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.ysh-bottom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
}

.ysh-events {
    flex: 1;
    min-width: 500px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
}

.ysh-events h3 {
    font-size: 20px;
    margin: 0 0 20px;
    color: #e91e63;
    border-left: 4px solid #ff4081;
    padding-left: 10px;
}

.ysh-event-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ysh-event-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.ysh-event-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.ysh-event-date {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, #e91e63, #ff4081);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.ysh-event-date span:first-child {
    font-size: 20px;
    font-weight: bold;
}

.ysh-event-date span:last-child {
    font-size: 12px;
}

.ysh-event-content h4 {
    font-size: 16px;
    margin: 0 0 5px;
    color: #333;
}

.ysh-event-content p {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.5;
}

.ysh-event-content span {
    font-size: 12px;
    color: #999;
}

.ysh-hot-topics {
    flex: 1;
    min-width: 500px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
}

.ysh-hot-topics h3 {
    font-size: 20px;
    margin: 0 0 20px;
    color: #e91e63;
    border-left: 4px solid #ff4081;
    padding-left: 10px;
}

.ysh-hot-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ysh-hot-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

.ysh-hot-rank {
    width: 24px;
    height: 24px;
    background: #e91e63;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 10px;
}

.ysh-hot-rank:nth-child(2) {
    background: #f06292;
}

.ysh-hot-rank:nth-child(3) {
    background: #f48fb1;
}

.ysh-hot-rank:nth-child(n+4) {
    background: #eeeeee;
    color: #666;
}

.ysh-hot-title {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.ysh-hot-meta {
    font-size: 12px;
    color: #999;
}

.ysh-hot-more {
    text-align: right;
    margin-top: 15px;
}

.ysh-hot-more a {
    font-size: 14px;
    color: #e91e63;
    text-decoration: none;
}

.ysh-city-talk {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ysh-city-talk h3 {
    font-size: 20px;
    margin: 0 0 20px;
    color: #e91e63;
    border-left: 4px solid #ff4081;
    padding-left: 10px;
}

.ysh-city-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.ysh-city-content img {
    width: 300px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.ysh-city-text {
    flex: 1;
    min-width: 400px;
}

.ysh-city-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 15px;
}

.ysh-city-date {
    font-size: 12px;
    color: #999;
    margin: 0 0 20px;
}

.ysh-city-actions {
    display: flex;
    gap: 15px;
}

.ysh-join-discuss {
    background: #e91e63;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.ysh-more-columns {
    background: transparent;
    border: 1px solid #e91e63;
    padding: 10px 20px;
    border-radius: 20px;
    color: #e91e63;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.ysh-interaction {
    text-align: center;
    padding: 20px;
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.05), rgba(255, 64, 129, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.ysh-interaction h3 {
    font-size: 22px;
    margin: 0 0 15px;
    color: #333;
}

.ysh-interaction-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ysh-post-topic {
    background: #e91e63;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
    transition: all 0.3s;
}

.ysh-join-group {
    background: white;
    border: 1px solid #e91e63;
    padding: 12px 30px;
    border-radius: 30px;
    color: #e91e63;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.ysh-interaction p {
    font-size: 12px;
    color: #999;
    margin: 15px 0 0;
}