﻿/* Friend's — dialogs dark (mobile-first, card modal — não fullscreen) */

:root {
    --flb-dialog-nav-h: 50px;
    --flb-dialog-footroom: calc(var(--flb-dialog-nav-h) + env(safe-area-inset-bottom, 0px) + 10px);
    --flb-dialog-toproom: calc(max(8px, env(safe-area-inset-top, 0px)) + 8px);
    --flb-dialog-backdrop: rgba(0, 0, 0, 0.72);
}

/* Scroll lock da página de fundo (md-dialog + overlays Ronda via flbScrollLock) */
html.flb-scroll-lock,
html.flb-scroll-lock body {
    overflow: hidden !important;
    overscroll-behavior: none;
}
body.flb-scroll-lock {
    position: fixed !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}
body.md-dialog-is-showing {
    overflow: hidden !important;
    overscroll-behavior: none;
}

body:has(md-dialog.flb_sheet_dialog) md-backdrop.md-dialog-backdrop {
    z-index: 205 !important;
    opacity: 1 !important;
    background-color: var(--flb-dialog-backdrop) !important;
}

.md-dialog-container:has(md-dialog.flb_sheet_dialog) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: var(--flb-dialog-toproom) 12px var(--flb-dialog-footroom) !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 210 !important;
    background: var(--flb-dialog-backdrop) !important;
}

.md-dialog-container:has(md-dialog.flb_sheet_dialog--reserva) {
    align-items: flex-end !important;
    justify-content: center !important;
    padding-bottom: calc(var(--flb-dialog-footroom) + 6px) !important;
}

md-dialog.flb_sheet_dialog {
    width: calc(100vw - 28px);
    max-width: 420px;
    height: auto;
    max-height: 100%;
    margin: 0 !important;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #0f0f0f;
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* relative (não static): o .flb_sheet_close é absolute e precisa do dialog como containing block */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    flex-shrink: 1;
    min-height: 0;
}

md-dialog.flb_sheet_dialog.md-dialog-fullscreen {
    width: calc(100vw - 28px) !important;
    max-width: 420px !important;
    height: auto !important;
    max-height: 100% !important;
    border-radius: 18px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
}

@media (min-width: 600px) {
    md-dialog.flb_sheet_dialog {
        width: min(440px, calc(100vw - 48px));
        max-width: 440px;
        border-radius: 20px;
    }

    md-dialog.flb_sheet_dialog.md-dialog-fullscreen {
        width: min(440px, calc(100vw - 48px)) !important;
        max-width: 440px !important;
        border-radius: 20px !important;
    }
}

.flb_sheet_close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
}

.flb_sheet_head {
    padding: 14px 48px 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #121212;
}

.flb_sheet_head--compact {
    padding: 14px 48px 12px 16px;
}

.flb_sheet_head--icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flb_sheet_head_icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(232, 168, 48, 0.14);
    color: #e8a830;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.flb_sheet_title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.flb_sheet_subtitle {
    margin: 2px 0 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

.flb_sheet_lead {
    margin: 0 0 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.flb_sheet_body {
    padding: 12px 16px 14px;
    overflow: visible;
}

.flb_sheet_body--compact {
    padding: 12px 16px 14px;
    overflow: visible;
}

.flb_sheet_body--scroll {
    overflow-y: auto;
    max-height: min(300px, calc(100dvh - 180px));
    -webkit-overflow-scrolling: touch;
}

.flb_sheet_dialog md-tabs[escondidinha] md-tabs-wrapper,
.flb_sheet_dialog md-tabs[escondidinha] md-tabs-canvas,
.flb_sheet_dialog md-tabs[escondidinha] md-pagination-wrapper,
.flb_sheet_dialog md-tabs[escondidinha] md-tabs-content-wrapper {
    overflow: visible !important;
}

.flb_sheet_dialog md-tabs[escondidinha] md-tabs-wrapper,
.flb_sheet_dialog md-tabs[escondidinha] md-tabs-canvas,
.flb_sheet_dialog md-tabs[escondidinha] md-pagination-wrapper {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
}

.flb_sheet_dialog .flb_field {
    margin-bottom: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.flb_sheet_dialog .flb_field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.flb_sheet_dialog .flb_field input,
.flb_sheet_dialog .flb_field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #1a1a1a;
    color: #fff;
    font-size: 14px;
    outline: none;
    min-height: 40px;
    line-height: 1.2;
}

.flb_sheet_dialog .flb_field input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.flb_fields_grid--reserva {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.flb_field--full {
    grid-column: 1 / -1;
}

.flb_sheet_dialog md-select {
    width: 100%;
    margin: 0;
    display: block;
}

.flb_sheet_dialog md-select .md-select-value {
    border-bottom: 0 !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 8px 12px !important;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #1a1a1a !important;
    color: #fff !important;
    box-sizing: border-box;
    font-size: 14px !important;
    line-height: 24px !important;
}

.flb_sheet_dialog md-select .md-select-value .md-select-icon {
    margin-right: 4px;
}

.flb_sheet_dialog md-checkbox {
    margin: 4px 0 0 !important;
}

.flb_sheet_dialog md-checkbox .md-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.flb_chip_row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.flb_chip_row--tight {
    margin: 0;
    gap: 5px;
}

.flb_chip {
    padding: 10px 8px;
    border-radius: 10px;
    border: 1px solid rgba(232, 168, 48, 0.38);
    background: transparent;
    color: #e8a830;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    box-sizing: border-box;
}

.flb_chip--sm {
    padding: 8px 6px;
    font-size: 9px;
}

.flb_chip.is-active {
    background: #e8a830;
    color: #111;
    border-color: #e8a830;
}

.flb_notice {
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(232, 168, 48, 0.08);
    border: 1px solid rgba(232, 168, 48, 0.2);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
    margin-bottom: 8px;
}

.flb_notice--compact {
    padding: 6px 8px;
    font-size: 10px;
    margin-bottom: 6px;
}

.flb_notice strong {
    display: inline;
    color: #e8a830;
    font-size: 10px;
    margin-right: 4px;
}

.flb_sheet_actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.flb_sheet_actions--compact {
    margin-top: 8px;
    padding-top: 0;
    border-top: 0;
    gap: 5px;
}

.flb_btn_primary,
.flb_sheet_dialog .flb_btn_primary.md-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px !important;
    line-height: 44px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
    background: #e8a830 !important;
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    width: 100%;
    box-shadow: none !important;
}

.flb_sheet_dialog .flb_btn_primary.md-button[disabled],
.flb_sheet_dialog .flb_btn_primary.md-button.md-button[disabled] {
    background: rgba(232, 168, 48, 0.28) !important;
    color: rgba(17, 17, 17, 0.45) !important;
    cursor: not-allowed !important;
}

.flb_btn_secondary,
.flb_sheet_dialog .flb_btn_secondary.md-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px !important;
    line-height: 38px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    width: 100%;
    box-shadow: none !important;
}

.flb_login_forgot {
    display: block;
    margin: 4px 0 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #e8a830;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.flb_sheet_hint {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.55);
}

.flb_sheet_ok {
    margin: 4px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(70, 160, 90, 0.18);
    color: #9ee0a8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.flb_sheet_error {
    font-size: 11px;
    color: #ff7b7b;
    text-align: center;
}

.flb_sheet_divider {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.flb_lang_picker {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 6px 0 10px;
}

.flb_lang_picker--compact {
    gap: 10px;
    margin: 4px 0 8px;
}

.flb_lang_picker img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
}

