:root {
    --cc-bg-top: #061b35;
    --cc-bg-mid: #0c3867;
    --cc-blue: #1D71BC;
    --cc-blue-2: #2A5298;
    --cc-sky: #59A8E1;
    --cc-cyan: #70f3ff;
    --cc-mint: #9dffbb;
    --cc-gold: #ffca64;
    --cc-ink: #203044;
    --cc-muted: #5f7287;
    --cc-line: #dceaf5;
    --cc-panel: rgba(255, 255, 255, 0.94);
}

html {
    scroll-behavior: smooth;
}

body.cc-rad-theme {
    color: var(--cc-ink) !important;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif !important;
    line-height: 1.7;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(112, 243, 255, 0.22), transparent 26%),
        radial-gradient(circle at 86% 18%, rgba(157, 255, 187, 0.20), transparent 24%),
        linear-gradient(180deg, var(--cc-bg-top) 0%, var(--cc-bg-mid) 360px, #eef6ff 360px, #f7fbff 100%) !important;
}

body.cc-rad-theme * {
    letter-spacing: 0;
}

body.cc-rad-theme a {
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.cc-rad-theme img,
body.cc-rad-theme embed,
body.cc-rad-theme object,
body.cc-rad-theme video {
    max-width: 100%;
}

body.cc-rad-theme .container {
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 24px !important;
}

body.cc-rad-theme .header {
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
    height: 130px;
    min-height: 130px;
    border-radius: 8px 8px 0 0 !important;
    background:
        linear-gradient(135deg, rgba(5, 25, 52, 0.98), rgba(29, 113, 188, 0.92)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 50px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 50px) !important;
    box-shadow: 0 22px 48px rgba(0, 24, 56, 0.26) !important;
}

body.cc-rad-theme .header:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0%, rgba(112, 243, 255, 0.17) 38%, transparent 70%),
        radial-gradient(circle at 72% 42%, rgba(157, 255, 187, 0.14), transparent 30%);
    pointer-events: none;
}

body.cc-rad-theme .header:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--cc-cyan) 24%, var(--cc-mint) 52%, var(--cc-gold) 76%, transparent 100%);
}

body.cc-rad-theme .header-table {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100%;
}

body.cc-rad-theme .header-cell {
    padding: 13px 14px !important;
}

body.cc-rad-theme .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    min-height: 44px;
    color: #ffffff !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.38) !important;
}

body.cc-rad-theme .software-title {
    display: inline-block;
    color: #dff8ff !important;
    font-size: 14px !important;
    margin-top: 0 !important;
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
}

body.cc-rad-theme .version-info {
    color: #bdeeff !important;
    font-size: 13px !important;
    padding-top: 0 !important;
    white-space: nowrap;
}

body.cc-rad-theme .slogan {
    color: #ffffff !important;
    font-size: 21px !important;
    text-shadow: 0 4px 18px rgba(0,0,0,0.28);
}

body.cc-rad-theme .slogan .slogan-line {
    display: block;
    line-height: 1.18;
}

body.cc-rad-theme .slogan .slogan-line-1 {
    font-size: 17px;
    font-weight: 800;
}

body.cc-rad-theme .slogan .slogan-line-2 {
    font-size: 16px;
    font-weight: 800;
}

body.cc-rad-theme .nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px !important;
    background: rgba(5, 24, 48, 0.86) !important;
    border: 1px solid rgba(173, 226, 255, 0.18);
    border-top: 0;
    box-shadow: 0 14px 32px rgba(0, 24, 56, 0.18);
}

body.cc-rad-theme .nav-menu a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 40px;
    min-height: 40px;
    line-height: 1;
    color: #dff8ff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600 !important;
    padding: 0 13px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.08);
    transform: none !important;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.cc-rad-theme .nav-menu a:hover,
body.cc-rad-theme .nav-menu a:focus,
body.cc-rad-theme .nav-menu a:active {
    color: #062344 !important;
    border-color: rgba(112, 243, 255, 0.78);
    background: linear-gradient(90deg, var(--cc-cyan) 0%, var(--cc-mint) 100%) !important;
    transform: none !important;
    outline-offset: 2px;
}

