.plugin-showcase-page {
    --plugin-blue: #2867e8;
    --plugin-blue-dark: #163fc4;
    --plugin-ink: #14223b;
    --plugin-muted: #66758c;
    --plugin-line: #dce7f6;
    --plugin-soft: #f4f8ff;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0, rgba(47, 124, 241, .12), transparent 360px), #fff;
    color: var(--plugin-ink);
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

.plugin-showcase-wrap {
    width: 1232px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.plugin-hero {
    padding: 16px 0 16px;
}

.plugin-hero-carousel,
.plugin-hero-empty {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 20px 46px rgba(15, 35, 78, .16);
}

.plugin-hero-slides,
.plugin-hero-slide {
    position: absolute;
    inset: 0;
}

.plugin-hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 28px;
    padding: 66px 72px;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transition: opacity .32s ease;
    box-sizing: border-box;
}

.plugin-hero-slide.is-active {
    opacity: 1;
    z-index: 2;
}

.plugin-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.plugin-hero-badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    font-size: 13px;
    font-weight: 700;
}

.plugin-hero-badge:before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: currentColor;
}

.plugin-hero h1,
.plugin-hero-empty h1 {
    margin: 20px 0 0;
    color: inherit;
    font-size: 40px;
    line-height: 1.22;
    font-weight: 900;
}

.plugin-hero-subtitle {
    margin: 14px 0 0;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 700;
}

.plugin-hero-desc {
    margin: 10px 0 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.7;
    opacity: .88;
}

.plugin-hero-actions,
.plugin-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.plugin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 40px;
    padding: 0 20px;
    border: 1px solid #d8e4f5;
    border-radius: 7px;
    background: #fff;
    color: #29405f;
    font-size: 14px;
    font-weight: 800;
    box-sizing: border-box;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.plugin-btn:hover,
.plugin-btn:focus {
    color: #29405f;
    transform: translateY(-1px);
}

.plugin-btn.is-primary,
.plugin-btn.is-download {
    border-color: var(--plugin-blue);
    background: linear-gradient(180deg, #2f7cf1, #2049c9);
    color: #fff;
    box-shadow: 0 10px 20px rgba(31, 91, 220, .24);
}

.plugin-btn.is-primary:hover,
.plugin-btn.is-download:hover {
    color: #fff;
    box-shadow: 0 14px 24px rgba(31, 91, 220, .3);
}

.plugin-btn.is-outline,
.plugin-btn.is-video {
    background: #fff;
    color: var(--plugin-blue);
}

.plugin-btn.is-outline:hover,
.plugin-btn.is-video:hover {
    color: var(--plugin-blue-dark);
    border-color: #b8cff5;
    background: #f7fbff;
}

.plugin-btn.is-disabled {
    pointer-events: none;
    opacity: .68;
    transform: none;
    box-shadow: none;
}

.plugin-detail-sources,
.plugin-detail-source {
    display: none;
}

.plugin-hero-media {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plugin-hero-media img {
    display: block;
    width: auto;
    max-height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 24px 32px rgba(0,0,0,.22));
}

.plugin-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    cursor: pointer;
    transform: translateY(-50%);
}

.plugin-hero-arrow:before {
    content: "";
    position: absolute;
    top: 14px;
    left: 16px;
    width: 12px;
    height: 12px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.plugin-hero-arrow.is-prev {
    left: 20px;
}

.plugin-hero-arrow.is-next {
    right: 20px;
}

.plugin-hero-arrow.is-prev:before {
    transform: rotate(45deg);
}

.plugin-hero-arrow.is-next:before {
    left: 13px;
    transform: rotate(-135deg);
}

.plugin-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.plugin-hero-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.56);
    cursor: pointer;
}

.plugin-hero-dots button.is-active {
    width: 10px;
    height: 10px;
    background: #fff;
}

