/* candlesonar.com shell (4.22.195; 4.22.196: Gypsy logo, full width): top bar + the Investments part on its own. Comes on top of the theme style (style.php)
   and gy-investments.css; colour / spacing variables from the theme, otherwise fallback values. */
.gy-cs .gy-cs-bar { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid var(--brd, rgba(255, 255, 255, 0.08)); }   /* Ozgur: the top bar black (as in the original) */
.gy-cs .gy-cs-brand { text-decoration: none; letter-spacing: 0.08em; }
.gy-cs .gy-cs-logo { display: inline-flex; align-items: center; height: 32px; }
.gy-cs .gy-cs-logo svg, .gy-cs img.gy-cs-logo { height: 32px; width: auto; display: block; }
.gy-cs .gy-cs-logo-big, .gy-cs .gy-cs-logo-big svg, .gy-cs img.gy-cs-logo-big { height: 56px; }
.gy-cs .gy-cs-main { width: 100%; max-width: none; margin: 0; padding: 16px 24px; box-sizing: border-box; }
.gy-cs #gy-cs-login { min-height: calc(100vh - 64px); }
/* On the profile page the tab system hides it (dn); in the shell this part is the only content: always visible */
.gy-cs #gp-tab-investments { display: block !important; }
@media (max-width: 640px) { .gy-cs .gy-cs-main { padding: 12px; } }
/* 4.22.197: top bar menu, settings card, the honeypot field in the sign-up form (bot trap: invisible) */
.gy-cs .gy-cs-nav a { text-decoration: none; }
.gy-cs .gy-cs-settings { max-width: 760px; }
.gy-cs .gy-cs-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* 4.22.299: the top bar on phones -- the menu (Dashboard, Settings, the user, Sign out) side by side did not fit (Ozgur); it folds under a ☰ button
   and opens as a list under the bar. Wider screens: the bar as before, no button. !important: the menu's own layout classes (fr aic g2). */
.gy-cs .gy-cs-menu-btn { display: none; }
@media (max-width: 640px) {
    .gy-cs .gy-cs-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; flex: 0 0 auto;
        background: transparent; color: var(--c0, #eaecef); border: 1px solid var(--brd, rgba(255, 255, 255, 0.14)); border-radius: 8px; font-size: 20px;
        line-height: 1; cursor: pointer; }
    .gy-cs .gy-cs-bar.gy-cs-open .gy-cs-menu-btn { background: rgba(255, 255, 255, 0.08); }
    .gy-cs .gy-cs-nav { display: none !important; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column !important;
        align-items: stretch !important; gap: 0 !important; padding: 4px 16px 14px; background: #000;
        border-bottom: 1px solid var(--brd, rgba(255, 255, 255, 0.08)); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.55); }
    .gy-cs .gy-cs-bar.gy-cs-open .gy-cs-nav { display: flex !important; }
    .gy-cs .gy-cs-nav > a:not(.btn), .gy-cs .gy-cs-nav > .gy-cs-user { display: flex; align-items: center; min-height: 46px; font-size: 15px;
        border-bottom: 1px solid var(--brd, rgba(255, 255, 255, 0.07)); }
    .gy-cs .gy-cs-nav > .gy-cs-user { order: -1; min-height: 38px; font-size: 13px; }
    .gy-cs .gy-cs-nav > a.btn { display: flex; justify-content: center; min-height: 42px; margin-top: 12px; font-size: 14px; }
}