.flb_lang_picker_btn {
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    line-height: 0;
    opacity: 0.72;
    transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.flb_lang_picker_btn img {
    display: block;
    width: 36px;
    height: 36px;
}

.flb_lang_picker_btn.is-active {
    opacity: 1;
    box-shadow: 0 0 0 2px #e8a830;
}

.flb_lang_picker_btn:active {
    transform: scale(0.94);
}

/* Dialog idiomas */
md-dialog.flb_sheet_dialog--idioma {
    max-width: min(420px, calc(100vw - 28px));
}

/* Dialog Info (Sobre + Idioma) */
md-dialog.flb_sheet_dialog--info {
    max-width: min(440px, calc(100vw - 28px));
    max-height: min(88vh, 720px);
}

.flb_info_head {
    gap: 12px;
}

.flb_info_tabs {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.flb_info_tab {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.flb_info_tab.is-active {
    border-color: rgba(232, 168, 48, 0.55);
    background: rgba(232, 168, 48, 0.14);
    color: #fff;
}

.flb_info_tab_flag {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

.flb_info_idioma_lead {
    margin: 0 0 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.flb_sheet_body--info {
    overflow: auto;
    max-height: min(58vh, 480px);
    -webkit-overflow-scrolling: touch;
}

.flb_idioma_body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 6px;
}

.flb_idioma_option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.flb_idioma_option:active {
    transform: scale(0.985);
}

.flb_idioma_option.is-active {
    border-color: rgba(232, 168, 48, 0.55);
    background: rgba(232, 168, 48, 0.12);
}

.flb_idioma_flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.flb_idioma_meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flb_idioma_name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.flb_idioma_native {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.2;
}

.flb_idioma_check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8a830;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 12px;
}

.flb_login_alerg {
    text-align: center;
    margin: 4px 0;
}

.flb_login_alerg--compact img {
    width: 36px;
    margin-bottom: 4px;
}

.flb_login_alerg img {
    width: 36px;
    margin-bottom: 4px;
}

.flb_login_alerg p {
    margin: 0;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.35;
}

.flb_result_panel {
    text-align: center;
    padding: 16px 8px 8px;
}

.flb_result_panel--compact {
    padding: 12px 4px 4px;
}

.flb_result_icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(70, 211, 134, 0.18);
    color: #46d386;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 8px;
}

.flb_result_icon--sm {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 6px;
}

.flb_result_icon img {
    width: 22px;
    height: 22px;
}

.flb_result_title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.flb_result_text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* —— Reserva (mobile-first) —— */
md-dialog.flb_sheet_dialog--reserva {
    width: calc(100vw - 24px);
    max-width: 400px;
    max-height: calc(100dvh - var(--flb-dialog-toproom) - var(--flb-dialog-footroom)) !important;
    height: fit-content !important;
    flex: 0 0 auto;
    overflow: hidden;
}

md-dialog.flb_sheet_dialog--reserva:has(.flb_reserva_panel--expand) {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    max-height: calc(100dvh - var(--flb-dialog-toproom) - var(--flb-dialog-footroom)) !important;
}

md-dialog.flb_sheet_dialog--reserva:has(.flb_reserva_panel--expand) .flb_sheet_head--reserva {
    flex-shrink: 0;
}

md-dialog.flb_sheet_dialog--reserva.md-dialog-fullscreen {
    width: calc(100vw - 24px) !important;
    max-width: 400px !important;
    max-height: calc(100dvh - var(--flb-dialog-toproom) - var(--flb-dialog-footroom)) !important;
    height: fit-content !important;
}

md-dialog.flb_sheet_dialog--reserva md-dialog-content {
    padding: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

.flb_sheet_head--reserva {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 48px 10px 14px;
    text-align: left;
    flex-shrink: 0;
}

.flb_sheet_head_icon--reserva {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(232, 168, 48, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flb_sheet_head_icon--reserva img {
    width: 18px;
    height: 18px;
    display: block;
}

.flb_sheet_dialog--reserva .flb_sheet_title {
    font-size: 16px;
}

.flb_reserva_panel {
    display: block;
    height: auto;
    overflow: visible;
}

.flb_reserva_panel--expand {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100dvh - var(--flb-dialog-toproom) - var(--flb-dialog-footroom) - 58px);
    overflow: hidden;
}

.flb_reserva_panel--expand .flb_reserva_wizard_progress {
    flex-shrink: 0;
}

.flb_reserva_panel--expand .flb_sheet_body--reserva {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.flb_reserva_panel--expand .flb_reserva_menu_list {
    max-height: none;
    overflow: visible;
}

.flb_reserva_panel--expand .flb_sheet_actions--reserva {
    flex-shrink: 0;
}

.flb_reserva_panel--compact {
    padding-bottom: 0;
}

.flb_sheet_body--reserva {
    flex: 0 0 auto;
    padding: 10px 14px 8px;
    overflow: visible;
}

.flb_reserva_subpanel + .flb_reserva_subpanel {
    margin-top: 8px;
}

.flb_notice--reserva {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.flb_notice--reserva i {
    color: #e8a830;
    margin-top: 1px;
    flex-shrink: 0;
    font-size: 12px;
}

.flb_notice--reserva strong {
    display: inline;
    font-size: 11px;
}

.flb_reserva_section {
    margin-bottom: 10px;
}

.flb_reserva_section--last {
    margin-bottom: 0;
}

.flb_sheet_dialog--reserva .flb_field--obs textarea {
    min-height: 48px;
}

.flb_reserva_section_label {
    margin: 0 0 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.flb_fields_grid--reserva {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.flb_sheet_body--reserva,
.flb_sheet_dialog--reserva .flb_reserva_form {
    overflow-x: hidden;
    max-width: 100%;
}

.flb_sheet_dialog--reserva .flb_field {
    min-width: 0;
    max-width: 100%;
}

.flb_sheet_dialog--reserva .flb_field input,
.flb_sheet_dialog--reserva .flb_field textarea,
.flb_sheet_dialog--reserva md-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.flb_sheet_dialog--reserva input[type="date"] {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color-scheme: dark;
    background: #1a1a1a !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    -webkit-appearance: none;
    appearance: none;
}

.flb_sheet_dialog--reserva input[type="date"]::-webkit-date-and-time-value {
    min-width: 0;
    text-align: left;
    color: #fff;
}

.flb_sheet_dialog--reserva input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.72;
    cursor: pointer;
}

.flb_sheet_dialog--reserva input[type="date"]:focus {
    border-color: rgba(232, 168, 48, 0.55);
    outline: none;
}

.flb_sheet_dialog--reserva .flb_field label {
    font-size: 10px;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.52);
}

.flb_sheet_dialog--reserva .flb_field input,
.flb_sheet_dialog--reserva .flb_field textarea {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 10px;
}

.flb_sheet_dialog--reserva md-select .md-select-value {
    min-height: 36px !important;
    height: 36px !important;
    padding: 7px 10px !important;
    font-size: 14px !important;
    border-radius: 10px;
}

.flb_sheet_dialog--reserva md-select {
    margin: 0 !important;
}

.flb_sheet_dialog--reserva md-select .md-select-value > span:first-child {
    flex: 1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flb_chip_row--duo {
    gap: 8px;
}

.flb_chip_row--prefs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
}

.flb_sheet_dialog--reserva .flb_chip {
    min-height: 34px;
    font-size: 9px;
    border-radius: 10px;
    padding: 6px 4px;
    line-height: 1.15;
}

.flb_sheet_dialog--reserva .flb_chip--pref {
    min-height: 32px;
}

.flb_field--obs {
    margin-top: 16px;
}

.flb_sheet_actions--reserva {
    flex-shrink: 0;
    margin: 0;
    padding: 8px 14px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f0f0f;
}

@media (max-height: 700px) {
    .flb_sheet_head--reserva {
        padding: 10px 44px 8px 12px;
    }

    .flb_sheet_head_icon--reserva {
        width: 30px;
        height: 30px;
    }

    .flb_sheet_body--reserva {
        padding: 8px 12px 6px;
    }

    .flb_reserva_section {
        margin-bottom: 8px;
    }

    .flb_fields_grid--reserva {
        gap: 6px;
    }

    .flb_sheet_dialog--reserva .flb_field input,
    .flb_sheet_dialog--reserva .flb_field textarea,
    .flb_sheet_dialog--reserva md-select .md-select-value {
        min-height: 34px !important;
        height: 34px !important;
        padding: 7px 10px !important;
        font-size: 13px !important;
    }

    .flb_sheet_dialog--reserva .flb_chip {
        min-height: 30px;
    }

    .flb_sheet_dialog--reserva .flb_btn_primary.md-button {
        min-height: 40px !important;
        line-height: 40px !important;
    }

    .flb_sheet_actions--reserva {
        padding: 8px 12px 8px;
    }
}

.flb_sheet_dialog--reserva .flb_btn_primary.md-button {
    min-height: 42px !important;
    line-height: 42px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
}

@media (min-width: 520px) {
    md-dialog.flb_sheet_dialog--reserva {
        width: min(400px, calc(100vw - 32px));
        max-width: 400px;
    }

    md-dialog.flb_sheet_dialog--reserva.md-dialog-fullscreen {
        width: min(400px, calc(100vw - 32px)) !important;
        max-width: 400px !important;
    }
}

/* —— Reserva wizard —— */
.flb_sheet_head_text {
    min-width: 0;
    flex: 1 1 auto;
}

.flb_reserva_step_hint {
    margin: 2px 0 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.2;
}

.flb_reserva_wizard_progress {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 14px 4px;
    flex-shrink: 0;
}

.flb_reserva_wizard_step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    min-width: 52px;
}

.flb_reserva_wizard_dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.45);
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.flb_reserva_wizard_label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
}

.flb_reserva_wizard_line {
    flex: 1 1 auto;
    height: 1px;
    min-width: 12px;
    margin: 0 4px 14px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s;
}

.flb_reserva_wizard_step.is-active .flb_reserva_wizard_dot {
    background: rgba(232, 168, 48, 0.22);
    border-color: rgba(232, 168, 48, 0.65);
    color: #e8a830;
}

.flb_reserva_wizard_step.is-active .flb_reserva_wizard_label {
    color: rgba(232, 168, 48, 0.9);
}

.flb_reserva_wizard_step.is-done .flb_reserva_wizard_dot {
    background: rgba(232, 168, 48, 0.14);
    border-color: rgba(232, 168, 48, 0.45);
    color: #e8a830;
}

.flb_reserva_wizard_line.is-done {
    background: rgba(232, 168, 48, 0.45);
}

.flb_chip_row--prefs4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.flb_chip_row--prefs5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}

.flb_sheet_dialog--reserva .flb_chip_row--prefs5 .flb_chip--pref {
    min-height: 28px;
    padding: 4px 3px;
    font-size: 8px;
    line-height: 1.1;
}

.flb_sheet_dialog--reserva .flb_chip_row--prefs5 .flb_chip--pref i {
    display: inline;
    font-size: 9px;
    margin: 0 3px 0 0;
    vertical-align: middle;
}

.flb_reserva_wizard_progress--4 .flb_reserva_wizard_step {
    min-width: 0;
    flex: 1 1 0;
}

.flb_reserva_wizard_progress--4 .flb_reserva_wizard_label {
    font-size: 8px;
}

.flb_reserva_wizard_progress--4 .flb_reserva_wizard_line {
    min-width: 6px;
    margin: 0 2px 14px;
}

.flb_reserva_wizard_progress--5 .flb_reserva_wizard_step {
    min-width: 0;
    flex: 1 1 0;
}

.flb_reserva_wizard_progress--5 .flb_reserva_wizard_label {
    font-size: 7px;
}

.flb_reserva_wizard_progress--5 .flb_reserva_wizard_line {
    min-width: 4px;
    margin: 0 1px 14px;
}

.flb_reserva_section_label--spaced {
    margin-top: 18px;
}

.flb_chip--tipo {
    flex-direction: column;
    gap: 4px;
    min-height: 64px;
    justify-content: center;
}

.flb_chip--tipo i {
    font-size: 14px;
    opacity: 0.9;
}

.flb_reserva_menu_intro {
    margin: -4px 0 14px;
}

.flb_sheet_dialog--reserva .flb_chip--pref i {
    display: block;
    font-size: 11px;
    margin-bottom: 2px;
    opacity: 0.85;
}

.flb_reserva_subpanel {
    margin: 12px 0 14px;
    padding: 12px 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_reserva_subpanel--qty {
    padding: 4px 10px;
}

.flb_reserva_qty_line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
    padding: 4px 0;
}

.flb_reserva_qty_line + .flb_reserva_qty_line {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.flb_reserva_qty_line label {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.flb_reserva_subpanel--menu {
    padding-top: 14px;
    padding-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.flb_chip_row--tipo {
    margin: 0;
}

.flb_reserva_menu_quando {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flb_chip_row--modo {
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.flb_chip_row--modo .flb_chip--modo {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 11px;
    white-space: nowrap;
}

.flb_chip_row--modo .flb_chip.is-disabled,
.flb_chip_row--modo .flb_chip:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.flb_reserva_modo_aviso {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(232, 168, 48, 0.12);
    border: 1px solid rgba(232, 168, 48, 0.28);
    color: rgba(255, 220, 160, 0.92);
    font-size: 11px;
    line-height: 1.4;
}

.flb_reserva_modo_aviso--soft {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
}

.flb_reserva_carta_note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.45;
}

.flb_reserva_carta_note i {
    margin-top: 2px;
    color: #e8a830;
    flex-shrink: 0;
}

.flb_reserva_subpanel_title--menu {
    margin: 0 0 8px;
}

.flb_reserva_menu_quando > .flb_reserva_subpanel_title--menu:first-child {
    margin-bottom: 0;
}

.flb_reserva_subpanel_hint_inline {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}

.flb_reserva_subpanel label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
}

.flb_reserva_subpanel_head {
    margin: 0;
}

.flb_reserva_subpanel_title {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.flb_reserva_subpanel_hint {
    margin: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.45;
}

.flb_reserva_menu_quando .flb_chip_row--duo {
    margin: 0;
}

.flb_reserva_pratos_hint {
    margin-top: 4px;
}

.flb_chip_row--prefs + .flb_reserva_subpanel,
.flb_reserva_subpanel--qty + .flb_reserva_subpanel--menu {
    margin-top: 16px;
}

.flb_reserva_qty_row {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    width: 112px;
    max-width: 112px;
}

.flb_reserva_qty_btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flb_reserva_qty_btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.flb_reserva_qty_input {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 4px 2px;
    height: 28px;
    -moz-appearance: textfield;
}

.flb_reserva_qty_input::-webkit-outer-spin-button,
.flb_reserva_qty_input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.flb_reserva_menu_loading,
.flb_reserva_menu_empty {
    margin: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.flb_reserva_menu_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: none;
    overflow-y: visible;
}

.flb_reserva_panel--expand .flb_reserva_menu_list {
    max-height: none;
    overflow: visible;
}

.flb_reserva_menu_row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    text-align: left;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.flb_reserva_menu_row.is-active {
    border-color: rgba(232, 168, 48, 0.55);
    background: rgba(232, 168, 48, 0.1);
}

.flb_reserva_menu_row_main {
    flex: 1 1 auto;
    min-width: 0;
}

.flb_reserva_menu_name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.flb_reserva_menu_desc {
    display: block;
    margin-top: 1px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flb_reserva_menu_price {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: #e8a830;
}

.flb_reserva_menu_check {
    flex-shrink: 0;
    font-size: 11px;
    color: #e8a830;
}

.flb_sheet_dialog--reserva .flb_field textarea {
    min-height: 56px;
    resize: vertical;
    line-height: 1.4;
}

.flb_sheet_actions.flb_sheet_actions--wizard {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin-top: 0 !important;
}

.flb_sheet_actions--wizard .flb_wizard_btn_back.md-button {
    flex: 0 0 30% !important;
    width: 30% !important;
    max-width: 30% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.flb_sheet_actions--wizard .flb_wizard_btn_next.md-button {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.flb_sheet_actions--wizard .flb_wizard_btn_next.md-button:only-child {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.flb_reserva_review {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flb_reserva_review_block {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_reserva_review_title {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(232, 168, 48, 0.85);
}

.flb_reserva_review_row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.flb_reserva_review_row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.flb_reserva_review_row span {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.flb_reserva_review_row strong {
    color: #fff;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.flb_reserva_review_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.flb_reserva_review_tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    color: #e8a830;
    background: rgba(232, 168, 48, 0.12);
    border: 1px solid rgba(232, 168, 48, 0.25);
}

.flb_reserva_review_obs {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-wrap;
}

.flb_sheet_actions--wizard .flb_btn_ghost.md-button {
    min-height: 42px !important;
    line-height: 42px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    text-transform: none !important;
    font-size: 13px !important;
}

/* —— Sobre (compacto) —— */
.flb_sheet_dialog--login .flb_sheet_body--scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.flb_sheet_body--sobre {
    overflow-y: auto;
    max-height: min(480px, calc(100dvh - 120px));
    -webkit-overflow-scrolling: touch;
}

.flb_sobre_gallery {
    position: relative;
    margin: -2px -14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_sobre_gallery img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    display: block;
}

.flb_sobre_gallery_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 11px;
}

.flb_sobre_gallery_nav--prev { left: 8px; }
.flb_sobre_gallery_nav--next { right: 8px; }

.flb_sobre_desc {
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flb_sobre_desc p {
    margin: 0 0 6px;
}

.flb_sobre_contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flb_sobre_row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.35;
}

.flb_sobre_row i {
    width: 14px;
    color: #e8a830;
    flex-shrink: 0;
    margin-top: 1px;
    text-align: center;
    font-size: 11px;
}

.flb_sobre_row a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.flb_sobre_directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(232, 168, 48, 0.35);
    background: rgba(232, 168, 48, 0.08);
    color: #e8a830;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
    max-width: 100%;
}

@media (min-width: 600px) {
    .flb_sobre_gallery img {
        height: 100px;
    }

    .flb_sobre_desc {
        -webkit-line-clamp: 5;
    }
}

/* Horário — home dark (card modal, scroll, espaço para bottom nav) */
.md-dialog-container:has(md-dialog.horario_dialog--flb) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: var(--flb-dialog-toproom) 12px var(--flb-dialog-footroom) !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 210 !important;
}

md-dialog.horario_dialog--flb {
    width: calc(100vw - 28px);
    max-width: 420px;
    max-height: 100%;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    flex-shrink: 1;
    min-height: 0;
}

md-dialog.horario_dialog--flb .horario_dialog_inner {
    min-height: 0;
}

md-dialog.horario_dialog--flb .horario_dialog_body {
    max-height: none;
}

/* Reserva link — sucesso wizard */
.flb_grupo_link_box {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.flb_grupo_link_label {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
}

.flb_grupo_link_url {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: var(--flb-accent, #a07e62);
    word-break: break-all;
    margin-bottom: 10px;
    text-decoration: none;
}

.flb_grupo_link_copy {
    width: 100%;
    justify-content: center;
}

/* Portal organizador / convidado — visual dark FLB */
#panel:has(.flb_grupo_page) {
    background: #000 !important;
    min-height: 100vh;
    min-height: 100dvh;
}

.flb_grupo_page {
    --flb-accent: #a07e62;
    min-height: 100vh;
    min-height: 100dvh;
    color: #fff;
    padding: max(10px, env(safe-area-inset-top)) 14px calc(72px + env(safe-area-inset-bottom));
    box-sizing: border-box;
}

.flb_grupo_header {
    text-align: center;
    margin-bottom: 14px;
}

.flb_grupo_logo {
    width: 132px;
    max-width: 52vw;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.flb_grupo_kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--flb-accent);
}

.flb_grupo_stack {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flb_grupo_card {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.flb_grupo_card--main {
    padding-bottom: 20px;
}

.flb_grupo_title,
.flb_grupo_h2 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.flb_grupo_h2 i {
    margin-right: 6px;
    color: var(--flb-accent);
}

.flb_grupo_muted,
.flb_grupo_erro {
    text-align: center;
    font-size: 14px;
}

.flb_grupo_erro {
    color: #ff8a80;
}

.flb_grupo_hello {
    text-align: center;
    font-size: 16px;
    margin: 0 0 4px;
}

.flb_grupo_date {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 12px;
    text-transform: capitalize;
}

.flb_grupo_meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    margin-bottom: 10px;
}

.flb_grupo_badge {
    background: var(--flb-accent);
    color: #111;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.flb_grupo_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.flb_grupo_tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.flb_grupo_alert {
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(232, 168, 48, 0.12);
    border: 1px solid rgba(232, 168, 48, 0.35);
    color: #e8c878;
    margin-bottom: 12px;
}

.flb_grupo_alert_ok {
    background: rgba(0, 204, 153, 0.12);
    border-color: rgba(0, 204, 153, 0.35);
    color: #7dffc8;
}

.flb_grupo_alert_err {
    background: rgba(255, 82, 82, 0.12);
    border-color: rgba(255, 82, 82, 0.35);
    color: #ff9a9a;
}

.flb_grupo_progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.flb_grupo_progress_bar {
    height: 100%;
    background: var(--flb-accent);
    transition: width 0.35s ease;
}

.flb_grupo_progress_label {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 10px;
}

.flb_grupo_prazos {
    text-align: center;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 14px;
}

.flb_grupo_section {
    margin-top: 16px;
    padding-top: 4px;
}

.flb_grupo_page .flb_field {
    margin-bottom: 12px;
}

.flb_grupo_page .flb_field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 6px;
}

.flb_grupo_page .flb_field input,
.flb_grupo_page .flb_field textarea,
.flb_grupo_alteracao textarea,
.flb_grupo_chat_input textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 14px;
    padding: 10px 12px;
}

.flb_grupo_page .flb_field input::placeholder,
.flb_grupo_page .flb_field textarea::placeholder,
.flb_grupo_chat_input textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.flb_grupo_toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 12px;
    cursor: pointer;
}

.flb_grupo_toggle input {
    display: none;
}

.flb_grupo_toggle_ui {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.18);
    position: relative;
    flex-shrink: 0;
}

.flb_grupo_toggle_ui::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
}

.flb_grupo_toggle input:checked + .flb_grupo_toggle_ui {
    background: var(--flb-accent);
}

.flb_grupo_toggle input:checked + .flb_grupo_toggle_ui::after {
    transform: translateX(18px);
}

.flb_grupo_menu_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flb_grupo_menu_row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    cursor: pointer;
}

.flb_grupo_menu_row.ativo {
    border-color: var(--flb-accent);
    background: rgba(160, 126, 98, 0.12);
}

.flb_grupo_menu_row.locked {
    opacity: 0.45;
    pointer-events: none;
}

.flb_grupo_menu_row_left {
    flex: 1;
    min-width: 0;
}

.flb_grupo_menu_row_name {
    font-size: 14px;
    font-weight: 700;
}

.flb_grupo_menu_row_desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.flb_grupo_menu_row_price {
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

.flb_grupo_menu_row_check {
    color: var(--flb-accent);
}

.flb_grupo_warn {
    color: #e8a830;
    font-size: 13px;
    margin: 8px 0;
}

.flb_grupo_guest_nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
}

.flb_grupo_guest_nav button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.flb_grupo_guest_nav button:disabled {
    opacity: 0.35;
}

.flb_grupo_guest_card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px;
}

.flb_grupo_chip_label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);
}

.flb_grupo_chip_hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 8px;
}

.flb_grupo_partilha {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
}

.flb_grupo_page .flb_chip {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.flb_grupo_page .flb_chip.is-active {
    background: var(--flb-accent);
    border-color: var(--flb-accent);
    color: #111;
}

.flb_grupo_pay_hint,
.flb_grupo_note,
.flb_grupo_chat_hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 10px;
}

.flb_grupo_pay_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flb_grupo_pay_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_grupo_pay_row_info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.flb_grupo_pay_badge {
    font-size: 11px;
    font-weight: 700;
    color: #e8a830;
}

.flb_grupo_pay_badge_ok {
    color: #7dffc8;
}

.flb_grupo_linkbtn {
    background: none;
    border: none;
    color: var(--flb-accent);
    font-size: 13px;
    text-decoration: underline;
    padding: 0;
    margin-bottom: 10px;
    cursor: pointer;
}

.flb_grupo_alteracao {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.flb_grupo_input_sm {
    max-width: 120px;
}

.flb_grupo_actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.flb_grupo_btn {
    border: none;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.flb_grupo_btn_pri {
    flex: 1;
    background: var(--flb-accent);
    color: #111;
}

.flb_grupo_btn_ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.flb_grupo_btn_sm {
    padding: 8px 10px;
    font-size: 12px;
}

.flb_grupo_btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.flb_grupo_msgs {
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_grupo_chat_empty {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin: 12px 0;
}

.flb_grupo_bubble {
    max-width: 88%;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 13px;
}

.flb_grupo_bubble_mine {
    align-self: flex-end;
    background: rgba(160, 126, 98, 0.25);
    border: 1px solid rgba(160, 126, 98, 0.45);
}

.flb_grupo_bubble_theirs {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flb_grupo_bubble_name {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 4px;
}

.flb_grupo_bubble_text {
    margin: 0;
    line-height: 1.45;
}

.flb_grupo_chat_input {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.flb_grupo_chat_input textarea {
    flex: 1;
    resize: vertical;
    min-height: 44px;
}

.flb_grupo_chat_input .flb_grupo_btn {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flb_grupo_pay_options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.flb_grupo_pay_card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    text-align: left;
}

.flb_grupo_pay_card_full {
    border-color: var(--flb-accent);
}

.flb_grupo_pay_card_title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0.7;
}

.flb_grupo_pay_card_val {
    font-size: 22px;
    font-weight: 800;
}

.flb_grupo_pay_card_sub {
    font-size: 12px;
    opacity: 0.6;
}

.flb_grupo_pay_secure {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

.flb_grupo_pay_ok {
    text-align: center;
    padding: 16px 8px;
}

.flb_grupo_pay_ok i {
    font-size: 28px;
    color: #7dffc8;
    margin-bottom: 8px;
}

.flb_grupo_muted_inline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 420px) {
    .flb_grupo_pay_options {
        grid-template-columns: 1fr;
    }

    .flb_grupo_actions {
        flex-direction: column;
    }
}

/* —— Alergénios —— */
md-dialog.flb_sheet_dialog--alerg {
    max-height: min(640px, calc(100dvh - var(--flb-dialog-toproom) - var(--flb-dialog-footroom)));
}

.flb_alerg_head_icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(232, 168, 48, 0.12);
    border: 1px solid rgba(232, 168, 48, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.flb_alerg_head_icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.flb_alerg_form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
}

.flb_sheet_body--alerg {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: min(420px, calc(100dvh - 240px));
    padding-bottom: 4px;
}

.flb_alerg_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.flb_alerg_item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 10px 10px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #161616;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.flb_alerg_item.is-on {
    border-color: rgba(232, 168, 48, 0.55);
    background: rgba(232, 168, 48, 0.1);
}

.flb_alerg_input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.flb_alerg_check {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 10px;
}

.flb_alerg_item.is-on .flb_alerg_check {
    background: #e8a830;
    border-color: #e8a830;
}

.flb_alerg_icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flb_alerg_icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.flb_alerg_name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.25;
}

.flb_alerg_item.is-on .flb_alerg_name {
    color: #fff;
}

.flb_alerg_loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.flb_alerg_actions {
    padding: 10px 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #121212;
    margin-top: 0;
}

.flb_sheet_dialog--alerg .flb_btn_ghost.md-button {
    min-height: 40px !important;
    line-height: 40px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    text-transform: none !important;
    font-size: 13px !important;
}

/* —— Termos / info —— */
md-dialog.flb_sheet_dialog--info {
    max-height: min(720px, calc(100dvh - var(--flb-dialog-toproom) - var(--flb-dialog-footroom)));
}

.flb_sheet_body--info {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: min(520px, calc(100dvh - 200px));
}

.flb_info_doc {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.flb_info_doc .maintitle {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.flb_info_doc .title {
    margin: 14px 0 6px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e8a830;
}

.flb_info_doc p {
    margin: 0 0 8px;
}

.flb_info_doc ul,
.flb_info_doc ol {
    margin: 0 0 10px;
    padding-left: 18px;
}

.flb_info_doc li {
    margin-bottom: 5px;
}

.flb_info_doc a {
    color: #e8a830;
    text-decoration: underline;
}

.flb_info_actions {
    padding: 10px 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #121212;
    margin-top: 0;
}

@media (max-width: 380px) {
    .flb_alerg_grid {
        grid-template-columns: 1fr;
    }
}

/* —— Thumb / lightbox —— */
md-dialog.flb_sheet_dialog--thumb {
    max-width: min(440px, calc(100vw - 28px));
    background: #0b0b0b;
    overflow: hidden;
}

.flb_thumb_media {
    width: 100%;
    max-height: min(70dvh, 520px);
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flb_thumb_media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(70dvh, 520px);
    object-fit: contain;
}

.flb_thumb_meta {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #121212;
}

.flb_thumb_meta .flb_sheet_title {
    font-size: 15px;
}

.flb_thumb_meta .flb_sheet_subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    white-space: normal;
}

/* —— Escolher ementa / experiência —— */
md-dialog.flb_sheet_dialog--ementa {
    max-width: 400px;
}

.flb_sheet_body--ementa {
    padding-top: 8px;
}

.flb_ementa_pick_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.flb_ementa_pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 120px;
    margin: 0;
    padding: 16px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #161616;
    color: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.flb_ementa_pick.is-on,
.flb_ementa_pick:hover {
    border-color: rgba(232, 168, 48, 0.55);
    background: rgba(232, 168, 48, 0.1);
}

.flb_ementa_pick_icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flb_ementa_pick_icon svg,
.flb_ementa_pick_icon img,
.flb_ementa_pick_icon i {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px;
    font-size: 40px;
}

.flb_ementa_pick_name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.9);
}

.flb_alerg_loading .flb_sheet_subtitle {
    display: block;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 380px) {
    .flb_ementa_pick_grid {
        grid-template-columns: 1fr;
    }
}

/* —— Perfil / QR utilizador —— */
.md-dialog-container:has(md-dialog.flb_sheet_dialog--perfil) {
    align-items: flex-end !important;
    padding-bottom: calc(var(--flb-dialog-footroom) + 4px) !important;
}

md-dialog.flb_sheet_dialog--perfil {
    width: min(440px, calc(100vw - 16px));
    max-width: 440px;
    max-height: min(90dvh, 760px);
    border-radius: 22px 22px 16px 16px;
    background:
        radial-gradient(110% 70% at 50% 0%, rgba(232, 168, 48, 0.16), transparent 55%),
        linear-gradient(180deg, #141210 0%, #0e0e0e 40%, #0a0a0a 100%);
    border-color: rgba(232, 168, 48, 0.18);
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
}

md-dialog.flb_sheet_dialog--perfil.md-dialog-fullscreen {
    width: min(440px, calc(100vw - 16px)) !important;
    max-width: 440px !important;
    max-height: min(90dvh, 760px) !important;
    border-radius: 22px 22px 16px 16px !important;
}

.flb_perfil {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    max-height: inherit;
    padding: 22px 18px 0;
    overflow: hidden;
}

.flb_perfil_guest {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 8px 12px;
    gap: 10px;
}

.flb_perfil_guest .flb_btn_primary {
    width: 100%;
    margin-top: 8px;
}

.flb_perfil_guest_icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 48, 0.1);
    border: 1px solid rgba(232, 168, 48, 0.28);
    color: #e8a830;
    font-size: 26px;
}

.flb_perfil_top {
    padding: 4px 36px 14px 4px;
    flex-shrink: 0;
}

.flb_perfil_top_row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.flb_perfil_name {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
}

.flb_perfil_level_pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e8a830;
    border: 1px solid rgba(232, 168, 48, 0.4);
    background: rgba(232, 168, 48, 0.1);
}

