html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
}

.page-container {
    min-height: 100vh;
    position: relative;
}

.sidebar-menu {
    transition: none !important;
}

.main-content {
    transition: none !important;
    min-height: 100vh;
}

.xe-user-img img[data-failed="true"] {
    background: #f5f5f5 url('./../images/lovable.jpg') center/contain no-repeat;
}

.xe-widget {
    transition: none !important;
    transform: none !important;
}

.xe-widget:hover {
    transform: none !important;
    transition: none !important;
}

.xe-widget .xe-comment-entry {
    min-height: 60px;
    display: flex;
    align-items: center;
}

.xe-user-img {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.xe-comment {
    flex: 1;
    min-width: 0;
}

/* 锁定站点样式 */
.locked-site {
    position: relative;
    opacity: 0.7;
    cursor: pointer;
}

.locked-site:after {
    content: '\f023';
    font-family: 'FontAwesome';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    color: #888;
}

.locked-site:hover {
    opacity: 0.8;
}

/* 登录提示模态框样式 */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.login-modal-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.login-modal.active .login-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.login-modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.login-modal-text {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.login-modal-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.login-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.login-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.login-modal-close:hover {
    color: #333;
}

@font-face {
    font-family: 'linecons';
    src: url('./assets/css/fonts/linecons/font/linecons.woff') format('woff');
    font-display: swap;
}

.notransition * {
    transition: none !important;
    animation: none !important;
}