.carbon-article {
    position: relative;
    background: linear-gradient(135deg, #fff9f3 0%, #f8f0f8 100%);
}

.dark-theme .carbon-article {
    background: linear-gradient(135deg, #2a1a3e 0%, #1e1a2e 100%);
}

.carbon-floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cfo {
    position: absolute;
    border-radius: 50%;
    animation: orbFloat 20s ease-in-out infinite;
}

.cfo-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    background: radial-gradient(circle, rgba(255, 167, 81, 0.15), transparent);
    animation-delay: 0s;
}

.cfo-2 {
    width: 250px;
    height: 250px;
    top: 30%;
    right: -80px;
    background: radial-gradient(circle, rgba(155, 135, 245, 0.12), transparent);
    animation-delay: 5s;
}

.cfo-3 {
    width: 200px;
    height: 200px;
    bottom: 25%;
    left: -60px;
    background: radial-gradient(circle, rgba(255, 123, 145, 0.1), transparent);
    animation-delay: 10s;
}

.cfo-4 {
    width: 180px;
    height: 180px;
    bottom: -40px;
    right: 10%;
    background: radial-gradient(circle, rgba(255, 204, 128, 0.12), transparent);
    animation-delay: 15s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(30px, -20px) scale(1.05); opacity: 0.8; }
    50% { transform: translate(-20px, 30px) scale(1.1); opacity: 0.7; }
    75% { transform: translate(20px, 10px) scale(1.02); opacity: 0.65; }
}

.carbon-decorative-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cdl {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 167, 81, 0.3), transparent);
    animation: linePulse 8s ease-in-out infinite;
}

.cdl-1 {
    top: 25%;
    left: 0;
    width: 100%;
    animation-delay: 0s;
}

.cdl-2 {
    top: 75%;
    left: 0;
    width: 100%;
    animation-delay: 4s;
}

@keyframes linePulse {
    0%, 100% { opacity: 0.2; transform: scaleX(0.6); }
    50% { opacity: 0.5; transform: scaleX(1); }
}

.carbon-article .tool-detail-content {
    position: relative;
    z-index: 1;
    background: transparent;
}

.carbon-header {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 167, 81, 0.2) 0%, rgba(155, 135, 245, 0.2) 50%, rgba(255, 123, 145, 0.2) 100%);
    z-index: 1;
}

.dark-theme .header-gradient-overlay {
    background: linear-gradient(135deg, rgba(255, 167, 81, 0.1) 0%, rgba(155, 135, 245, 0.1) 50%, rgba(255, 123, 145, 0.1) 100%);
}

.carbon-header .tool-detail-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem;
}

.badge-utility {
    background: linear-gradient(135deg, rgba(255, 167, 81, 0.2), rgba(255, 167, 81, 0.1));
    border: 1px solid rgba(255, 167, 81, 0.4);
    color: #c87f3a;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
}

.dark-theme .badge-utility {
    color: #ffb380;
    border-color: rgba(255, 167, 81, 0.3);
}

.badge-open {
    background: linear-gradient(135deg, rgba(155, 135, 245, 0.2), rgba(155, 135, 245, 0.1));
    border: 1px solid rgba(155, 135, 245, 0.4);
    color: #7a67c5;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
}

.dark-theme .badge-open {
    color: #b8a7f5;
    border-color: rgba(155, 135, 245, 0.3);
}

.carbon-header .tool-detail-title {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 4.5rem;
    font-weight: 400;
    background: linear-gradient(135deg, #ff9b57 0%, #9b87f5 50%, #ff7b91 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.carbon-header .tool-detail-subtitle {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #666;
    letter-spacing: 0.2em;
}

.dark-theme .carbon-header .tool-detail-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.non-original-notice {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 167, 81, 0.3);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
}

.dark-theme .non-original-notice {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(155, 135, 245, 0.3);
}

.non-original-notice p {
    margin: 0;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.8rem;
    color: #555;
    line-height: 1.8;
}

.dark-theme .non-original-notice p {
    color: #a0a0a0;
}

.non-original-notice a {
    color: #c87f3a;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 167, 81, 0.3);
    transition: all 0.3s ease;
}

.dark-theme .non-original-notice a {
    color: #ffb380;
    border-bottom-color: rgba(255, 167, 81, 0.3);
}

.non-original-notice a:hover {
    border-bottom-color: currentColor;
}

.carbon-article .tool-detail-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
    background: transparent;
}

.carbon-article .tool-detail-section {
    margin-bottom: 4.5rem;
}