.flb_perfil_xp {
    font-size: 15px;
    font-weight: 700;
    color: #e8a830;
}

.flb_perfil_taste {
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flb_perfil_taste_item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
}

.flb_perfil_taste_label {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.flb_perfil_taste_val {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    text-align: right;
}

.flb_perfil_colecoes {
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flb_perfil_colecao_top {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
}

.flb_perfil_progress--thin {
    height: 3px;
}

.flb_perfil_email,
.flb_perfil_lead {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.5);
}

.flb_perfil_welcome_line {
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 1.35;
    color: rgba(232, 168, 48, 0.9);
}

.flb_perfil_staff_banner {
    margin: 10px 0 0;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(240, 195, 106, 0.95);
    background: rgba(232, 168, 48, 0.1);
    border: 1px solid rgba(232, 168, 48, 0.22);
}

.flb_perfil_body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 4px;
    margin-top: 4px;
}

/* Página Conta (full screen, não dialog) */
.flb_conta_page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    background: #0a0a0a;
    padding-bottom: 0;
    box-sizing: border-box;
}

.flb_page_hero,
.flb_conta_hero {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.flb_hero_immersive--page,
.flb_hero_immersive--conta {
    min-height: 0;
}

.flb_hero_immersive--page .flb_hero_immersive_bg,
.flb_hero_immersive--conta .flb_hero_immersive_bg {
    filter: blur(2px) brightness(0.72) saturate(1.05);
}

.flb_hero_immersive--page .flb_hero_immersive_shade,
.flb_hero_immersive--conta .flb_hero_immersive_shade {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.45) 55%,
        rgba(10, 10, 10, 0.96) 100%);
}