body.cc-rad-theme .main-content {
    display: grid !important;
    grid-template-columns: 228px minmax(0, 1fr);
    align-items: stretch;
    background: var(--cc-panel) !important;
    border: 1px solid rgba(220, 234, 245, 0.95);
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 18px 42px rgba(19, 82, 137, 0.18) !important;
    overflow: hidden;
}

body.cc-rad-theme .main-content > .content-area:first-child {
    grid-column: 1 / -1;
}

body.cc-rad-theme .main-content > .content-wrapper {
    grid-column: 1 / -1;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.cc-rad-theme .content-wrapper .install-section {
    overflow-x: auto;
}

body.cc-rad-theme .content-wrapper .download-table {
    width: 100% !important;
    min-width: 760px;
    table-layout: fixed;
}

body.cc-rad-theme .content-wrapper .download-table th,
body.cc-rad-theme .content-wrapper .download-table td {
    vertical-align: middle !important;
    white-space: normal;
    word-break: keep-all;
}

body.cc-rad-theme .content-wrapper .download-table .category-cell {
    width: 22%;
}

body.cc-rad-theme .content-wrapper .download-table .file-name {
    width: 24%;
}

body.cc-rad-theme .content-wrapper .download-table .download-link {
    white-space: normal;
}

body.cc-rad-theme .sidebar {
    width: auto !important;
    padding: 18px !important;
    background:
        linear-gradient(180deg, rgba(5, 30, 62, 0.96), rgba(29, 113, 188, 0.88)),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 42px) !important;
    border-right: 1px solid rgba(173, 226, 255, 0.25) !important;
}

body.cc-rad-theme .feature-section {
    margin-bottom: 16px !important;
    border: 1px solid rgba(173, 226, 255, 0.28) !important;
    border-radius: 8px !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 24, 56, 0.14);
}

body.cc-rad-theme .feature-title {
    color: #062344 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    padding: 9px !important;
    background: linear-gradient(90deg, var(--cc-cyan) 0%, var(--cc-mint) 100%) !important;
}

body.cc-rad-theme .feature-link {
    color: #e8f7ff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1.45;
    padding: 8px 11px !important;
    border-top: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.02);
}

body.cc-rad-theme .feature-link:hover {
    color: #062344 !important;
    background: linear-gradient(90deg, rgba(112,243,255,0.92), rgba(157,255,187,0.92)) !important;
    text-decoration: none !important;
}

body.cc-rad-theme .content-area {
    min-width: 0;
    padding: 34px !important;
    background:
        linear-gradient(135deg, #ffffff 0%, #f7fbff 100%) !important;
}

body.cc-rad-theme .content-title,
body.cc-rad-theme .download-title,
body.cc-rad-theme h1.content-title {
    color: #0d3762 !important;
    font-size: 26px !important;
    line-height: 1.25;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid var(--cc-line) !important;
}

body.cc-rad-theme .content-title:after,
body.cc-rad-theme .download-title:after {
    content: "";
    display: block;
    width: 92px;
    height: 3px;
    margin-top: 10px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--cc-cyan), var(--cc-mint));
}

body.cc-rad-theme .content-section,
body.cc-rad-theme .download-section,
body.cc-rad-theme .media-section,
body.cc-rad-theme .highlight-box,
body.cc-rad-theme .contact-box,
body.cc-rad-theme .download-notice,
body.cc-rad-theme .version-card,
body.cc-rad-theme .update-item,
body.cc-rad-theme .question-item,
body.cc-rad-theme .advantage-item,
body.cc-rad-theme .function-item {
    border: 1px solid var(--cc-line) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 10px 24px rgba(19,82,137,0.09);
    padding: 18px !important;
    margin-bottom: 18px !important;
}

body.cc-rad-theme .content-subtitle,
body.cc-rad-theme .contact-title,
body.cc-rad-theme .media-title {
    color: var(--cc-blue) !important;
    font-size: 18px !important;
    margin: 0 0 12px !important;
}

