#nvb-fav-fab {
    position: fixed;
    left: calc(40px + env(safe-area-inset-left, 0px));
    bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

#nvb-fav-fab .nvb-fav-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #9ca3af;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#nvb-fav-fab .nvb-fav-circle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

#nvb-fav-fab .nvb-fav-on {
    color: #f59e0b;
    border-color: #fcd34d;
}

#nvb-fav-fab .nvb-fav-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 195px;
}

#nvb-fav-fab .nvb-fav-hidden {
    display: none;
}

#nvb-fav-fab .nvb-fav-action {
    border: none;
    border-radius: 8px;
    background: #f59e0b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 12px;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

#nvb-fav-fab .nvb-fav-action:hover {
    background: #d97706;
}

#nvb-fav-fab .nvb-fav-open {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    transition: background 0.15s ease;
}

#nvb-fav-fab .nvb-fav-open:hover {
    background: #dbeafe;
}

#nvb-fav-fab .nvb-fav-msg {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: #16a34a;
    padding: 0 2px;
}

@media (max-width: 600px) {
    #nvb-fav-fab {
        left: 1em;
        bottom: 1.25em;
    }
}
