.ai3d-input {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #10141d;
    color: #e6ebf7;
    padding: 0 12px;
}

.ai3d-input[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.ai3d-face-count-static {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ai3d-seg-compact a {
    min-width: 0;
    flex: 1;
}

.ai3d-left .sec {
    margin-top: 12px;
}

.ai3d-left .sec.is-disabled .lab,
.ai3d-left .sec.is-disabled .ai3d-help {
    color: #69758e;
}

.ai3d-left .lab {
    color: #9ca8c2;
    font-size: 13px;
    margin-bottom: 6px;
}

.ai3d-help {
    margin-top: 6px;
    color: #6f7b93;
    font-size: 11px;
    line-height: 1.45;
}

.ai3d-check {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 8px;
    color: #dce7fb;
    font-size: 13px;
}

.ai3d-check.is-disabled {
    opacity: 0.5;
}

.ai3d-check input {
    width: 16px;
    height: 16px;
}

.ai3d-select {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #10141d;
    color: #e6ebf7;
    padding: 0 12px;
    color-scheme: dark;
}

.ai3d-seg a,
.ai3d-type a {
    flex: 1;
}

.ai3d-generate {
    /* AI3D_BUTTON_VISIBILITY_GUARD */
    margin-top: 16px;
    width: 100%;
    height: 52px;
    border: 1px solid rgba(255, 228, 135, 0.72);
    border-radius: 12px;
    color: #141008;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #f0c65a 0%, #f6dc8d 50%, #f0c65a 100%);
    background-size: 200% 100%;
    opacity: 0.95;
    box-shadow:
        0 18px 34px rgba(236, 190, 82, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai3d-generate-wrap {
    position: relative;
}

.ai3d-generate-vip-badge {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(130, 53, 11, 0.96), rgba(255, 149, 47, 0.96));
    color: #fff7de;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 18px rgba(255, 153, 59, 0.22);
    pointer-events: none;
}

.ai3d-generate-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    min-height: 22px;
    color: rgba(242, 225, 174, 0.86);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-align: center;
}

.ai3d-generate-price strong {
    color: #ffe08a;
    font-size: 15px;
    font-weight: 800;
    text-shadow: 0 0 14px rgba(255, 212, 98, 0.24);
}

.ai3d-generate::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

.ai3d-generate:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow:
        0 22px 42px rgba(236, 190, 82, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background-position: 100% 0;
}

.ai3d-generate:active {
    transform: translateY(0);
    box-shadow:
        0 8px 18px rgba(236, 190, 82, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ai3d-generate:focus-visible,
.ai3d-select:focus-visible,
.ai3d-input:focus-visible,
.ai3d-check:focus-within {
    outline: none;
    border-color: rgba(122, 190, 255, 0.56);
    box-shadow: 0 0 0 3px rgba(66, 139, 255, 0.18);
}

.ai3d-generate[disabled] {
    opacity: 0.94;
    cursor: not-allowed;
    color: #ffe7a4;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.48);
    border-color: rgba(255, 216, 112, 0.68);
    background: linear-gradient(180deg, rgba(94, 74, 30, 0.98), rgba(36, 29, 15, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(255, 231, 164, 0.14),
        0 18px 36px rgba(236, 190, 82, 0.28);
}

.ai3d-job {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #d3dcf4;
    font-size: 12px;
    line-height: 1.6;
}

.ai3d-job .ok {
    color: #5ee29a;
}

.ai3d-job .err {
    color: #ff8e8e;
}

.ai3d-job .tip,
.ai3d-upload-status .tip {
    color: #ffc96e;
}

.ai3d-job .warn,
.ai3d-upload-status .warn,
.ai3d-constraint-summary .warn,
.ai3d-inline-note .warn {
    color: #ffb66d;
}

.ai3d-job .muted,
.ai3d-upload-status .muted {
    color: #8d97ad;
}

.ai3d-job .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d8e6ff;
    font-size: 12px;
    margin-right: 6px;
}

.ai3d-job .group {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.ai3d-job .link {
    margin-left: 8px;
    color: #69b7ff;
    text-decoration: none;
}

.ai3d-job .link:hover {
    text-decoration: underline;
}

.ai3d-job .tip {
    color: #ffc96e;
}

.ai3d-job .link {
    color: #7ec2ff;
    text-decoration: underline;
    word-break: break-all;
}