.flb_hero_immersive--page .flb_hero_immersive_content,
.flb_hero_immersive--conta .flb_hero_immersive_content {
    padding-bottom: 14px;
}

.flb_page_hero_fallback,
.flb_conta_hero_fallback {
    padding: calc(max(6px, env(safe-area-inset-top, 6px)) + 8px) 16px 12px;
    background: #0a0a0a;
}

.flb_conta_main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: none;
    padding: 4px 16px calc(84px + env(safe-area-inset-bottom, 0px));
    background: #0a0a0a;
    box-sizing: border-box;
}

.flb_perfil--page {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
    overflow: visible;
    max-height: none;
    flex: none;
    min-height: 0;
    padding: 0;
}

.flb_perfil--page .flb_perfil_body {
    overflow: visible;
    max-height: none;
}

.flb_perfil--page .flb_perfil_top {
    padding: 2px 0 8px;
}

.flb_perfil--page .flb_perfil_name {
    font-size: 1.2rem;
}

.flb_perfil--page .flb_perfil_email {
    margin-top: 2px;
    font-size: 12px;
}

.flb_perfil--page .flb_perfil_tabs {
    margin: 0 0 10px;
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 4px 0 6px;
    background: linear-gradient(180deg, #0a0a0a 70%, rgba(10, 10, 10, 0));
}

.flb_perfil--page .flb_perfil_panel {
    padding: 12px 12px 14px;
    align-items: stretch;
}

.flb_perfil--page .flb_perfil_panel--passaporte {
    gap: 10px;
}

.flb_perfil_passaporte_row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.flb_perfil--page .flb_perfil_qr {
    width: 132px;
    min-width: 132px;
    padding: 8px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.flb_perfil_passaporte_side {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.flb_perfil--page .flb_perfil_qr_hint {
    margin: 0;
    font-size: 11px;
    text-align: left;
    line-height: 1.3;
}

.flb_perfil--page .flb_perfil_meta {
    width: 100%;
    margin: 0;
}

.flb_perfil--page .flb_perfil_level_line {
    flex-wrap: wrap;
    gap: 4px 8px;
}

.flb_perfil--page .flb_perfil_roleta_btn {
    margin-top: 0;
    padding: 10px 12px;
    font-size: 12.5px;
}

.flb_perfil--page .flb_perfil_cofre {
    margin: 2px 0 0;
    padding: 10px;
}

.flb_perfil--page .flb_perfil_taste {
    margin-top: 4px;
}

.flb_perfil--page .flb_perfil_badges {
    margin-top: 8px;
}

.flb_perfil_staff_banner--compact {
    margin-top: 6px;
    padding: 6px 8px;
    font-size: 11px;
}

.flb_perfil_level_pill--fundador {
    background: linear-gradient(135deg, #f6d573, #e8a830 60%, #c9861a) !important;
    color: #1a1200 !important;
}

.flb_perfil_foot--page {
    position: relative;
    margin-top: 12px;
    padding-bottom: 4px;
}

@media (max-width: 360px) {
    .flb_perfil_passaporte_row {
        flex-direction: column;
        align-items: center;
    }

    .flb_perfil--page .flb_perfil_qr {
        width: 148px;
        min-width: 148px;
    }

    .flb_perfil--page .flb_perfil_qr_hint {
        text-align: center;
    }
}

/* Painéis das tabs — display:flex não pode ganhar ao ng-hide */
.flb_perfil_panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 16px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.flb_perfil_panel.ng-hide,
.flb_perfil_panel[hidden] {
    display: none !important;
}

.flb_perfil_qr {
    width: min(240px, 68vw);
    aspect-ratio: 1;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flb_perfil_qr.is-loading {
    background: rgba(255, 255, 255, 0.06);
}

.flb_perfil_qr_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.flb_perfil_qr_ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    text-align: center;
}

.flb_perfil_qr_ph i {
    font-size: 28px;
}

.flb_perfil_qr_ph.is-error {
    color: #ff8a80;
}

.flb_perfil_qr_hint {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.48);
    text-align: center;
    max-width: 26em;
}

.flb_perfil_meta {
    width: 100%;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_perfil_level_line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.flb_perfil_level_name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.flb_perfil_level_stats {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

.flb_perfil_progress {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.flb_perfil_progress_bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #c48920, #e8a830);
    transition: width 0.45s ease;
}

.flb_perfil_meta_note {
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.62);
}

.flb_perfil_meta_note--soft {
    color: rgba(255, 255, 255, 0.42);
    margin-top: 4px;
}

.flb_perfil_badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_perfil_badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 48, 0.12);
    border: 1px solid rgba(232, 168, 48, 0.32);
    color: #e8a830;
    font-size: 15px;
}

.flb_perfil_badge.is-locked {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.28);
}

.flb_perfil_foot {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    margin: 0 -18px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, #0a0a0a 28%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_perfil_foot_btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
}

.flb_perfil_foot_btn i {
    font-size: 14px;
    opacity: 0.85;
}

.flb_perfil_foot_btn--danger {
    color: #ff8a80;
    border-color: rgba(255, 138, 128, 0.22);
}

@media (max-height: 700px) {
    .flb_perfil_qr {
        width: min(200px, 56vw);
    }

    .flb_perfil_panel {
        padding: 14px 14px 12px;
    }

    .flb_perfil_name {
        font-size: 1.2rem;
    }
}

/* —— Convite premium ao QR da mesa —— */
md-dialog.flb_sheet_dialog--mesa-convite {
    max-width: 400px;
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(232, 168, 48, 0.22), transparent 55%),
        linear-gradient(180deg, #16120c 0%, #0c0c0c 55%, #0a0a0a 100%);
    border-color: rgba(232, 168, 48, 0.22);
    overflow: hidden;
}

.flb_mesa_convite {
    position: relative;
    padding: 28px 22px 20px;
    text-align: center;
    animation: flbMesaConviteIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.flb_mesa_convite_glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(232, 168, 48, 0.16), transparent 70%);
    pointer-events: none;
    animation: flbMesaConviteGlow 4.5s ease-in-out infinite alternate;
}

.flb_mesa_convite_brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.flb_mesa_convite_logo {
    width: min(220px, 72vw);
    height: auto;
    max-height: 88px;
    object-fit: contain;
    filter: drop-shadow(0 6px 22px rgba(232, 168, 48, 0.28));
}

.flb_mesa_convite_mesa {
    position: relative;
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e8a830;
    border: 1px solid rgba(232, 168, 48, 0.35);
    border-radius: 999px;
    background: rgba(232, 168, 48, 0.08);
}

.flb_mesa_convite_title {
    position: relative;
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -0.01em;
}

.flb_mesa_convite_lead {
    position: relative;
    margin: 0 auto 18px;
    max-width: 28em;
    font-size: 13.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
}