body.cc-rad-theme .content-text,
body.cc-rad-theme .contact-item {
    color: #33475c !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
}

body.cc-rad-theme .contact-grid-expanded {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch;
}

body.cc-rad-theme .contact-qr-card,
body.cc-rad-theme .contact-info-card {
    text-align: center;
}

body.cc-rad-theme .contact-qr-card .contact-label {
    margin-bottom: 12px;
}

body.cc-rad-theme .contact-qr-image,
body.cc-rad-theme .contact-shop-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

body.cc-rad-theme .contact-info-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

body.cc-rad-theme .content-link,
body.cc-rad-theme .support-link,
body.cc-rad-theme .media-link,
body.cc-rad-theme .footer a,
body.cc-rad-theme .content-area a {
    color: var(--cc-blue) !important;
    text-decoration: none !important;
    font-weight: 600;
}

body.cc-rad-theme .content-link:hover,
body.cc-rad-theme .support-link:hover,
body.cc-rad-theme .media-link:hover,
body.cc-rad-theme .content-area a:hover {
    color: var(--cc-sky) !important;
    text-decoration: underline !important;
}

body.cc-rad-theme .download-btn,
body.cc-rad-theme .download-cloud-btn,
body.cc-rad-theme a.download-btn,
body.cc-rad-theme a.download-cloud-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    color: #062344 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    padding: 9px 18px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: linear-gradient(90deg, var(--cc-cyan) 0%, var(--cc-mint) 100%) !important;
    box-shadow: 0 8px 20px rgba(112, 243, 255, 0.25);
}

body.cc-rad-theme .download-btn:hover,
body.cc-rad-theme .download-cloud-btn:hover {
    transform: none !important;
    box-shadow: 0 12px 26px rgba(112, 243, 255, 0.34);
    text-decoration: none !important;
}

body.cc-rad-theme .method-btn,
body.cc-rad-theme .contract-link,
body.cc-rad-theme .contact-btn,
body.cc-rad-theme .download-link,
body.cc-rad-theme .cloud-btn,
body.cc-rad-theme .purchase-btn,
body.cc-rad-theme .version-update-btn,
body.cc-rad-theme .video-link,
body.cc-rad-theme .video-item-link,
body.cc-rad-theme .case-link,
body.cc-rad-theme .progress-link,
body.cc-rad-theme .gantt-link,
body.cc-rad-theme .curve-link,
body.cc-rad-theme .visual-link,
body.cc-rad-theme .item-link,
body.cc-rad-theme .feature-link-btn,
body.cc-rad-theme .resource-link,
body.cc-rad-theme .effect-link,
body.cc-rad-theme .single-link,
body.cc-rad-theme .slope-link,
body.cc-rad-theme .guide-link,
body.cc-rad-theme .tutorial-link,
body.cc-rad-theme .taobao-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    color: #062344 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    padding: 9px 18px !important;
    border: 1px solid rgba(112, 243, 255, 0.45) !important;
    border-radius: 4px !important;
    background: linear-gradient(90deg, var(--cc-cyan) 0%, var(--cc-mint) 100%) !important;
    box-shadow: 0 8px 20px rgba(112, 243, 255, 0.24);
    text-shadow: none !important;
}

body.cc-rad-theme .method-btn:hover,
body.cc-rad-theme .contract-link:hover,
body.cc-rad-theme .contact-btn:hover,
body.cc-rad-theme .download-link:hover,
body.cc-rad-theme .cloud-btn:hover,
body.cc-rad-theme .purchase-btn:hover,
body.cc-rad-theme .version-update-btn:hover,
body.cc-rad-theme .video-link:hover,
body.cc-rad-theme .video-item-link:hover,
body.cc-rad-theme .case-link:hover,
body.cc-rad-theme .progress-link:hover,
body.cc-rad-theme .gantt-link:hover,
body.cc-rad-theme .curve-link:hover,
body.cc-rad-theme .visual-link:hover,
body.cc-rad-theme .item-link:hover,
body.cc-rad-theme .feature-link-btn:hover,
body.cc-rad-theme .resource-link:hover,
body.cc-rad-theme .effect-link:hover,
body.cc-rad-theme .single-link:hover,
body.cc-rad-theme .slope-link:hover,
body.cc-rad-theme .guide-link:hover,
body.cc-rad-theme .tutorial-link:hover,
body.cc-rad-theme .taobao-link:hover {
    color: #062344 !important;
    transform: none !important;
    box-shadow: 0 12px 26px rgba(112, 243, 255, 0.34);
    text-decoration: none !important;
}

