:root {
    --sunset-primary: #ff6b35;
    --sunset-secondary: #f7931e;
    --sunset-accent: #ff8c42;
    --sunset-warm: #ffb347;
    --sunset-deep: #d2691e;
    --sunset-bg: #fff;
    --sunset-bg-light: #fff8f5;
    --sunset-text: #2c1810;
    --sunset-text-light: #8b4513;
    --sunset-text-lighter: #cd853f;
    --sunset-border: #ffe4d6;
    --sunset-shadow: rgba(255, 107, 53, 0.15);
    --sunset-shadow-dark: rgba(255, 107, 53, 0.25);
    --sunset-gradient: linear-gradient(135deg, var(--sunset-primary) 0%, var(--sunset-secondary) 100%);
    --sunset-gradient-light: linear-gradient(135deg, var(--sunset-bg-light) 0%, #fff5f0 100%);
}


.sunset-article-main {
    background: var(--sunset-gradient-light);
    min-height: calc(100vh - 80px);
    padding: 30px 0;
    position: relative;
    overflow: visible;
}

.sunset-article-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23ff8c42" opacity="0.05"><circle cx="20" cy="20" r="1"/><circle cx="80" cy="40" r="0.8"/><circle cx="40" cy="80" r="1.2"/><circle cx="70" cy="10" r="0.6"/><circle cx="10" cy="60" r="1"/></svg>') repeat;
    background-size: 100px 100px;
    opacity: 0.3;
}

.sunset-article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 1;
}


.sunset-breadcrumb {
    margin-bottom: 30px;
    padding: 15px 0;
}

.sunset-breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid var(--sunset-border);
    box-shadow: 0 4px 15px var(--sunset-shadow);
}

.sunset-breadcrumb-item {
    color: var(--sunset-text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.sunset-breadcrumb-item:hover {
    color: var(--sunset-primary);
}

.sunset-breadcrumb-item i {
    font-size: 16px;
}

.sunset-breadcrumb-separator {
    color: var(--sunset-text-lighter);
    font-size: 12px;
}

.sunset-breadcrumb-current {
    color: var(--sunset-primary);
    font-weight: 600;
    font-size: 14px;
}


.sunset-article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}


.sunset-article-content {
    background: var(--sunset-bg);
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--sunset-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.sunset-article-content:hover {
    box-shadow: 0 12px 40px var(--sunset-shadow-dark);
}


.sunset-article-header {
    padding: 40px 50px 30px;
    background: var(--sunset-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sunset-article-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: sunsetHeaderGlow 15s ease-in-out infinite;
}

@keyframes sunsetHeaderGlow {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
}

.sunset-article-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.sunset-article-category i {
    font-size: 16px;
    color: var(--sunset-warm);
}

.sunset-article-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 25px 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sunset-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.sunset-meta-group {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.sunset-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.sunset-meta-item i {
    font-size: 16px;
    color: var(--sunset-warm);
}

.sunset-article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sunset-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.sunset-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.sunset-tag i {
    font-size: 14px;
    color: var(--sunset-warm);
}

.sunset-reading-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.sunset-reading-time i {
    font-size: 14px;
    color: var(--sunset-warm);
}


.sunset-article-body {
    padding: 50px;
}

.sunset-content-wrapper {
    line-height: 1.8;
    color: var(--sunset-text);
    font-size: 16px;
    word-wrap: break-word;
}

.sunset-content-wrapper * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.sunset-content-wrapper *.sunset-content-animate {
    opacity: 1;
    transform: translateY(0);
}

.sunset-content-wrapper h1,
.sunset-content-wrapper h2,
.sunset-content-wrapper h3,
.sunset-content-wrapper h4,
.sunset-content-wrapper h5,
.sunset-content-wrapper h6 {
    font-weight: 700;
    color: var(--sunset-text);
    margin: 35px 0 20px;
    position: relative;
    padding-left: 20px;
}

.sunset-content-wrapper h1::before,
.sunset-content-wrapper h2::before,
.sunset-content-wrapper h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 60%;
    background: var(--sunset-gradient);
    border-radius: 3px;
}

.sunset-content-wrapper h1 {
    font-size: 32px;
    color: var(--sunset-primary);
}

.sunset-content-wrapper h2 {
    font-size: 28px;
    color: var(--sunset-secondary);
}

.sunset-content-wrapper h3 {
    font-size: 24px;
    color: var(--sunset-accent);
}

.sunset-content-wrapper h4 {
    font-size: 20px;
    color: var(--sunset-deep);
}

.sunset-content-wrapper h5,
.sunset-content-wrapper h6 {
    font-size: 18px;
    color: var(--sunset-text);
}

.sunset-content-wrapper p {
    margin-bottom: 20px;
    text-align: justify;
    text-justify: inter-ideograph;
}

.sunset-content-wrapper ul,
.sunset-content-wrapper ol {
    margin: 20px 0;
    padding-left: 30px;
}

.sunset-content-wrapper li {
    margin-bottom: 8px;
    position: relative;
}

.sunset-content-wrapper ul li::marker {
    color: var(--sunset-primary);
}

.sunset-content-wrapper ol li::marker {
    color: var(--sunset-secondary);
    font-weight: 600;
}

.sunset-content-wrapper blockquote {
    background: var(--sunset-bg-light);
    border-left: 6px solid var(--sunset-primary);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 15px 15px 0;
    position: relative;
    box-shadow: 0 4px 15px var(--sunset-shadow);
}

.sunset-content-wrapper blockquote.sunset-content-quote {
    position: relative;
    overflow: hidden;
}

.sunset-content-wrapper blockquote .sunset-quote-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: var(--sunset-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 10px var(--sunset-shadow);
}

.sunset-content-wrapper blockquote p {
    margin-left: 60px;
    font-style: italic;
    color: var(--sunset-text-light);
    font-size: 17px;
    line-height: 1.7;
}

.sunset-content-wrapper pre {
    background: #2d3748;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sunset-content-wrapper pre.sunset-code-block {
    border: 1px solid #4a5568;
}

.sunset-content-wrapper code {
    background: var(--sunset-bg-light);
    color: var(--sunset-primary);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    border: 1px solid var(--sunset-border);
}

.sunset-content-wrapper pre code {
    background: none;
    color: inherit;
    padding: 0;
    border: none;
}

.sunset-code-copy {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.sunset-code-copy:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.sunset-code-copy.sunset-copied {
    background: var(--sunset-gradient);
    border-color: transparent;
}

.sunset-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 8px 25px var(--sunset-shadow);
    transition: all 0.3s ease;
}

.sunset-content-wrapper img.sunset-content-img {
    cursor: pointer;
}

.sunset-content-wrapper img.sunset-content-img:hover,
.sunset-content-wrapper img.sunset-img-loaded:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px var(--sunset-shadow-dark);
}

.sunset-content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--sunset-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--sunset-shadow);
}