.flb_mesa_convite_perks {
    position: relative;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.flb_mesa_convite_perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    animation: flbMesaConvitePerk 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.flb_mesa_convite_perks li:nth-child(1) { animation-delay: 0.12s; }
.flb_mesa_convite_perks li:nth-child(2) { animation-delay: 0.2s; }
.flb_mesa_convite_perks li:nth-child(3) { animation-delay: 0.28s; }

.flb_mesa_convite_perks i {
    width: 18px;
    text-align: center;
    color: #e8a830;
    font-size: 14px;
}

.flb_mesa_convite_actions {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flb_mesa_convite_actions .flb_btn_primary,
.flb_mesa_convite_actions .flb_btn_secondary {
    width: 100%;
    margin: 0;
}

.flb_mesa_convite_skip {
    margin-top: 4px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.flb_mesa_convite_skip:hover {
    color: rgba(255, 255, 255, 0.7);
}

@keyframes flbMesaConviteIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes flbMesaConviteGlow {
    from { opacity: 0.55; transform: scale(1); }
    to { opacity: 1; transform: scale(1.06); }
}

@keyframes flbMesaConvitePerk {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .flb_mesa_convite,
    .flb_mesa_convite_glow,
    .flb_mesa_convite_perks li {
        animation: none !important;
    }
}

/* Passport tabs / missões / coleções / ranking */
.flb_perfil_tabs {
    display: flex;
    gap: 4px;
    margin: 4px 0 0;
    flex-shrink: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}
.flb_perfil_tab {
    flex: 0 0 auto;
    border: 0;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.55);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 7px 11px;
    border-radius: 999px;
    cursor: pointer;
}
.flb_perfil_tab.is-active {
    background: rgba(232, 168, 48, 0.22);
    color: #f0c36a;
}
.flb_perfil_panel_lead {
    width: 100%;
    margin: 0 0 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-align: left;
}
.flb_perfil_roleta_btn {
    margin-top: 14px;
    width: 100%;
    border: 1px solid rgba(232, 168, 48, 0.35);
    background: linear-gradient(135deg, rgba(232,168,48,0.18), rgba(232,168,48,0.05));
    color: #f0c36a;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 14px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.flb_perfil_roleta_btn:disabled {
    opacity: 0.55;
    cursor: default;
}
.flb_perfil_tags {
    width: 100%;
    margin-top: 12px;
    text-align: left;
}
.flb_perfil_tags p {
    margin: 0 0 4px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.62);
}
.flb_perfil_mundo {
    width: 100%;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.flb_perfil_mundo_flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.flb_perfil_mundo_flag {
    font-size: 22px;
    line-height: 1;
    filter: grayscale(0);
}
.flb_perfil_mundo_flag.is-locked {
    filter: grayscale(1);
    opacity: 0.35;
}
.flb_perfil_missao {
    width: 100%;
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.flb_perfil_missao.is-done {
    opacity: 0.7;
}
.flb_perfil_missao_top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}
.flb_perfil_missao p {
    margin: 4px 0 8px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.5);
}
.flb_perfil_missao_prog {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}
.flb_perfil_colecao_block {
    width: 100%;
    margin-bottom: 16px;
    text-align: left;
}
.flb_perfil_cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}
.flb_perfil_card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 11.5px;
    color: rgba(255,255,255,0.85);
    min-width: 0;
}
.flb_perfil_card.is-locked {
    opacity: 0.4;
}
.flb_perfil_card_name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
}
.flb_perfil_card i {
    flex: 0 0 auto;
    margin-top: 1px;
}
.flb_perfil_ranking_types {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
    margin-bottom: 10px;
}
.flb_perfil_optin {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 10px;
    text-align: left;
}
.flb_perfil_ranking_list {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.flb_perfil_ranking_list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}
.flb_perfil_ranking_list li.is-me {
    color: #f0c36a;
}
.flb_perfil_rank_pos {
    width: 22px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
}
.flb_perfil_rank_nome { flex: 1; }
.flb_perfil_rank_score { font-weight: 700; }

.flb_produto_passport {
    margin: 10px 0 4px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(232, 168, 48, 0.08);
    border: 1px solid rgba(232, 168, 48, 0.18);
}
.flb_produto_passport_rate {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(240, 195, 106, 0.95);
}
.flb_produto_passport_pair {
    font-size: 12.5px;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}
.flb_produto_passport_pair_label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}

.flb_mesa_desafio {
    margin: 10px 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* —— Roleta espetacular (beta) —— */
.md-dialog-container:has(md-dialog.flb_roleta_dialog) {
    align-items: center !important;
}

md-dialog.flb_roleta_dialog {
    width: min(420px, calc(100vw - 16px));
    max-width: 420px;
    max-height: min(92dvh, 820px);
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(90% 60% at 50% 0%, rgba(232, 168, 48, 0.28), transparent 58%),
        radial-gradient(70% 50% at 80% 100%, rgba(180, 40, 80, 0.18), transparent 55%),
        linear-gradient(180deg, #1a140c 0%, #0c0b0a 45%, #080808 100%);
    border: 1px solid rgba(232, 168, 48, 0.28);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(232, 168, 48, 0.12);
}

.flb_roleta {
    position: relative;
    padding: 28px 20px 22px;
    text-align: center;
    overflow: hidden;
}

.flb_roleta_glow {
    position: absolute;
    inset: -20% -10% auto;
    height: 55%;
    background: radial-gradient(circle at 50% 30%, rgba(232, 168, 48, 0.35), transparent 65%);
    filter: blur(8px);
    pointer-events: none;
    animation: flbRoletaGlow 3.2s ease-in-out infinite alternate;
}

.flb_roleta_sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 220, 140, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 78% 18%, rgba(255, 220, 140, 0.55), transparent),
        radial-gradient(1.5px 1.5px at 88% 58%, rgba(255, 220, 140, 0.45), transparent),
        radial-gradient(1.5px 1.5px at 20% 72%, rgba(255, 220, 140, 0.35), transparent);
    opacity: 0.55;
    animation: flbRoletaSparks 4s linear infinite;
}

.flb_roleta_beta {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1208;
    background: linear-gradient(90deg, #e8a830, #f0c36a);
}

.flb_roleta_title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(232, 168, 48, 0.35);
}

.flb_roleta_lead {
    position: relative;
    z-index: 1;
    margin: 8px auto 0;
    max-width: 28em;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
}

.flb_roleta_stage {
    position: relative;
    z-index: 1;
    margin: 20px auto 6px;
    width: min(300px, 78vw);
    aspect-ratio: 1;
}

.flb_roleta_pointer {
    position: absolute;
    top: -2px;
    left: 50%;
    z-index: 5;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 22px solid #f0c36a;
    transform: translateX(-50%);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
    animation: flbRoletaPointer 1.1s ease-in-out infinite;
}

.flb_roleta_stage.is-spinning .flb_roleta_pointer {
    animation-duration: 0.28s;
}

.flb_roleta_ring {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    padding: 7px;
    background: conic-gradient(from 0deg, #e8a830, #fff3, #c48920, #fff2, #e8a830);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(232, 168, 48, 0.35),
        inset 0 0 18px rgba(0, 0, 0, 0.35);
}

.flb_roleta_wheel_rot {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #0e0c0a;
    transform-origin: 50% 50%;
    will-change: transform;
    backface-visibility: hidden;
}

.flb_roleta_svg {
    display: block;
    width: 100%;
    height: 100%;
}

.flb_roleta_svg_label {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.35);
    stroke-width: 0.6px;
    pointer-events: none;
}

.flb_roleta_hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #2a2418, #0e0c0a 70%);
    border: 2px solid rgba(232, 168, 48, 0.65);
    box-shadow: 0 0 20px rgba(232, 168, 48, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.flb_roleta_hub_logo {
    width: 34px;
    height: auto;
    max-height: 28px;
    object-fit: contain;
    filter: brightness(1.1);
}

.flb_roleta_stage.is-win .flb_roleta_ring {
    animation: flbRoletaWinPulse 0.85s ease-out 2;
}

.flb_roleta_result {
    position: relative;
    z-index: 1;
    margin: 10px 0 2px;
    min-height: 68px;
    animation: flbRoletaResultIn 0.55s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.flb_roleta_result_kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(240, 195, 106, 0.75);
}

.flb_roleta_result_label {
    margin: 6px 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 20px rgba(232, 168, 48, 0.4);
}

.flb_roleta_result_xp {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: #e8a830;
}

.flb_roleta_done {
    position: relative;
    z-index: 1;
    margin: 10px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.flb_roleta_spin {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 16px;
    min-height: 52px;
    border: 0;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #1a1208;
    cursor: pointer;
    background: linear-gradient(135deg, #f0c36a 0%, #e8a830 45%, #c48920 100%);
    box-shadow: 0 10px 28px rgba(232, 168, 48, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.flb_roleta_spin:hover:not(:disabled) {
    transform: translateY(-1px);
}

.flb_roleta_spin:disabled {
    cursor: default;
    filter: grayscale(0.25) brightness(0.85);
    box-shadow: none;
}

.flb_roleta_disclaimer {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
    font-size: 11.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.42);
}

.flb_roleta_result_staff {
    margin: 8px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(240, 195, 106, 0.95);
}

.flb_perfil_cofre {
    margin: 14px 0 4px;
    padding: 12px 12px 10px;
    border-radius: 12px;
    background: rgba(232, 168, 48, 0.08);
    border: 1px solid rgba(232, 168, 48, 0.2);
}

.flb_perfil_cofre_list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.flb_perfil_cofre_list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.flb_perfil_cofre_list li:first-child {
    border-top: 0;
    padding-top: 2px;
}

.flb_perfil_cofre_label {
    color: rgba(245, 230, 200, 0.95);
    font-weight: 600;
}

.flb_perfil_cofre_hint {
    flex-shrink: 0;
    font-size: 11px;
    color: rgba(240, 195, 106, 0.85);
}

/* FAB roleta na ementa */
.flb_roleta_fab {
    position: fixed;
    right: 14px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    z-index: 130;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a1208;
    background: linear-gradient(145deg, #f0c36a 0%, #e8a830 55%, #c48920 100%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
    animation: flbRoletaFabPulse 2.8s ease-in-out infinite;
}

.flb_roleta_fab i,
.flb_roleta_fab svg {
    font-size: 20px;
}

.flb_roleta_fab_dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d4d;
    box-shadow: 0 0 0 2px rgba(26, 18, 8, 0.35);
}

.flb_roleta_fab:hover,
.flb_roleta_fab:focus {
    transform: scale(1.06);
    outline: none;
}

@keyframes flbRoletaFabPulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12); }
    50% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(240, 195, 106, 0.35); }
}

.flb_shell--mesa .flb_roleta_fab {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

/* Gate guest → registo */
md-dialog.flb_roleta_gate_dialog {
    max-width: 400px;
}

.flb_roleta_gate {
    padding: 8px 4px 4px;
    text-align: center;
}

.flb_roleta_gate_icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 48, 0.15);
    color: #f0c36a;
    font-size: 24px;
}

.flb_roleta_gate_title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #f5e6c8;
}

.flb_roleta_gate_lead {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.flb_roleta_gate_perks,
.flb_perfil_guest_perks,
.flb_login_perks {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    text-align: left;
}

.flb_roleta_gate_perks li,
.flb_perfil_guest_perks li,
.flb_login_perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.82);
}

.flb_roleta_gate_perks i,
.flb_perfil_guest_perks i,
.flb_login_perks i {
    margin-top: 2px;
    color: #e8a830;
    width: 16px;
    text-align: center;
}

.flb_roleta_gate_actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flb_perfil_guest .flb_btn_secondary {
    margin-top: 6px;
}

.flb_login_perks {
    margin: 4px 0 12px;
}

.flb_push_card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 4px;
    padding: 12px 12px;
    border-radius: 12px;
    background: rgba(232, 168, 48, 0.08);
    border: 1px solid rgba(232, 168, 48, 0.22);
}

.flb_push_card_text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.flb_push_card_text strong {
    font-size: 13px;
    color: #f5e6c8;
}

.flb_push_card_text span {
    font-size: 11.5px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.62);
}

.flb_push_card_btn {
    flex-shrink: 0;
    min-width: 96px !important;
    margin: 0 !important;
    font-size: 12px !important;
}

.flb_push_card_btn.is-on {
    border-color: rgba(120, 200, 140, 0.45) !important;
    color: #b8e6c4 !important;
}

.flb_push_toast {
    position: fixed;
    left: 50%;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(12px);
    z-index: 10000;
    max-width: min(920px, calc(100vw - 28px));
    width: max-content;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(22, 16, 10, 0.96);
    border: 1px solid rgba(232, 168, 48, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    color: #f5e6c8;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.flb_push_toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.flb_push_toast strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.flb_push_toast span {
    display: block;
    font-size: 12.5px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
}

/* Add to Home Screen — banner iOS */
.flb_a2hs_banner {
    position: fixed;
    left: 50%;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 9999;
    width: min(420px, calc(100vw - 20px));
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: rgba(22, 16, 10, 0.97);
    border: 1px solid rgba(232, 168, 48, 0.4);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
    color: #f5e6c8;
    animation: flbA2HSIn 0.3s ease;
}

@keyframes flbA2HSIn {
    from { opacity: 0; transform: translateX(-50%) translateY(14px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.flb_a2hs_banner_inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.flb_a2hs_icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}

.flb_a2hs_text {
    flex: 1;
    min-width: 0;
}

.flb_a2hs_text strong {
    display: block;
    font-size: 13.5px;
    margin-bottom: 3px;
    color: #f0c374;
}

.flb_a2hs_text span {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
}

.flb_a2hs_close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 20px;
    line-height: 1;
    padding: 0 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.flb_a2hs_steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(232, 168, 48, 0.2);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
    flex-wrap: wrap;
}

.flb_a2hs_steps i {
    color: #e8a830;
    font-size: 15px;
}

/* Welcome back — sheet Friends (sem SweetAlert) */
md-dialog.flb_welcome_dialog {
    max-width: 400px;
}

.flb_welcome {
    position: relative;
    padding: 10px 4px 6px;
    text-align: center;
    overflow: hidden;
}

.flb_welcome_glow {
    position: absolute;
    left: 50%;
    top: -20%;
    width: 220px;
    height: 220px;
    margin-left: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 168, 48, 0.28) 0%, transparent 68%);
    pointer-events: none;
    animation: flbRoletaGlow 2.8s ease-in-out infinite alternate;
}