.diary-section {
    position: relative;
    padding-left: 100px;
}

.diary-date {
    position: absolute;
    left: 0;
    top: 0;
    text-align: right;
    width: 70px;
}

.dd-day {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    background: linear-gradient(135deg, #ff9b57, #9b87f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.dd-month {
    display: block;
    font-size: 0.7rem;
    color: #999;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.dd-year {
    display: block;
    font-size: 0.65rem;
    color: #bbb;
    letter-spacing: 0.05em;
}

.diary-content {
    border-left: 2px solid rgba(255, 167, 81, 0.2);
    padding-left: 2rem;
}

.dark-theme .diary-content {
    border-left-color: rgba(155, 135, 245, 0.2);
}

.diary-lead {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 2;
    color: #6a5a4a;
    margin-bottom: 2rem;
}

.dark-theme .diary-lead {
    color: #e0d0f0;
}

.diary-content p {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 2.3;
    color: #7a6a5a;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.dark-theme .diary-content p {
    color: #d0c0e0;
}

.diary-quote {
    margin: 2.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 167, 81, 0.2);
    border-bottom: 1px solid rgba(255, 167, 81, 0.2);
}

.dark-theme .diary-quote {
    border-top-color: rgba(155, 135, 245, 0.2);
    border-bottom-color: rgba(155, 135, 245, 0.2);
}

.diary-quote p {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: #8a7a6a;
    text-align: center;
    margin: 0;
}

.dark-theme .diary-quote p {
    color: #b0a0c0;
}

.diary-quote.final {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 167, 81, 0.08), rgba(155, 135, 245, 0.05));
    border: none;
    border-radius: 16px;
}

.dark-theme .diary-quote.final {
    background: linear-gradient(135deg, rgba(255, 167, 81, 0.05), rgba(155, 135, 245, 0.03));
}

.carbon-article .section-title {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carbon-article .section-title::before {
    content: '';
    flex: 0 0 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 167, 81, 0.6));
}

.carbon-article .section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 167, 81, 0.6), transparent);
}

.dark-theme .carbon-article .section-title {
    color: rgba(255, 255, 255, 0.4);
}

.dark-theme .carbon-article .section-title::before,
.dark-theme .carbon-article .section-title::after {
    background: linear-gradient(90deg, transparent, rgba(155, 135, 245, 0.6), transparent);
}

.carbon-article .st-num {
    background: linear-gradient(135deg, #ff9b57, #9b87f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.section-intro {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 2;
    color: #6a5a4a;
    margin-bottom: 2rem;
}

.dark-theme .section-intro {
    color: #e0d0f0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 167, 81, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 167, 81, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.dark-theme .feature-item {
    background: rgba(30, 30, 50, 0.6);
    border-color: rgba(155, 135, 245, 0.2);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 167, 81, 0.15);
}

.dark-theme .feature-item:hover {
    box-shadow: 0 20px 40px rgba(155, 135, 245, 0.15);
}

.fi-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(255, 167, 81, 0.15), rgba(155, 135, 245, 0.15));
    border-radius: 16px;
    padding: 12px;
}

.fi-icon svg {
    width: 100%;
    height: 100%;
    color: #c87f3a;
}

.dark-theme .fi-icon svg {
    color: #b8a7f5;
}

.feature-item h4 {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #333;
    margin-bottom: 0.75rem;
}

.dark-theme .feature-item h4 {
    color: #e0e0e0;
}

.feature-item p {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.dark-theme .feature-item p {
    color: #a0a0a0;
}

.experience-block {
    margin: 2.5rem 0;
}

.eb-item {
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255, 167, 81, 0.15);
}

.dark-theme .eb-item {
    border-bottom-color: rgba(155, 135, 245, 0.15);
}

.eb-item:last-child {
    border-bottom: none;
}

.ebi-label {
    display: inline-block;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff9b57, #9b87f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.eb-item p {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.98rem;
    line-height: 2.1;
    color: #7a6a5a;
    margin: 0;
}

.dark-theme .eb-item p {
    color: #d0c0e0;
}

.reason-list {
    margin: 2.5rem 0;
}

.rl-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 167, 81, 0.15);
}

.dark-theme .rl-item {
    border-bottom-color: rgba(155, 135, 245, 0.15);
}

.rli-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    background: linear-gradient(135deg, #ff9b57, #9b87f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 40px;
}

.rli-content h4 {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #333;
    margin-bottom: 0.75rem;
}

.dark-theme .rli-content h4 {
    color: #d8d8d8;
}