.sunset-content-wrapper table.sunset-content-table {
    border: 1px solid var(--sunset-border);
}

.sunset-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.sunset-content-wrapper th,
.sunset-content-wrapper td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--sunset-border);
}

.sunset-content-wrapper th {
    background: var(--sunset-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.sunset-content-wrapper tr:hover {
    background: var(--sunset-bg-light);
}

.sunset-content-wrapper tr:last-child td {
    border-bottom: none;
}

.sunset-content-wrapper a {
    color: var(--sunset-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.sunset-content-wrapper a:hover {
    color: var(--sunset-secondary);
}

.sunset-content-wrapper a.sunset-external-link {
    border-bottom: 1px dotted var(--sunset-primary);
}

.sunset-content-wrapper a.sunset-external-link:hover {
    border-bottom-color: var(--sunset-secondary);
}


.sunset-article-footer {
    padding: 40px 50px;
    background: var(--sunset-bg-light);
    border-top: 1px solid var(--sunset-border);
}

.sunset-article-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sunset-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--sunset-bg);
    border: 2px solid var(--sunset-border);
    border-radius: 25px;
    color: var(--sunset-text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-width: 120px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sunset-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--sunset-gradient);
    transition: left 0.5s ease;
    z-index: 0;
}

.sunset-action-btn:hover::before {
    left: 0;
}

.sunset-action-btn:hover {
    color: #fff;
    border-color: var(--sunset-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--sunset-shadow-dark);
}

.sunset-action-btn.sunset-liked,
.sunset-action-btn.sunset-collected {
    background: var(--sunset-gradient);
    color: #fff;
    border-color: var(--sunset-primary);
}

.sunset-action-btn.sunset-liked::before,
.sunset-action-btn.sunset-collected::before {
    left: 0;
}

.sunset-btn-icon,
.sunset-btn-content {
    position: relative;
    z-index: 1;
}

.sunset-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.sunset-btn-icon i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.sunset-action-btn:hover .sunset-btn-icon i {
    transform: scale(1.2);
}

.sunset-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.sunset-btn-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.sunset-btn-count {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1;
}

.sunset-article-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--sunset-border);
}

.sunset-update-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--sunset-text-lighter);
    font-size: 13px;
    font-style: italic;
}

.sunset-update-time i {
    font-size: 14px;
    color: var(--sunset-accent);
}


.sunset-related-section {
    margin-top: 40px;
    padding: 40px 50px;
    background: var(--sunset-bg);
    border-top: 1px solid var(--sunset-border);
}

.sunset-section-header {
    text-align: center;
    margin-bottom: 35px;
}