body.cc-rad-theme .content-area a.method-btn,
body.cc-rad-theme .content-area a.method-btn:visited,
body.cc-rad-theme .content-area a.contract-link,
body.cc-rad-theme .content-area a.contract-link:visited,
body.cc-rad-theme .content-area a.contact-btn,
body.cc-rad-theme .content-area a.contact-btn:visited,
body.cc-rad-theme .content-area a.download-link,
body.cc-rad-theme .content-area a.download-link:visited,
body.cc-rad-theme .content-area a.cloud-btn,
body.cc-rad-theme .content-area a.cloud-btn:visited,
body.cc-rad-theme .content-area a.purchase-btn,
body.cc-rad-theme .content-area a.purchase-btn:visited,
body.cc-rad-theme .content-area a.version-update-btn,
body.cc-rad-theme .content-area a.version-update-btn:visited,
body.cc-rad-theme .content-area a.video-link,
body.cc-rad-theme .content-area a.video-link:visited,
body.cc-rad-theme .content-area a.video-item-link,
body.cc-rad-theme .content-area a.video-item-link:visited,
body.cc-rad-theme .content-area a.case-link,
body.cc-rad-theme .content-area a.case-link:visited,
body.cc-rad-theme .content-area a.progress-link,
body.cc-rad-theme .content-area a.progress-link:visited,
body.cc-rad-theme .content-area a.gantt-link,
body.cc-rad-theme .content-area a.gantt-link:visited,
body.cc-rad-theme .content-area a.curve-link,
body.cc-rad-theme .content-area a.curve-link:visited,
body.cc-rad-theme .content-area a.visual-link,
body.cc-rad-theme .content-area a.visual-link:visited,
body.cc-rad-theme .content-area a.item-link,
body.cc-rad-theme .content-area a.item-link:visited,
body.cc-rad-theme .content-area a.feature-link-btn,
body.cc-rad-theme .content-area a.feature-link-btn:visited,
body.cc-rad-theme .content-area a.resource-link,
body.cc-rad-theme .content-area a.resource-link:visited,
body.cc-rad-theme .content-area a.effect-link,
body.cc-rad-theme .content-area a.effect-link:visited,
body.cc-rad-theme .content-area a.single-link,
body.cc-rad-theme .content-area a.single-link:visited,
body.cc-rad-theme .content-area a.slope-link,
body.cc-rad-theme .content-area a.slope-link:visited,
body.cc-rad-theme .content-area a.guide-link,
body.cc-rad-theme .content-area a.guide-link:visited,
body.cc-rad-theme .content-area a.tutorial-link,
body.cc-rad-theme .content-area a.tutorial-link:visited,
body.cc-rad-theme .content-area a.taobao-link,
body.cc-rad-theme .content-area a.taobao-link:visited {
    color: #062344 !important;
}

body.cc-rad-theme .download-table,
body.cc-rad-theme .content-area table {
    max-width: 100% !important;
    border-collapse: collapse !important;
    background: #ffffff;
}

body.cc-rad-theme .download-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(19,82,137,0.09);
}

body.cc-rad-theme .download-table th {
    color: #ffffff !important;
    background: linear-gradient(90deg, var(--cc-blue) 0%, var(--cc-sky) 100%) !important;
}

body.cc-rad-theme .download-table th,
body.cc-rad-theme .download-table td,
body.cc-rad-theme .content-area table[border] th,
body.cc-rad-theme .content-area table[border] td {
    border-color: var(--cc-line) !important;
    padding: 10px !important;
}

