.fb-launch {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1px solid rgba(26, 22, 18, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #3d342c;
    font: 600 0.82rem "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    box-shadow: 0 10px 24px rgba(26, 22, 18, 0.08);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.fb-launch:hover { color: #1f6b5c; border-color: rgba(31, 107, 92, 0.35); }

.fb-mask {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(26, 22, 18, 0.28);
    display: none;
}

.fb-mask.is-on { display: block; }

.fb-panel {
    position: fixed;
    right: 16px;
    bottom: 70px;
    z-index: 51;
    width: min(calc(100vw - 32px), 380px);
    max-height: min(78vh, 560px);
    overflow: auto;
    padding: 20px 18px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(26, 22, 18, 0.1);
    box-shadow: 0 18px 40px rgba(26, 22, 18, 0.14);
    display: none;
    font-family: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #1a1612;
}

.fb-panel.is-on { display: block; }

.fb-panel h2 {
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 1.15rem;
    margin: 0 0 6px;
}

.fb-panel .fb-lead {
    margin: 0 0 14px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #7a6f64;
}

.fb-kinds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.fb-kinds label {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1.5px solid rgba(26, 22, 18, 0.1);
    background: #f7f3ec;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.fb-kinds input { position: absolute; opacity: 0; pointer-events: none; }

.fb-kinds label:has(input:checked) {
    border-color: #1f6b5c;
    background: rgba(31, 107, 92, 0.1);
    color: #1f6b5c;
}

.fb-panel label.fb-field {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #3d342c;
    margin: 0 0 6px;
}

.fb-panel textarea,
.fb-panel input[type="text"] {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1.5px solid rgba(26, 22, 18, 0.1);
    border-radius: 12px;
    background: #f7f3ec;
    font: inherit;
    font-size: 0.92rem;
    color: #1a1612;
    outline: none;
}

.fb-panel textarea { min-height: 96px; resize: vertical; }

.fb-panel textarea:focus,
.fb-panel input[type="text"]:focus {
    border-color: #4a8fa3;
    background: #fff;
}

.fb-actions {
    display: flex;
    gap: 8px;
}

.fb-actions button {
    flex: 1;
    border: 0;
    border-radius: 12px;
    padding: 11px 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.fb-send { background: #1f6b5c; color: #fff; }
.fb-send:hover { background: #185649; }
.fb-send:disabled { opacity: 0.6; cursor: wait; }
.fb-cancel { background: transparent; color: #7a6f64; border: 1.5px solid rgba(26, 22, 18, 0.1) !important; }

.fb-status {
    min-height: 1.3em;
    margin: 8px 0 0;
    font-size: 0.8rem;
    color: #1f6b5c;
    font-weight: 600;
}

.fb-status.is-err { color: #8a4b3a; }

@media (prefers-reduced-motion: reduce) {
    .fb-launch, .fb-panel { transition: none; }
}
