/* v5.1.2: Compact minutes and Buy Minutes alongside the three main tabs.
   The existing billing IDs remain in the document for the calling engine only. */
#billingSection[hidden]{display:none!important}
.fc512-primary-nav{display:flex;align-items:center;justify-content:center;gap:10px;flex:1 1 560px;min-width:0;flex-wrap:wrap}
.fc512-primary-nav .site-nav{min-width:0;order:0}
.fc512-top-wallet{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;max-width:100%;direction:ltr}
.fc512-minute-pill{display:flex;align-items:center;gap:8px;min-height:44px;padding:7px 12px;color:#f7f3ff;border:1px solid #66528a;border-radius:12px;background:#201b32;min-width:118px}
.fc512-minute-icon{font-size:19px;line-height:1;color:#d4a8ff}
.fc512-minute-copy{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.16}
.fc512-minute-copy strong{font-size:16px;font-weight:800;letter-spacing:.1px;font-variant-numeric:tabular-nums}
.fc512-minute-copy small{font-size:10px;color:#b8accc;white-space:normal;max-width:128px}
.fc512-buy-button{flex:none;min-height:44px;padding:10px 13px;border:1px solid #a588f1;border-radius:11px;background:#7550c5;color:#fff;font-size:12px;font-weight:800;line-height:1.15;white-space:nowrap}
.fc512-buy-button:hover:not(:disabled){background:#9166e9}
.fc512-buy-button:focus-visible{outline:2px solid #d7c8ff;outline-offset:3px}
.fc512-buy-button:disabled{opacity:.5;cursor:not-allowed}
.fc512-buy-button[hidden]{display:none!important}
.fc512-translation-strip{display:block;width:100%;max-width:470px;margin-top:8px}
.fc512-translation-strip>.upgrade-item{max-width:425px}
html[dir="rtl"] .fc512-top-wallet{direction:rtl}
@media(max-width:1100px){
 .fc512-primary-nav{flex:1 1 100%;order:3;justify-content:flex-start}
 .topbar>.nav-right{order:2}
 .fc512-translation-strip{max-width:100%}
}
@media(max-width:650px){
 .topbar .fc512-primary-nav{flex:1 1 100%;width:100%;order:3;justify-content:center;gap:7px}
 .topbar .fc512-primary-nav .site-nav{flex:1 0 auto;justify-content:center;max-width:100%;overflow:visible}
 .topbar .fc512-primary-nav .site-tab{padding:9px 10px;font-size:11px}
 .fc512-top-wallet{justify-content:center;flex:1 1 100%;width:100%;gap:8px}
 .fc512-minute-pill{flex:1 1 150px;max-width:220px}
 .fc512-minute-copy small{max-width:none}
 .fc512-buy-button{flex:0 0 auto;min-width:118px}
 .fc51-call-mode .topbar .fc512-primary-nav{order:3;width:100%;max-width:100%}
 .fc51-call-mode .topbar .fc512-primary-nav .site-nav{max-width:100%;overflow:visible;justify-content:center}
 .fc51-call-mode .topbar .fc512-primary-nav .site-tab{font-size:11px;padding:7px}
 .fc51-call-mode .fc512-top-wallet{width:100%}
 .fc51-call-mode .fc512-minute-pill,.fc51-call-mode .fc512-buy-button{min-height:36px;padding:6px 10px}
 .fc512-translation-strip{padding:10px 12px}
}
