.amethyst-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg,
            rgba(155, 89, 182, 0.08) 0%,
            rgba(142, 68, 173, 0.08) 25%,
            rgba(255, 255, 255, 0.92) 50%,
            rgba(155, 89, 182, 0.06) 75%,
            rgba(142, 68, 173, 0.08) 100%);
    overflow: hidden;
}

.amethyst-floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.amethyst-shape {
    position: absolute;
    opacity: 0.08;
    animation: amethystFloat 15s ease-in-out infinite;
}

.amethyst-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border-radius: 50%;
    top: 15%;
    left: 8%;
}

.amethyst-triangle {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 80px solid #9b59b6;
    top: 65%;
    right: 12%;
    animation-delay: 3s;
}

.amethyst-square {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #8e44ad, #6c3483);
    transform: rotate(45deg);
    top: 35%;
    left: 85%;
    animation-delay: 5s;
}

.amethyst-hexagon {
    width: 70px;
    height: 40.41px;
    background: #8e44ad;
    position: relative;
    top: 85%;
    left: 25%;
    animation-delay: 7s;
}

.amethyst-hexagon:before,
.amethyst-hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
}

.amethyst-hexagon:before {
    bottom: 100%;
    border-bottom: 20.21px solid #8e44ad;
}

.amethyst-hexagon:after {
    top: 100%;
    border-top: 20.21px solid #8e44ad;
}

@keyframes amethystFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-25px) rotate(90deg);
    }

    50% {
        transform: translateY(-50px) rotate(180deg);
    }

    75% {
        transform: translateY(-25px) rotate(270deg);
    }
}

.amethyst-main-content {
    padding: 20px 0;
    min-height: 100vh;
    position: relative;
}

.amethyst-content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.amethyst-content-primary {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(155, 89, 182, 0.12);
    border: 1px solid rgba(155, 89, 182, 0.15);
    overflow: hidden;
}

.amethyst-content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    align-self: start;
}

.amethyst-page-content {
    padding: 0;
}

.amethyst-article-wrapper {
    padding: 0;
}

.amethyst-page-header {
    padding: 45px 35px;
    background: linear-gradient(135deg,
            #9b59b6 0%,
            #8e44ad 50%,
            #6c3483 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.amethyst-header-decoration {
    position: absolute;
    top: -60%;
    right: -25%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: amethystPulse 5s ease-in-out infinite;
}

@keyframes amethystPulse {

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

    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.1;
    }
}

.amethyst-header-content {
    position: relative;
    z-index: 2;
}

.amethyst-page-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.amethyst-page-title i {
    font-size: 38px;
    color: rgba(255, 255, 255, 0.95);
}

.amethyst-page-subtitle {
    font-size: 17px;
    margin: 0;
    opacity: 0.92;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.amethyst-tab-nav {
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.amethyst-tab-item {
    background: transparent !important;
    border: none !important;
    position: relative;
}

.amethyst-tab-link {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    transition: all 0.3s ease;
    border-radius: 10px 10px 0 0;
}

.amethyst-tab-item:hover .amethyst-tab-link {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
}

.amethyst-tab-item.layui-this .amethyst-tab-link {
    color: #000 !important;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 600;
}

.amethyst-article-content {
    padding: 35px;
    background: rgba(255, 255, 255, 0.85);
}

.amethyst-article-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.amethyst-article-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
}

.amethyst-article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.15);
}

.amethyst-article-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-left: 4px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    position: relative;
}

.amethyst-article-item:hover .amethyst-article-card {
    background: #fff;
    border-left-color: #9b59b6;
    box-shadow: 0 8px 30px rgba(155, 89, 182, 0.12);
}

.amethyst-article-item:last-child .amethyst-article-card {
    margin-bottom: 0;
}

.amethyst-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.amethyst-article-title {
    font-size: 19px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.6;
    transition: all 0.3s ease;
    flex: 1;
    margin-right: 15px;
    display: block;
    position: relative;
}

.amethyst-article-title:hover {
    color: #9b59b6;
}

.amethyst-article-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9b59b6, #8e44ad);
    transition: width 0.3s ease;
}

.amethyst-article-title:hover::after {
    width: 100%;
}

.amethyst-badge-group {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: flex-start;
}