.sunset-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--sunset-text);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sunset-section-title i {
    font-size: 28px;
    color: var(--sunset-primary);
}

.sunset-section-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sunset-decoration-line {
    width: 60px;
    height: 2px;
    background: var(--sunset-gradient);
    border-radius: 1px;
}

.sunset-decoration-sun {
    width: 20px;
    height: 20px;
    background: var(--sunset-gradient);
    border-radius: 50%;
    position: relative;
    animation: sunsetDecorationRotate 10s linear infinite;
}

@keyframes sunsetDecorationRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.sunset-decoration-sun::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--sunset-primary);
    border-radius: 50%;
    opacity: 0.3;
}

.sunset-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.sunset-related-item {
    background: var(--sunset-bg-light);
    border: 2px solid var(--sunset-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.sunset-related-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.sunset-related-item:hover {
    border-color: var(--sunset-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--sunset-shadow-dark);
}

.sunset-related-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.sunset-related-content {
    flex: 1;
    min-width: 0;
}

.sunset-related-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--sunset-text);
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.sunset-related-link:hover .sunset-related-title {
    color: var(--sunset-primary);
}

.sunset-related-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--sunset-text-lighter);
}

.sunset-related-time,
.sunset-related-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sunset-related-time i,
.sunset-related-views i {
    font-size: 12px;
    color: var(--sunset-accent);
}

.sunset-related-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sunset-text-lighter);
    transition: all 0.3s ease;
}

.sunset-related-link:hover .sunset-related-arrow {
    color: var(--sunset-primary);
    transform: translateX(5px);
}

.sunset-related-arrow i {
    font-size: 14px;
}


.sunset-article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding: 40px 50px;
    background: var(--sunset-bg-light);
    border-top: 1px solid var(--sunset-border);
}

.sunset-nav-item2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: var(--sunset-bg);
    border: 2px solid var(--sunset-border);
    border-radius: 15px;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sunset-nav-item2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--sunset-gradient);
    opacity: 0.1;
    transition: left 0.5s ease;
}

.sunset-nav-item2:hover::before {
    left: 0;
}

.sunset-nav-item2:hover {
    border-color: var(--sunset-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--sunset-shadow);
}

.sunset-nav-prev {
    text-align: left;
}

.sunset-nav-next {
    text-align: right;
}

.sunset-nav-direction {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--sunset-text-lighter);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.sunset-nav-prev .sunset-nav-direction {
    justify-content: flex-start;
}

.sunset-nav-next .sunset-nav-direction {
    justify-content: flex-end;
}

.sunset-nav-direction i {
    font-size: 16px;
    color: var(--sunset-primary);
}

.sunset-nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--sunset-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.sunset-nav-item2:hover .sunset-nav-title {
    color: var(--sunset-primary);
}


.sunset-article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sunset-article-sidebar.sunset-sidebar-loaded {
    animation: sunsetSidebarSlideIn 0.8s ease-out 0.3s both;
}

@keyframes sunsetSidebarSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sunset-sidebar-sticky {
    position: sticky;
    top: 100px;
    align-self: start;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 25px;
}


.sunset-sidebar-card {
    background: var(--sunset-bg);
    border-radius: 18px;
    box-shadow: 0 6px 25px var(--sunset-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--sunset-border);
    position: relative;
}

.sunset-sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sunset-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.sunset-sidebar-card:hover::before {
    transform: scaleX(1);
}

.sunset-sidebar-card:hover {
    box-shadow: 0 8px 35px var(--sunset-shadow-dark);
    transform: translateY(-3px);
    border-color: var(--sunset-primary);
}

.sunset-card-header {
    padding: 25px 30px 20px;
    background: var(--sunset-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sunset-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: sunsetCardGlow 12s ease-in-out infinite;
}

@keyframes sunsetCardGlow {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.4;
    }
}

.sunset-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.sunset-card-title i {
    font-size: 20px;
    color: var(--sunset-warm);
}

.sunset-card-body {
    padding: 25px 30px;
}


.sunset-toc {
    max-height: 400px;
    overflow-y: auto;
}

.sunset-toc::-webkit-scrollbar {
    width: 4px;
}

.sunset-toc::-webkit-scrollbar-track {
    background: var(--sunset-bg-light);
    border-radius: 2px;
}

.sunset-toc::-webkit-scrollbar-thumb {
    background: var(--sunset-primary);
    border-radius: 2px;
}

.sunset-toc-placeholder,
.sunset-toc-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--sunset-text-light);
}

.sunset-toc-placeholder i,
.sunset-toc-empty i {
    font-size: 48px;
    color: var(--sunset-border);
    margin-bottom: 15px;
    display: block;
}

.sunset-toc-placeholder p,
.sunset-toc-empty p {
    font-size: 14px;
    margin: 0;
}