.plugin-hero-empty {
    padding: 76px 72px;
    background: linear-gradient(120deg, #2454d8, #0f1b36);
    color: #fff;
    box-sizing: border-box;
}

.plugin-hero-empty p {
    margin: 16px 0 0;
    font-size: 16px;
    color: rgba(255,255,255,.82);
}

.plugin-notice-wrap {
    min-height: 46px;
    border: 1px solid #77a8ff;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 26px rgba(39, 103, 232, .08);
}

.plugin-notice-wrap strong {
    padding-left: 18px;
    font-size: 15px;
}

.plugin-notice-wrap strong span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #14b8a6;
    vertical-align: 1px;
}

.plugin-notice-viewport {
    overflow: hidden;
}

.plugin-notice-track {
    --notice-duration: 28s;
    display: inline-flex;
    align-items: center;
    gap: 36px;
    min-width: 100%;
    white-space: nowrap;
}

.plugin-notice-viewport.is-rolling .plugin-notice-track {
    animation: pluginNoticeScroll var(--notice-duration) linear infinite;
}

.plugin-notice-viewport:hover .plugin-notice-track,
.plugin-notice-viewport:focus-within .plugin-notice-track {
    animation-play-state: paused;
}

.plugin-notice-item {
    flex: 0 0 auto;
    max-width: 360px;
    min-width: 0;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    color: #40516b;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.plugin-notice-item:hover,
.plugin-notice-item:focus {
    color: var(--plugin-blue);
}

.plugin-notice-item i {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 10px;
    border-radius: 50%;
    vertical-align: 3px;
}

.plugin-notice-title {
    display: inline;
}

.plugin-notice-content {
    display: none;
}

@keyframes pluginNoticeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.plugin-notice-dialog {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.plugin-notice-dialog.is-active {
    display: flex;
}

.plugin-notice-dialog-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .52);
}

.plugin-notice-dialog-panel {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    max-height: min(72vh, 620px);
    padding: 28px 30px 30px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
    box-sizing: border-box;
    overflow: auto;
}

.plugin-notice-dialog-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #eef3fb;
    color: #64748b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.plugin-notice-dialog-close:hover,
.plugin-notice-dialog-close:focus {
    background: #dfeafa;
    color: var(--plugin-blue);
}

.plugin-notice-dialog-panel h2 {
    margin: 0;
    padding-right: 36px;
    color: var(--plugin-ink);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 900;
}

.plugin-notice-dialog-content {
    margin-top: 18px;
    color: #40516b;
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-wrap;
}

.plugin-modal-open {
    overflow: hidden;
}

.plugin-video-dialog,
.plugin-detail-dialog {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
}

.plugin-video-dialog.is-active,
.plugin-detail-dialog.is-active {
    display: flex;
}

.plugin-video-dialog-mask,
.plugin-detail-dialog-mask {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, .68);
    backdrop-filter: blur(6px);
}

.plugin-video-dialog-panel,
.plugin-detail-dialog-panel {
    position: relative;
    z-index: 2;
    width: min(960px, 100%);
    max-height: min(86vh, 720px);
    border: 1px solid rgba(148, 163, 184, .38);
    border-radius: 10px;
    background: #111827;
    color: #e5edf8;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
    overflow: hidden;
}

.plugin-video-dialog-head,
.plugin-detail-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 66px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, .28);
    background: #151515;
    box-sizing: border-box;
}

.plugin-video-dialog-panel {
    width: min(932px, 100%);
    border-color: rgba(148, 163, 184, .32);
}

.plugin-video-dialog-head {
    min-height: 72px;
    padding: 14px 18px 14px 20px;
    background: #181a1f;
}

.plugin-video-dialog-head > div {
    position: relative;
    min-width: 0;
    padding-left: 52px;
}

.plugin-video-dialog-head > div:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(180deg, #2f7cf1, #1f57d7);
    box-shadow: 0 10px 18px rgba(47, 124, 241, .28);
    transform: translateY(-50%);
}

.plugin-video-dialog-head > div:after {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #fff;
    transform: translateY(-50%);
}