.rli-content p {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.95rem;
    line-height: 2;
    color: #8a7a6a;
    margin: 0;
}

.dark-theme .rli-content p {
    color: #c0b0d0;
}

.download-options {
    margin: 2.5rem 0;
    text-align: center;
}

.do-main {
    margin-bottom: 1.5rem;
}

.do-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #ff9b57, #9b87f5);
    border: none;
    border-radius: 999px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(255, 167, 81, 0.3);
}

.do-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 167, 81, 0.4);
    color: white;
}

.do-btn svg {
    width: 24px;
    height: 24px;
}

.do-note {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.85rem;
    color: #888;
    margin-top: 1rem;
}

.dark-theme .do-note {
    color: #999;
}

.do-alt {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.do-github {
    padding: 1rem 2rem;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.5);
    color: #555;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.do-github:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.install-tips {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 167, 81, 0.08), rgba(155, 135, 245, 0.05));
    border-radius: 16px;
    border-left: 3px solid rgba(255, 167, 81, 0.5);
}

.dark-theme .install-tips {
    background: linear-gradient(135deg, rgba(255, 167, 81, 0.05), rgba(155, 135, 245, 0.03));
    border-left-color: rgba(155, 135, 245, 0.5);
}

.install-tips h4 {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 1rem;
}

.dark-theme .install-tips h4 {
    color: #aaa;
}

.install-tips ul {
    margin: 0;
    padding-left: 1.25rem;
}

.install-tips li {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.88rem;
    line-height: 2;
    color: #666;
}

.dark-theme .install-tips li {
    color: #a8a8a8;
}

.diary-ending {
    margin-top: 4.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 167, 81, 0.15);
}

.dark-theme .diary-ending {
    border-top-color: rgba(155, 135, 245, 0.15);
}

.diary-footer {
    text-align: right;
    margin-top: 3rem;
    padding-top: 2rem;
}

.df-author {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.9rem;
    font-style: italic;
    color: #888;
}

.tool-meta-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 167, 81, 0.1);
    margin: 3rem 0;
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
}

.dark-theme .tool-meta-info {
    background: rgba(155, 135, 245, 0.1);
}

.tmi-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.75rem 1.5rem;
    backdrop-filter: blur(10px);
}

.dark-theme .tmi-item {
    background: rgba(30, 30, 50, 0.6);
}

.tmii-label {
    display: block;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 0.5rem;
}

.tmi-item a,
.tmi-item span {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.dark-theme .tmi-item a,
.dark-theme .tmi-item span {
    color: #b0b0b0;
}

.tmi-item a:hover {
    color: #c87f3a;
}

.dark-theme .tmi-item a:hover {
    color: #ffb380;
}

.carbon-article .tool-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 167, 81, 0.15);
}

.dark-theme .carbon-article .tool-actions {
    border-top-color: rgba(155, 135, 245, 0.15);
}

.carbon-article .tool-actions .btn {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.9rem 2.25rem;
    background: transparent;
    border: 2px solid rgba(255, 167, 81, 0.4);
    border-radius: 999px;
    color: #666;
    transition: all 0.4s ease;
}

.dark-theme .carbon-article .tool-actions .btn {
    border-color: rgba(155, 135, 245, 0.4);
    color: #b0b0b0;
}

.carbon-article .tool-actions .btn:hover {
    border-color: #ff9b57;
    color: #ff9b57;
    background: rgba(255, 167, 81, 0.08);
}

.dark-theme .carbon-article .tool-actions .btn:hover {
    border-color: #b8a7f5;
    color: #b8a7f5;
    background: rgba(155, 135, 245, 0.08);
}

.carbon-article .tool-actions .btn-primary {
    background: linear-gradient(135deg, #ff9b57, #9b87f5);
    border-color: transparent;
    color: #fff;
}

.carbon-article .tool-actions .btn-primary:hover {
    background: linear-gradient(135deg, #ff8a3d, #8a75e0);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 167, 81, 0.3);
}

@media (max-width: 768px) {
    .carbon-header .tool-detail-title {
        font-size: 2.8rem;
        letter-spacing: 0.2em;
    }

    .diary-section {
        padding-left: 0;
    }

    .diary-date {
        position: relative;
        width: auto;
        text-align: left;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
    }

    .dd-day {
        font-size: 2.2rem;
    }

    .diary-content {
        border-left: none;
        padding-left: 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .rl-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .tool-meta-info {
        grid-template-columns: 1fr;
    }

    .carbon-article .tool-actions {
        flex-direction: column;
    }

    .carbon-floating-orbs {
        display: none;
    }
}