.sunset-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sunset-toc-item {
    margin-bottom: 8px;
}

.sunset-toc-link {
    display: block;
    padding: 10px 15px;
    color: var(--sunset-text-light);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sunset-toc-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--sunset-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sunset-toc-link:hover,
.sunset-toc-link.sunset-active {
    background: var(--sunset-bg-light);
    color: var(--sunset-primary);
    transform: translateX(5px);
}

.sunset-toc-link:hover::before,
.sunset-toc-link.sunset-active::before {
    transform: scaleY(1);
}

.sunset-toc-level-1 .sunset-toc-link {
    font-weight: 600;
    font-size: 15px;
}

.sunset-toc-level-2 .sunset-toc-link {
    padding-left: 25px;
    font-size: 14px;
}

.sunset-toc-level-3 .sunset-toc-link {
    padding-left: 35px;
    font-size: 13px;
}

.sunset-toc-level-4 .sunset-toc-link,
.sunset-toc-level-5 .sunset-toc-link,
.sunset-toc-level-6 .sunset-toc-link {
    padding-left: 45px;
    font-size: 12px;
    color: var(--sunset-text-lighter);
}


.sunset-quote-card {
    background: var(--sunset-gradient-light);
    border-color: var(--sunset-accent);
}

.sunset-quote-content {
    text-align: center;
    position: relative;
}

.sunset-quote-icon {
    margin-bottom: 20px;
}

.sunset-quote-icon i {
    font-size: 32px;
    color: var(--sunset-primary);
    opacity: 0.6;
}

.sunset-quote-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--sunset-text);
    margin: 0 0 15px 0;
    font-style: italic;
    position: relative;
    padding: 0 20px;
}

.sunset-quote-text::before,
.sunset-quote-text::after {
    content: '"';
    font-size: 24px;
    color: var(--sunset-primary);
    font-weight: 700;
    position: absolute;
    top: -5px;
}

.sunset-quote-text::before {
    left: 0;
}

.sunset-quote-text::after {
    right: 0;
}

.sunset-quote-author {
    font-size: 13px;
    color: var(--sunset-text-lighter);
    font-weight: 500;
}


.sunset-recent-list {
    max-height: 350px;
    overflow-y: auto;
}

.sunset-recent-list::-webkit-scrollbar {
    width: 4px;
}

.sunset-recent-list::-webkit-scrollbar-track {
    background: var(--sunset-bg-light);
    border-radius: 2px;
}

.sunset-recent-list::-webkit-scrollbar-thumb {
    background: var(--sunset-primary);
    border-radius: 2px;
}

.sunset-recent-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sunset-recent-item:last-child {
    margin-bottom: 0;
}

.sunset-recent-link {
    display: block;
    padding: 15px;
    background: var(--sunset-bg-light);
    border: 2px solid var(--sunset-border);
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sunset-recent-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.4s ease;
}

.sunset-recent-link:hover::before {
    left: 100%;
}

.sunset-recent-link:hover {
    background: var(--sunset-bg);
    border-color: var(--sunset-primary);
    transform: translateX(5px);
    box-shadow: 0 4px 15px var(--sunset-shadow);
}

.sunset-recent-content {
    position: relative;
    z-index: 1;
}

.sunset-recent-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sunset-text);
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.sunset-recent-link:hover .sunset-recent-title {
    color: var(--sunset-primary);
}

.sunset-recent-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--sunset-text-lighter);
}

.sunset-recent-time,
.sunset-recent-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sunset-recent-time i,
.sunset-recent-views i {
    font-size: 11px;
    color: var(--sunset-accent);
}


.sunset-progress-card {
    background: var(--sunset-gradient-light);
    border-color: var(--sunset-accent);
}

.sunset-progress-content {
    text-align: center;
}

.sunset-progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: conic-gradient(var(--sunset-primary) 0deg, var(--sunset-border) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sunset-progress-circle::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: var(--sunset-bg);
    border-radius: 50%;
    z-index: 1;
}

.sunset-progress-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--sunset-gradient);
    border-radius: 50%;
    box-shadow: 0 4px 15px var(--sunset-shadow);
}

.sunset-progress-percent {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.sunset-progress-text {
    color: var(--sunset-text-light);
}

.sunset-progress-text p {
    font-size: 14px;
    margin: 0;
    font-style: italic;
}


.sunset-share-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sunset-share-overlay.sunset-show {
    opacity: 1;
    visibility: visible;
}

.sunset-share-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--sunset-bg);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    width: 90%;
    max-width: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sunset-share-popup.sunset-show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.sunset-share-header {
    padding: 25px 30px 20px;
    background: var(--sunset-gradient);
    color: #fff;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.sunset-share-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: sunsetShareGlow 10s ease-in-out infinite;
}