.flb_welcome_brand {
    position: relative;
    z-index: 1;
    margin: 0 auto 10px;
}

.flb_welcome_logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.flb_welcome_level {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1208;
    background: linear-gradient(145deg, #f0c36a, #e8a830);
}

.flb_welcome_title {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #f5e6c8;
}

.flb_welcome_lead {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.flb_welcome_actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .flb_welcome_glow {
        animation: none !important;
    }
}

@keyframes flbRoletaGlow {
    from { opacity: 0.55; transform: scale(1); }
    to { opacity: 1; transform: scale(1.05); }
}

@keyframes flbRoletaPointer {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(3px); }
}

@keyframes flbRoletaWinPulse {
    0%, 100% {
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 168, 48, 0.35);
    }
    50% {
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(240, 195, 106, 0.7), 0 0 36px rgba(232, 168, 48, 0.45);
    }
}

@keyframes flbRoletaResultIn {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .flb_roleta_glow,
    .flb_roleta_pointer,
    .flb_roleta_stage.is-win .flb_roleta_ring,
    .flb_roleta_result,
    .flb_roleta_fab {
        animation: none !important;
    }
    .flb_roleta_wheel_rot {
        transition: none !important;
    }
}

/* Conta — premium passport */
.flb_conta_mock {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

.flb_conta_mock .flb_conta_identity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 0 16px;
    min-width: 0;
}

.flb_conta_avatar {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.02em;
    color: #1a1208;
    background: linear-gradient(145deg, #f0c15a 0%, #e8a830 55%, #c98618 100%);
    box-shadow: 0 6px 18px rgba(232, 168, 48, 0.28);
    flex: 0 0 auto;
}

.flb_conta_avatar_txt {
    position: relative;
    z-index: 1;
}

.flb_conta_avatar_ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(232, 168, 48, 0.45);
    animation: flb_conta_ring 2.8s ease-in-out infinite;
    pointer-events: none;
}

.flb_conta_identity_text .flb_perfil_level_pill i,
.flb_conta_identity_text .flb_perfil_level_pill svg {
    margin-right: 4px;
    font-size: 0.85em;
}

.flb_conta_identity_text {
    flex: 1 1 auto;
    min-width: 0;
}

.flb_conta_identity_text .flb_perfil_name {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flb_conta_identity_text .flb_perfil_email {
    margin: 2px 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flb_conta_identity_pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.flb_conta_qr_mini {
    width: 52px;
    height: 52px;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #fff;
    color: #1a1208;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.flb_conta_qr_mini:active {
    transform: scale(0.96);
}

.flb_conta_qr_mini_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.flb_conta_pass {
    position: relative;
    padding: 16px 16px 14px;
    border-radius: 18px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(232, 168, 48, 0.22) 0%, transparent 55%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid rgba(232, 168, 48, 0.28);
    margin-bottom: 14px;
    overflow: hidden;
    min-width: 0;
}

.flb_conta_pass_glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 168, 48, 0.28) 0%, transparent 70%);
    animation: flb_conta_glow 4s ease-in-out infinite;
    pointer-events: none;
}

.flb_conta_pass_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.flb_conta_pass_label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 2px;
}

.flb_conta_pass_xp strong {
    font-size: 1.45rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: #f3d89a;
}

.flb_conta_pass_xp small {
    font-size: 0.72em;
    font-weight: 600;
    opacity: 0.75;
}

.flb_conta_pass_meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 12px;
    opacity: 0.7;
    flex: 0 0 auto;
}

.flb_conta_pass_progress {
    height: 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.flb_conta_pass_bar {
    transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    background: linear-gradient(90deg, #c98618, #e8a830, #f0c15a);
    box-shadow: 0 0 12px rgba(232, 168, 48, 0.55);
}

.flb_conta_pass_next,
.flb_conta_pass_benefit {
    margin: 10px 0 0;
    font-size: 12.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.flb_conta_pass_next i,
.flb_conta_pass_benefit i,
.flb_conta_pass_next svg,
.flb_conta_pass_benefit svg {
    margin-top: 2px;
    color: #e8a830;
    flex: 0 0 auto;
}

.flb_conta_pass_benefit {
    color: rgba(255, 255, 255, 0.55);
}

.flb_conta_pass_cliente {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.6);
}

.flb_conta_pass_cliente i {
    color: #e8a830;
    flex: 0 0 auto;
}

.flb_conta_pass_cliente_txt {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flb_conta_pass_cliente_pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(232, 168, 48, 0.16);
    color: #f0c36a;
    flex: 0 0 auto;
}

.flb_conta_pass_cliente_pill--fundador {
    background: linear-gradient(135deg, #f6d573, #e8a830 60%, #c9861a);
    color: #1a1200;
}

.flb_conta_pass_cliente strong {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
}

.flb_conta_pass_meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.flb_conta_pass_meta i,
.flb_conta_pass_meta svg {
    color: #e8a830;
    opacity: 0.85;
}

/* Mundo — passaporte de bandeiras */
.flb_conta_mundo_hero {
    margin: 0 0 14px;
    padding: 16px 14px 14px;
    border-radius: 18px;
    background:
        radial-gradient(90% 80% at 0% 0%, rgba(90, 160, 255, 0.12) 0%, transparent 50%),
        radial-gradient(80% 70% at 100% 100%, rgba(232, 168, 48, 0.14) 0%, transparent 55%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.flb_conta_block_head--row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.flb_conta_block_head h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.flb_conta_block_head h3 i,
.flb_conta_block_head h3 svg {
    color: #e8a830;
}

.flb_conta_mundo_pct {
    font-size: 13px;
    font-weight: 750;
    color: #f0c15a;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(232, 168, 48, 0.14);
    border: 1px solid rgba(232, 168, 48, 0.28);
}

.flb_conta_mundo_progress {
    margin-bottom: 12px;
}

.flb_conta_stamps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.flb_conta_stamp {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 78px;
    padding: 10px 4px 8px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: flb_conta_stamp_in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--i, 0) * 55ms + 120ms);
}

.flb_conta_stamp.is-unlocked {
    background: linear-gradient(160deg, rgba(232, 168, 48, 0.18), rgba(255, 255, 255, 0.04));
    border-color: rgba(232, 168, 48, 0.4);
    box-shadow: 0 4px 14px rgba(232, 168, 48, 0.12);
}

.flb_conta_stamp.is-unlocked .flb_conta_stamp_flag,
.flb_conta_stamp.is-unlocked .flb_conta_stamp_flag_img {
    animation: flb_conta_flag_pop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) both;
    animation-delay: calc(var(--i, 0) * 55ms + 220ms);
    filter: none;
}

.flb_conta_stamp.is-locked .flb_conta_stamp_flag {
    filter: grayscale(1);
    opacity: 0.35;
    transform: scale(0.92);
}

.flb_conta_stamp_flag {
    font-size: 28px;
    line-height: 1;
}

.flb_conta_stamp_flag_img {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.flb_conta_stamp.is-locked .flb_conta_stamp_flag_img {
    filter: grayscale(1);
    opacity: 0.4;
    transform: scale(0.92);
}

.flb_conta_stamp.is-unlocked .flb_conta_stamp_flag_img {
    filter: none;
    opacity: 1;
}

.flb_conta_stamp_name {
    font-size: 10px;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    line-height: 1.15;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 2px;
}

.flb_conta_stamp_lock,
.flb_conta_stamp_check {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

.flb_conta_stamp_lock {
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.55);
}

.flb_conta_stamp_check {
    background: #e8a830;
    color: #1a1208;
}

.flb_conta_mundo_vermais {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12.5px;
    font-weight: 650;
    cursor: pointer;
}

.flb_conta_mundo_vermais:active {
    background: rgba(255, 255, 255, 0.09);
}

.flb_conta_mundo_premio {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(232, 168, 48, 0.12);
    border: 1px solid rgba(232, 168, 48, 0.28);
    font-size: 12.5px;
    color: #f3d89a;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Taste + tags */
.flb_conta_taste {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

@media (min-width: 400px) {
    .flb_conta_taste {
        grid-template-columns: 1fr 1fr;
    }
}

.flb_conta_taste_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}

.flb_conta_taste_item > i,
.flb_conta_taste_item > svg {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 48, 0.14);
    color: #e8a830;
    flex: 0 0 auto;
}

.flb_conta_taste_item div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flb_conta_taste_item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

.flb_conta_taste_item strong {
    font-size: 13px;
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flb_conta_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}

.flb_conta_tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(232, 168, 48, 0.1);
    border: 1px solid rgba(232, 168, 48, 0.22);
    color: rgba(243, 216, 154, 0.95);
    font-size: 11.5px;
}

.flb_conta_quick {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

@media (min-width: 380px) {
    .flb_conta_quick {
        grid-template-columns: 1fr 1fr;
    }
}

.flb_conta_ronda_btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 14px;
    padding: 14px 14px;
    border: 1px solid rgba(232, 168, 48, 0.4);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(232, 168, 48, 0.2), rgba(20, 20, 20, 0.9));
    color: #fff;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.flb_conta_ronda_btn:active {
    transform: scale(0.98);
}
.flb_conta_ronda_glow {
    position: absolute;
    inset: -40% auto auto -20%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(232, 168, 48, 0.25);
    filter: blur(24px);
    pointer-events: none;
    animation: flb_conta_ronda_pulse 2.8s ease-in-out infinite;
}
.flb_conta_ronda_ico {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #e8a830, #c9a227);
    color: #1a1000;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.flb_conta_ronda_txt {
    position: relative;
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
}
.flb_conta_ronda_txt strong {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.flb_conta_ronda_txt small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
}
.flb_conta_ronda_btn > .fa-chevron-right,
.flb_conta_ronda_btn > .far.fa-chevron-right {
    position: relative;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}
@keyframes flb_conta_ronda_pulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.flb_conta_quick_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(232, 168, 48, 0.35);
    background: linear-gradient(145deg, rgba(232, 168, 48, 0.22), rgba(232, 168, 48, 0.08));
    color: #f3d89a;
    font-size: 13px;
    font-weight: 650;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.flb_conta_quick_btn.is-ready {
    animation: flb_conta_roleta_pulse 2.2s ease-in-out infinite;
}

.flb_conta_quick_btn.is-ready i,
.flb_conta_quick_btn.is-ready svg {
    animation: flb_conta_spin_slow 6s linear infinite;
}

.flb_conta_quick_btn:active {
    transform: scale(0.97);
}

.flb_conta_quick_cofre {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    min-width: 0;
}

.flb_conta_quick_cofre_top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #f0c15a;
    font-size: 13px;
}

.flb_conta_quick_badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #e8a830;
    color: #1a1208;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.flb_conta_quick_cofre p,
.flb_conta_quick_cofre ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.flb_conta_quick_cofre li {
    padding: 2px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flb_conta_block {
    margin: 0 0 14px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
    overflow: hidden;
}

.flb_conta_block_head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 12px;
}

.flb_conta_block_head.flb_conta_block_head--row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.flb_conta_block_head h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.flb_conta_block_meta {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.35;
}

.flb_conta_cartao_pessoal_atual {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(0, 204, 153, 0.1);
    border: 1px solid rgba(0, 204, 153, 0.28);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.flb_conta_cartao_pessoal_atual i {
    color: #00cc99;
    flex: 0 0 auto;
}

.flb_conta_cartao_pessoal_atual span {
    flex: 1 1 auto;
    min-width: 0;
}

.flb_conta_cartao_pessoal_trocar {
    flex: 0 0 auto;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.flb_conta_cartao_pessoal_form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 10px;
}

.flb_conta_cartao_pessoal_input {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 15px;
}

.flb_conta_cartao_pessoal_input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.flb_conta_cartao_pessoal_btn.md-button {
    width: 100%;
    min-height: 44px !important;
    line-height: 44px !important;
    margin: 0 !important;
    white-space: nowrap;
}

.flb_conta_missao {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.flb_conta_missao:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.flb_conta_missao.is-done {
    opacity: 0.72;
}

.flb_conta_missao_icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 48, 0.12);
    color: #e8a830;
    flex: 0 0 auto;
    margin-top: 2px;
}

.flb_conta_missao.is-done .flb_conta_missao_icon {
    background: rgba(90, 200, 120, 0.16);
    color: #7ddea0;
}

.flb_conta_missao_body {
    flex: 1 1 auto;
    min-width: 0;
}