.plugin-video-dialog-head h2,
.plugin-detail-dialog-head h2 {
    margin: 0;
    color: #f8fbff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.plugin-video-dialog-head p,
.plugin-detail-dialog-head p {
    margin: 4px 0 0;
    color: #9fb0c7;
    font-size: 13px;
    line-height: 1.4;
}

.plugin-modal-close {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9fb0c7;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.plugin-modal-close:hover,
.plugin-modal-close:focus {
    background: rgba(148, 163, 184, .14);
    color: #fff;
}

.plugin-video-dialog-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    height: min(66vh, 552px);
}

.plugin-video-player {
    position: relative;
    min-width: 0;
    background: #0f172a;
}

.plugin-video-player video {
    display: block;
    width: 100%;
    height: 100%;
    background: #0b1020;
    object-fit: contain;
}

.plugin-video-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #9fb0c7;
    font-size: 15px;
    box-sizing: border-box;
}

.plugin-video-course {
    min-width: 0;
    border-left: 1px solid rgba(148, 163, 184, .28);
    background: #111;
}

.plugin-video-course-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(148, 163, 184, .22);
    color: #e5edf8;
    font-size: 13px;
    box-sizing: border-box;
}

.plugin-video-course-head span {
    color: #9fb0c7;
    font-size: 12px;
}

.plugin-video-course-list {
    height: calc(100% - 42px);
    overflow: auto;
}

.plugin-video-course-list button {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .2);
    padding: 12px 14px;
    background: transparent;
    color: #dbe8f8;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.plugin-video-course-list button:hover,
.plugin-video-course-list button.is-active {
    background: #172132;
}

.plugin-video-course-list button span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #263241;
    color: #cbd5e1;
    font-weight: 900;
}

.plugin-video-course-list button.is-active span {
    background: #2f7cf1;
    color: #fff;
}

.plugin-video-course-list button strong {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plugin-video-course-list button em {
    color: #9fb0c7;
    font-style: normal;
    font-size: 11px;
}

.plugin-video-course-list button small {
    grid-column: 2 / 4;
    overflow: hidden;
    color: #9fb0c7;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plugin-video-course-empty {
    padding: 40px 16px;
    color: #9fb0c7;
    text-align: center;
}

.plugin-detail-dialog-panel {
    width: min(860px, 100%);
}

.plugin-detail-dialog-body {
    display: grid;
    grid-template-columns: minmax(260px, 44%) minmax(0, 1fr);
    gap: 20px;
    max-height: calc(min(86vh, 720px) - 66px);
    padding: 24px;
    overflow: auto;
    box-sizing: border-box;
}

.plugin-detail-dialog-media {
    min-height: 300px;
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 10px;
    background: #1f2937;
    overflow: hidden;
}

.plugin-detail-dialog-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.plugin-detail-dialog-media div {
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9fb0c7;
    font-size: 14px;
}

.plugin-detail-dialog-main {
    min-width: 0;
}

.plugin-detail-dialog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.plugin-detail-dialog-meta span,
.plugin-detail-dialog-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 14px;
    background: rgba(47, 124, 241, .16);
    color: #8cb8ff;
    font-size: 12px;
    font-weight: 800;
}

.plugin-detail-dialog-content {
    color: #dce6f4;
    font-size: 14px;
    line-height: 1.8;
    word-break: break-word;
}

.plugin-detail-dialog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.plugin-drawer-open {
    overflow: hidden;
}

.plugin-category-drawer {
    position: fixed;
    inset: 0;
    z-index: 10010;
    display: none;
}

.plugin-category-drawer.is-active {
    display: block;
}

.plugin-category-drawer-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .42);
    backdrop-filter: blur(8px);
}

.plugin-category-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(900px, 100%);
    height: 100%;
    background: #f8fbff;
    box-shadow: -24px 0 70px rgba(15, 23, 42, .24);
    transform: translateX(18px);
    animation: pluginDrawerEnter .22s ease forwards;
    overflow: hidden;
}

@keyframes pluginDrawerEnter {
    to {
        transform: translateX(0);
    }
}

