.ghostonix-fib-shell {
    max-width: 560px;
    margin: 0 auto;
    padding: 18px;
}
.ghostonix-fib-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(15,23,42,.12);
}
.ghostonix-fib-card h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.1;
}
.ghostonix-fib-muted {
    margin: 0 0 18px;
    color: #64748b;
}
.ghostonix-fib-box {
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 16px;
    margin: 0 0 16px;
    background: #fff;
}
.ghostonix-fib-box > div {
    margin: 0 0 8px;
}
.ghostonix-fib-box > div:last-child {
    margin-bottom: 0;
}
.ghostonix-fib-error,
.ghostonix-fib-warning {
    padding: 12px 14px;
    border-radius: 18px;
    margin: 0 0 14px;
    font-weight: 700;
}
.ghostonix-fib-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.ghostonix-fib-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}
.ghostonix-fib-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.ghostonix-fib-btn,
.ghostonix-fib-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 17px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}
.ghostonix-fib-primary,
.ghostonix-fib-primary:visited {
    background: #111827;
    border-color: #111827;
    color: #fff;
}
.ghostonix-fib-danger,
.ghostonix-fib-danger:visited {
    border-color: #fca5a5;
    color: #b91c1c;
}
.ghostonix-fib-live span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f3f4f6;
    font-weight: 800;
}
.ghostonix-fib-live i {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #cbd5e1;
    border-top-color: #111827;
    border-radius: 50%;
    animation: ghostonix-fib-spin .8s linear infinite;
}
.ghostonix-fib-fallback {
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}
.ghostonix-fib-qr {
    text-align: center;
}
.ghostonix-fib-qr img {
    width: 220px;
    max-width: 100%;
    height: auto;
}
.ghostonix-fib-code {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.ghostonix-fib-code span {
    font-weight: 900;
    letter-spacing: .05em;
}
.ghostonix-fib-small {
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
    word-break: break-all;
}
.ghostonix-fib-debug {
    margin-top: 14px;
}
.ghostonix-fib-debug pre {
    white-space: pre-wrap;
    background: #0f172a;
    color: #e5e7eb;
    padding: 12px;
    border-radius: 12px;
    overflow: auto;
}
@keyframes ghostonix-fib-spin {
    to { transform: rotate(360deg); }
}
