.base-header {
    padding-top: 0;
}

.base-header .header-wrapper {
    background: none;
    color: var(--color-white);
}

img,
video {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
}

body {
    background: #060010;
    --bp-sm: 567px;
    --bp-md: 992px;
    --bp-lg: 1100px;
    --page-bg: #05010f;
    --panel-bg: rgba(255, 255, 255, 0.96);
    --panel-border: rgba(255, 255, 255, 0.12);
    --panel-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    --text-main: #101010;
    --text-soft: rgba(16, 16, 16, 0.64);
    --text-faint: rgba(16, 16, 16, 0.45);
    --line: rgba(16, 16, 16, 0.1);
    --accent: #ff4d4f;
    --accent-soft: rgba(255, 77, 79, 0.1);
    --chip-bg: #f7f8fb;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

main {
    color: #fff;
    background: url('https://images.chatartpro.com/chatartweben/assets/overview/chatart-skill/bg-1.svg') no-repeat 100% 2%/777px,
    url('https://images.chatartpro.com/chatartweben/assets/overview/chatart-skill/bg-2.svg') no-repeat 0% 6%/740px,
    url('https://images.chatartpro.com/chatartweben/assets/overview/chatart-skill/bg-3.svg') no-repeat 0% 70%/849px,
    url('https://images.chatartpro.com/chatartweben/assets/overview/chatart-skill/bg-4.svg') no-repeat 100% 60%/781px,
    url('https://images.chatartpro.com/chatartweben/assets/overview/chatart-skill/bg-5.svg') no-repeat 100% 84%/793px;

}

main .base-maxwidth {
    max-width: 1228px;
}

.skill-top-banner {
    position: relative;
    padding: 64px 0 0;
    color: #fff;
}


.skill-top-banner .hero-content {
    position: relative;
    z-index: 1;
}

.copy-btn {
    border: 0;
}

.skill-preview-section .skill-preview-nav-btn,
.skill-workflow-section .workflow-tab {
    border: 0;
}

.skill-top-banner .hero-content {
    padding-top: 64px;
}

.skill-top-banner .hero-copy {
    text-align: center;
}

.skill-top-banner .eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.skill-top-banner .hero-copy h1 {
    max-width: 980px;
    margin: 16px auto 0;
    font-size: clamp(32px, 4.4vw, 60px);
    line-height: 1.16;
}

.skill-top-banner .hero-description {
    max-width: 820px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.panel-card,
.workflow-card,
.skill-preview-section .skill-preview-frame {
    backdrop-filter: blur(20px);
}

.copy-btn {
    min-width: 98px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    background: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.copy-btn:hover {
    transform: translateY(-1px);
}

.skill-preview-section .skill-preview-frame {
    display: grid;
    align-items: stretch;
    grid-template-columns: 260px minmax(0, 1fr);
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    background: var(--panel-bg);
    color: var(--text-main);
}

.skill-preview-section .skill-preview-sidebar {
    padding: 24px 16px;
    border-right: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.74);
}

.skill-preview-section .skill-preview-nav-group+.skill-preview-nav-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.skill-preview-section .skill-preview-nav-title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.skill-preview-section .skill-preview-nav-btn {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    text-align: left;
    color: var(--text-soft);
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.skill-preview-section .skill-preview-nav-btn-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    opacity: 0.92;
}

.skill-preview-section .skill-preview-nav-btn-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.skill-preview-section .skill-preview-nav-btn-label {
    flex: 1;
    min-width: 0;
    text-align: left;
    line-height: 1.3;
}

.skill-preview-section .skill-preview-nav-btn+.skill-preview-nav-btn {
    margin-top: 4px;
}

.skill-preview-section .skill-preview-nav-btn.is-active {
    color: var(--text-main);
    background: var(--accent-soft);
}

.skill-preview-section .skill-preview-stage {
    min-height: min(360px, 40vh);
    max-height: min(676px, calc(100vh - 200px));
    padding: 28px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: auto;
}

.skill-conversation .chat-thread {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-conversation.workflow-stage {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-conversation .chat-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(16px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.skill-conversation .chat-message.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-conversation .chat-message.user {
    justify-content: flex-end;
}

.skill-conversation .chat-avatar {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 与 litmedia-skill `ChatAvatar.vue`：用户 U + 助手 claw 图 */
.skill-conversation .chat-avatar-user {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #32204D;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.skill-conversation .chat-message.user .chat-avatar-user {
    order: 2;
}

.skill-conversation .chat-avatar-assistant {
    width: 40px;
    height: 40px;
    margin-top: 2px;
    border-radius: 999px;
    background: #32204D;
}

.skill-conversation .chat-avatar-assistant-sm {
    width: 32px;
    height: 32px;
    margin-top: 2px;
}

.skill-conversation .chat-avatar-claw {
    display: block;
    width: 20px;
    height: 20px;
}

.skill-conversation .chat-avatar-assistant-sm .chat-avatar-claw {
    width: 16px;
    height: 12px;
}

.skill-conversation .assistant-preview-column {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 12px;
}

/* Installing… 状态条：宽度随文案+转圈，不铺满整行（与 flex 子项默认 stretch 对抗） */
.skill-conversation .quick-start-thinking {
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    box-sizing: border-box;
}

.skill-conversation .chat-bubble-plain {
    padding: 16px 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.skill-conversation .bubble-text-prompt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .skill-conversation .bubble-text-prompt {
        font-size: 16px;
    }
}

.skill-conversation .prompt-prefix,
.skill-conversation .prompt-repo {
    color: #7dd3fc;
}

.skill-conversation .prompt-repo {
    word-break: break-all;
}

.skill-conversation .status-process-inline {
    display: inline-flex;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #fff;
}

.skill-conversation .status-process-inline-completed {
    border-color: #e7e7e7;
}

.skill-conversation .status-process-label {
    font-size: 12px;
    color: #666;
}

.skill-conversation .status-process-action {
    margin-right: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.skill-conversation .status-pill-skill,
.skill-conversation .status-pill-module {
    font-size: 14px;
}

.skill-conversation .status-pill-skill {
    color: #fff;
}

.skill-conversation .status-pill-module {
    color: rgba(255, 255, 255, 0.4);
}

.skill-conversation .inline-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #e5e7eb;
    border-top-color: #6366f1;
    border-radius: 999px;
    animation: skill-spin 0.7s linear infinite;
}

.is-hidden {
    display: none !important;
}

@keyframes skill-spin {
    to {
        transform: rotate(360deg);
    }
}

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

.skill-conversation .chat-bubble,
.skill-conversation .status-card,
.skill-conversation .result-card,
.skill-conversation .workflow-login-card {
    max-width: min(860px, 100%);
    border: 1px solid #FFFFFF1A;
    border-radius: 20px;
    background: #32204D;
}

.skill-conversation .chat-message.user .chat-bubble {
    background: #32204D;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 90%;
}

.skill-conversation .chat-bubble {
    padding: 6px 16px 12px;
}

.skill-conversation .media-strip {
    display: flex;
    gap: 10px;
}

.skill-conversation .media-chip {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
}

.skill-conversation .media-chip picture {
    display: block;
    width: 100%;
    height: 100%;
}

.skill-conversation .media-chip img,
.skill-conversation .media-chip video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skill-conversation .audio-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.skill-conversation .bubble-text,
.skill-conversation .workflow-copy,
.faq-section .faq-answer,
.skill-item-copy {
    margin: 0;
    line-height: 1.7;
}

.skill-conversation .status-card,
.skill-conversation .result-card,
.skill-conversation .workflow-login-card {
    padding: 18px;
}

.skill-conversation .status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.skill-conversation .status-title {
    font-weight: 700;
}

.skill-conversation .status-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-conversation .result-card {
    max-width: 700px;
    width: 100%;
}

.skill-conversation .tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #2b2b2b;
    background: #f4f5fa;
}

.skill-conversation .result-media {
    overflow: hidden;
    border-radius: 12px;
}

.skill-conversation .result-media picture {
    display: block;
}

.skill-conversation .result-media img {
    max-width: 235px;
}

.skill-conversation .result-media img,
.skill-conversation .result-media video {
    max-height: 420px;
    border-radius: 12px;
}

.skill-conversation .result-media-audio audio {
    display: block;
    min-height: 44px;
}

.skill-conversation .result-media-audio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(45, 36, 58, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    max-width: 300px;
}

.skill-conversation .skill-preview-audio-card-thumb {
    flex: 0 0 33%;
    max-width: 120px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: #0d0f1b;
}

.skill-conversation .skill-preview-audio-card-thumb picture {
    display: block;
    width: 100%;
    height: 100%;
}

.skill-conversation .skill-preview-audio-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.skill-conversation .skill-preview-audio-card-meta {
    position: relative;
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.skill-conversation .skill-preview-audio-card-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.skill-conversation .skill-preview-audio-card-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 999px;
    color: #101010;
    background: #fff;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        background-color 0.2s ease;
}

.skill-conversation .skill-preview-audio-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.skill-conversation .skill-preview-audio-card-icon-pause {
    display: none;
}

.skill-conversation .skill-preview-audio-card-play.is-playing .skill-preview-audio-card-icon-play {
    display: none;
}

.skill-conversation .skill-preview-audio-card-play.is-playing .skill-preview-audio-card-icon-pause {
    display: inline-flex;
}

.skill-conversation .skill-preview-audio-card-play:hover {
    background: #f4f4f5;
}

.skill-conversation .skill-preview-audio-card-play:active {
    transform: scale(0.96);
}

.skill-conversation .skill-preview-audio-card-engine {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skill-conversation .result-title {
    margin-bottom: 16px;
}

.skill-conversation .result-subtitle {
    margin-top: 8px;
    color: var(--text-soft);
}

.skill-conversation .quick-start-stack {
    display: grid;
    gap: 20px;
    max-width: 900px;
}

.skill-conversation .quick-start-success {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.skill-conversation .quick-start-success-check {
    flex: 0 0 auto;
    line-height: 0;
}

.skill-conversation .quick-start-result-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.skill-conversation .quick-start-stack .result-subtitle {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.5;
}

.skill-conversation .quick-start-block {
    display: grid;
    gap: 10px;
}

.skill-conversation .quick-start-models-heading {
    margin-bottom: 4px !important;
}

.skill-conversation .quick-start-block .chip-list+.models-title {
    margin-top: 12px;
}

.capability-grid,
.platform-grid,
.why-grid {
    display: grid;
    gap: 16px;
}

.skill-conversation .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skill-conversation .capability-grid-quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 640px) {
    .skill-conversation .capability-grid-quick {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.skill-conversation .capability-item-quick {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.skill-conversation .capability-item-icon {
    flex: 0 0 auto;
    display: inline-flex;
    color: rgba(255, 255, 255, 0.85);
}

.skill-conversation .capability-item-icon-svg {
    display: block;
}

.skill-conversation .capability-item-quick .capability-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.35;
}

.skill-conversation .capability-item {
    padding: 14px;
}

.skill-conversation .capability-item:not(.capability-item-quick) {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.skill-conversation .capability-item:not(.capability-item-quick) .capability-name {
    margin: 0;
    font-weight: 700;
    color: var(--text-main);
}

.skill-conversation .platform-grid-quick-start {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 900px) {
    .skill-conversation .platform-grid-quick-start {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .skill-conversation .platform-grid-quick-start {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.skill-conversation .platform-item-quick {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 10px 6px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.skill-conversation .platform-item-quick img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.skill-conversation .platform-item-quick .platform-name {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.3;
}

.skill-conversation .chip-list-quick {
    gap: 8px;
}

.skill-conversation .tag-quick {
    color: rgba(255, 255, 255, 0.92) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 600;
}

.skill-conversation .quick-start-stack .subsection-title,
.skill-conversation .quick-start-stack .models-title {
    color: rgba(255, 255, 255, 0.45);
}

.subsection-title,
.models-title,
.section-card-title {
    margin: 0 0 16px;
    color: var(--text-main);
}

.subsection-title,
.models-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.platform-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-item img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
}

.platform-name {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.section {
    padding: 36px 0 28px;
}

.cards-grid {
    display: grid;
    gap: 20px;
}

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

.section-heading {
    max-width: 860px;
    margin: 0 auto 28px;
    text-align: center;
    color: var(--text-main);
}

.section-heading-left {
    margin-left: 0;
    text-align: left;
}

.section-heading h2 {
    margin: auto;
    font-size: clamp(30px, 3vw, 48px);
}

.section-heading p {
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-soft);
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.model-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-main);
    background: var(--chip-bg);
}

.model-chip img {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    object-fit: cover;
}

.skill-workflow-section .workflow-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}

.skill-workflow-section .workflow-stage {
    min-height: 420px;
    padding: 12px 0 0;
}

.skill-workflow-section .workflow-copy {
    color: var(--text-soft);
}

.skill-workflow-section .workflow-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--text-main);
    background: #f8f9fc;
}

.skill-workflow-section .workflow-login-card {
    display: grid;
    gap: 14px;
}

.skill-workflow-section .workflow-login-card.wf-signin-card-done {
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.18);
    transition: border-color 0.45s ease, box-shadow 0.45s ease;
}

.skill-workflow-section .wf-signin-section {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.skill-workflow-section .wf-signin-section.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.skill-workflow-section .wf-signin-capgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 520px) {
    .skill-workflow-section .wf-signin-capgrid {
        grid-template-columns: 1fr;
    }
}

.skill-workflow-section .wf-signin-capability {
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
}

.skill-workflow-section .wf-signin-capability-title {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.skill-workflow-section .wf-signin-capability-desc {
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.55;
    color: var(--text-soft);
}

.skill-workflow-section .wf-signin-link-pill {
    display: inline-flex;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #f8f9fc;
}

.skill-workflow-section .wf-signin-link-text {
    font-size: 12px;
    font-weight: 600;
    word-break: break-all;
    color: var(--text-main);
}

.skill-workflow-section .wf-signin-success-block {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.skill-workflow-section .wf-signin-success-block.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.skill-workflow-section .wf-signin-success-text {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
}

.skill-workflow-section .progress-shell {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #ebedf4;
}

.skill-workflow-section .progress-bar {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7e1b 0%, #e455d4 100%);
    transition: width 0.45s ease;
}

.skill-card {
    padding: 22px;
}

.skill-card h3,
.why-card h3 {
    margin: 0;
    color: var(--text-main);
}

.skill-card>p,
.why-card p {
    margin-top: 10px;
    color: var(--text-soft);
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.skill-item {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8f9fd;
}

.skill-item-title {
    margin: 0 0 6px;
    font-weight: 700;
    color: var(--text-main);
}

.why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-card {
    padding: 24px;
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 28px;
    background: linear-gradient(135deg, rgba(255, 126, 27, 0.14) 0%, rgba(228, 85, 212, 0.18) 100%);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 18px 20px;
    border: 0;
    text-align: left;
    color: var(--text-main);
    background: #fff;
}

.faq-question {
    font-weight: 700;
}

.faq-icon {
    font-size: 20px;
    color: var(--text-soft);
    transition: transform 0.2s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 20px;
    color: var(--text-soft);
    transition: grid-template-rows 0.28s ease;
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
    padding-bottom: 18px;
}

@media (max-width: 1100px) {
    .support-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* 预览区：≤1023px 仍保持侧栏 + 内容左右分栏，仅压缩侧栏宽度与内边距 */
@media (max-width: 1023px) {
    .skill-preview-section .skill-preview-frame {
        grid-template-columns: minmax(168px, 200px) minmax(0, 1fr);
    }

    .skill-preview-section .skill-preview-sidebar {
        padding: 18px 12px;
    }

    .skill-preview-section .skill-preview-nav-btn {
        padding: 9px 10px;
        font-size: 13px;
        gap: 8px;
    }

    .skill-preview-section .skill-preview-stage {
        padding: 20px 16px;
        min-height: min(320px, 42vh);
    }
}

/* 更窄屏再改为上下堆叠，避免 1024 附近出现「侧栏在上、内容在下」 */
@media (max-width: 767px) {
    .skill-preview-section .skill-preview-frame {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .skill-preview-section .skill-preview-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}

/* skill/skill.html inline */

.skill-top-banner .hero-copy h1 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.skill-top-banner .hero-description {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.72);
}

/* Hero 安装命令卡片：鼠标跟随光晕 + 深色玻璃底 */
.skill-top-banner .hero-copy-glow-board {
    position: relative;
    overflow: visible;
    max-width: 920px;
    margin: 36px auto 0;
    border-radius: 20px;
    z-index: 0;
}

.skill-top-banner .hero-copy-glow-board::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    background: radial-gradient(200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(168, 85, 247, 0.9) 0%,
            rgba(99, 102, 241, 0.6) 25%,
            rgba(168, 85, 247, 0.3) 50%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
    filter: blur(8px);
}

.skill-top-banner .hero-copy-glow-board::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 1) 0%,
            rgba(168, 85, 247, 0.9) 20%,
            rgba(99, 102, 241, 0.6) 50%,
            rgba(168, 85, 247, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.skill-top-banner .hero-copy-glow-board:hover::before {
    opacity: 1;
}

.skill-top-banner .hero-copy-glow-board:hover::after {
    opacity: 1;
}

.skill-top-banner .hero-copy-glow-layer {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px) brightness(100%);
    backdrop-filter: blur(10px) brightness(100%);
    background: url(https://images.chatartpro.com/chatartweben/assets/overview/chatart-skill/copy-bg.svg) no-repeat center/cover, linear-gradient(105deg,
            #1a0d3a 0%,
            #0e0422 42%,
            #2a1848 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    z-index: 0;
    pointer-events: none;
}

/* 与 skill/index.html Anima 版矩形一致：细亮边高光 */
.skill-top-banner .hero-copy-glow-layer::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(168deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0) 52%,
            rgba(255, 255, 255, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.skill-top-banner .hero-copy-glow-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    padding: 6px 18px 6px 22px;
    min-height: 68px;
}

.skill-top-banner .hero-copy-command-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
}

.skill-top-banner .hero-install-command-line {
    margin: 0;
    flex: 1 1 200px;
    min-width: 0;
    text-align: left;
    color: #b19ef0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    word-break: break-word;
}

.skill-top-banner .hero-install-lead {
    font-weight: 700;
    color: #fff;
    margin-right: 4px;
}

.skill-top-banner .hero-install-body {
    font-weight: 400;
    color: #b19ef0;
}

.skill-top-banner .hero-copy-glow-board .copy-btn {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px) brightness(100%);
    backdrop-filter: blur(10px) brightness(100%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.45);
    color: #f4f4f5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.36s ease,
        background-color 0.36s ease,
        border-color 0.36s ease,
        color 0.36s ease;
}

.skill-top-banner .hero-copy-glow-board .copy-btn-icon-only {
    width: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 10px;
}

.skill-top-banner .hero-copy-glow-board .copy-btn-icon-only .hero-copy-icon-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.skill-top-banner .hero-copy-glow-board .copy-btn:hover {
    border-color: rgba(192, 132, 252, 0.65);
    background: rgba(124, 58, 237, 0.5);
}

.skill-top-banner .hero-copy-glow-board .copy-btn.is-copied {
    border-color: rgba(34, 197, 94, 0.55);
    background: rgba(34, 197, 94, 0.35);
    color: #f4f4f5;
}

.skill-top-banner .hero-copy-glow-board .copy-btn.is-copied .hero-copy-icon-copy {
    display: none;
}

.skill-top-banner .hero-copy-glow-board .copy-btn:not(.is-copied) .hero-copy-icon-check {
    display: none;
}

.skill-workflow-section .workflow-stage .status-process-label {
    color: rgba(255, 255, 255, 0.55);
}

.skill-workflow-section .workflow-login-card .status-title {
    color: rgba(255, 255, 255, 0.95);
}

.skill-workflow-section .workflow-login-card .wf-signin-capability {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.skill-workflow-section .workflow-login-card .wf-signin-capability-title {
    color: #fff;
}

.skill-workflow-section .workflow-login-card .wf-signin-capability-desc {
    color: rgba(255, 255, 255, 0.62);
}

.skill-workflow-section .workflow-login-card .wf-signin-link-pill {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.12);
}

.skill-workflow-section .workflow-login-card .wf-signin-link-text {
    color: #b19ef0;
}

.skill-workflow-section .workflow-login-card .workflow-input {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

.skill-workflow-section .workflow-login-card .progress-shell {
    background: rgba(255, 255, 255, 0.12);
}

.skill-workflow-section .workflow-login-card.wf-signin-card-done {
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25);
}

/* 技能预览主框架：深色玻璃面板 */
.skill-preview-section .skill-preview-frame {
    -webkit-backdrop-filter: blur(10px) brightness(100%);
    backdrop-filter: blur(10px) brightness(100%);
    background-color: #170c27;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
}

.skill-preview-section .skill-preview-frame .skill-preview-sidebar {
    border-right-color: rgba(255, 255, 255, 0.08);
    background: transparent;
}

.skill-preview-section .skill-preview-frame .skill-preview-nav-title {
    color: rgba(255, 255, 255, 0.38);
}

.skill-preview-section .skill-preview-frame .skill-preview-nav-btn {
    color: rgba(255, 255, 255, 0.62);
}

.skill-preview-section .skill-preview-frame .skill-preview-nav-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
}

.skill-preview-section .skill-preview-frame .skill-preview-nav-btn.is-active {
    color: #fff;
    background: rgba(124, 58, 237, 0.35);
}

.skill-preview-section .skill-preview-frame .skill-preview-stage {
    min-height: 320px;
    max-height: min(676px, calc(100vh - 180px));
    border-radius: 0 20px 20px 0;
}

@media (max-width: 767px) {
    .skill-preview-section .skill-preview-frame .skill-preview-sidebar {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 900px) {
    .skill-preview-section .skill-preview-frame .skill-preview-stage {
        max-height: min(520px, calc(100vh - 160px));
        border-radius: 0 0 16px 16px;
    }
}

/* most-feature（对齐 ai_music_video_generator：左文右视频 ×3） */
.skill-page .skill-most-feature-section.most-feature {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: 70px;
}

.skill-page .most-feature h2 {
    margin: auto;
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    text-align: center;
    max-width: 1000px;
}

.skill-page .most-feature .color {
    background: linear-gradient(
        103deg,
        #5cfff5 2.47%,
        #685bff 39.92%,
        #b124f3 90.82%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-page .most-feature h2 + .desc {
    max-width: 720px;
    margin: 14px auto 48px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
}

.skill-page .most-feature .content-box {
    position: relative;
    z-index: 10;
}

.skill-page .most-feature .content-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 60px;
    padding: 0 14px;
    border-radius: 40px;
    position: sticky;
    top: 0;
    transition: transform 0.3s ease;
}

.skill-page .most-feature .content-item:last-child {
    margin-bottom: 0;
}

.skill-page .most-feature .content-item .text {
    max-width: 576px;
    width: 50%;
}


.skill-page .most-feature .content-item video {
    width: 100%;
    height: auto;
    border-radius: inherit;
}


@media (max-width: 1100px) {
    .skill-page .most-feature .content-item {
        padding: 80px 14px;
    }

    .skill-page .most-feature .content-item .img {
        margin-left: 24px;
    }
}

@media (max-width: 992px) {

    .skill-page .most-feature h2 + .desc {
        margin-bottom: 32px;
    }

    .skill-page .most-feature .content-item {
        flex-wrap: wrap;
        padding: 30px 20px 16px;
        margin-bottom: 40px;
        border-radius: 30px;
        position: static;
        transform: none !important;
        box-shadow: none !important;
    }
}

/* 首屏下：OpenClaw 区块 — workflow + 双卡片（设计稿：紫黑渐变、步骤胶囊、可滚动对话区、双列模型） */
.section-below-hero {
    padding-top: 70px;
}

.section-below-hero .section-heading {
    max-width: 960px;
    margin-bottom: 36px;
}

.section-below-hero .section-heading h2 {
    color: #fff;
    letter-spacing: -0.02em;
}

.section-below-hero .section-heading p {
    margin-top: 16px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
}

.section-below-hero .workflow-section {
    margin-bottom: 0;
}

.skill-workflow-section .workflow-card {
    position: relative;
    color: rgba(255, 255, 255, 0.92);
}

.skill-workflow-section .workflow-tabs {
    gap: 18px;
    margin-bottom: 18px;
}

.skill-workflow-section .workflow-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    background: rgba(43, 27, 61, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        font-weight 0.2s ease;
}

.skill-workflow-section .workflow-tab:hover:not(.is-active) {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(55, 36, 78, 0.88);
}

.skill-workflow-section .workflow-tab.is-active {
    font-weight: 700;
    color: #fff;
    border-color: transparent;
    background: #7a1bd0;
    box-shadow: none;
}

/* 左侧圆标：未选中为白底深字序号；选中为白底紫勾 */
.skill-workflow-section .workflow-tab-mark {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #fff;
}

.skill-workflow-section .workflow-tab:not(.is-active) .workflow-tab-mark {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #2b1b3d;
}

.skill-workflow-section .workflow-tab:not(.is-active)[data-workflow-step='install'] .workflow-tab-mark::before {
    content: '1';
}

.skill-workflow-section .workflow-tab:not(.is-active)[data-workflow-step='signIn'] .workflow-tab-mark::before {
    content: '2';
}

.skill-workflow-section .workflow-tab:not(.is-active)[data-workflow-step='use'] .workflow-tab-mark::before {
    content: '3';
}

.skill-workflow-section .workflow-tab.is-active .workflow-tab-mark::before {
    content: none;
}

.skill-workflow-section .workflow-tab.is-active .workflow-tab-mark::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    margin-top: -2px;
    border: solid #7a1bd0;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.skill-workflow-section .workflow-tab:not(.is-active) .workflow-tab-mark::after {
    content: none;
}

.skill-workflow-section .workflow-tab-label {
    min-width: 0;
    text-align: left;
}

.skill-workflow-section .workflow-stage {
    height: 480px;
    padding: 24px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: #170C27;
}

/* support-grid-wrap：图一 — 双卡片纵向堆叠、玻璃拟态、Agents 单行 7 图标 */
.support-grid-wrap.support-grid {
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
}

.support-grid-wrap {
    margin-top: 28px;
    padding-bottom: 56px;
}

.section-below-hero .panel-card {
    padding: 22px 24px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(26, 22, 37, 0.65);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.section-below-hero .section-card-title {
    margin-bottom: 18px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    text-align: left;
}

.section-below-hero .platform-grid {
    display: flex;
    gap: 60px;
}

.section-below-hero .platform-item-icon-only {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    aspect-ratio: 1;
    max-width: 70px;
}

.section-below-hero .platform-item-icon-only img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

.models-panel-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 32px;
    align-items: start;
}

.models-panel-split .models-block {
    min-width: 0;
}

.section-below-hero .models-title {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.section-below-hero .chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.section-below-hero .model-chip {
    width: fit-content;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(80, 60, 120, 0.35);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 600;
}

.section-below-hero .model-chip img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

/* faq-section：图二 — 深色底 + 玻璃折叠卡片 + 下箭头 */
.faq-section {
    padding: 60px 0 120px;
}

.faq-section .section-heading {
    margin-bottom: 28px;
}

.faq-section .section-heading h2 {
    color: #fff;
    font-weight: 700;
}

.faq-section .faq-list {
    margin: 0 auto;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(28, 22, 48, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    contain: layout;
}

.faq-item .faq-trigger {
    padding: 20px 22px;
    color: #fff;
    background: transparent;
    border-radius: 22px;
}

.faq-item .faq-question {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.faq-item .faq-chevron {
    flex-shrink: 0;
    display: inline-flex;
    color: rgba(255, 255, 255, 0.85);
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-item .faq-answer {
    padding: 0 22px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1.75;
    transition: grid-template-rows 0.3s ease;
}

.faq-item .faq-answer p {
    margin: 0;
}

.faq-item.is-open .faq-answer {
    padding-bottom: 20px;
}

/* FAQ 下方：参考图 — 上下深紫黑、中间横向高亮紫带（静态，无动画） */
.post-faq-cta {
    position: relative;
    overflow: hidden;
    padding: 72px 16px 88px;
    background-color: #170C27;
}

.post-faq-cta::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -20%;
    right: -12%;
    bottom: -20%;
    left: -12%;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        #0a0314 0%,
        #0d0518 10%,
        rgba(59, 7, 100, 0.85) 28%,
        rgba(147, 51, 234, 0.75) 40%,
        #b685ff 48%,
        #c084fc 50%,
        #a855f7 52%,
        #b685ff 54%,
        rgba(147, 51, 234, 0.72) 62%,
        rgba(59, 7, 100, 0.8) 74%,
        #0d0518 90%,
        #0a0314 100%
    );
    filter: blur(22px) saturate(1.35);
    opacity: 1;
}

.post-faq-cta::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(13, 5, 24, 0.72) 0%,
        rgba(13, 5, 24, 0.15) 24%,
        transparent 42%,
        transparent 58%,
        rgba(13, 5, 24, 0.18) 76%,
        rgba(13, 5, 24, 0.78) 100%
    );
}

.post-faq-cta > .base-maxwidth {
    position: relative;
    z-index: 1;
}

.post-faq-cta-inner {
    display: flex;
    max-width: 920px;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

.post-faq-cta-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.post-faq-cta-title-line {
    display: block;
}

.post-faq-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 999px;
    background: #790EB6;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.post-faq-cta-btn:link,
.post-faq-cta-btn:visited {
    color: #fff;
}

.post-faq-cta-btn:hover {
    background: #9121e0;
    transform: translateY(-1px);
    color: #fff;
}

.post-faq-cta-btn:active {
    color: #fff;
}

.post-faq-cta-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .section-below-hero .platform-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* FloatingCopyPromptBar.vue：锚点 + 底部条 + 分阶段入场/退场 */
.skill-page .copy-anchor {
    position: absolute;
    left: 0;
    top: 520px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.skill-page .floating-copy-prompt {
    position: fixed;
    right: 0;
    left: 0;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    z-index: 98;
    display: flex;
    max-width: 852px;
    justify-content: center;
    padding: 0 12px;
    margin: 0 auto;
    pointer-events: none;
}

@media (min-width: 640px) {
    .skill-page .floating-copy-prompt {
        bottom: 16px;
        padding: 0 16px;
    }
}

@media (min-width: 768px) {
    .skill-page .floating-copy-prompt {
        bottom: 40px;
    }
}

.skill-page .floating-copy-prompt-shell {
    pointer-events: auto;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        rgba(32, 18, 58, 0.96) 0%,
        rgba(18, 8, 36, 0.98) 55%,
        rgba(26, 13, 58, 0.96) 100%
    );
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 32px rgba(124, 58, 237, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition:
        max-width 0.72s ease,
        transform 0.72s ease,
        opacity 0.72s ease,
        box-shadow 0.72s ease;
}

@media (min-width: 640px) {
    .skill-page .floating-copy-prompt-shell {
        border-radius: 24px;
    }
}

@media (min-width: 768px) {
    .skill-page .floating-copy-prompt-shell {
        border-radius: 28px;
    }
}

.skill-page .floating-copy-prompt-shell[data-floating-stage='0'] {
    max-width: 320px;
    transform: translateY(140%) scale(0.94);
    opacity: 0;
    pointer-events: none;
}

.skill-page .floating-copy-prompt-shell[data-floating-stage='1'] {
    max-width: 388px;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.skill-page .floating-copy-prompt-shell[data-floating-stage='2'],
.skill-page .floating-copy-prompt-shell[data-floating-stage='3'],
.skill-page .floating-copy-prompt-shell[data-floating-stage='4'] {
    max-width: min(1080px, calc(100vw - 24px));
    transform: translateY(0) scale(1);
    opacity: 1;
}

@media (min-width: 640px) {

    .skill-page .floating-copy-prompt-shell[data-floating-stage='2'],
    .skill-page .floating-copy-prompt-shell[data-floating-stage='3'],
    .skill-page .floating-copy-prompt-shell[data-floating-stage='4'] {
        max-width: min(1080px, calc(100vw - 32px));
    }
}

.skill-page .floating-copy-prompt-layout {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 0;
    padding: 12px 12px;
    transition: gap 0.64s ease, padding 0.64s ease;
}

@media (min-width: 640px) {
    .skill-page .floating-copy-prompt-layout {
        min-height: 62px;
        padding: 16px 20px;
    }
}

.skill-page .floating-copy-prompt-layout-wide {
    gap: 8px 12px;
}

@media (max-width: 639px) {
    .skill-page .floating-copy-prompt-layout-wide {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
    }

    .skill-page .floating-copy-prompt-layout-wide .floating-copy-prompt-lead {
        grid-column: 1;
        grid-row: 1;
    }

    .skill-page .floating-copy-prompt-layout-wide .floating-copy-prompt-btn {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .skill-page .floating-copy-prompt-layout-wide .floating-copy-prompt-field-shell {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (min-width: 640px) {
    .skill-page .floating-copy-prompt-layout-wide {
        display: flex;
        flex-direction: row;
        gap: 12px;
    }
}

@media (min-width: 768px) {
    .skill-page .floating-copy-prompt-layout-wide {
        gap: 16px;
    }
}

.skill-page .floating-copy-prompt-lead {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: rgba(244, 244, 245, 0.92);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

@media (min-width: 640px) {
    .skill-page .floating-copy-prompt-lead {
        font-size: 15px;
        line-height: 1;
    }
}

.skill-page .floating-copy-prompt-shell[data-floating-stage='0'] .floating-copy-prompt-lead {
    transform: translateY(8px);
    opacity: 0;
}

.skill-page .floating-copy-prompt-shell[data-floating-stage='1'] .floating-copy-prompt-lead,
.skill-page .floating-copy-prompt-shell[data-floating-stage='2'] .floating-copy-prompt-lead,
.skill-page .floating-copy-prompt-shell[data-floating-stage='3'] .floating-copy-prompt-lead,
.skill-page .floating-copy-prompt-shell[data-floating-stage='4'] .floating-copy-prompt-lead {
    transform: translateY(0);
    opacity: 1;
}

.skill-page .floating-copy-prompt-field-shell {
    min-width: 0;
    overflow: hidden;
    transition:
        max-width 0.62s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.62s ease,
        transform 0.62s ease,
        margin 0.62s ease;
}

.skill-page .floating-copy-prompt-shell[data-floating-stage='0'] .floating-copy-prompt-field-shell,
.skill-page .floating-copy-prompt-shell[data-floating-stage='1'] .floating-copy-prompt-field-shell {
    max-width: 0;
    margin-left: 0;
    transform: translateY(8px);
    opacity: 0;
}

.skill-page .floating-copy-prompt-shell[data-floating-stage='2'] .floating-copy-prompt-field-shell,
.skill-page .floating-copy-prompt-shell[data-floating-stage='3'] .floating-copy-prompt-field-shell,
.skill-page .floating-copy-prompt-shell[data-floating-stage='4'] .floating-copy-prompt-field-shell {
    max-width: none;
    flex: 1;
    transform: translateY(0);
    opacity: 1;
}

@media (min-width: 640px) {

    .skill-page .floating-copy-prompt-shell[data-floating-stage='2'] .floating-copy-prompt-field-shell,
    .skill-page .floating-copy-prompt-shell[data-floating-stage='3'] .floating-copy-prompt-field-shell,
    .skill-page .floating-copy-prompt-shell[data-floating-stage='4'] .floating-copy-prompt-field-shell {
        max-width: 760px;
        margin-left: 4px;
    }
}

.skill-page .floating-copy-prompt-field {
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 12px;
    min-height: 32px;
    transition: transform 0.42s ease, opacity 0.42s ease;
    display: flex;
    align-items: center;
}


.skill-page .floating-copy-prompt-shell[data-floating-stage='0'] .floating-copy-prompt-field,
.skill-page .floating-copy-prompt-shell[data-floating-stage='1'] .floating-copy-prompt-field,
.skill-page .floating-copy-prompt-shell[data-floating-stage='2'] .floating-copy-prompt-field {
    transform: translateY(8px) scale(0.985);
    opacity: 0;
}

.skill-page .floating-copy-prompt-shell[data-floating-stage='3'] .floating-copy-prompt-field,
.skill-page .floating-copy-prompt-shell[data-floating-stage='4'] .floating-copy-prompt-field {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.skill-page .floating-copy-prompt-mono {
    margin: 0;
    font-size: 12px;
    line-height: 1.375;
    color: rgba(177, 158, 240, 0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skill-page .floating-copy-prompt-btn {
    display: flex;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: #f4f4f5;
    cursor: pointer;
    transition:
        transform 0.36s ease,
        opacity 0.36s ease,
        background-color 0.36s ease,
        border-color 0.36s ease;
}

@media (min-width: 640px) {
    .skill-page .floating-copy-prompt-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}

.skill-page .floating-copy-prompt-shell[data-floating-stage='0'] .floating-copy-prompt-btn,
.skill-page .floating-copy-prompt-shell[data-floating-stage='1'] .floating-copy-prompt-btn,
.skill-page .floating-copy-prompt-shell[data-floating-stage='2'] .floating-copy-prompt-btn,
.skill-page .floating-copy-prompt-shell[data-floating-stage='3'] .floating-copy-prompt-btn {
    pointer-events: none;
    transform: translateX(12px) scale(0.96);
    opacity: 0;
}

.skill-page .floating-copy-prompt-shell[data-floating-stage='4'] .floating-copy-prompt-btn {
    pointer-events: auto;
    transform: translateX(0) scale(1);
    opacity: 1;
}

.skill-page .floating-copy-prompt-btn:hover {
    border-color: rgba(192, 132, 252, 0.65);
    background: rgba(124, 58, 237, 0.5);
}

.skill-page .floating-copy-prompt-btn.is-copied {
    border-color: rgba(34, 197, 94, 0.55);
    background: rgba(34, 197, 94, 0.35);
    color: #f4f4f5;
}

.skill-page .floating-copy-prompt-btn .floating-copy-prompt-icon-svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 640px) {
    .skill-page .floating-copy-prompt-btn .floating-copy-prompt-icon-svg {
        width: 18px;
        height: 18px;
    }
}

.skill-page .floating-copy-prompt-btn.is-copied .floating-copy-prompt-icon-copy {
    display: none;
}

.skill-page .floating-copy-prompt-btn:not(.is-copied) .floating-copy-prompt-icon-check {
    display: none;
}

/* Skill 预览区：与 top-banner 一致 section + base-maxwidth */
.skill-preview-section {
    display: block;
}

.skill-preview-outer {
    margin-top: 24px;
    margin-bottom: 16px;
}


.skill-top-banner .base-maxwidth {
    position: relative;
    z-index: 1;
}

/* ≤768px：不展示 Skill 落地页主内容，仅展示「请使用桌面端」全屏页 */
.skill-mobile-gate {
    display: none;
}

@media (max-width: 768px) {
    body {
        overflow: hidden;
    }

    body .base-header,
    body .skill-page,
    body .base-footer {
        display: none !important;
    }

    .skill-mobile-gate {
        position: fixed;
        inset: 0;
        z-index: 100000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 24px 20px;
        box-sizing: border-box;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .skill-mobile-gate-bg {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                180deg,
                #030208 0%,
                #0a1628 38%,
                #0d2035 50%,
                #0a1628 62%,
                #030208 100%
            );
        z-index: 0;
    }

    .skill-mobile-gate-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        opacity: 0.35;
        background-image: repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 14px
        );
        pointer-events: none;
    }

    .skill-mobile-gate-inner {
        position: relative;
        z-index: 1;
        display: flex;
        width: 100%;
        max-width: 400px;
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .skill-mobile-gate-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .skill-mobile-gate-logo {
        display: inline-flex;
        line-height: 0;
    }

    .skill-mobile-gate-logo-svg {
        display: block;
    }

    .skill-mobile-gate-brand-name {
        font-size: 22px;
        font-weight: 700;
        color: #fff;
        letter-spacing: -0.02em;
    }

    .skill-mobile-gate-card {
        width: 100%;
        padding: 32px 24px 28px;
        border-radius: 40px;
        background: #fff;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    }

    .skill-mobile-gate-title {
        margin: 0;
        font-size: clamp(22px, 5.5vw, 26px);
        font-weight: 700;
        text-align: center;
        color: #101010;
    }

    .skill-mobile-gate-desc {
        margin: 16px 0 0;
        font-size: 15px;
        line-height: 1.55;
        text-align: center;
        color: rgba(16, 16, 16, 0.58);
    }

    .skill-mobile-gate-list {
        margin: 22px 0 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .skill-mobile-gate-list-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        color: #101010;
    }

    .skill-mobile-gate-burst {
        flex-shrink: 0;
        margin-top: 2px;
        line-height: 0;
    }

    .skill-mobile-gate-burst-svg {
        display: block;
    }

    .skill-mobile-gate-list-text {
        flex: 1;
        min-width: 0;
    }

    .skill-mobile-gate-cta {
        width: 100%;
        margin-top: 26px;
        padding: 16px 20px;
        border: none;
        border-radius: 999px;
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        background: #101010;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.15s ease;
    }

    .skill-mobile-gate-cta:hover {
        background: #2a2a2a;
    }

    .skill-mobile-gate-cta:active {
        transform: scale(0.98);
    }
}