.plugin-category-drawer-close {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 4;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.plugin-category-drawer-close:hover,
.plugin-category-drawer-close:focus {
    background: #e8f1ff;
    color: var(--plugin-blue);
}

.plugin-category-drawer-content {
    display: none;
    height: 100%;
    overflow: auto;
}

.plugin-category-drawer-content.is-active {
    display: block;
}

.plugin-category-drawer-head {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 90px;
    padding: 20px 72px 18px 28px;
    border-bottom: 1px solid #dce7f6;
    background: rgba(248, 251, 255, .96);
    box-sizing: border-box;
}

.plugin-category-drawer-icon,
.plugin-category-drawer-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: #eaf3ff;
}

.plugin-category-drawer-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
}

.plugin-category-drawer-icon img,
.plugin-category-drawer-item-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.plugin-category-drawer-icon b,
.plugin-category-drawer-item-icon b {
    color: #111827;
    font-size: 26px;
    line-height: 1;
}

.plugin-category-drawer-head h2 {
    margin: 0;
    color: var(--plugin-blue);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 900;
}

.plugin-category-drawer-head p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
}

.plugin-category-drawer-search {
    position: sticky;
    top: 90px;
    z-index: 2;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 12px 24px;
    border-bottom: 1px solid #dce7f6;
    background: rgba(248, 251, 255, .96);
    box-sizing: border-box;
}

.plugin-category-drawer-search span {
    position: absolute;
    left: 38px;
    width: 14px;
    height: 14px;
    border: 2px solid #8aa2c2;
    border-radius: 50%;
    box-sizing: border-box;
}

.plugin-category-drawer-search span:after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -5px;
    width: 7px;
    height: 2px;
    border-radius: 2px;
    background: #8aa2c2;
    transform: rotate(45deg);
}

.plugin-category-drawer-search input {
    width: 100%;
    height: 42px;
    border: 1px solid #d5e1f0;
    border-radius: 8px;
    padding: 0 16px 0 42px;
    background: #fff;
    color: #1f2d42;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.plugin-category-drawer-search input:focus {
    border-color: #8fb8ff;
    box-shadow: 0 0 0 3px rgba(40, 103, 232, .12);
}

.plugin-category-drawer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 26px 24px 36px;
}

.plugin-category-drawer-item {
    min-height: 202px;
    border: 1px solid #dbe6f5;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(30, 66, 120, .05);
    box-sizing: border-box;
}

.plugin-category-drawer-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.plugin-category-drawer-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
}

.plugin-category-drawer-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plugin-category-drawer-item-head em {
    margin-top: 4px;
    padding: 2px 7px;
    border-radius: 8px;
    background: #edf3fb;
    color: #52657d;
    font-style: normal;
    font-size: 11px;
    font-weight: 900;
}

.plugin-category-drawer-item h3 {
    margin: 14px 0 0;
    color: #14223b;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
}

.plugin-category-drawer-item p {
    height: 42px;
    margin: 7px 0 0;
    overflow: hidden;
    color: #5c6d83;
    font-size: 13px;
    line-height: 1.6;
}

.plugin-category-drawer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    height: 26px;
    margin-top: 12px;
    overflow: hidden;
}

.plugin-category-drawer-tags span {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border: 1px solid #bcd5f8;
    border-radius: 12px;
    background: #eef6ff;
    color: #1158c8;
    font-size: 12px;
    font-weight: 800;
}

.plugin-category-drawer-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.plugin-category-drawer-actions .plugin-btn {
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
}

.plugin-category-drawer-detail {
    grid-column: 1 / -1;
}

.plugin-category-drawer-empty {
    grid-column: 1 / -1;
    padding: 46px 20px;
    border: 1px dashed #cdd9eb;
    border-radius: 12px;
    background: #fff;
    color: var(--plugin-muted);
    text-align: center;
}

.plugin-category-section {
    padding: 34px 0 26px;
}

.plugin-section-title {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 18px;
}