.flb_conta_missao_top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.flb_conta_missao_top span {
    color: #e8a830;
    font-weight: 650;
    flex: 0 0 auto;
}

.flb_conta_missao p {
    margin: 4px 0 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.flb_conta_missao_prog {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.flb_conta_colecao_ico {
    color: #e8a830;
    width: 18px;
    text-align: center;
}

.flb_conta_colecao {
    margin-bottom: 12px;
}

.flb_conta_colecao:last-child {
    margin-bottom: 0;
}

.flb_conta_colecao_btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 6px;
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
    font-size: 13px;
}

.flb_conta_colecao_btn--static {
    cursor: default;
}

.flb_conta_colecao_name {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flb_conta_colecao_count {
    color: #e8a830;
    font-weight: 700;
    font-size: 12px;
}

.flb_conta_colecao_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.flb_conta_mundo {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.flb_conta_achieve_rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 2px 2px 6px;
    margin: 0 -2px;
    max-width: 100%;
    scrollbar-width: none;
}

.flb_conta_achieve_rail::-webkit-scrollbar {
    display: none;
}

.flb_conta_achieve {
    flex: 0 0 auto;
    width: 88px;
    padding: 10px 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 10.5px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.8);
    animation: flb_conta_stamp_in 0.4s ease both;
    animation-delay: calc(var(--i, 0) * 40ms);
}

.flb_conta_achieve > span:last-child {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    word-break: break-word;
}

.flb_conta_achieve_ico {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 48, 0.14);
    color: #e8a830;
}

.flb_conta_achieve_ico i,
.flb_conta_achieve_ico svg {
    font-size: 1.05rem;
}

.flb_conta_achieve.is-unlocked .flb_conta_achieve_ico {
    animation: flb_conta_badge_shine 2.8s ease-in-out infinite;
    box-shadow: 0 0 0 1px rgba(232, 168, 48, 0.25);
}

.flb_conta_achieve.is-locked {
    opacity: 0.38;
}

.flb_conta_achieve.is-locked .flb_conta_achieve_ico {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.35);
}

.flb_conta_reveal {
    animation: flb_conta_reveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 70ms);
}

.flb_perfil_tab i,
.flb_perfil_tab svg {
    margin-right: 4px;
}

.flb_conta_block .flb_perfil_ranking_types {
    margin-bottom: 8px;
}

.flb_conta_block .flb_perfil_rank_nome {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flb_conta_foot {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 6px 0 8px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.flb_conta_foot_btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 13px 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    text-align: left;
    font-size: 13.5px;
}

.flb_conta_foot_btn:last-child {
    border-bottom: 0;
}

.flb_conta_foot_btn--danger {
    color: #f07178;
}

.flb_conta_alerg_block .flb_conta_block_head h3 {
    font-size: 0.92rem;
}

.flb_conta_alerg_status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.45);
    flex: 0 0 auto;
}

.flb_conta_alerg_status--ok {
    color: #7ddea0;
    animation: flb_conta_alerg_status_in 0.25s ease both;
}

.flb_conta_alerg_status--ok i {
    font-size: 11px;
}

@keyframes flb_conta_alerg_status_in {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flb_conta_alerg_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flb_conta_alerg_row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #161616;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.flb_conta_alerg_row.is-on {
    border-color: rgba(232, 168, 48, 0.55);
    background: rgba(232, 168, 48, 0.1);
}

.flb_conta_alerg_row .flb_alerg_check {
    margin-top: 2px;
}

.flb_conta_alerg_row .flb_alerg_icon {
    margin-top: 1px;
}

.flb_conta_alerg_row_body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.flb_conta_alerg_row_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.flb_conta_alerg_row .flb_alerg_name {
    font-size: 12.5px;
}

.flb_conta_alerg_tags {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.flb_conta_alerg_tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
}

.flb_conta_alerg_tag--alergenico {
    color: #e8a830;
    background: rgba(232, 168, 48, 0.14);
}

.flb_conta_alerg_tag--intolerancia {
    color: #7fb6e8;
    background: rgba(127, 182, 232, 0.14);
}

.flb_conta_alerg_severity {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 6px;
    color: rgba(255, 255, 255, 0.25);
}

.flb_conta_alerg_severity--3 {
    color: #f07178;
}

.flb_conta_alerg_severity--2 {
    color: #e8a830;
}

.flb_conta_alerg_severity--1 {
    color: #7ddea0;
}

.flb_conta_alerg_desc {
    font-size: 11.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
}

.flb_conta_skel {
    max-width: 520px;
    margin: 0 auto;
    padding: 4px 0 20px;
}

.flb_conta_skel_identity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.flb_conta_skel_circle,
.flb_conta_skel_qr,
.flb_conta_skel_bar,
.flb_conta_skel_card,
.flb_conta_skel_chip {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 45%, rgba(255,255,255,0.05) 100%);
    background-size: 200% 100%;
    animation: flb_conta_shimmer 1.2s ease-in-out infinite;
    border-radius: 12px;
}

.flb_conta_skel_circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.flb_conta_skel_qr {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
}

.flb_conta_skel_lines {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flb_conta_skel_bar {
    height: 12px;
    width: 70%;
}

.flb_conta_skel_bar--lg { width: 58%; height: 16px; }
.flb_conta_skel_bar--sm { width: 40%; height: 10px; }

.flb_conta_skel_card {
    height: 96px;
    margin-bottom: 12px;
    border-radius: 16px;
}

.flb_conta_skel_card--tall {
    height: 140px;
}

.flb_conta_skel_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.flb_conta_skel_chip {
    height: 52px;
    border-radius: 14px;
}

@keyframes flb_conta_shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@keyframes flb_conta_reveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes flb_conta_ring {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 0.25; }
}

@keyframes flb_conta_glow {
    0%, 100% { opacity: 0.55; transform: translate(0, 0) scale(1); }
    50% { opacity: 1; transform: translate(-8px, 6px) scale(1.08); }
}

@keyframes flb_conta_stamp_in {
    from { opacity: 0; transform: translateY(8px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes flb_conta_flag_pop {
    0% { transform: scale(0.6); }
    60% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

@keyframes flb_conta_roleta_pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232, 168, 48, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(232, 168, 48, 0); }
}

@keyframes flb_conta_spin_slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes flb_conta_badge_shine {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232, 168, 48, 0.2); }
    50% { box-shadow: 0 0 14px 2px rgba(232, 168, 48, 0.35); }
}

.flb_conta_qr_dialog {
    max-width: 340px;
}

.flb_ranking_dialog {
    max-width: 400px;
    max-height: 82vh;
}

.flb_ranking_dialog_body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 18px 20px;
    overflow-y: auto;
}

.flb_ranking_dialog_body .flb_conta_qr_dialog_title {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.flb_ranking_dialog_body .flb_conta_qr_dialog_title i {
    color: #e8a830;
}

.flb_conta_ranking_btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.flb_conta_ranking_btn i:first-child {
    color: #e8a830;
    font-size: 1.05em;
}

.flb_conta_ranking_btn span {
    flex: 1 1 auto;
    text-align: left;
}

.flb_conta_ranking_btn i:last-child {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85em;
}

.flb_conta_qr_dialog_body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 22px 22px;
    text-align: center;
}

.flb_conta_qr_dialog_title {
    margin: 0;
    font-size: 1.15rem;
}

.flb_conta_qr_dialog_lead {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

.flb_conta_qr_dialog_frame {
    width: 220px !important;
    min-width: 220px !important;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
}

.flb_conta_qr_dialog_code {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(232, 168, 48, 0.35);
    color: #f3d89a;
    font-size: 13px;
    letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
    .flb_conta_skel_circle,
    .flb_conta_skel_qr,
    .flb_conta_skel_bar,
    .flb_conta_skel_card,
    .flb_conta_skel_chip,
    .flb_conta_reveal,
    .flb_conta_stamp,
    .flb_conta_stamp.is-unlocked .flb_conta_stamp_flag,
    .flb_conta_avatar_ring,
    .flb_conta_pass_glow,
    .flb_conta_quick_btn.is-ready,
    .flb_conta_quick_btn.is-ready i,
    .flb_conta_quick_btn.is-ready svg,
    .flb_conta_achieve,
    .flb_conta_achieve.is-unlocked .flb_conta_achieve_ico {
        animation: none !important;
    }
    .flb_conta_pass_bar {
        transition: none;
    }
}

/* Travar scroll do documento nestas páginas — só o painel interno scrolla se precisar */
html:has(.flb_reserva_page),
html:has(.flb_sobre_page),
body:has(.flb_reserva_page),
body:has(.flb_sobre_page),
main#panel:has(.flb_reserva_page),
main#panel:has(.flb_sobre_page) {
    height: 100%;
    max-height: 100%;
    overflow: hidden !important;
    overscroll-behavior: none;
}

/* Página Reservar — full page, mesmos estilos do sheet */
.flb_reserva_page {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-height: 100dvh;
    max-width: 100%;
    overflow: hidden;
    background: #0a0a0a;
    padding: 0;
    box-sizing: border-box;
}

/* Hero + título fixos (como ementa: header não scrolla) */
.flb_reserva_page_header {
    flex: 0 0 auto;
    width: 100%;
    background: #0a0a0a;
    z-index: 3;
}

.flb_page_titlebar {
    padding: 2px 16px 10px;
    box-sizing: border-box;
}

.flb_page_titlebar_title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.flb_page_titlebar_sub {
    margin: 3px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.25;
}

.flb_reserva_page_main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 14px 10px;
    box-sizing: border-box;
}

.flb_reserva_page.flb_shell--nav {
    /* dock actions + nav + FAB que sobe (~14px) + folga */
    padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)) !important;
}

.flb_reserva_page:not(.flb_reserva_page--dock-actions).flb_shell--nav {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}

/* Footer unificado: ações do passo + bottom nav */
.flb_bottom_dock--reserva {
    gap: 0;
    background: transparent;
}

.flb_reserva_dock_shell {
    width: 100%;
    background: #121212;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.5);
    overflow: visible;
}

.flb_reserva_dock_actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    /* padding-bottom: folga para o FAB central (margin-top: -14px) */
    padding: 12px 14px 32px;
    background: #121212;
    position: relative;
    z-index: 1;
}

.flb_reserva_dock_btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.flb_reserva_dock_btn--primary {
    background: #e8a830;
    color: #111;
}

.flb_reserva_dock_btn--primary:disabled {
    background: rgba(232, 168, 48, 0.28);
    color: rgba(17, 17, 17, 0.55);
    cursor: default;
}

.flb_reserva_dock_btn--ghost {
    flex: 0 0 auto;
    min-width: 96px;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.flb_bottom_dock--reserva .flb_bottomnav--ref {
    --flb-nav-bg: #1b1b1b;
    border-radius: 0;
    border-top: 0;
    box-shadow: none;
    position: relative;
    z-index: 2;
    overflow: visible;
}

/* Página Sobre — reserva explícita para o dock (evita botão/labels cortados) */
.flb_sobre_page.flb_shell--nav {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
}

.flb_sobre_page {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-height: 100dvh;
    max-width: 100%;
    overflow: hidden;
    background: #0a0a0a;
    box-sizing: border-box;
}

.flb_sobre_main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 14px 8px;
    background: #0a0a0a;
    box-sizing: border-box;
}

