* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: 
        radial-gradient(ellipse at 20% 10%, #1a1a3a 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, #16213e 0%, transparent 60%),
        radial-gradient(ellipse at 40% 80%, #0f1419 0%, transparent 40%),
        linear-gradient(180deg, #0a0a1a 0%, #0d1117 40%, #000 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 60%;
    background: 
        radial-gradient(ellipse at 85% 15%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.02) 50%, transparent 70%),
        radial-gradient(ellipse at 70% 25%, rgba(173, 216, 230, 0.08) 0%, transparent 40%);
    z-index: -2;
    pointer-events: none;
}

.crystal-site-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.crystal-bg-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.crystal-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: float 20s ease-in-out infinite;
}

.crystal-shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.crystal-shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 7s;
}

.crystal-shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 60%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.crystal-site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.crystal-breadcrumb {
    margin-bottom: 20px;
}

.crystal-breadcrumb-content {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.crystal-breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.crystal-breadcrumb-item:hover {
    color: rgba(173, 216, 230, 0.9);
}

.crystal-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

.crystal-breadcrumb-current {
    color: rgba(173, 216, 230, 0.9);
}

.crystal-site-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.crystal-site-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.crystal-site-header-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.crystal-site-hero {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.crystal-site-icon {
    flex-shrink: 0;
}

.crystal-site-icon img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.crystal-site-info {
    flex: 1;
    min-width: 0;
}

.crystal-site-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
    word-wrap: break-word;
}

.crystal-site-title i {
    color: rgba(173, 216, 230, 0.8);
}

.crystal-site-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    word-wrap: break-word;
}

.crystal-site-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.crystal-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.crystal-site-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.crystal-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;
}

.crystal-btn-primary {
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.8), rgba(173, 216, 230, 0.6));
    color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(173, 216, 230, 0.8);
}

.crystal-btn-primary:hover {
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.9), rgba(173, 216, 230, 0.7));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(173, 216, 230, 0.3);
}

.crystal-btn-secondary {
    background: rgba(255, 182, 193, 0.2);
    color: rgba(255, 182, 193, 0.9);
    border: 1px solid rgba(255, 182, 193, 0.4);
}

.crystal-btn-secondary:hover,
.crystal-btn-secondary.crystal-liked {
    background: rgba(255, 182, 193, 0.6);
    color: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 182, 193, 0.8);
    transform: translateY(-2px);
}

.crystal-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.crystal-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.crystal-stats-section,
.crystal-details-section,
.crystal-benefits-section {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.crystal-section-header {
    margin-bottom: 20px;
}

.crystal-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.crystal-section-title i {
    color: rgba(173, 216, 230, 0.8);
}

.crystal-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.crystal-stat-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.crystal-stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.crystal-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.3), rgba(173, 216, 230, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(173, 216, 230, 0.9);
    flex-shrink: 0;
}

.crystal-stat-content {
    flex: 1;
    min-width: 0;
}

.crystal-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.crystal-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.crystal-star-rating {
    height: 20px;
    width: auto;
}

.crystal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.crystal-detail-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
}

.crystal-detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    flex-shrink: 0;
}

.crystal-detail-value {
    color: #fff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    text-align: right;
    margin-left: 10px;
}

.crystal-domain-link {
    color: rgba(173, 216, 230, 0.9);
}

.crystal-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.crystal-benefit-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.crystal-benefit-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.crystal-benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.3), rgba(173, 216, 230, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(173, 216, 230, 0.9);
    flex-shrink: 0;
}

.crystal-benefit-content {
    flex: 1;
    min-width: 0;
}

.crystal-benefit-content h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
}