.plugin-section-title h2,
.plugin-category-block-head h2 {
    position: relative;
    margin: 0;
    color: var(--plugin-ink);
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
}

.plugin-section-title h2:before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    margin-right: 10px;
    border-radius: 2px;
    background: var(--plugin-blue);
    vertical-align: -3px;
}

.plugin-section-title p,
.plugin-category-block-head p {
    margin: 0 0 2px;
    color: var(--plugin-muted);
    font-size: 13px;
}

.plugin-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.plugin-category-card {
    min-height: 136px;
    border: 1px solid var(--plugin-line);
    border-radius: 10px;
    background: #fff;
    color: #111827;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(30, 66, 120, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.plugin-category-card:hover,
.plugin-category-card:focus {
    color: #111827;
    border-color: #8fb8ff;
    box-shadow: 0 14px 28px rgba(39, 103, 232, .12);
    transform: translateY(-2px);
}

.plugin-category-card.is-active {
    border-color: transparent;
    background: var(--active-bg, var(--plugin-blue));
    color: #fff;
    box-shadow: 0 16px 34px rgba(31, 83, 210, .26);
}

.plugin-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
}

.plugin-category-card.is-active .plugin-category-icon {
    background: rgba(255,255,255,.16);
}

.plugin-category-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.plugin-category-icon b {
    font-size: 28px;
    line-height: 1;
}

.plugin-category-card strong {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
}

.plugin-category-card em {
    margin-top: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #eef4fb;
    color: #67809f;
    font-style: normal;
    font-size: 12px;
}

.plugin-category-card.is-active em {
    background: rgba(255,255,255,.22);
    color: #fff;
}

.plugin-list-section {
    padding-bottom: 24px;
}

.plugin-category-block {
    scroll-margin-top: 96px;
    margin-bottom: 28px;
}

.plugin-category-block-head {
    display: none;
}

.plugin-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 322px;
    margin-bottom: 26px;
    border: 1px solid #82b3ff;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(31, 87, 190, .08);
}

.plugin-card-media {
    min-height: 322px;
    background-color: #edf5ff;
    background-image: linear-gradient(#dfeaf8 1px, transparent 1px), linear-gradient(90deg, #dfeaf8 1px, transparent 1px);
    background-size: 20px 20px;
}

.plugin-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plugin-card-empty-media {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #6b7c93;
    font-size: 14px;
    font-weight: 800;
    box-sizing: border-box;
}

.plugin-card-empty-media span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #c9d8ec;
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
}

.plugin-card-main {
    padding: 30px 28px 26px;
}

.plugin-card-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.plugin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border-radius: 6px;
    background: #edf3fb;
    color: #52657d;
    font-size: 12px;
    font-weight: 800;
}

.plugin-badge.is-self {
    background: #2f7cf1;
    color: #fff;
}

.plugin-badge.is-hot {
    background: #fff0df;
    color: #df6500;
}

.plugin-badge.is-new {
    background: #eafff2;
    color: #0a8f50;
}

.plugin-card-category {
    color: #7a8798;
    font-size: 13px;
}

.plugin-card h3 {
    margin: 15px 0 0;
    color: #1d5ee5;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 900;
}

.plugin-card p {
    margin: 8px 0 0;
    color: #5c6d83;
    font-size: 15px;
    line-height: 1.6;
}

.plugin-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.plugin-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid #bcd5f8;
    border-radius: 14px;
    background: #eef6ff;
    color: #1158c8;
    font-size: 13px;
    font-weight: 800;
}

.plugin-tags span:before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 7px;
    border-radius: 50%;
    background: #1f6feb;
}

.plugin-card-actions {
    margin-top: 16px;
}

.plugin-update {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #d7e2f0;
}

.plugin-update-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2d3d54;
    font-size: 14px;
}

.plugin-update-title span {
    padding: 2px 9px;
    border-radius: 10px;
    background: #1f6feb;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.plugin-update-title em {
    margin-left: auto;
    color: #8495ad;
    font-style: normal;
    font-size: 12px;
}

