/* CoreV2 — meta/anti-FOUC kritik blogu.
 * Kaynak: eski layout/head/main-head-meta.php icindeki id'siz satir ici <style>.
 * Statik CSS; artik <link> ile yuklenir, HTML'e gomulmez. */
    /* Critical anti-FOUC — asla seffaf/siyah default */
    html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        background-color: #fafbfc;
        font-weight: 400;
        font-synthesis: none;
    }
    html[data-theme="dark"], html[data-theme="dark"] { background-color: #0B0F19; }
    html[data-theme="dark"] body, html[data-theme="dark"] body { background-color: #0B0F19; }
    /* Sidebar critical - prevent layout shift on load */
    .corev2mbar-sidebar {
        width: 85px; min-width: 85px; max-width: 85px;
        position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
        z-index: 600; border-radius: var(--cv2-radius-card, 35px);
        background-color: var(--cv2-panel, #141e2e);
    }
    [data-theme="dark"] .corev2mbar-sidebar {
        background-color: var(--corev2mbar-sidebar-bg, #0c1220);
    }
    /* FX bar - show loading dots until JS fills them */
    #fxUSD:empty::after, #fxEUR:empty::after, #fxGBP:empty::after,
    .fx-rate-m:empty::after { content: '...'; }
    /* FX: SSR döviz — fiyat gizleme yok (components/ui/cv2-fx-display.php) */
    /* FOUC: ikon kutusu boyutu sabit */
    .hki-stroke {
        font-family: "hostkur-icons";
        font-style: normal;
        font-weight: 400;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        display: inline-block;
        font-variant: normal;
        font-feature-settings: "liga" 1;
        line-height: 1;
        text-rendering: auto;
        width: 1em;
        height: 1em;
        min-width: 1em;
        min-height: 1em;
        vertical-align: middle;
    }
    /* Quick-auth modal — sayfa yüklenirken FOUC önleme (CSS gelmeden önce) */
    #cv2-quickauth-backdrop[hidden] { display: none !important; }
    #cv2-quickauth-backdrop:not(.cv2-qa-open) {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    #cv2-quickauth-backdrop .cv2-qa-panel { display: none !important; }
    #cv2-quickauth-backdrop .cv2-qa-form-side > .cv2-qa-panel.active { display: flex !important; flex-direction: column; }
    #cv2-quickauth-backdrop .hidden { display: none !important; }
    #cv2-quickauth-backdrop #cv2-qa-tabs-bar { display: none !important; }