@keyframes sunsetShareGlow {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
}

.sunset-share-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.sunset-share-title i {
    font-size: 22px;
    color: var(--sunset-warm);
}

.sunset-share-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.sunset-share-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.sunset-share-close i {
    font-size: 18px;
}

.sunset-share-content {
    padding: 30px;
}

.sunset-share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.sunset-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: var(--sunset-bg-light);
    border: 2px solid var(--sunset-border);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--sunset-text-light);
    font-size: 14px;
    font-weight: 500;
}

.sunset-share-btn:hover {
    background: var(--sunset-primary);
    border-color: var(--sunset-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--sunset-shadow-dark);
}

.sunset-share-icon {
    width: 50px;
    height: 50px;
    background: var(--sunset-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.sunset-share-btn:hover .sunset-share-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--sunset-shadow);
}

.sunset-share-icon i {
    font-size: 20px;
}

.sunset-share-url-section {
    border-top: 1px solid var(--sunset-border);
    padding-top: 25px;
}

.sunset-share-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--sunset-text);
    margin-bottom: 10px;
}

.sunset-share-url-wrapper {
    display: flex;
    gap: 10px;
}

.sunset-share-url {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--sunset-border);
    border-radius: 12px;
    font-size: 14px;
    color: var(--sunset-text-light);
    background: var(--sunset-bg-light);
    outline: none;
    transition: border-color 0.3s ease;
}

.sunset-share-url:focus {
    border-color: var(--sunset-primary);
}

.sunset-share-copy {
    padding: 12px 20px;
    background: var(--sunset-gradient);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sunset-share-copy:hover {
    background: linear-gradient(135deg, var(--sunset-secondary) 0%, var(--sunset-accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--sunset-shadow);
}

.sunset-share-copy i {
    font-size: 16px;
}


.sunset-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--sunset-gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 8px 25px var(--sunset-shadow-dark);
}

.sunset-back-to-top.sunset-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sunset-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--sunset-shadow-dark);
}

.sunset-back-to-top.sunset-clicked {
    transform: scale(0.9);
}

.sunset-back-icon {
    margin-bottom: 2px;
}

.sunset-back-icon i {
    font-size: 20px;
}

.sunset-back-text {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
}


.sunset-touch-active {
    transform: scale(0.95) !important;
}