.plugin-update ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 12px 0 0;
    padding: 0;
    counter-reset: plugin-update-point;
    list-style: none;
}

.plugin-update li {
    min-width: 0;
    overflow: hidden;
    color: #40516b;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plugin-update li::before {
    counter-increment: plugin-update-point;
    content: counter(plugin-update-point);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border-radius: 5px;
    background: #e8f1ff;
    color: #1f6feb;
    font-size: 12px;
    font-weight: 900;
}

.plugin-update-index {
    display: none;
}

.plugin-empty {
    margin-bottom: 24px;
    padding: 42px 20px;
    border: 1px dashed #cdd9eb;
    border-radius: 12px;
    background: #fff;
    color: var(--plugin-muted);
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .plugin-hero-slide {
        grid-template-columns: 1fr;
        padding: 52px 42px;
    }

    .plugin-hero-media {
        display: none;
    }

    .plugin-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .plugin-category-drawer-panel {
        width: min(760px, 100%);
    }

    .plugin-category-drawer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plugin-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .plugin-update ol {
        grid-template-columns: 1fr;
    }

    .plugin-video-dialog-body {
        grid-template-columns: 1fr;
        height: min(78vh, 640px);
    }

    .plugin-video-player {
        height: 44vh;
        min-height: 260px;
    }

    .plugin-video-course {
        height: 260px;
        border-left: 0;
        border-top: 1px solid rgba(148, 163, 184, .28);
    }

    .plugin-detail-dialog-body {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .plugin-showcase-wrap {
        max-width: calc(100% - 24px);
    }

    .plugin-hero-carousel,
    .plugin-hero-empty {
        height: 330px;
        border-radius: 10px;
    }

    .plugin-hero-slide,
    .plugin-hero-empty {
        padding: 46px 24px;
    }

    .plugin-hero h1,
    .plugin-hero-empty h1 {
        font-size: 30px;
    }

    .plugin-hero-arrow {
        display: none;
    }

    .plugin-notice-wrap {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px 14px;
    }

    .plugin-notice-wrap strong {
        padding-left: 0;
    }

    .plugin-section-title {
        display: block;
    }

    .plugin-section-title p {
        margin: 8px 0 0 14px;
    }

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

    .plugin-category-drawer-close {
        top: 18px;
        right: 16px;
    }

    .plugin-category-drawer-head {
        min-height: 82px;
        padding: 16px 58px 14px 18px;
    }

    .plugin-category-drawer-search {
        top: 82px;
        padding: 10px 14px;
    }

    .plugin-category-drawer-search span {
        left: 28px;
    }

    .plugin-category-drawer-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px 14px 28px;
    }

    .plugin-category-card {
        min-height: 118px;
    }

    .plugin-card {
        grid-template-columns: 1fr;
    }

    .plugin-card-media {
        min-height: 210px;
    }

    .plugin-card-main {
        padding: 24px 18px 22px;
    }

    .plugin-card h3 {
        font-size: 23px;
    }

    .plugin-update-title {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .plugin-update-title em {
        width: 100%;
        margin-left: 0;
    }

    .plugin-update ol {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .plugin-video-dialog,
    .plugin-detail-dialog {
        padding: 10px;
    }

    .plugin-video-dialog-head,
    .plugin-detail-dialog-head {
        min-height: 58px;
        padding: 12px 14px;
    }

    .plugin-video-dialog-head h2,
    .plugin-detail-dialog-head h2 {
        font-size: 16px;
    }

    .plugin-video-player {
        height: 34vh;
        min-height: 210px;
    }

    .plugin-video-course {
        height: 280px;
    }

    .plugin-video-course-list button {
        min-height: 56px;
        padding: 10px 12px;
    }

    .plugin-detail-dialog-body {
        padding: 16px;
    }

    .plugin-detail-dialog-media,
    .plugin-detail-dialog-media img,
    .plugin-detail-dialog-media div {
        min-height: 220px;
    }
}