body.cc-rad-theme .content-area table[border] {
    border: 1px solid var(--cc-line) !important;
}

body.cc-rad-theme .content-area font {
    font-family: inherit !important;
}

body.cc-rad-theme .footer {
    color: #ffffff !important;
    border-radius: 8px !important;
    margin-top: 20px !important;
    padding: 18px !important;
    background:
        linear-gradient(135deg, rgba(5, 25, 52, 0.98), rgba(29, 113, 188, 0.92)) !important;
    box-shadow: 0 14px 32px rgba(0, 24, 56, 0.18);
}

body.cc-rad-theme .footer p {
    margin: 4px 0;
}

body.cc-rad-theme .footer,
body.cc-rad-theme .footer * {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.cc-rad-theme .footer a {
    color: #dff8ff !important;
}

body.cc-rad-theme > div[align="center"] {
    max-width: 720px;
    margin: 34px auto !important;
    padding: 24px !important;
    border: 1px solid var(--cc-line);
    border-radius: 8px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 18px 42px rgba(19,82,137,0.18);
}

body.cc-rad-theme > div[align="center"]:before {
    content: "CC Project";
    display: block;
    color: #ffffff;
    font-weight: 800;
    font-size: 22px;
    text-align: left;
    margin: -24px -24px 18px;
    padding: 18px 22px;
    border-radius: 8px 8px 0 0;
    background:
        linear-gradient(135deg, rgba(5, 25, 52, 0.98), rgba(29, 113, 188, 0.92));
}

body.cc-rad-theme > div[align="center"] table {
    width: 100% !important;
    height: auto !important;
}

body.cc-rad-theme > div[align="center"] td {
    height: auto !important;
    vertical-align: top;
}

body.cc-rad-theme > div[align="center"] font {
    color: var(--cc-ink) !important;
    font-family: inherit !important;
    line-height: 1.8;
}

body.cc-rad-theme > div[align="center"] a,
body.cc-rad-theme > div[align="center"] a font {
    color: var(--cc-blue) !important;
    text-decoration: none !important;
    font-weight: 600;
}

body.cc-rad-theme > div[align="center"] a:hover {
    text-decoration: underline !important;
}

@media (max-width: 900px) {
    body.cc-rad-theme .container {
        padding: 14px !important;
    }

    body.cc-rad-theme .header {
        height: auto;
        min-height: 0;
    }

    body.cc-rad-theme .header-table,
    body.cc-rad-theme .header-table tbody,
    body.cc-rad-theme .header-table tr,
    body.cc-rad-theme .header-table td {
        display: block;
        width: 100% !important;
        text-align: left !important;
    }

    body.cc-rad-theme .slogan {
        text-align: left !important;
    }

    body.cc-rad-theme .main-content {
        grid-template-columns: 1fr !important;
    }

    body.cc-rad-theme .sidebar {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(173, 226, 255, 0.25) !important;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.cc-rad-theme .feature-section {
        margin-bottom: 0 !important;
    }

    body.cc-rad-theme .content-area {
        padding: 22px !important;
    }
}

@media (max-width: 620px) {
    body.cc-rad-theme {
        background:
            radial-gradient(circle at 12% 8%, rgba(112, 243, 255, 0.22), transparent 26%),
            linear-gradient(180deg, var(--cc-bg-top) 0%, var(--cc-bg-mid) 520px, #eef6ff 520px, #f7fbff 100%) !important;
    }

    body.cc-rad-theme .nav-menu a {
        flex: 1 1 132px;
    }

    body.cc-rad-theme .sidebar {
        grid-template-columns: 1fr;
    }

    body.cc-rad-theme .content-title,
    body.cc-rad-theme .download-title,
    body.cc-rad-theme h1.content-title {
        font-size: 22px !important;
    }

    body.cc-rad-theme .download-table,
    body.cc-rad-theme .content-area table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.cc-rad-theme > div[align="center"] {
        margin: 14px !important;
    }
}