.amethyst-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.amethyst-badge-top {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.amethyst-badge-new {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.amethyst-badge-hot {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.amethyst-article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #7f8c8d;
    font-size: 14px;
    flex-wrap: wrap;
}

.amethyst-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.amethyst-meta-item:hover {
    color: #9b59b6;
}

.amethyst-meta-item i {
    color: #9b59b6;
    font-size: 15px;
}

.amethyst-empty-container {
    text-align: center;
    padding: 100px 20px;
    color: #95a5a6;
}

.amethyst-empty-icon {
    margin-bottom: 25px;
}

.amethyst-empty-icon i {
    font-size: 70px;
    opacity: 0.4;
    color: #9b59b6;
}

.amethyst-empty-text {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

.amethyst-sidebar-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(155, 89, 182, 0.1);
    border: 1px solid rgba(155, 89, 182, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.amethyst-sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(155, 89, 182, 0.18);
}

.amethyst-sidebar-card .amethyst-card-header {
    padding: 22px 28px;
    background: linear-gradient(135deg,
            #9b59b6 0%,
            #8e44ad 100%);
    color: #fff;
}

.amethyst-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.amethyst-card-title i {
    font-size: 19px;
}

.amethyst-card-content {
    padding: 28px;
    background: rgba(255, 255, 255, 0.8);
}

.amethyst-profile-info {
    text-align: center;
    margin-bottom: 28px;
}

.amethyst-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
}

.amethyst-avatar {
    position: relative;
    z-index: 2;
}

.amethyst-avatar img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 4px solid rgba(155, 89, 182, 0.2);
    transition: all 0.3s ease;
}

.amethyst-avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: amethystGlow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes amethystGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.3;
    }
}

.amethyst-avatar:hover img {
    transform: scale(1.08);
    border-color: rgba(155, 89, 182, 0.4);
}