@media (max-width: 1024px) {
    .sunset-article-container {
        padding: 0 20px;
    }

    .sunset-article-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sunset-article-sidebar {
        order: 1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .sunset-sidebar-sticky {
        position: static;
        max-height: none;
    }

    .sunset-article-header {
        padding: 30px 40px 25px;
    }

    .sunset-article-title {
        font-size: 32px;
    }

    .sunset-article-body {
        padding: 40px;
    }

    .sunset-related-section {
        padding: 30px 40px;
    }

    .sunset-article-nav {
        padding: 30px 40px;
    }

    .sunset-article-footer {
        padding: 30px 40px;
    }
}

@media (max-width: 768px) {
    .sunset-article-container {
        padding: 0 15px;
    }

    .sunset-breadcrumb-container {
        padding: 10px 15px;
        font-size: 13px;
    }

    .sunset-article-sidebar {
        grid-template-columns: 1fr;
    }

    .sunset-article-header {
        padding: 25px 30px 20px;
    }

    .sunset-article-title {
        font-size: 28px;
    }

    .sunset-meta-group {
        gap: 15px;
    }

    .sunset-meta-item {
        font-size: 13px;
    }

    .sunset-article-body {
        padding: 30px;
    }

    .sunset-content-wrapper {
        font-size: 15px;
    }

    .sunset-content-wrapper h1 {
        font-size: 28px;
    }

    .sunset-content-wrapper h2 {
        font-size: 24px;
    }

    .sunset-content-wrapper h3 {
        font-size: 20px;
    }

    .sunset-article-actions {
        gap: 15px;
    }

    .sunset-action-btn {
        padding: 12px 20px;
        min-width: 100px;
        font-size: 13px;
    }

    .sunset-related-section {
        padding: 25px 30px;
    }

    .sunset-related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sunset-article-nav {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 25px 30px;
    }

    .sunset-article-footer {
        padding: 25px 30px;
    }

    .sunset-card-body {
        padding: 20px 25px;
    }

    .sunset-share-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .sunset-share-content {
        padding: 25px;
    }

    .sunset-back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .sunset-back-icon i {
        font-size: 18px;
    }

    .sunset-back-text {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .sunset-article-container {
        padding: 0 12px;
    }

    .sunset-breadcrumb-container {
        padding: 8px 12px;
        font-size: 12px;
        flex-wrap: wrap;
    }

    .sunset-article-header {
        padding: 20px 25px 15px;
    }

    .sunset-article-title {
        font-size: 24px;
    }

    .sunset-meta-group {
        flex-direction: column;
        gap: 10px;
    }

    .sunset-article-tags {
        justify-content: center;
    }

    .sunset-article-body {
        padding: 25px 20px;
    }

    .sunset-content-wrapper {
        font-size: 14px;
    }

    .sunset-content-wrapper h1,
    .sunset-content-wrapper h2,
    .sunset-content-wrapper h3,
    .sunset-content-wrapper h4,
    .sunset-content-wrapper h5,
    .sunset-content-wrapper h6 {
        padding-left: 15px;
    }

    .sunset-content-wrapper h1 {
        font-size: 24px;
    }

    .sunset-content-wrapper h2 {
        font-size: 20px;
    }

    .sunset-content-wrapper h3 {
        font-size: 18px;
    }

    .sunset-article-actions {
        flex-direction: column;
        gap: 12px;
    }

    .sunset-action-btn {
        width: 100%;
        padding: 15px 20px;
    }

    .sunset-related-section {
        padding: 20px 25px;
    }

    .sunset-section-title {
        font-size: 20px;
        flex-direction: column;
        gap: 8px;
    }

    .sunset-article-nav {
        padding: 20px 25px;
    }

    .sunset-article-footer {
        padding: 20px 25px;
    }

    .sunset-card-header {
        padding: 20px 25px 15px;
    }

    .sunset-card-title {
        font-size: 16px;
    }

    .sunset-card-body {
        padding: 15px 20px;
    }

    .sunset-share-popup {
        width: 95%;
        margin: 0 2.5%;
    }

    .sunset-share-header {
        padding: 20px 25px 15px;
    }

    .sunset-share-title {
        font-size: 18px;
    }

    .sunset-share-content {
        padding: 20px;
    }

    .sunset-share-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .sunset-share-btn {
        padding: 15px 10px;
        font-size: 13px;
    }

    .sunset-share-icon {
        width: 40px;
        height: 40px;
    }

    .sunset-share-icon i {
        font-size: 18px;
    }

    .sunset-back-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }

    .sunset-back-icon i {
        font-size: 16px;
    }

    .sunset-back-text {
        font-size: 8px;
    }
}


.sunset-article-main:focus-within {
    outline: 2px solid var(--sunset-accent);
    outline-offset: 2px;
}

.sunset-action-btn:focus,
.sunset-toc-link:focus,
.sunset-recent-link:focus,
.sunset-related-link:focus,
.sunset-nav-item2:focus,
.sunset-share-btn:focus,
.sunset-back-to-top:focus {
    outline: 2px solid var(--sunset-accent);
    outline-offset: 2px;
}


@media (prefers-contrast: high) {

    .sunset-article-content,
    .sunset-sidebar-card,
    .sunset-related-item,
    .sunset-nav-item2,
    .sunset-recent-link {
        border-width: 3px;
    }
}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .sunset-article-main::before,
    .sunset-article-header::before,
    .sunset-card-header::before,
    .sunset-share-header::before,
    .sunset-decoration-sun {
        display: none;
    }
}


.sunset-article-main ::selection {
    background: var(--sunset-accent);
    color: #fff;
}

.sunset-article-main ::-moz-selection {
    background: var(--sunset-accent);
    color: #fff;
}


.sunset-article-main * {
    box-sizing: border-box;
}


.sunset-article-content,
.sunset-sidebar-card,
.sunset-related-item,
.sunset-nav-item2,
.sunset-action-btn,
.sunset-recent-link,
.sunset-toc-link,
.sunset-share-btn,
.sunset-back-to-top {
    will-change: transform;
    backface-visibility: hidden;
}


@media print {
    .sunset-article-main {
        background: #fff !important;
        color: #000 !important;
    }

    .sunset-article-header {
        background: #f0f0f0 !important;
        color: #000 !important;
        border: 2px solid #000;
    }

    .sunset-article-sidebar,
    .sunset-article-actions,
    .sunset-share-popup,
    .sunset-back-to-top {
        display: none !important;
    }

    .sunset-article-layout {
        grid-template-columns: 1fr !important;
    }

    .sunset-article-content {
        break-inside: avoid;
        border: 1px solid #000 !important;
    }
}


.sunset-loading {
    opacity: 0.6;
    pointer-events: none;
}

.sunset-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid var(--sunset-border);
    border-top-color: var(--sunset-primary);
    border-radius: 50%;
    animation: sunsetSpin 1s linear infinite;
}

@keyframes sunsetSpin {
    to {
        transform: rotate(360deg);
    }
}


.sunset-article-main::-webkit-scrollbar {
    width: 8px;
}

.sunset-article-main::-webkit-scrollbar-track {
    background: var(--sunset-bg-light);
}