/* Dock do Sobre: não cortar labels */
body:has(.flb_sobre_page) .flb_bottom_dock .flb_bottomnav--ref {
    overflow: visible;
    min-height: 52px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.flb_sobre_page_card {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 12px 14px 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.flb_sobre_page_head {
    flex: 0 0 auto;
    margin-bottom: 8px;
}

.flb_sobre_page_title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.flb_sobre_page_sub {
    margin: 2px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

/* Galeria + texto: só aqui pode haver scroll se o texto for longo */
.flb_sobre_page_mid {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.flb_sobre_page_mid::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* Contactos + Como chegar sempre visíveis */
.flb_sobre_page_foot {
    flex: 0 0 auto;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_sobre_page .flb_sobre_gallery {
    margin: 0 -14px 10px;
    height: 120px;
    overflow: hidden;
}

.flb_sobre_page .flb_sobre_gallery slick,
.flb_sobre_page .flb_sobre_gallery .slick-list,
.flb_sobre_page .flb_sobre_gallery .slick-track,
.flb_sobre_page .flb_sobre_gallery .slick-slide {
    height: 120px !important;
}

.flb_sobre_page .flb_sobre_gallery .slick-slide > div {
    height: 120px;
}

.flb_sobre_page .flb_sobre_gallery img {
    height: 120px;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Anula o -webkit-box/line-clamp do dialog — senão os <p> sobrepõem-se */
.flb_sobre_page .flb_sobre_desc {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    max-height: none !important;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
}

.flb_sobre_page .flb_sobre_desc p {
    display: block;
    margin: 0 0 6px;
}

.flb_sobre_page .flb_sobre_desc p:last-child {
    margin-bottom: 0;
}

.flb_sobre_page .flb_sobre_contacts {
    gap: 7px;
}

.flb_sobre_page .flb_sobre_row {
    font-size: 12px;
}

.flb_sobre_page .flb_sobre_directions {
    margin-top: 6px;
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    box-sizing: border-box;
}

.flb_reserva_page_card.flb_sheet_dialog {
    position: relative;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none !important;
    height: auto !important;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto !important;
    align-self: stretch;
}

.flb_reserva_page .flb_reserva_panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 14px 14px 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    height: auto;
}

.flb_reserva_page .flb_reserva_panel:not(.flb_reserva_panel--compact) {
    padding-bottom: 8px;
}

.flb_reserva_page .flb_sheet_body--reserva {
    flex: 1 1 auto;
}

.flb_reserva_page .flb_reserva_panel--expand {
    max-height: none !important;
    height: 100%;
    overflow: hidden;
}

.flb_reserva_page .flb_reserva_panel--expand .flb_sheet_body--reserva,
.flb_reserva_page .flb_sheet_body--reserva {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 12px 0 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.flb_reserva_page .flb_sheet_body--reserva::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.flb_reserva_page .flb_reserva_wizard_progress {
    flex: 0 0 auto;
}

.flb_reserva_page .flb_sheet_actions--reserva {
    position: relative;
    z-index: 2;
    margin: auto 0 0;
    padding: 14px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.flb_reserva_page .flb_sheet_actions--reserva .md-button {
    margin: 0;
    flex: 1 1 auto;
}

/* Campos: o sheet usa .flb_sheet_dialog — a página também tem essa classe;
   regras md-dialog.* precisam de espelho na página */
.flb_reserva_page .flb_field {
    min-width: 0;
    max-width: 100%;
    display: block;
}

.flb_reserva_page .flb_field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.flb_reserva_page .flb_field input,
.flb_reserva_page .flb_field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #1a1a1a !important;
    color: #fff !important;
    font-size: 15px;
    outline: none;
    line-height: 1.25;
    -webkit-appearance: none;
    appearance: none;
}

.flb_reserva_page .flb_field input:focus,
.flb_reserva_page .flb_field textarea:focus {
    border-color: rgba(232, 168, 48, 0.55);
}

.flb_reserva_page .flb_field input::placeholder,
.flb_reserva_page .flb_field textarea::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.flb_reserva_page input[type="date"] {
    color-scheme: dark;
}

.flb_reserva_page input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.72;
    cursor: pointer;
}

.flb_reserva_page md-select {
    width: 100%;
    margin: 0 !important;
    display: block;
}

.flb_reserva_page md-select .md-select-value {
    border-bottom: 0 !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 10px 12px !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #1a1a1a !important;
    color: #fff !important;
    box-sizing: border-box;
    font-size: 15px !important;
}

.flb_reserva_page .flb_chip {
    min-height: 40px;
    font-size: 10px;
    border-radius: 12px;
    padding: 8px 6px;
}

.flb_reserva_page .flb_btn_primary.md-button,
.flb_reserva_page .flb_btn_primary {
    background: #e8a830 !important;
    color: #111 !important;
    border-radius: 12px !important;
    min-height: 46px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.flb_reserva_page .flb_btn_primary.md-button[disabled],
.flb_reserva_page .flb_btn_primary.md-button.md-button[disabled] {
    background: rgba(232, 168, 48, 0.28) !important;
    color: rgba(17, 17, 17, 0.55) !important;
}

.flb_reserva_page .flb_btn_ghost.md-button,
.flb_reserva_page .flb_btn_ghost {
    color: rgba(255, 255, 255, 0.75) !important;
}

.flb_reserva_page .flb_fields_grid--reserva {
    gap: 12px;
}

.flb_reserva_page .flb_reserva_wizard_progress {
    margin-bottom: 4px;
    flex: 0 0 auto;
}

.flb_reserva_page .flb_sheet_actions--reserva {
    flex: 0 0 auto;
}

.flb_chip_row--horas,
.flb_chip_row--locais {
    gap: 8px;
}

.flb_chip_row--horas .flb_chip--hora {
    flex: 0 0 auto;
    min-width: 68px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
}

.flb_chip_row--locais .flb_chip--local {
    flex: 1 1 calc(50% - 8px);
    min-width: 120px;
    padding: 10px 12px;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.flb_reserva_page .flb_chip_row--horas .flb_chip--hora,
.flb_reserva_page .flb_chip_row--locais .flb_chip--local {
    min-height: 42px;
    border-radius: 12px;
}

/* Página Minha Mesa (maquete full-page) */
.flb_mesa_page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    background: #0a0a0a;
    color: #f2f2f2;
    padding-bottom: 0;
    box-sizing: border-box;
}

.flb_mesa_body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 4px 14px 0;
    box-sizing: border-box;
}

.flb_mesa_heading_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
}

.flb_mesa_heading_refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.flb_mesa_heading_refresh[disabled] {
    opacity: 0.6;
}

.flb_mesa_heading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e8a830;
    line-height: 1.2;
    cursor: pointer;
    text-align: left;
}

.flb_mesa_heading > i {
    font-size: 0.95em;
}

.flb_mesa_summary {
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_mesa_summary_head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.flb_mesa_summary_titles {
    min-width: 0;
    flex: 1 1 auto;
}

.flb_mesa_summary_title_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.flb_mesa_summary_mesa {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.flb_mesa_summary_badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #3ecf6a;
}

.flb_mesa_summary_badge i {
    font-size: 7px;
}

.flb_mesa_summary_meta {
    margin: 6px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.flb_mesa_summary_meta--minimo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #f0c36a;
}

.flb_mesa_item.is-consumo-minimo .flb_mesa_item_thumb_ph {
    color: #f0c36a;
}

.flb_mesa_summary_qr {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    flex: 0 0 auto;
    font-size: 18px;
}

.flb_mesa_summary_stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.flb_mesa_summary_stat {
    min-width: 0;
    padding: 8px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.flb_mesa_summary_stat_label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
}

.flb_mesa_summary_stat_label i {
    color: #e8a830;
}

.flb_mesa_summary_stat_value {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flb_mesa_summary_stat--total .flb_mesa_summary_stat_value {
    color: #e8a830;
    font-size: 16px;
}

.flb_mesa_tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.flb_mesa_tab {
    flex: 1 1 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    padding: 10px 6px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    min-width: 0;
}

.flb_mesa_tab.is-active {
    color: #111;
    background: #e8a830;
    border-color: #e8a830;
}

.flb_mesa_page .flb_mesa_desafio {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(232, 168, 48, 0.1);
    border: 1px solid rgba(232, 168, 48, 0.22);
    font-size: 13px;
}

.flb_mesa_desafio_txt {
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.85;
}

.flb_mesa_page_main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
}

.flb_mesa_page_main > div {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.flb_mesa_section + .flb_mesa_section {
    margin-top: 16px;
}

.flb_mesa_section_head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.flb_mesa_section_meta {
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.flb_mesa_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flb_mesa_item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 4px 0;
}

.flb_mesa_item_thumb {
    position: relative;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_mesa_item_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flb_mesa_item_thumb_ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 16px;
}

.flb_mesa_item_qtd {
    position: absolute;
    left: -2px;
    bottom: -2px;
    min-width: 22px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.flb_mesa_item_body {
    flex: 1 1 auto;
    min-width: 0;
}

.flb_mesa_item_row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.flb_mesa_item_name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.flb_mesa_item_side {
    text-align: right;
    flex: 0 0 auto;
}

.flb_mesa_item_price {
    font-size: 13px;
    font-weight: 800;
    color: #e8a830;
    white-space: nowrap;
}

.flb_mesa_item_price--oferta {
    color: #e8a830;
}

.flb_mesa_item_time {
    margin-top: 2px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

.flb_mesa_item_extra {
    margin-top: 3px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.flb_mesa_item_status {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.flb_mesa_item_status span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.flb_mesa_item.is-preparacao .flb_mesa_item_status {
    color: rgba(232, 168, 48, 0.9);
}

.flb_mesa_item_remove {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    padding: 2px 4px;
    font-size: 14px;
}

.flb_mesa_item_remove:disabled {
    opacity: 0.4;
}

.flb_mesa_empty {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 12px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.flb_mesa_page_actions {
    flex: 0 0 auto;
    padding: 12px 0 calc(90px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 18%);
}

.flb_mesa_actions_cart {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flb_mesa_actions_row {
    display: flex;
    gap: 8px;
}

.flb_mesa_actions_row .flb_mesa_btn {
    flex: 1 1 0;
    min-width: 0;
}

.flb_mesa_btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.flb_mesa_btn--primary {
    background: #e8a830;
    color: #111;
}

.flb_mesa_btn--outline {
    background: #0d0d0d;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.flb_mesa_btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
}

.flb_mesa_btn:disabled {
    opacity: 0.55;
}

.flb_mesa_ajuda {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #151515;
    color: inherit;
    text-align: left;
}

.flb_mesa_ajuda_icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(232, 168, 48, 0.12);
    color: #e8a830;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 16px;
}

.flb_mesa_ajuda_text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flb_mesa_ajuda_text strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.flb_mesa_ajuda_text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

.flb_mesa_ajuda_chevron {
    color: rgba(255, 255, 255, 0.35);
    flex: 0 0 auto;
}

.flb_mesa_ajuda.is-ok .flb_mesa_ajuda_icon {
    background: rgba(62, 207, 106, 0.15);
    color: #3ecf6a;
}

.flb_mesa_ajuda:disabled {
    opacity: 0.7;
}

.flb_mesa_hint {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.35;
}

.flb_mesa_hint--ok { color: #3ecf6a; }
.flb_mesa_hint--err { color: #ff7b7b; }

.flb_mesa_conta_card {
    padding: 14px;
    border-radius: 16px;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flb_mesa_conta_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
}

.flb_mesa_conta_row:last-child {
    border-bottom: 0;
}

.flb_mesa_conta_row strong {
    color: #f0c15a;
}

/* SweetAlert2 (t4t5, js/sweetalert.min.js — classes .swal-*) — tema dark/dourado
   consistente com o resto do site, em vez do popup branco genérico da lib.
   Afeta todos os avisos da app (não só o de confirmação de pedido). */
.swal-overlay {
    background-color: rgba(0, 0, 0, 0.72) !important;
}

.swal-modal {
    background-color: #161616 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.swal-title {
    color: #fff !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}

.swal-text {
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 14px !important;
    line-height: 1.45;
    text-align: center !important;
}

.swal-icon--success {
    border-color: #e8a830 !important;
}

.swal-icon--success:before,
.swal-icon--success:after {
    background: #161616 !important;
}

.swal-icon--success__ring {
    border-color: rgba(232, 168, 48, 0.2) !important;
}

.swal-icon--success__hide-corners {
    background-color: #161616 !important;
}

.swal-icon--success__line {
    background-color: #e8a830 !important;
}

.swal-icon--error {
    border-color: #ff5252 !important;
}

.swal-icon--error__line {
    background-color: #ff5252 !important;
}

.swal-icon--warning {
    border-color: #f0c15a !important;
}

.swal-icon--warning__body,
.swal-icon--warning__dot {
    background-color: #f0c15a !important;
}

.swal-content__input,
.swal-content__textarea {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
    border-radius: 10px !important;
}

.swal-footer {
    text-align: center !important;
}

.swal-button {
    border-radius: 12px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    padding: 0 22px !important;
    height: 44px !important;
}

.swal-button--confirm {
    background-color: #e8a830 !important;
    color: #111 !important;
}

.swal-button--confirm:not([disabled]):hover {
    background-color: #d99a24 !important;
}

.swal-button--confirm:focus {
    box-shadow: 0 0 0 3px rgba(232, 168, 48, 0.25) !important;
}

.swal-button--cancel {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.swal-button--cancel:not([disabled]):hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
}

.swal-button--danger {
    background-color: #ff5252 !important;
}

.swal-button--danger:not([disabled]):hover {
    background-color: #e64848 !important;
}

