* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}
.daylight-text-break {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
html {
    overflow-x: hidden;
}

body.daylight-theme {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background:
        radial-gradient(ellipse at 20% 10%, #87CEEB 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, #98D8E8 0%, transparent 60%),
        radial-gradient(ellipse at 40% 80%, #B0E0E6 0%, transparent 40%),
        linear-gradient(180deg, #87CEEB 0%, #98D8E8 40%, #E0F6FF 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

body.daylight-theme::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 60%;
    background:
        radial-gradient(ellipse at 85% 15%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.1) 50%, transparent 70%),
        radial-gradient(ellipse at 70% 25%, rgba(173, 216, 230, 0.3) 0%, transparent 40%);
    z-index: -2;
    pointer-events: none;
}

.daylight-site-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    box-sizing: border-box;
}

.daylight-breadcrumb {
    margin-bottom: 20px;
    width: 100%;
    overflow: hidden;
}

.daylight-breadcrumb-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.daylight-breadcrumb-item {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
    
    word-wrap: break-word;
    overflow-wrap: break-word;
    cursor: pointer;
    position: relative;
    z-index: 1;
    
    pointer-events: auto;
}


.daylight-breadcrumb-item:hover {
    color: #0056b3;
}

.daylight-breadcrumb-separator {
    color: #6c757d;
    margin: 0 8px;
}

.daylight-breadcrumb-current {
    color: #343a40;
    font-weight: 500;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.daylight-site-layout {
    display: grid;
    gap: 20px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-site-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.daylight-article-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.1);
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.daylight-article-header {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    overflow: hidden;
}

.daylight-article-title {
    font-size: 28px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 20px;
    line-height: 1.4;

    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;

    max-width: 100% !important;
    width: 100%;
    overflow: hidden;
    white-space: normal;
}

.daylight-article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
}

.daylight-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 14px;
    background: rgba(0, 123, 255, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: hidden;
    word-break: break-all;
    white-space: nowrap;
}

.daylight-meta-item:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.daylight-meta-item i {
    color: #007bff;
    flex-shrink: 0;
}

.daylight-category-tag {
    text-decoration: none;
    transition: all 0.3s ease;
}

.daylight-category-tag:hover {
    background: rgba(0, 123, 255, 0.15);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.2);
}

.daylight-article-content {
    color: #495057;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 30px;
    width: 100%;
    overflow: hidden;

    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.daylight-article-content h1,
.daylight-article-content h2,
.daylight-article-content h3,
.daylight-article-content h4,
.daylight-article-content h5,
.daylight-article-content h6 {
    color: #343a40;
    margin: 25px 0 15px 0;
    font-weight: 600;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

.daylight-article-content h2 {
    font-size: 22px;
    border-left: 4px solid #007bff;
    padding-left: 15px;
}

.daylight-article-content h3 {
    font-size: 20px;
}

.daylight-article-content p {
    margin-bottom: 16px;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

.daylight-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.daylight-article-content blockquote {
    background: rgba(0, 123, 255, 0.05);
    border-left: 4px solid #007bff;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #6c757d;
}

.daylight-article-content code {
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.1);
    word-break: break-all;
}

.daylight-article-content pre {
    background: rgba(248, 249, 250, 0.8);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.daylight-article-content pre code {
    background: none;
    padding: 0;
    border: none;
    color: #495057;
}

.daylight-article-content ul,
.daylight-article-content ol {
    padding-left: 25px;
    margin-bottom: 16px;
}

.daylight-article-content li {
    margin-bottom: 8px;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

.daylight-article-content a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

.daylight-article-content a:hover {
    color: #0056b3;
    border-bottom-color: rgba(0, 123, 255, 0.8);
}

.daylight-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.daylight-article-content table th,
.daylight-article-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    word-break: break-all;
}

.daylight-article-content table th {
    background: rgba(0, 123, 255, 0.1);
    color: #343a40;
    font-weight: 600;
}

.daylight-article-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
}

.daylight-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
}

.daylight-btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border: 1px solid rgba(0, 123, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.daylight-btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.daylight-btn-secondary {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.daylight-btn-secondary:hover,
.daylight-btn-secondary.daylight-liked {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
}

.daylight-like-btn.animate {
    animation: daylight-like-animation 0.3s ease;
}

@keyframes daylight-like-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.daylight-article-navigation {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.daylight-nav-item {
    flex: 1;
    text-align: center;
    min-width: 0;
    overflow: hidden;
}

.daylight-nav-link {
    display: block;
    padding: 15px;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-nav-link:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.daylight-nav-label {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.daylight-nav-title {
    font-size: 14px;
    font-weight: 500;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

.daylight-nav-empty {
    color: rgba(108, 117, 125, 0.5);
    padding: 15px;
    display: block;
    font-style: italic;
}

.daylight-related-articles {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.1);
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-related-title {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-all;
}

.daylight-related-title i {
    color: #007bff;
    flex-shrink: 0;
}

.daylight-related-list {
    list-style: none;
    width: 100%;
    overflow: hidden;
}

.daylight-related-item {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-related-item:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
}

.daylight-related-item:last-child {
    margin-bottom: 0;
}

.daylight-related-link {
    color: #495057;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

.daylight-related-link:hover {
    color: #007bff;
}

.daylight-related-meta {
    font-size: 12px;
    color: #6c757d;
    margin-top: 8px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.daylight-site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.daylight-sidebar-sticky {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    overflow: hidden;
}

.daylight-sidebar-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.1);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.daylight-card-header {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 1px;
}

.daylight-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #343a40;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    width: 100%;
    overflow: hidden;
    word-break: break-all;
}

.daylight-card-title i {
    color: #007bff;
    font-size: 18px;
    flex-shrink: 0;
}

.daylight-article-info {
    padding: 20px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    width: 100%;
    overflow: hidden;
    gap: 10px;
}

.daylight-info-item:last-child {
    border-bottom: none;
}

.daylight-info-label {
    color: #6c757d;
    font-size: 14px;
    flex-shrink: 0;
    min-width: 60px;
}

.daylight-info-value {
    color: #495057;
    font-weight: 500;
    flex: 1;
    text-align: right;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

.daylight-info-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
}

.daylight-info-link:hover {
    color: #0056b3;
}

.daylight-tags-list {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-tag-item {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.2);
    word-break: break-all;
    white-space: nowrap;
}

.daylight-tag-item:hover {
    background: rgba(0, 123, 255, 0.2);
    color: #0056b3;
    border-color: rgba(0, 123, 255, 0.3);
}

.daylight-share-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.daylight-share-overlay.show {
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.daylight-share-popup {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 123, 255, 0.2);
    min-width: 400px;
    max-width: 90vw;
    overflow: hidden;
    box-sizing: border-box;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.daylight-share-overlay.show .daylight-share-popup {
    transform: scale(1);
}

.daylight-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-share-title {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    margin: 0;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    word-break: break-all;
}

.daylight-share-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.daylight-share-close:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.daylight-share-content {
    padding: 25px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-share-url-section {
    display: flex;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.daylight-share-url {
    flex: 1;
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    color: #495057;
    line-height: 1.4;
    min-width: 0;
    overflow: hidden;

    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    white-space: normal;
}

.daylight-share-copy {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    flex-shrink: 0;
}

.daylight-share-copy:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.daylight-share-options {
    display: grid;
    gap: 15px;
    width: 100%;
    overflow: hidden;
}

.daylight-share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(0, 123, 255, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-share-option:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
}

.daylight-share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.daylight-share-icon.daylight-weibo {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.daylight-share-icon.daylight-qq {
    background: linear-gradient(135deg, #12b7f5, #0e9fe5);
}

.daylight-share-icon.daylight-qzone {
    background: linear-gradient(135deg, #ffd93d, #ff9500);
}

.daylight-share-option span {
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    word-break: break-all;
}

.daylight-no-scroll {
    overflow: hidden;
}

.daylight-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999; 
    max-width: 400px;
    width: auto;
    pointer-events: none; 

}

.daylight-toast {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 12px 20px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    min-width: 250px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.daylight-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.daylight-toast.daylight-info {
    border-color: rgba(0, 123, 255, 0.2);
    background: rgba(0, 123, 255, 0.05);
}

.daylight-toast.daylight-success {
    border-color: rgba(40, 167, 69, 0.2);
    background: rgba(40, 167, 69, 0.05);
}

.daylight-toast.daylight-error {
    border-color: rgba(220, 53, 69, 0.2);
    background: rgba(220, 53, 69, 0.05);
}

.daylight-toast.daylight-warning {
    border-color: rgba(255, 193, 7, 0.2);
    background: rgba(255, 193, 7, 0.05);
}

.daylight-toast-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.daylight-toast.daylight-info .daylight-toast-icon {
    color: #007bff;
}

.daylight-toast.daylight-success .daylight-toast-icon {
    color: #28a745;
}

.daylight-toast.daylight-error .daylight-toast-icon {
    color: #dc3545;
}

.daylight-toast.daylight-warning .daylight-toast-icon {
    color: #ffc107;
}

.daylight-toast-text {
    font-size: 14px;
    color: #495057;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    overflow: hidden;

    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
}

@media (max-width: 768px) {
    .daylight-site-container {
        padding: 15px;
    }

    .daylight-site-layout {
        gap: 15px;
    }

    .daylight-article-card {
        padding: 20px;
    }

    .daylight-article-title {
        font-size: 22px;
        text-align: left;
    }

    .daylight-article-header {
        text-align: left;
        margin-bottom: 25px;
    }

    .daylight-article-meta {
        justify-content: flex-start;
        gap: 10px;
    }

    .daylight-meta-item {
        font-size: 12px;
        padding: 4px 8px;
    }

    .daylight-article-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .daylight-article-content h2 {
        font-size: 20px;
    }

    .daylight-article-content h3 {
        font-size: 18px;
    }

    .daylight-article-actions {
        justify-content: flex-start;
        gap: 10px;
    }

    .daylight-action-btn {
        font-size: 13px;
        padding: 10px 16px;
    }

    .daylight-article-navigation {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    .daylight-nav-item {
        text-align: left;
    }

    .daylight-nav-link {
        padding: 12px;
    }

    .daylight-nav-title {
        font-size: 13px;
    }

    .daylight-related-articles {
        padding: 20px;
    }

    .daylight-related-title {
        font-size: 16px;
    }

    .daylight-related-item {
        padding: 12px;
    }

    .daylight-related-link {
        font-size: 14px;
    }

    .daylight-sidebar-sticky {
        position: static;
        top: auto;
    }

    .daylight-card-header {
        padding: 12px 15px;
    }

    .daylight-card-title {
        font-size: 15px;
    }

    .daylight-article-info {
        padding: 15px;
    }

    .daylight-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .daylight-info-label {
        font-size: 13px;
        min-width: auto;
    }

    .daylight-info-value {
        text-align: left;
        font-size: 13px;
    }

    .daylight-tags-list {
        padding: 15px;
    }

    .daylight-tag-item {
        font-size: 11px;
        padding: 3px 6px;
    }

    .daylight-share-popup {
        min-width: 300px;
        margin: 20px;
        max-width: calc(100vw - 40px);
    }

    .daylight-share-header {
        padding: 15px 20px;
    }

    .daylight-share-title {
        font-size: 16px;
    }

    .daylight-share-content {
        padding: 20px;
    }

    .daylight-share-url-section {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .daylight-share-url {
        font-size: 13px;
        padding: 10px 12px;
    }

    .daylight-share-copy {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 10px 16px;
    }

    .daylight-share-options {
        gap: 10px;
    }

    .daylight-share-option {
        padding: 12px;
    }

    .daylight-share-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .daylight-share-option span {
        font-size: 12px;
    }

    .daylight-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .daylight-toast {
        min-width: auto;
        width: 100%;
        max-width: none;
    }

    .daylight-toast-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .daylight-site-container {
        padding: 10px;
    }

    .daylight-breadcrumb-content {
        padding: 8px 12px;
        font-size: 12px;
    }

    .daylight-article-card {
        padding: 15px;
    }

    .daylight-article-title {
        font-size: 20px;
    }

    .daylight-article-content {
        font-size: 14px;
    }

    .daylight-article-content h2 {
        font-size: 18px;
    }

    .daylight-article-content h3 {
        font-size: 16px;
    }

    .daylight-meta-item {
        font-size: 11px;
        padding: 3px 6px;
    }

    .daylight-action-btn {
        font-size: 12px;
        padding: 8px 12px;
    }

    .daylight-article-navigation {
        padding: 12px;
    }

    .daylight-nav-link {
        padding: 10px;
    }

    .daylight-nav-title {
        font-size: 12px;
    }

    .daylight-related-articles {
        padding: 15px;
    }

    .daylight-related-title {
        font-size: 15px;
    }

    .daylight-related-item {
        padding: 10px;
    }

    .daylight-related-link {
        font-size: 13px;
    }

    .daylight-related-meta {
        font-size: 11px;
    }

    .daylight-share-popup {
        min-width: 280px;
        margin: 15px;
        max-width: calc(100vw - 30px);
    }

    .daylight-share-header {
        padding: 12px 15px;
    }

    .daylight-share-title {
        font-size: 15px;
    }

    .daylight-share-content {
        padding: 15px;
    }

    .daylight-share-url {
        font-size: 12px;
        padding: 8px 10px;
    }

    .daylight-share-copy {
        font-size: 12px;
        padding: 8px 12px;
    }

    .daylight-share-option {
        padding: 10px;
    }

    .daylight-share-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .daylight-share-option span {
        font-size: 11px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .daylight-site-layout {
        gap: 18px;
    }

    .daylight-site-container {
        padding: 18px;
    }

    .daylight-article-title {
        font-size: 26px;
    }

    .daylight-article-content {
        font-size: 15px;
    }
}

@media (min-width: 1400px) {
    .daylight-site-container {
        max-width: 1400px;
    }

    .daylight-site-layout {
        gap: 30px;
    }

    .daylight-article-card {
        padding: 35px;
    }

    .daylight-article-title {
        font-size: 30px;
    }

    .daylight-article-content {
        font-size: 17px;
    }

    .daylight-article-navigation {
        padding: 25px;
    }

    .daylight-related-articles {
        padding: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .daylight-toast,
    .daylight-share-popup,
    .daylight-share-overlay,
    .daylight-action-btn,
    .daylight-nav-link,
    .daylight-related-item,
    .daylight-share-option,
    .daylight-tag-item {
        transition: none !important;
        animation: none !important;
    }

    .daylight-like-btn.animate {
        animation: none !important;
    }
}


@media (prefers-contrast: high) {
    body.daylight-theme {
        background: #fff !important;
        color: #000 !important;
    }

    body.daylight-theme::before {
        display: none !important;
    }

    .daylight-article-card,
    .daylight-article-navigation,
    .daylight-related-articles,
    .daylight-sidebar-card {
        background: #fff !important;
        border: 2px solid #000 !important;
        box-shadow: none !important;
    }

    .daylight-breadcrumb-content {
        background: #fff !important;
        border: 2px solid #000 !important;
    }

    .daylight-article-title,
    .daylight-related-title,
    .daylight-card-title {
        color: #000 !important;
    }

    .daylight-action-btn,
    .daylight-nav-link,
    .daylight-related-item {
        background: #fff !important;
        border: 1px solid #000 !important;
        color: #000 !important;
    }

    .daylight-btn-primary {
        background: #000 !important;
        color: #fff !important;
    }
}


@media print {
    body.daylight-theme::before {
        display: none !important;
    }

    .daylight-site-sidebar,
    .daylight-share-overlay,
    .daylight-share-popup,
    .daylight-toast-container,
    .daylight-article-actions {
        display: none !important;
    }

    body.daylight-theme {
        background: #fff !important;
        color: #000 !important;
    }

    .daylight-site-layout {
        gap: 20px !important;
    }

    .daylight-site-container {
        max-width: none !important;
        padding: 0 !important;
    }

    .daylight-article-card,
    .daylight-article-navigation,
    .daylight-related-articles {
        background: #fff !important;
        border: 1px solid #000 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
        margin-bottom: 20px;
    }

    .daylight-breadcrumb {
        display: none !important;
    }

    .daylight-article-title {
        color: #000 !important;
        font-size: 24px !important;
    }

    .daylight-related-title {
        color: #000 !important;
        font-size: 16px !important;
    }
}


.daylight-action-btn:focus,
.daylight-nav-link:focus,
.daylight-related-link:focus,
.daylight-share-close:focus,
.daylight-share-copy:focus,
.daylight-share-option:focus,
.daylight-tag-item:focus,
.daylight-info-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.daylight-action-btn:focus-visible,
.daylight-nav-link:focus-visible,
.daylight-related-link:focus-visible,
.daylight-share-close:focus-visible,
.daylight-share-copy:focus-visible,
.daylight-share-option:focus-visible,
.daylight-tag-item:focus-visible,
.daylight-info-link:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}


.daylight-site-container ::selection {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.daylight-site-container ::-moz-selection {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}


.daylight-site-container ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.daylight-site-container ::-webkit-scrollbar-track {
    background: rgba(0, 123, 255, 0.1);
    border-radius: 4px;
}

.daylight-site-container ::-webkit-scrollbar-thumb {
    background: rgba(0, 123, 255, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.daylight-site-container ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 123, 255, 0.5);
}


@media (prefers-color-scheme: dark) {
    body.daylight-theme {
        background:
            radial-gradient(ellipse at 20% 10%, #1e3a8a 0%, transparent 50%),
            radial-gradient(ellipse at 80% 30%, #1e40af 0%, transparent 60%),
            radial-gradient(ellipse at 40% 80%, #1d4ed8 0%, transparent 40%),
            linear-gradient(180deg, #1e3a8a 0%, #1e40af 40%, #1d4ed8 100%);
        color: #e5e7eb;
    }

    .daylight-article-card,
    .daylight-article-navigation,
    .daylight-related-articles,
    .daylight-sidebar-card {
        background: rgba(31, 41, 55, 0.95);
        border-color: rgba(59, 130, 246, 0.2);
        color: #e5e7eb;
    }

    .daylight-breadcrumb-content {
        background: rgba(31, 41, 55, 0.9);
        border-color: rgba(59, 130, 246, 0.2);
        color: #e5e7eb;
    }

    .daylight-article-title,
    .daylight-related-title,
    .daylight-card-title {
        color: #f9fafb;
    }

    .daylight-article-content {
        color: #d1d5db;
    }

    .daylight-article-content h1,
    .daylight-article-content h2,
    .daylight-article-content h3,
    .daylight-article-content h4,
    .daylight-article-content h5,
    .daylight-article-content h6 {
        color: #f9fafb;
    }
}


.daylight-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #007bff;
    width: 100%;
    overflow: hidden;
}

.daylight-loading i {
    font-size: 24px;
    animation: daylight-spin 1s linear infinite;
}

@keyframes daylight-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.daylight-error {
    text-align: center;
    padding: 40px 20px;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
    border-radius: 8px;
    border: 1px dashed rgba(220, 53, 69, 0.2);
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.daylight-error i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.daylight-error h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #dc3545;
    word-break: break-all;
}

.daylight-error p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    word-break: break-all;
}


.daylight-site-container,
.daylight-site-container * {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}


.daylight-share-url,
.daylight-article-content a[href*="http"],
.daylight-article-content a[href*="www"] {
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    hyphens: none !important;
}