.amethyst-profile-name {
    font-size: 19px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.amethyst-bio {
    color: #7f8c8d;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.amethyst-profile-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(155, 89, 182, 0.15);
    padding-top: 22px;
    gap: 12px;
}

.amethyst-stat-item {
    text-align: center;
    flex: 1;
}

.amethyst-stat-number {
    display: block;
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.amethyst-stat-label {
    font-size: 13px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.amethyst-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amethyst-tag-item {
    background: rgba(155, 89, 182, 0.08);
    color: #9b59b6;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(155, 89, 182, 0.15);
}

.amethyst-tag-item:hover {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(155, 89, 182, 0.25);
}

.amethyst-site-list {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
}

.amethyst-site-list::-webkit-scrollbar {
    width: 6px;
}

.amethyst-site-list::-webkit-scrollbar-track {
    background: rgba(155, 89, 182, 0.05);
    border-radius: 3px;
}

.amethyst-site-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9b59b6, #8e44ad);
    border-radius: 3px;
}

.amethyst-site-item {
    margin-bottom: 16px;
}

.amethyst-site-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.amethyst-site-info {
    padding: 16px;
    background: rgba(155, 89, 182, 0.04);
    border-radius: 12px;
    border-left: 3px solid #9b59b6;
    transition: all 0.3s ease;
}

.amethyst-site-link:hover .amethyst-site-info {
    background: rgba(155, 89, 182, 0.08);
    border-left-color: #8e44ad;
    transform: translateX(3px);
}

.amethyst-site-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.amethyst-site-link:hover .amethyst-site-title {
    color: #9b59b6;
}

.amethyst-site-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #95a5a6;
    font-size: 12px;
}

.amethyst-empty-sites {
    text-align: center;
    padding: 40px 20px;
    color: #95a5a6;
}

.amethyst-empty-sites i {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.5;
    color: #9b59b6;
}

.amethyst-empty-sites p {
    margin: 0;
    font-size: 14px;
}

.amethyst-article-actions {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(155, 89, 182, 0.08);
    display: flex;
    justify-content: flex-end;
}

.amethyst-read-more-btn {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(155, 89, 182, 0.2);
}

.amethyst-read-more-btn:hover {
    background: linear-gradient(135deg, #8e44ad, #6c3483);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
    color: #fff;
}

.amethyst-read-more-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.amethyst-read-more-btn:hover i {
    transform: translateX(3px);
}


@media (max-width: 1024px) {
    .amethyst-content-layout {
        grid-template-columns: 1fr 300px;
        gap: 25px;
    }

    .amethyst-page-header {
        padding: 35px 25px;
    }

    .amethyst-page-title {
        font-size: 28px;
    }

    .amethyst-article-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .amethyst-content-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .amethyst-content-sidebar {
        order: 1;
        position: static;
    }

    .amethyst-page-header {
        padding: 30px 20px;
    }

    .amethyst-page-title {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }

    .amethyst-page-title i {
        font-size: 32px;
    }

    .amethyst-article-content {
        padding: 20px;
    }

    .amethyst-article-card {
        padding: 20px;
    }

    .amethyst-article-title {
        font-size: 17px;
    }

    .amethyst-article-meta {
        gap: 15px;
        font-size: 13px;
    }

    .amethyst-card-content {
        padding: 20px;
    }

    .amethyst-profile-stats {
        flex-direction: column;
        gap: 15px;
    }

    .amethyst-stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .amethyst-stat-number {
        font-size: 22px;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .amethyst-main-content {
        padding: 15px 0;
    }

    .amethyst-page-header {
        padding: 25px 15px;
    }

    .amethyst-page-title {
        font-size: 20px;
    }

    .amethyst-article-content {
        padding: 15px;
    }

    .amethyst-article-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    .amethyst-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .amethyst-article-title {
        margin-right: 0;
        font-size: 16px;
    }

    .amethyst-article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .amethyst-sidebar-card .amethyst-card-header {
        padding: 18px 20px;
    }

    .amethyst-card-content {
        padding: 18px;
    }

    .amethyst-tag-cloud {
        gap: 8px;
    }

    .amethyst-tag-item {
        padding: 8px 12px;
        font-size: 12px;
    }

    .amethyst-site-info {
        padding: 12px;
    }

    .amethyst-site-title {
        font-size: 14px;
    }

    .amethyst-site-meta {
        gap: 10px;
        font-size: 11px;
    }
}


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

    .amethyst-shape,
    .amethyst-header-decoration,
    .amethyst-avatar-glow {
        animation: none;
    }

    .amethyst-article-item:hover,
    .amethyst-sidebar-card:hover,
    .amethyst-read-more-btn:hover {
        transform: none;
    }
}


@media print {

    .amethyst-bg-wrapper,
    .amethyst-floating-shapes,
    .amethyst-content-sidebar,
    .amethyst-article-actions {
        display: none;
    }

    .amethyst-content-layout {
        grid-template-columns: 1fr;
    }

    .amethyst-article-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .amethyst-page-header {
        background: #f8f9fa;
        color: #333;
    }
}


@media (prefers-contrast: high) {
    .amethyst-article-card {
        border: 2px solid #9b59b6;
    }

    .amethyst-sidebar-card {
        border: 2px solid #9b59b6;
    }

    .amethyst-tag-item {
        border: 2px solid #9b59b6;
    }
}


@media (prefers-color-scheme: dark) {
    .amethyst-bg-wrapper {
        background: linear-gradient(135deg,
                rgba(108, 52, 131, 0.15) 0%,
                rgba(142, 68, 173, 0.15) 25%,
                rgba(44, 62, 80, 0.95) 50%,
                rgba(108, 52, 131, 0.12) 75%,
                rgba(142, 68, 173, 0.15) 100%);
    }

    .amethyst-content-primary,
    .amethyst-sidebar-card {
        background: rgba(52, 73, 94, 0.96);
        border-color: rgba(155, 89, 182, 0.3);
    }

    .amethyst-article-card {
        background: rgba(52, 73, 94, 0.8);
        color: #ecf0f1;
    }

    .amethyst-article-title {
        color: #ecf0f1;
    }

    .amethyst-card-content {
        background: rgba(52, 73, 94, 0.6);
    }

    .amethyst-profile-name {
        color: #ecf0f1;
    }

    .amethyst-site-title {
        color: #ecf0f1;
    }
}

.amethyst-random-list {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
}

.amethyst-random-list::-webkit-scrollbar {
    width: 6px;
}

.amethyst-random-list::-webkit-scrollbar-track {
    background: rgba(155, 89, 182, 0.05);
    border-radius: 3px;
}

.amethyst-random-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9b59b6, #8e44ad);
    border-radius: 3px;
}

.amethyst-random-item {
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.amethyst-random-item:last-child {
    margin-bottom: 0;
}

.amethyst-random-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.amethyst-random-info {
    flex: 1;
    padding: 16px;
    background: rgba(155, 89, 182, 0.04);
    border-radius: 12px;
    border-left: 3px solid #9b59b6;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.amethyst-random-link:hover .amethyst-random-info {
    background: rgba(155, 89, 182, 0.08);
    border-left-color: #8e44ad;
    transform: translateX(3px);
}

.amethyst-random-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amethyst-random-link:hover .amethyst-random-title {
    color: #9b59b6;
}

.amethyst-random-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #95a5a6;
    font-size: 12px;
}

.amethyst-random-meta .amethyst-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.amethyst-random-meta .amethyst-meta-item i {
    font-size: 12px;
    color: #9b59b6;
}

.amethyst-random-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(155, 89, 182, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.amethyst-random-icon i {
    font-size: 14px;
    color: #9b59b6;
    transition: all 0.3s ease;
}

.amethyst-random-link:hover .amethyst-random-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    transform: scale(1.1);
}

.amethyst-random-link:hover .amethyst-random-icon i {
    color: #fff;
    transform: translateX(2px);
}

.amethyst-empty-random {
    text-align: center;
    padding: 40px 20px;
    color: #95a5a6;
}

.amethyst-empty-random i {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.5;
    color: #9b59b6;
}

.amethyst-empty-random p {
    margin: 0;
    font-size: 14px;
}


.amethyst-random-item:nth-child(odd) .amethyst-random-link:hover .amethyst-random-info {
    animation: amethystSlideInLeft 0.3s ease;
}

.amethyst-random-item:nth-child(even) .amethyst-random-link:hover .amethyst-random-info {
    animation: amethystSlideInRight 0.3s ease;
}

@keyframes amethystSlideInLeft {
    0% {
        transform: translateX(-5px);
        opacity: 0.8;
    }

    100% {
        transform: translateX(3px);
        opacity: 1;
    }
}

@keyframes amethystSlideInRight {
    0% {
        transform: translateX(5px);
        opacity: 0.8;
    }

    100% {
        transform: translateX(3px);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .amethyst-random-info {
        padding: 14px;
    }

    .amethyst-random-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .amethyst-random-meta {
        gap: 12px;
        font-size: 11px;
    }

    .amethyst-random-icon {
        width: 28px;
        height: 28px;
    }

    .amethyst-random-icon i {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .amethyst-random-info {
        padding: 12px;
        margin-right: 6px;
    }

    .amethyst-random-title {
        font-size: 13px;
        -webkit-line-clamp: 1;
    }

    .amethyst-random-meta {
        gap: 10px;
        font-size: 10px;
    }

    .amethyst-random-icon {
        width: 24px;
        height: 24px;
    }

    .amethyst-random-icon i {
        font-size: 10px;
    }
}

@media (prefers-color-scheme: dark) {
    .amethyst-random-title {
        color: #ecf0f1;
    }

    .amethyst-random-link:hover .amethyst-random-title {
        color: #9b59b6;
    }

    .amethyst-random-info {
        background: rgba(108, 52, 131, 0.1);
        border-left-color: #9b59b6;
    }

    .amethyst-random-link:hover .amethyst-random-info {
        background: rgba(108, 52, 131, 0.15);
    }
}

@media (prefers-contrast: high) {
    .amethyst-random-info {
        border: 2px solid #9b59b6;
        border-left-width: 4px;
    }

    .amethyst-random-icon {
        border: 2px solid #9b59b6;
    }
}

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

    .amethyst-random-item:nth-child(odd) .amethyst-random-link:hover .amethyst-random-info,
    .amethyst-random-item:nth-child(even) .amethyst-random-link:hover .amethyst-random-info {
        animation: none;
        transform: none;
    }

    .amethyst-random-link:hover .amethyst-random-icon {
        transform: none;
    }

    .amethyst-random-link:hover .amethyst-random-icon i {
        transform: none;
    }
}

@media print {
    .amethyst-random-list {
        max-height: none;
        overflow: visible;
    }

    .amethyst-random-info {
        background: #f8f9fa;
        border: 1px solid #ddd;
    }

    .amethyst-random-icon {
        display: none;
    }
}

.layui-tab-title li {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    transition: all .2s;
    -webkit-transition: all .2s;
    position: relative;
    line-height: unset;
    min-width: 65px;
    padding: 0 15px;
    text-align: center;
    cursor: pointer;
}

.layui-tab-brief>.layui-tab-more li.layui-this:after,
.layui-tab-brief>.layui-tab-title .layui-this:after {
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #9b59b6;
}