.sunset-article-main::-webkit-scrollbar-thumb {
    background: var(--sunset-primary);
    border-radius: 4px;
}

.sunset-article-main::-webkit-scrollbar-thumb:hover {
    background: var(--sunset-secondary);
}


@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');


/*
.sunset-article-main {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.sunset-article-title,
.sunset-content-wrapper h1,
.sunset-content-wrapper h2,
.sunset-content-wrapper h3,
.sunset-content-wrapper h4,
.sunset-content-wrapper h5,
.sunset-content-wrapper h6 {
    font-family: 'Noto Serif SC', Georgia, 'Times New Roman', Times, serif;
}
*/


@media (prefers-color-scheme: dark) {
    :root {
        --sunset-bg: #1a120b;
        --sunset-bg-light: #2c1810;
        --sunset-text: #f8f3e6;
        --sunset-text-light: #e6d5c3;
        --sunset-text-lighter: #cd853f;
        --sunset-border: #5a3825;
        --sunset-shadow: rgba(255, 107, 53, 0.25);
        --sunset-shadow-dark: rgba(255, 107, 53, 0.35);
    }

    .sunset-article-content,
    .sunset-sidebar-card,
    .sunset-related-item,
    .sunset-nav-item2,
    .sunset-recent-link {
        border-color: var(--sunset-border);
    }

    .sunset-content-wrapper code {
        background: var(--sunset-bg-light);
        border-color: var(--sunset-border);
    }

    .sunset-content-wrapper pre {
        background: #1e293b;
        border-color: #334155;
    }

    .sunset-code-copy {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .sunset-content-wrapper table {
        background: var(--sunset-bg-light);
    }

    .sunset-content-wrapper th {
        background: var(--sunset-gradient);
    }

    .sunset-content-wrapper tr:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .sunset-share-url {
        background: var(--sunset-bg-light);
        border-color: var(--sunset-border);
        color: var(--sunset-text-light);
    }
}


.sunset-article-main :focus-visible {
    outline: 2px solid var(--sunset-accent);
    outline-offset: 2px;
}


.sunset-content-wrapper img[data-src] {
    background: var(--sunset-bg-light);
    background-image: linear-gradient(45deg, var(--sunset-border) 25%, transparent 25%, transparent 75%, var(--sunset-border) 75%, var(--sunset-border)),
        linear-gradient(45deg, var(--sunset-border) 25%, transparent 25%, transparent 75%, var(--sunset-border) 75%, var(--sunset-border));
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    animation: sunsetPlaceholderPulse 2s ease-in-out infinite;
}

@keyframes sunsetPlaceholderPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
    }
}


.sunset-text-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sunset-text-truncate-1 {
    -webkit-line-clamp: 1;
}

.sunset-text-truncate-3 {
    -webkit-line-clamp: 3;
}


.sunset-text-primary {
    color: var(--sunset-primary) !important;
}

.sunset-text-secondary {
    color: var(--sunset-secondary) !important;
}

.sunset-text-accent {
    color: var(--sunset-accent) !important;
}

.sunset-bg-primary {
    background: var(--sunset-primary) !important;
}

.sunset-bg-secondary {
    background: var(--sunset-secondary) !important;
}

.sunset-bg-accent {
    background: var(--sunset-accent) !important;
}

.sunset-border-primary {
    border-color: var(--sunset-primary) !important;
}

.sunset-border-secondary {
    border-color: var(--sunset-secondary) !important;
}

.sunset-shadow {
    box-shadow: 0 4px 15px var(--sunset-shadow) !important;
}

.sunset-shadow-lg {
    box-shadow: 0 8px 25px var(--sunset-shadow-dark) !important;
}

.sunset-rounded {
    border-radius: 12px !important;
}

.sunset-rounded-lg {
    border-radius: 20px !important;
}

.sunset-transition {
    transition: all 0.3s ease !important;
}

.sunset-transform-hover:hover {
    transform: translateY(-2px) !important;
}

.sunset-opacity-hover:hover {
    opacity: 0.8 !important;
}


.sunset-delay-100 {
    animation-delay: 100ms !important;
}

.sunset-delay-200 {
    animation-delay: 200ms !important;
}

.sunset-delay-300 {
    animation-delay: 300ms !important;
}

.sunset-delay-400 {
    animation-delay: 400ms !important;
}

.sunset-delay-500 {
    animation-delay: 500ms !important;
}


.sunset-grid {
    display: grid !important;
}

.sunset-grid-1 {
    grid-template-columns: 1fr !important;
}

.sunset-grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.sunset-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.sunset-grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.sunset-gap-10 {
    gap: 10px !important;
}

.sunset-gap-20 {
    gap: 20px !important;
}