.crystal-benefit-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.crystal-site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.crystal-sidebar-sticky {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.crystal-sidebar-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.crystal-card-header {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.crystal-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.crystal-card-title i {
    color: rgba(173, 216, 230, 0.8);
}

.crystal-tools-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.crystal-tool-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.crystal-tool-link:hover {
    background: rgba(173, 216, 230, 0.15);
    color: rgba(173, 216, 230, 0.9);
    border-color: rgba(173, 216, 230, 0.25);
    transform: translateX(3px);
}

.crystal-related-sites {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.crystal-related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    min-width: 0;
}

.crystal-related-item:hover,
.crystal-related-item.crystal-hover {
    background: rgba(173, 216, 230, 0.15);
    color: rgba(173, 216, 230, 0.9);
    border-color: rgba(173, 216, 230, 0.25);
    transform: translateX(3px);
}

.crystal-related-icon {
    flex-shrink: 0;
}

.crystal-related-icon img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.crystal-related-title {
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.crystal-share-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.crystal-share-overlay.show {
    opacity: 1;
    visibility: visible;
}

.crystal-share-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    width: 90%;
    max-width: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.crystal-share-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.crystal-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px 12px 0 0;
}

.crystal-share-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.crystal-share-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.crystal-share-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.crystal-share-content {
    padding: 25px;
}

.crystal-share-url-section {
    display: flex;
    gap: 10px;
    align-items: center;
}

.crystal-share-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    word-break: break-all;
    min-width: 0;
}

.crystal-share-copy {
    background: rgba(173, 216, 230, 0.2);
    border: 1px solid rgba(173, 216, 230, 0.4);
    border-radius: 6px;
    padding: 12px 20px;
    color: rgba(173, 216, 230, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.crystal-share-copy:hover {
    background: rgba(173, 216, 230, 0.7);
    color: rgba(0, 0, 0, 0.8);
    border-color: rgba(173, 216, 230, 0.7);
}

.crystal-no-scroll {
    overflow: hidden;
}

@media (max-width: 768px) {
    body::before {
        width: 100%;
        height: 40%;
    }
    
    .crystal-site-container {
        padding: 10px;
    }
    
    .crystal-breadcrumb {
        margin-bottom: 15px;
    }
    
    .crystal-breadcrumb-content {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .crystal-site-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .crystal-site-header-card {
        padding: 20px;
    }
    
    .crystal-site-hero {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items: center;
    }
    
    .crystal-site-icon img {
        width: 60px;
        height: 60px;
    }
    
    .crystal-site-title {
        font-size: 18px;
        justify-content: center;
        text-align: center;
    }
    
    .crystal-site-description {
        font-size: 14px;
        text-align: center;
    }
    
    .crystal-site-meta {
        justify-content: center;
        gap: 8px;
    }
    
    .crystal-meta-item {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .crystal-site-actions {
        justify-content: center;
        gap: 10px;
    }
    
    .crystal-action-btn {
        padding: 10px 16px;
        font-size: 13px;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
    
    .crystal-stats-section,
    .crystal-details-section,
    .crystal-benefits-section {
        padding: 20px;
    }
    
    .crystal-section-title {
        font-size: 16px;
    }
    
    .crystal-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .crystal-stat-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .crystal-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .crystal-stat-value {
        font-size: 20px;
    }
    
    .crystal-stat-label {
        font-size: 12px;
    }
    
    .crystal-details-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .crystal-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        text-align: left;
    }
    
    .crystal-detail-value {
        text-align: left;
        margin-left: 0;
    }
    
    .crystal-benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .crystal-stat-item,
    .crystal-detail-item,
    .crystal-benefit-item {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .crystal-benefit-item {
        padding: 15px;
    }
    
    .crystal-benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .crystal-benefit-content h4 {
        font-size: 14px;
    }
    
    .crystal-benefit-content p {
        font-size: 13px;
    }
    
    .crystal-sidebar-card {
        margin-bottom: 15px;
    }
    
    .crystal-tools-list,
    .crystal-related-sites {
        padding: 15px;
    }
    
    .crystal-tool-link,
    .crystal-related-item {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .crystal-share-popup {
        width: 95%;
        margin: 10px;
    }
    
    .crystal-share-header,
    .crystal-share-content {
        padding: 15px;
    }
    
    .crystal-share-title {
        font-size: 16px;
    }
    
    .crystal-share-url-section {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .crystal-share-copy {
        padding: 10px 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .crystal-site-container {
        padding: 8px;
    }
    
    .crystal-site-header-card {
        padding: 15px;
    }
    
    .crystal-site-title {
        font-size: 16px;
    }
    
    .crystal-site-description {
        font-size: 13px;
    }
    
    .crystal-action-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .crystal-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .crystal-stat-item {
        padding: 12px;
    }
    
    .crystal-details-section,
    .crystal-benefits-section {
        padding: 15px;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .crystal-site-container {
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow-x: hidden !important;
    }
    
    .crystal-site-layout {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .crystal-site-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .crystal-site-header-card,
    .crystal-stats-section,
    .crystal-details-section,
    .crystal-benefits-section,
    .crystal-sidebar-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}
.crystal-site-title,
.crystal-site-description,
.crystal-detail-value,
.crystal-benefit-content h4,
.crystal-benefit-content p,
.crystal-related-title,
.crystal-share-url,
.crystal-tool-link span {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
}

.crystal-detail-value,
.crystal-share-url {
    word-break: break-all !important;
    white-space: normal !important;
}

@media (max-width: 768px) {
    .crystal-site-title,
    .crystal-site-description,
    .crystal-detail-value,
    .crystal-benefit-content h4,
    .crystal-benefit-content p,
    .crystal-related-title,
    .crystal-tool-link,
    .crystal-share-url,
    .crystal-breadcrumb-item,
    .crystal-breadcrumb-current {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }
    
    .crystal-detail-value,
    .crystal-share-url,
    .crystal-domain-link {
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
    }
    
    .crystal-site-container,
    .crystal-site-layout,
    .crystal-site-main,
    .crystal-site-header-card,
    .crystal-stats-section,
    .crystal-details-section,
    .crystal-benefits-section,
    .crystal-sidebar-card,
    .crystal-stat-item,
    .crystal-detail-item,
    .crystal-benefit-item {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    
    .crystal-meta-item,
    .crystal-action-btn,
    .crystal-tool-link,
    .crystal-related-item {
        white-space: normal !important;
    }
}

@media (max-width: 480px) {
    * {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .crystal-detail-value,
    .crystal-share-url,
    .crystal-domain-link,
    .crystal-site-description {
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
        hyphens: auto !important;
    }
}

.crystal-toast-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15%;
}

.crystal-toast {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: auto;
    max-width: 300px;
    min-width: 150px;
    word-wrap: break-word;
    position: relative;
    font-weight: normal;
}

.crystal-toast.success {
    background: rgba(92, 184, 92, 0.9);
    color: #fff;
}

.crystal-toast.error {
    background: rgba(217, 83, 79, 0.9);
    color: #fff;
}

.crystal-toast.warning {
    background: rgba(240, 173, 78, 0.9);
    color: #fff;
}

.crystal-toast.info {
    background: rgba(91, 192, 222, 0.9);
    color: #fff;
}

.crystal-toast.loading {
    background: rgba(108, 117, 125, 0.9);
    color: #fff;
}

.crystal-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.crystal-toast-icon {
    display: inline-block;
    margin-right: 6px;
    font-size: 14px;
    vertical-align: middle;
}

.crystal-toast-text {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.4;
}

.crystal-loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: crystal-spin 1s linear infinite;
    vertical-align: middle;
}

@keyframes crystal-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.crystal-toast-container:nth-child(n+2) {
    padding-top: calc(15% + 50px);
}

.crystal-toast-container:nth-child(n+3) {
    padding-top: calc(15% + 100px);
}

.crystal-toast-container:nth-child(n+4) {
    padding-top: calc(15% + 150px);
}

@media (max-width: 768px) {
    .crystal-toast-container {
        padding-top: 10%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .crystal-toast {
        padding: 10px 16px;
        font-size: 13px;
        max-width: calc(100vw - 40px);
        min-width: 120px;
    }
    
    .crystal-toast-icon {
        font-size: 13px;
        margin-right: 5px;
    }
    
    .crystal-loading-spinner {
        width: 12px;
        height: 12px;
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    .crystal-toast-container {
        padding-top: 8%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .crystal-toast {
        padding: 8px 14px;
        font-size: 12px;
        max-width: calc(100vw - 30px);
        min-width: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .crystal-toast {
        transition: opacity 0.2s ease;
        transform: none;
    }
    
    .crystal-toast.show {
        transform: none;
    }
    
    .crystal-loading-spinner {
        animation: none;
    }
}