body {
    background: #f7f8fa;
    font-family: "Microsoft YaHei", sans-serif;
    -webkit-tap-highlight-color: transparent;
}
.search-input {
    flex:1;
    border:none;
    outline:none;
    background:transparent;
    padding: 0 6px;
    font-size:16px !important;
    -webkit-appearance: none;
}
.custom-select, .form-control {
    border: 0 !important;
    background: transparent !important;
    padding: 10px 14px;
}
.copy-toast{
    position:fixed;
    top:20px;
    left:20px;
    background: #ffffff;
    color:#222;
    padding:10px 26px;
    border-radius:6px;
    z-index:9999;
    display:none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    font-weight:500;
    transition: all 0.3s;
}
.version-card-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.card {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee !important;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.card-header {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}
.card-body {
    padding: 20px;
}
.blockquote p {
    margin-bottom: 12px !important;
}
.blockquote-footer {
    margin-top: 12px !important;
    font-size: 13px;
}
.card-right {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.card:hover {
    transform: translateY(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}
.badge + .badge {
    margin-left: 8px;
}
.card-text .badge {
    margin-right: 6px;
    margin-bottom: 0;
}
.btn {
    border-radius: 6px;
    border: 0;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 0 rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    top: 0;
    padding: 8px 12px;
    font-size: 13px;
}
.btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06);
}
.btn-primary {
    background: #419fff;
}
.btn-success {
    background: #36c96c;
}
.btn-danger {
    background: #f54e4e;
}
.right-bottom-group {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 999;
    display: none;
    flex-direction: column;
    gap: 10px;
}
.right-bottom-btn {
    width: 46px;
    height: 46px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid #f0f0f0;
}
.right-bottom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    background: #fcfcfc;
}
.right-bottom-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.right-bottom-btn i {
    font-size: 18px;
    color: #444;
}
.modal-content {
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 0;
}
.modal-header {
    border-bottom: 1px solid #f1f1f0;
}
.marquee-box {
    overflow: hidden;
    height: 24px;
    line-height: 24px;
    position: relative;
    color: #000 !important;
    background: transparent;
    display: flex;
    align-items: center;
}
.marquee-icon {
    flex-shrink: 0;
    margin-right: 6px;
    color: #c93d3d;
}
.marquee-content {
    flex: 1;
    position: relative;
    height: 24px;
    overflow: hidden;
}
.marquee-content div {
    position: absolute;
    width: 100%;
    height: 24px;
    line-height: 24px;
    transition: transform 0.5s ease;
}
.link-section {
    margin-top: 40px;
    padding: 22px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 10 rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}
.link-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.link-title i {
    color: #519cf7;
}
.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.link-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f7f8fa;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    text-decoration: none !important;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.link-item:hover {
    background: #eaf4ff;
    border-color: #d0e8ff;
    transform: translateY(-1px);
    color: #3086e6;
}
.link-item img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
}
.alert-danger {
    background-color: #fff0f0;
    color: #c93d3d;
    border: 1px solid #ffd0d0;
    border-radius: 6px;
}
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
    padding: 0 12px;
    height: 44px;
    flex: 1;
}
.search-wrapper:focus-within {
    border-color: #419fff;
    box-shadow: 0 0 0 3px rgba(65,159,255,0.15);
}
.search-clear {
    color:#999;
    cursor:pointer;
    padding: 4px 8px;
    display:none;
}
.search-clear:hover {
    color:#666;
}
.square-select {
    height: 44px;
    border-radius: 6px !important;
    padding: 0 12px;
    border: 1px solid #e8e8e8 !important;
    background: #fff !important;
    min-width: 130px;
    max-width: 160px;
    font-size: 14px;
}
.square-select:focus {
    border-color: #419fff !important;
    box-shadow: 0 0 0 3px rgba(65,159,255,0.15);
    outline: none;
}
.download-btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.download-btn-item {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s;
}
.download-btn-item:first-child {
    background: #f54e4e;
    color: #fff;
}
.download-btn-item:first-child:hover {
    background: #e04444;
    color: #fff;
}
.download-btn-item:last-child {
    background: #419fff;
    color: #fff;
}
.download-btn-item:last-child:hover {
    background: #368ee0;
    color: #fff;
}

/* ============================================
   弹窗公告样式
   ============================================ */
#popupNoticeModal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#popupNoticeModal .modal-header {
    padding: 18px 20px;
    border-bottom: none;
}

#popupNoticeModal .modal-header .close {
    opacity: 0.8;
    text-shadow: none;
}

#popupNoticeModal .modal-header .close:hover {
    opacity: 1;
}

#popupNoticeModal .modal-body {
    padding: 20px 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    max-height: 60vh;
    overflow-y: auto;
}

#popupNoticeModal .modal-body::-webkit-scrollbar {
    width: 5px;
}

#popupNoticeModal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#popupNoticeModal .modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

#popupNoticeModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

#popupNoticeModal .modal-body h1,
#popupNoticeModal .modal-body h2,
#popupNoticeModal .modal-body h3 {
    margin-top: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

#popupNoticeModal .modal-body h1 {
    font-size: 22px;
}

#popupNoticeModal .modal-body h2 {
    font-size: 18px;
}

#popupNoticeModal .modal-body h3 {
    font-size: 16px;
}

#popupNoticeModal .modal-body p {
    margin-bottom: 12px;
}

#popupNoticeModal .modal-body ul,
#popupNoticeModal .modal-body ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

#popupNoticeModal .modal-body li {
    margin-bottom: 6px;
}

#popupNoticeModal .modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

#popupNoticeModal .modal-body a {
    color: #419fff;
    text-decoration: none;
}

#popupNoticeModal .modal-body a:hover {
    text-decoration: underline;
}

#popupNoticeModal .modal-body blockquote {
    padding: 10px 16px;
    margin: 12px 0;
    background: #f8f9fa;
    border-left: 4px solid #419fff;
    border-radius: 8px;
    color: #555;
}

#popupNoticeModal .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

#popupNoticeModal .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

#popupNoticeModal .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

#popupNoticeModal .btn-primary:active {
    transform: translateY(1px);
}

/* 移动端适配 */
@media (max-width: 576px) {
    #popupNoticeModal .modal-dialog {
        margin: 16px;
    }
    
    #popupNoticeModal .modal-header {
        padding: 14px 16px;
    }
    
    #popupNoticeModal .modal-body {
        padding: 16px;
        max-height: 70vh;
    }
    
    #popupNoticeModal .modal-footer {
        padding: 12px 16px;
    }
    
    #popupNoticeModal .btn-primary {
        padding: 8px 20px;
        font-size: 14px;
    }
}