.sunset-gap-30 {
    gap: 30px !important;
}


.sunset-flex {
    display: flex !important;
}

.sunset-flex-col {
    flex-direction: column !important;
}

.sunset-items-center {
    align-items: center !important;
}

.sunset-justify-center {
    justify-content: center !important;
}

.sunset-justify-between {
    justify-content: space-between !important;
}

.sunset-gap-8 {
    gap: 8px !important;
}

.sunset-gap-12 {
    gap: 12px !important;
}

.sunset-gap-16 {
    gap: 16px !important;
}


.sunset-mt-10 {
    margin-top: 10px !important;
}

.sunset-mt-20 {
    margin-top: 20px !important;
}

.sunset-mt-30 {
    margin-top: 30px !important;
}

.sunset-mb-10 {
    margin-bottom: 10px !important;
}

.sunset-mb-20 {
    margin-bottom: 20px !important;
}

.sunset-mb-30 {
    margin-bottom: 30px !important;
}

.sunset-ml-10 {
    margin-left: 10px !important;
}

.sunset-ml-20 {
    margin-left: 20px !important;
}

.sunset-mr-10 {
    margin-right: 10px !important;
}

.sunset-mr-20 {
    margin-right: 20px !important;
}

.sunset-p-10 {
    padding: 10px !important;
}

.sunset-p-20 {
    padding: 20px !important;
}

.sunset-p-30 {
    padding: 30px !important;
}

.sunset-pt-10 {
    padding-top: 10px !important;
}

.sunset-pt-20 {
    padding-top: 20px !important;
}

.sunset-pb-10 {
    padding-bottom: 10px !important;
}

.sunset-pb-20 {
    padding-bottom: 20px !important;
}

.sunset-pl-10 {
    padding-left: 10px !important;
}

.sunset-pl-20 {
    padding-left: 20px !important;
}

.sunset-pr-10 {
    padding-right: 10px !important;
}

.sunset-pr-20 {
    padding-right: 20px !important;
}


.sunset-text-center {
    text-align: center !important;
}

.sunset-text-left {
    text-align: left !important;
}

.sunset-text-right {
    text-align: right !important;
}

.sunset-text-bold {
    font-weight: 700 !important;
}

.sunset-text-semibold {
    font-weight: 600 !important;
}

.sunset-text-medium {
    font-weight: 500 !important;
}

.sunset-text-normal {
    font-weight: 400 !important;
}

.sunset-text-sm {
    font-size: 14px !important;
}

.sunset-text-md {
    font-size: 16px !important;
}

.sunset-text-lg {
    font-size: 18px !important;
}

.sunset-text-xl {
    font-size: 20px !important;
}

.sunset-text-2xl {
    font-size: 24px !important;
}


.sunset-hidden {
    display: none !important;
}

.sunset-block {
    display: block !important;
}

.sunset-inline-block {
    display: inline-block !important;
}

.sunset-flex {
    display: flex !important;
}

.sunset-inline-flex {
    display: inline-flex !important;
}


.sunset-hidden-mobile {
    display: block !important;
}

.sunset-hidden-desktop {
    display: none !important;
}

@media (max-width: 768px) {
    .sunset-hidden-mobile {
        display: none !important;
    }

    .sunset-hidden-desktop {
        display: block !important;
    }
}


.sunset-will-change {
    will-change: transform, opacity;
}

.sunset-backface-hidden {
    backface-visibility: hidden;
}

.sunset-transform-3d {
    transform: translate3d(0, 0, 0);
}


@media print {
    .sunset-article-main {
        color: #000 !important;
        background: #fff !important;
    }

    .sunset-article-header {
        background: #f5f5f5 !important;
        color: #000 !important;
        border: 2px solid #000 !important;
    }

    .sunset-article-content,
    .sunset-sidebar-card,
    .sunset-related-item,
    .sunset-nav-item2 {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }

    .sunset-action-btn,
    .sunset-share-popup,
    .sunset-back-to-top {
        display: none !important;
    }

    .sunset-content-wrapper a {
        color: #000 !important;
        text-decoration: underline !important;
    }

    .sunset-content-wrapper a::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        color: #666;
    }
}


.sunset-gpu {
    transform: translateZ(0);
}


.sunset-clearfix::after {
    content: "";
    display: table;
    clear: both;
}


.sunset-article-main ::selection {
    background: var(--sunset-accent);
    color: #fff;
    text-shadow: none;
}

.sunset-article-main ::-moz-selection {
    background: var(--sunset-accent);
    color: #fff;
    text-shadow: none;
}


.sunset-article-main.sunset-user-interacted * {
    animation-play-state: running !important;
}

.sunset-content-wrapper * {
    opacity: unset;
    transform: translateY(20px);
    transition: all 0.6s ease;
}