body.page-body {
    background: #f6f4ef !important;
    color: #090909;
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

body.page-body .page-container {
    display: block !important;
    width: 100% !important;
    min-height: 100vh !important;
    table-layout: auto !important;
    background:
        radial-gradient(circle at 46% 18%, rgba(202, 255, 0, 0.22), transparent 12rem),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0 1px, transparent 1px),
        #f7f5ef !important;
    background-size: auto, 26px 26px, auto !important;
}

body.page-body .page-container .main-content {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    vertical-align: initial !important;
}

body.page-body .sidebar-menu {
    display: none !important;
}

body.page-body .main-footer {
    margin: 0;
    background: #050505;
    color: rgba(255, 255, 255, 0.66);
    border: 0;
}

.ws-home-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: 278px;
    padding: 28px 28px 30px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 16px 0 35px rgba(12, 12, 12, 0.08);
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.ws-home-logo {
    display: flex;
    align-items: center;
    height: 72px;
    color: #0a0a0a;
}

.ws-home-logo img {
    max-width: 132px;
    max-height: 70px;
    object-fit: contain;
}

.ws-home-logo strong {
    font-size: 26px;
    line-height: 1;
}

.ws-home-nav {
    display: grid;
    gap: 9px;
}

.ws-home-nav a {
    display: grid;
    grid-template-columns: 25px 1fr;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 7px;
    color: #111;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.ws-home-nav a:hover,
.ws-home-nav a.is-active {
    color: #fff;
    background: linear-gradient(95deg, #4b25ff, #6a2cff);
}

.ws-home-nav i {
    width: 22px;
    text-align: center;
    font-size: 18px;
}

.ws-submit-card {
    margin-top: auto;
    min-height: 194px;
    padding: 26px 28px;
    color: #fff;
    text-decoration: none;
    background: #050505;
    clip-path: polygon(0 8%, 93% 0, 100% 92%, 5% 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ws-submit-card strong {
    color: #caff00;
    font-size: 25px;
    line-height: 1;
}

.ws-submit-card span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.7;
}

.ws-submit-card i {
    align-self: flex-end;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #070707;
    background: #caff00;
    font-size: 21px;
}

.ws-home-main {
    display: block !important;
    width: auto !important;
    min-height: 100vh;
    margin-left: 278px;
    padding: 0 !important;
    overflow: hidden;
    vertical-align: initial !important;
}

.ws-search {
    position: relative;
    z-index: 5;
    width: min(700px, calc(100vw - 340px));
    height: 62px;
    margin: 30px 0 0 88px;
    padding: 0 62px 0 64px;
    background: #070707;
    border-radius: 10px;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    clip-path: polygon(1% 8%, 98% 0, 100% 84%, 2% 100%);
}

.ws-search i {
    position: absolute;
    left: 28px;
    color: #fff;
    font-size: 22px;
}

.ws-search input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.ws-search input::placeholder {
    color: rgba(255, 255, 255, 0.92);
}

.ws-search button {
    position: absolute;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #1e1e1e;
    font-size: 22px;
}

.ws-hero {
    position: relative;
    min-height: 675px;
    padding: 112px 0 40px 82px;
}

.ws-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 86px;
    background: #050505;
    clip-path: polygon(0 38%, 8% 30%, 18% 42%, 30% 29%, 41% 36%, 50% 24%, 64% 37%, 74% 25%, 86% 34%, 100% 24%, 100% 100%, 0 100%);
}

.ws-hero-copy {
    position: relative;
    z-index: 4;
    width: min(620px, 52vw);
}

.ws-brand-line {
    margin: 0;
    color: #050505;
    font-size: clamp(56px, 5.5vw, 96px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: 0;
    transform: rotate(-6deg);
    transform-origin: left center;
}

.ws-brand-line span {
    color: #6633ff;
}

.ws-brand-line .ws-subtitle {
    display: block;
    color: #050505;
    font-size: 0.58em;
    font-weight: 700;
    margin-top: 10px;
    margin-left: 0;
    transform: none;
}

.ws-lime-stroke {
    width: 260px;
    max-width: 50%;
    height: 17px;
    margin: -2px 0 32px 200px;
    background: #caff00;
    border-radius: 999px;
    transform: rotate(-7deg);
    box-shadow: -22px 10px 0 -5px #caff00;
}

.ws-hero-note {
    display: inline-block;
    margin: 0 0 0 36px;
    padding: 5px 16px 7px;
    color: #fff;
    background: rgba(45, 45, 45, 0.78);
    font-size: clamp(18px, 1.7vw, 29px);
    line-height: 1.34;
    transform: rotate(-3deg);
}

.ws-hero-note::before {
    content: "";
    position: absolute;
    width: 74px;
    height: 58px;
    margin: -42px 0 0 -42px;
    border: 10px solid #caff00;
    border-right-color: transparent;
    border-radius: 50%;
    transform: rotate(32deg);
}

.ws-hero-media {
    position: absolute;
    z-index: 3;
    top: 58px;
    right: -24px;
    width: min(920px, 54vw);
    height: 560px;
    background: transparent;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

.ws-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-mask-image: radial-gradient(ellipse at center, black 60%, transparent 95%);
    mask-image: radial-gradient(ellipse at center, black 60%, transparent 95%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.ws-featured {
    position: relative;
    z-index: 6;
    padding: 42px 60px 64px 84px;
    color: #fff;
    background:
        radial-gradient(circle at 13% 12%, rgba(202, 255, 0, 0.12), transparent 16rem),
        #050505;
}

.ws-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.ws-section-head h2 {
    position: relative;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 3.2vw, 56px);
    line-height: 1;
    font-weight: 900;
}

.ws-section-head h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 8px;
    background: #caff00;
    border-radius: 999px;
    transform: rotate(-4deg);
}

.ws-section-head a {
    color: #caff00;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.ws-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ws-tool-card {
    position: relative;
    min-height: 166px;
    padding: 24px 72px 20px 24px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 7px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
        #121b1f;
    box-shadow: inset 0 0 0 1px rgba(202, 255, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ws-tool-card:nth-child(4n+1) { background-color: #10251d; }
.ws-tool-card:nth-child(4n+2) { background-color: #171d2b; }
.ws-tool-card:nth-child(4n+3) { background-color: #5b1718; }
.ws-tool-card:nth-child(4n+4) { background-color: #f4f0e8; color: #090909; }
.ws-tool-card:nth-child(4n+5) { background-color: #1d201b; }
.ws-tool-card:nth-child(4n+6) { background-color: #111717; }
.ws-tool-card:nth-child(4n+7) { background-color: #17143b; }
.ws-tool-card:nth-child(4n+8) { background-color: #0e2329; }

.ws-tool-card:hover {
    color: #fff;
    transform: translateY(-4px);
    border-color: #caff00;
}

.ws-tool-card:nth-child(4n+4):hover {
    color: #090909;
}

.ws-paper-corner {
    position: absolute;
    right: -18px;
    top: -12px;
    width: 98px;
    height: 72px;
    background: rgba(255, 255, 255, 0.9);
    clip-path: polygon(0 28%, 82% 0, 100% 76%, 24% 100%);
    opacity: 0.9;
}

.ws-tool-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ws-tool-top img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
}

.ws-tool-top strong {
    min-width: 0;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.ws-tool-desc {
    position: relative;
    z-index: 1;
    min-height: 44px;
    color: currentColor;
    opacity: 0.9;
    font-size: 15px;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ws-tool-tag {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    padding: 3px 9px;
    color: #caff00;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(202, 255, 0, 0.55);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.2;
}

.ws-tool-card > .fa {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #080808;
    background: #fff;
}

.ws-original-list {
    padding: 56px 64px 80px 84px;
    background: #111;
}

.ws-original-list h4.text-gray {
    margin: 24px 0 20px;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
}

.ws-original-list .btn-move {
    color: #caff00;
}

.ws-original-list .xe-card {
    margin-bottom: 18px;
}

.ws-original-list .xe-widget.xe-conversations {
    min-height: 94px;
    color: #fff;
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
    box-shadow: none;
}

.ws-original-list .xe-widget.xe-conversations:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: rgba(202, 255, 0, 0.72);
    transform: translateY(-2px);
}

.ws-original-list .xe-user-name strong,
.ws-original-list .xe-comment p {
    color: inherit;
}

.ws-original-list .xe-comment p {
    opacity: 0.68;
}

.ws-original-list .xe-widget.xe-conversations:hover .xe-user-name strong {
    color: #000 !important;
}

.ws-original-list .xe-widget.xe-conversations:hover .xe-comment p {
    color: #333 !important;
    opacity: 1;
}

.ws-empty {
    grid-column: 1 / -1;
    padding: 38px;
    color: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

@media (max-width: 1280px) {
    .ws-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ws-hero-media {
        width: 50vw;
    }
}

@media (max-width: 992px) {
    body.page-body .main-footer,
    .ws-home-main {
        margin-left: 0;
    }

    .ws-home-sidebar {
        position: relative;
        width: auto;
        min-height: 0;
        padding: 18px;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        overflow-x: auto;
    }

    .ws-home-logo {
        flex: 0 0 auto;
        height: 54px;
    }

    .ws-home-logo img {
        max-width: 106px;
    }

    .ws-home-nav {
        display: flex;
        gap: 8px;
    }

    .ws-home-nav a {
        min-width: max-content;
        min-height: 44px;
        grid-template-columns: 20px 1fr;
        padding: 0 12px;
        font-size: 14px;
    }

    .ws-submit-card {
        display: none;
    }

    .ws-search {
        width: calc(100vw - 36px);
        height: 54px;
        margin: 18px;
    }

    .ws-search input {
        font-size: 18px;
    }

    .ws-hero {
        min-height: auto;
        padding: 56px 22px 120px;
    }

    .ws-hero-copy {
        width: 100%;
    }

    .ws-brand-line {
        font-size: clamp(42px, 6.5vw, 72px);
        white-space: normal;
    }

    .ws-brand-line .ws-subtitle {
        display: block;
        font-size: 0.52em;
        margin: 8px 0 0 0;
    }

    .ws-lime-stroke {
        width: 180px;
        margin-left: 120px;
    }

    .ws-hero-note {
        margin-left: 18px;
    }

    .ws-hero-media {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 360px;
        margin-top: 38px;
    }

    .ws-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ws-featured,
    .ws-original-list {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (max-width: 640px) {
    .ws-card-grid {
        grid-template-columns: 1fr;
    }

    .ws-section-head {
        align-items: flex-end;
    }

    .ws-tool-card {
        min-height: 154px;
    }

    .ws-hero-media {
        height: 260px;
    }
}
