/* Premium40: scoped to Barber; scroll roots and safe areas remain untouched. */
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #mobile-bottom-nav {
    background: linear-gradient(145deg,rgba(35,48,53,.87),rgba(20,28,34,.91)) !important;
    border: 1px solid rgba(212,240,231,.2) !important;
    box-shadow: 0 12px 36px #0005, inset 0 1px 1px #ffffff18, inset 0 -1px 1px #ffffff08 !important;
    -webkit-backdrop-filter: blur(10px) saturate(120%) !important;
    backdrop-filter: blur(10px) saturate(120%) !important;
}
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #mobile-bottom-nav .barber-nav-pill {
    background: linear-gradient(155deg,rgba(227,255,248,.26),rgba(173,216,206,.1) 46%,rgba(239,255,249,.17)) !important;
    box-shadow: inset 0 1px 1px #ffffff55,inset 0 -1px 2px #d3fff326,0 3px 12px #0002 !important;
    border: 1px solid rgba(225,255,242,.23) !important;
    border-radius: 28px !important;
    transform-origin: left center;
    overflow: hidden;
    transition: none;
}
html.fluxo-barber-app.barber-premium #mobile-bottom-nav .barber-nav-pill::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg,transparent 18%,#ffffff25 45%,transparent 70%);
    transform: translateX(-110%);
}
html.fluxo-barber-app.barber-premium #mobile-bottom-nav .barber-nav-pill.is-travelling::before { animation: none; }
html.fluxo-barber-app.barber-premium #mobile-bottom-nav .barber-nav-pill::after {
    content: ''; position: absolute; inset: 2px; pointer-events: none; border-radius: inherit;
    border-top: 1px solid #ffffff20; border-bottom: 1px solid #d7ffee12;
}
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #mobile-bottom-nav .mobile-bottom-nav-btn.active { color: #9de8bb !important; }
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #mobile-bottom-nav .mobile-bottom-nav-btn.active svg { transform: none; }
html.fluxo-barber-app.barber-premium #app-container button { -webkit-tap-highlight-color: transparent; }
html.fluxo-barber-app.barber-premium #app-container button:not(:disabled):active { scale: 1; }
html.fluxo-barber-app.barber-premium #app-container button { transition: scale 160ms ease, background-color 180ms ease, border-color 180ms ease; }
/* O Início já usa a entrada compositorizada deste tema. O efeito compartilhado
   do dashboard animava os mesmos cards uma segunda vez após uma atualização. */
html.fluxo-barber-app.barber-premium #dashboard-panel-segment .flux-dash__rise {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
}
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home { gap: 24px !important; }
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__top { padding: 2px 2px 0 !important; gap: 8px 14px; }
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__date { color: #a0b2b3; letter-spacing: .075em !important; }
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__brand {
    background: linear-gradient(145deg,#305b46,#172b25) !important; border: 1px solid #6b9a804d !important;
    box-shadow: inset 0 1px 1px #d1ffe12b,0 5px 14px #0002; color: #a9f0c5 !important;
}
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__next {
    position: relative; isolation: isolate; overflow: hidden;
    background: linear-gradient(135deg,#203f3b 0%,#192f32 50%,#18242e 100%) !important;
    border: 1px solid #507f764d !important; border-radius: 28px !important;
    box-shadow: inset 0 1px 1px #ddfff118,0 12px 30px #0002 !important;
    padding: 26px !important;
}
html.fluxo-barber-app.barber-premium #app-container .barber-home__next::before {
    content: ''; position: absolute; width: 250px; height: 250px; right: -75px; top: -85px; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse,#a2eec52b,transparent 69%); border-radius: 50%;
    animation: none;
}
html.fluxo-barber-app.barber-premium #app-container .barber-home__next.is-premium-visible::before { animation-play-state: running; }
html.fluxo-barber-app.barber-premium #app-container .barber-home__next::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
    background: linear-gradient(155deg,#ffffff08,transparent 35%,#ffffff03); border-top: 1px solid #e1fff214;
}
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__next-time {
    font-size: clamp(45px,13vw,56px) !important; line-height: 1.06; letter-spacing: -.05em; font-weight: 750;
}
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__next-name { font-size: 24px; line-height: 1.2; letter-spacing: -.035em; }
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__next button {
    background: linear-gradient(135deg,#24b765,#159449) !important; box-shadow: inset 0 1px 0 #c4ffda3b,0 5px 18px #051d1726 !important; border: 1px solid #65d49055 !important;
}
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container :is(.barber-home__pulse,.barber-home__block,.sub-client-card,.barber-card,.barber-plan-card) {
    background: linear-gradient(145deg,#1b2a31,#152029) !important;
    border: 1px solid #718c942e !important; box-shadow: inset 0 1px 0 #e0fff00a,0 6px 20px #00000014 !important;
}
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__pulse { padding: 15px 8px; border-radius: 24px; }
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__pulse-item strong { font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__pulse-item.is-accent strong { color: #9ce8ba; }
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__action {
    background: linear-gradient(145deg,#213b34,#1a292b) !important; border: 1px solid #78aa8c35 !important;
    border-radius: 20px !important; box-shadow: inset 0 1px 0 #c4ffdf10 !important; padding: 17px 8px !important;
}
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__action svg { color: #a2e6bd !important; }
html.fluxo-barber-app.barber-premium.barber-premium.barber-premium.barber-premium #app-container .barber-home__block-head h3 { letter-spacing: -.025em; }
html.fluxo-barber-app.barber-premium.barber-motion-paused #app-container .barber-home__next::before { animation-play-state: paused !important; }
@keyframes barber-hero-light { from { transform: translate3d(0,0,0) scale(.92); opacity: .6; } to { transform: translate3d(-28px,32px,0) scale(1.12); opacity: 1; } }
@keyframes barber-glass-pass { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
@media (prefers-reduced-motion: reduce) {
    html.fluxo-barber-app.barber-premium #app-container .barber-home__next::before,
    html.fluxo-barber-app.barber-premium #mobile-bottom-nav .barber-nav-pill::before { animation: none !important; }
    html.fluxo-barber-app.barber-premium #app-container button { transition: none !important; scale: 1 !important; }
}
