
.bk-cp{cursor:default}
.bk-cp-in{position:relative;z-index:2;flex:1;display:flex;flex-direction:column;padding:16px 18px 12px;min-height:0}
.bk-cp-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.bk-cp-tabs{display:flex;gap:4px;background:rgba(0,0,0,.25);border:1px solid rgba(200,169,107,.18);border-radius:7px;padding:3px}
.bk-cp-tabs button{all:unset;cursor:pointer;font-size:12px;font-weight:600;padding:6px 10px;border-radius:5px;color:rgba(255,255,255,.7)}
.bk-cp-tabs button.on{background:linear-gradient(135deg,#C8A96B,#9d8350);color:#08121E}
.bk-cp-tabs button:focus-visible{outline:2px solid #C8A96B;outline-offset:1px}
.bk-cp-live{display:flex;align-items:center;gap:6px;font-size:11px;color:rgba(255,255,255,.7);font-family:var(--font-mono)}
.bk-cp-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:bkcpP 2s infinite}
.bk-cp-live.kapali .bk-cp-dot{background:#C8A96B;animation:none}
@keyframes bkcpP{0%{box-shadow:0 0 0 0 rgba(34,197,94,.6)}70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
.bk-cp-cols,.bk-cp-row{display:grid;grid-template-columns:1.3fr 1fr .8fr;align-items:center;gap:6px}
.bk-cp-cols{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.5);padding:0 10px 6px}
.bk-cp-cols span+span,.bk-cp-row span+span{text-align:right}
.bk-cp-list{display:flex;flex-direction:column;gap:5px;flex:1;min-height:0;overflow:auto}
.bk-cp-list[hidden]{display:none}
.bk-cp-row{background:rgba(255,255,255,.045);border:1px solid rgba(200,169,107,.12);border-radius:7px;padding:7px 10px;text-decoration:none;color:#fff;font-size:13px}
a.bk-cp-row:hover{border-color:rgba(200,169,107,.5)}
.bk-cp-row .n{font-weight:600}
.bk-cp-row .v{font-family:var(--font-mono);font-variant-numeric:tabular-nums;transition:color .4s}
.bk-cp-row .c{font-family:var(--font-mono);font-size:12px;font-variant-numeric:tabular-nums}
.bk-cp-row .c.up,.bk-cp-row .v.fl-up{color:#22c55e}.bk-cp-row .c.dn,.bk-cp-row .v.fl-dn{color:#ef4444}
.bk-cp-c4,.bk-cp-row.c4{grid-template-columns:1.25fr 1fr 1fr .8fr}
.bk-cp-c5,.bk-cp-row.c5{grid-template-columns:1.05fr 1fr 1fr 1fr .8fr;gap:4px}
.bk-cp-row.c5{font-size:12px;padding:7px 8px}
.bk-cp-cols[hidden],.bk-cp-ons[hidden]{display:none}
.bk-cp-ons{display:flex;justify-content:space-between;font-size:11.5px;color:rgba(255,255,255,.65);margin-top:7px;font-family:var(--font-mono)}
.bk-cp-ons b{color:#C8A96B;font-weight:600}
.bk-cp-ac{display:none}
@media (max-width:768px){
  #bk-canli-panel.ad-banner{display:flex!important;position:fixed;top:120px;right:0;width:min(340px,calc(100vw - 44px));height:430px;max-height:calc(100vh - 140px);z-index:900;border-radius:12px 0 0 12px;transform:translateX(0);transition:transform .45s cubic-bezier(.4,0,.2,1);box-shadow:-8px 10px 30px rgba(0,0,0,.35);background:linear-gradient(155deg,#16243A 0%,#0B1623 60%,#08121E 100%)!important;opacity:1}
  body.premium-light #bk-canli-panel.ad-banner,html[data-theme=light] #bk-canli-panel.ad-banner{background:linear-gradient(155deg,#d5dff0 0%,#c8d3e8 60%,#bfcde4 100%)!important}
  #bk-canli-panel.gizli{transform:translateX(100%)}
  .bk-cp-ac{display:flex;position:fixed;top:170px;right:0;z-index:901;writing-mode:vertical-rl;align-items:center;gap:6px;min-width:44px;min-height:96px;padding:10px 0;justify-content:center;border:0;border-radius:10px 0 0 10px;background:linear-gradient(135deg,#C8A96B,#9d8350);color:#08121E;font-weight:700;font-size:12.5px;letter-spacing:.04em;cursor:pointer;box-shadow:-4px 4px 14px rgba(0,0,0,.3);transition:right .45s cubic-bezier(.4,0,.2,1)}
  .bk-cp-ac.acik{right:min(340px,calc(100vw - 44px))}
  .bk-cp-row{font-size:12.5px}
}
.bk-cp-ons span{white-space:nowrap}
.bk-cp-ons{flex-wrap:wrap;gap:4px 10px}
.bk-cp-ft{font-size:10.5px;color:rgba(255,255,255,.5);margin-top:8px;text-align:right;font-family:var(--font-mono)}
html[data-theme=light] .bk-cp-row,body.premium-light .bk-cp-row{background:rgba(255,255,255,.7);color:#0d1b2e;border-color:rgba(0,0,0,.08)}
html[data-theme=light] .bk-cp-cols,html[data-theme=light] .bk-cp-ft,html[data-theme=light] .bk-cp-live,body.premium-light .bk-cp-cols,body.premium-light .bk-cp-ft,body.premium-light .bk-cp-live{color:#3d5068}
html[data-theme=light] .bk-cp-tabs button,body.premium-light .bk-cp-tabs button{color:#3d5068}
html[data-theme=light] .bk-cp-row .c.up,body.premium-light .bk-cp-row .c.up{color:#00804F}
html[data-theme=light] .bk-cp-row .c.dn,body.premium-light .bk-cp-row .c.dn{color:#B3202F}


.akis-row{display:grid;grid-template-columns:1fr 110px 72px;align-items:center;padding:9px 22px;border-bottom:1px solid var(--line);transition:background .12s;cursor:default;}
.akis-row:last-child{border-bottom:none}
.akis-row:hover{background:var(--panel-2)}
.akis-sym{display:flex;align-items:center;gap:10px;min-width:0}
.akis-logo{width:36px;height:36px;border-radius:50%;background:#fff;border:1px solid rgba(255,255,255,.15);overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center;}
.akis-logo img{width:100%;height:100%;object-fit:cover;display:block;}
.akis-logo .akis-fb{font-size:10px;font-weight:700;color:#444;display:none;}
.akis-code{font-size:13px;font-weight:600;color:var(--text);letter-spacing:.02em;white-space:nowrap;}
.akis-name{font-size:10px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px;text-transform:uppercase;margin-top:2px;}
.akis-tutar{text-align:right;font-family:var(--font-mono);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;}
.akis-tutar.in{color:var(--green)} .akis-tutar.out{color:var(--red)}
.akis-pay-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:3px;}
.akis-pay-num{font-family:var(--font-mono);font-size:11px;color:var(--text-muted);}
.akis-bar{width:42px;height:3px;border-radius:2px;background:rgba(255,255,255,.08);overflow:hidden;}
.akis-bar-fill{height:100%;border-radius:2px;}
.akis-bar-fill.in{background:var(--green)} .akis-bar-fill.out{background:var(--red)}
.akis-more-btn{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:11px 22px;background:transparent;border:none;border-top:1px solid var(--line);color:var(--text-muted);font-family:var(--font-mono);font-size:11px;letter-spacing:.1em;cursor:pointer;transition:all .15s;text-transform:uppercase;text-decoration:none;}
.akis-more-btn:hover{background:var(--panel-2);color:var(--text)}
.akis-more-btn .akis-arrow{transition:transform .2s}
.akis-more-btn.open .akis-arrow{transform:rotate(180deg)}
.akis-extra{display:none} .akis-extra.open{display:contents}
#akis-inflow,#akis-outflow{min-height:594px}
.akis-skel{display:grid;grid-template-columns:1fr 110px 72px;align-items:center;padding:9px 22px;border-bottom:1px solid var(--line);gap:12px;}
.akis-skel-logo{width:36px;height:36px;border-radius:50%;background:linear-gradient(90deg,var(--line) 25%,var(--line-2) 50%,var(--line) 75%);background-size:200% 100%;animation:akis-shimmer 1.3s infinite;flex-shrink:0;}
@keyframes akis-shimmer{to{background-position:-200% 0}}
.akis-skel-line{height:11px;border-radius:5px;background:linear-gradient(90deg,var(--line) 25%,var(--line-2) 50%,var(--line) 75%);background-size:200% 100%;animation:akis-shimmer 1.3s infinite;}
.akis-col-head{display:grid;grid-template-columns:1fr 110px 72px;padding:7px 22px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.02);}
.akis-col-lbl{font-family:var(--font-mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-muted);font-weight:500;}
.akis-col-lbl:nth-child(2),.akis-col-lbl:nth-child(3){text-align:right;}
.akis-foot{padding:11px 22px;border-top:1px solid var(--line);background:rgba(255,255,255,.015);display:flex;align-items:center;justify-content:space-between;}
.akis-foot-count{font-size:11px;color:var(--text-muted);font-family:var(--font-mono);}
.akis-foot-total{font-family:var(--font-mono);font-size:13px;font-weight:600;}
.akis-foot-total.in{color:var(--green)} .akis-foot-total.out{color:var(--red)}

/* ===== LIGHT THEME READABILITY FIX ===== */
html[data-theme=light],
body.premium-light {
  --bg: #F0F4F8 !important;
  --bg-2: #E8EDF5 !important;
  --bg2: #E8EDF5 !important;
  --panel: #FFFFFF !important;
  --panel-2: #F4F7FB !important;
  --p2: #F4F7FB !important;
  --header-bg: #FFFFFF !important;
  --footer-bg: #E8EDF5 !important;
  --line: rgba(13,27,46,.10) !important;
  --line-2: rgba(13,27,46,.14) !important;
  --l2: rgba(13,27,46,.14) !important;
  --text: #0D1B2E !important;
  --text-dim: #3D5068 !important;
  --dim: #3D5068 !important;
  --text-muted: #56687F !important;
  --mute: #56687F !important;--green-up:#00804F;--red-dn:#B3202F}
html[data-theme=light] body,
body.premium-light body,
body.premium-light {
  background: #F0F4F8 !important;
  color: #0D1B2E !important;
}
html[data-theme=light] body::before,
body.premium-light body::before,
body.premium-light::before { display: none !important; }

/* Force readable colors in light mode for common elements */
html[data-theme=light] *:not(.tk-c.up):not(.tk-c.dn):not(.badge):not(.b-g):not(.b-r):not(.b-b):not(.b-a):not(.kg-val):not(.bs-num):not(.bil-badge):not(.hero-stat-val):not(.arz-meta-val):not(.tick-chg) {
  /* Inherit text color */
}
html[data-theme=light] .hdr,
body.premium-light .hdr {
  background: rgba(255,255,255,.95) !important;
  border-bottom-color: rgba(13,27,46,.1) !important;
}
html[data-theme=light] .nl a,
body.premium-light .nl a { color: #3D5068 !important; }
html[data-theme=light] .nl a:hover,
html[data-theme=light] .nl a.active,
body.premium-light .nl a:hover,
body.premium-light .nl a.active { color: #0D1B2E !important; background: rgba(13,27,46,.05) !important; }

html[data-theme=light] .ticker,
body.premium-light .ticker { background: #E8EDF5 !important; }
html[data-theme=light] .ticker::before,
body.premium-light .ticker::before { background: linear-gradient(90deg, #E8EDF5, transparent) !important; }
html[data-theme=light] .ticker::after,
body.premium-light .ticker::after { background: linear-gradient(270deg, #E8EDF5, transparent) !important; }
html[data-theme=light] .tk-n,
body.premium-light .tk-n { color: #3D5068 !important; }
html[data-theme=light] .tk-v,
body.premium-light .tk-v { color: #0D1B2E !important; }

/* HERO / SECTION light mode */
html[data-theme=light] .hero,
body.premium-light .hero {
  background: linear-gradient(135deg, #fff 0%, #f4f7fb 100%) !important;
  border-color: rgba(200,169,107,.25) !important;
}
html[data-theme=light] .hero h1,
body.premium-light .hero h1 { color: #0D1B2E !important; }
html[data-theme=light] .hero p,
body.premium-light .hero p { color: #3D5068 !important; }
html[data-theme=light] .hero-stat,
body.premium-light .hero-stat { background: rgba(0,0,0,.025) !important; border-color: rgba(13,27,46,.08) !important; }

html[data-theme=light] .hc-title,
body.premium-light .hc-title { color: #0D1B2E !important; }
html[data-theme=light] .hc-ozet,
body.premium-light .hc-ozet { color: #3D5068 !important; }
html[data-theme=light] .hc-meta,
body.premium-light .hc-meta { color: #56687F !important; }

/* SIDEBAR */
html[data-theme=light] .sb-card,
body.premium-light .sb-card { background: #fff !important; border-color: rgba(13,27,46,.08) !important; }
html[data-theme=light] .sb-t,
body.premium-light .sb-t { color: #0D1B2E !important; }
html[data-theme=light] .sb-v,
body.premium-light .sb-v { color: #56687F !important; }
html[data-theme=light] .sb-head,
body.premium-light .sb-head { color: #56687F !important; border-color: rgba(13,27,46,.08) !important; }
html[data-theme=light] .sb-item:hover,
body.premium-light .sb-item:hover { background: rgba(0,0,0,.025) !important; }

/* TABLES */
html[data-theme=light] .tbl th,
html[data-theme=light] .premium-table th,
html[data-theme=light] .bil-th,
body.premium-light .tbl th,
body.premium-light .premium-table th,
body.premium-light .bil-th {
  background: rgba(13,27,46,.04) !important;
  color: #56687F !important;
  border-color: rgba(13,27,46,.1) !important;
}
html[data-theme=light] .tbl td,
html[data-theme=light] .premium-table td,
html[data-theme=light] .bil-td,
body.premium-light .tbl td,
body.premium-light .premium-table td,
body.premium-light .bil-td {
  color: #0D1B2E !important;
  border-color: rgba(13,27,46,.05) !important;
}
html[data-theme=light] .tbl tr.hover-row:hover td,
html[data-theme=light] .bil-tr:hover .bil-td,
body.premium-light .bil-tr:hover .bil-td,
body.premium-light .tbl tr.hover-row:hover td { background: rgba(13,27,46,.03) !important; }
html[data-theme=light] .h-code,
html[data-theme=light] .bil-code,
body.premium-light .h-code,
body.premium-light .bil-code { color: #0D1B2E !important; }
html[data-theme=light] .h-name,
html[data-theme=light] .bil-name,
body.premium-light .h-name,
body.premium-light .bil-name { color: #56687F !important; }

/* FILTERS */
html[data-theme=light] .fchip,
html[data-theme=light] .bil-flt,
html[data-theme=light] .flt,
body.premium-light .fchip,
body.premium-light .bil-flt,
body.premium-light .flt {
  background: #fff !important;
  border-color: rgba(13,27,46,.1) !important;
  color: #3D5068 !important;
}
html[data-theme=light] .fchip:hover,
html[data-theme=light] .bil-flt:hover,
html[data-theme=light] .flt:hover,
body.premium-light .fchip:hover,
body.premium-light .bil-flt:hover,
body.premium-light .flt:hover { color: #0D1B2E !important; }
html[data-theme=light] .fchip.active,
html[data-theme=light] .bil-flt.active,
html[data-theme=light] .flt.active,
body.premium-light .fchip.active,
body.premium-light .bil-flt.active,
body.premium-light .flt.active { background: #8A6A32 !important; color: #FFFFFF !important; }
html[data-theme=light] .fsearch,
html[data-theme=light] #bil-search,
body.premium-light .fsearch,
body.premium-light #bil-search { background: #fff !important; color: #0D1B2E !important; border-color: rgba(13,27,46,.1) !important; }

/* PANELS / CARDS */
html[data-theme=light] [class*="info-card"],
html[data-theme=light] .tw,
html[data-theme=light] .karne-section,
html[data-theme=light] .arz-card,
html[data-theme=light] .bs-card,
body.premium-light [class*="info-card"],
body.premium-light .tw,
body.premium-light .karne-section,
body.premium-light .arz-card,
body.premium-light .bs-card {
  background: #fff !important;
  border-color: rgba(13,27,46,.08) !important;
}

/* FOOTER */
html[data-theme=light] footer,
html[data-theme=light] .footer,
body.premium-light footer,
body.premium-light .footer { background: #E8EDF5 !important; border-color: rgba(13,27,46,.08) !important; }
html[data-theme=light] .fcol a,
html[data-theme=light] .foot-col a,
body.premium-light .fcol a,
body.premium-light .foot-col a { color: #3D5068 !important; }
html[data-theme=light] .fcol a:hover,
html[data-theme=light] .foot-col a:hover,
body.premium-light .fcol a:hover,
body.premium-light .foot-col a:hover { color: #0D1B2E !important; }
html[data-theme=light] .fbot,
html[data-theme=light] .foot-bottom,
body.premium-light .fbot,
body.premium-light .foot-bottom { color: #56687F !important; }
html[data-theme=light] .fbrand p,
body.premium-light .fbrand p { color: #3D5068 !important; }

/* NB / Theme toggle */
html[data-theme=light] .nb,
body.premium-light .nb { background: #fff !important; color: #3D5068 !important; border-color: rgba(13,27,46,.1) !important; }
html[data-theme=light] .nb:hover,
body.premium-light .nb:hover { color: #8A6A32 !important; }

/* premium-shell content */
html[data-theme=light] .premium-shell,
html[data-theme=light] .premium-section,
html[data-theme=light] .premium-card,
body.premium-light .premium-shell,
body.premium-light .premium-section,
body.premium-light .premium-card {
  background: #fff !important;
  color: #0D1B2E !important;
}
html[data-theme=light] .premium-title,
html[data-theme=light] .premium-kicker,
body.premium-light .premium-title,
body.premium-light .premium-kicker { color: #0D1B2E !important; }
html[data-theme=light] .premium-desc,
body.premium-light .premium-desc { color: #3D5068 !important; }
html[data-theme=light] .premium-btn,
body.premium-light .premium-btn { background: #fff !important; color: #3D5068 !important; border-color: rgba(13,27,46,.1) !important; }
html[data-theme=light] .premium-btn.gold,
body.premium-light .premium-btn.gold { background: #8A6A32 !important; color: #FFFFFF !important; }

/* SVG logo text fix for light mode */
html[data-theme=light] svg text tspan[style*="F3F7FA"],
body.premium-light svg text tspan[style*="F3F7FA"] { fill: #0D1B2E !important; }


/* ===== INLINE STYLE LIGHT THEME OVERRIDE ===== */
html[data-theme=light] [style*="background:#111C2B"],
html[data-theme=light] [style*="background: #111C2B"],
body.premium-light [style*="background:#111C2B"],
body.premium-light [style*="background: #111C2B"] {
  background: #FFFFFF !important;
  border-color: rgba(13,27,46,.1) !important;
}

html[data-theme=light] [style*="background:#0B1623"],
html[data-theme=light] [style*="background: #0B1623"],
body.premium-light [style*="background:#0B1623"],
body.premium-light [style*="background: #0B1623"] {
  background: #E8EDF5 !important;
}

html[data-theme=light] [style*="background:#08121E"],
html[data-theme=light] [style*="background: #08121E"],
body.premium-light [style*="background:#08121E"],
body.premium-light [style*="background: #08121E"] {
  background: #F0F4F8 !important;
}

html[data-theme=light] [style*="background:#16243A"],
html[data-theme=light] [style*="background: #16243A"],
body.premium-light [style*="background:#16243A"],
body.premium-light [style*="background: #16243A"] {
  background: #F4F7FB !important;
}

/* Dark gradient backgrounds → light gradient */
html[data-theme=light] [style*="linear-gradient(135deg,#111C2B"],
body.premium-light [style*="linear-gradient(135deg,#111C2B"] {
  background: linear-gradient(135deg,#FFFFFF,#F4F7FB) !important;
}
html[data-theme=light] [style*="linear-gradient(135deg,#0B1623"],
body.premium-light [style*="linear-gradient(135deg,#0B1623"] ,
body.premium-light [style*="linear-gradient(135deg,#0B1623"],
body.premium-light [style*="linear-gradient(135deg,#0B1623"]{
  background: linear-gradient(135deg,#E8EDF5,#F4F7FB) !important;
}

/* Light text colors on dark inline backgrounds → dark text */
html[data-theme=light] [style*="color:#F3F7FA"],
html[data-theme=light] [style*="color: #F3F7FA"],
body.premium-light [style*="color:#F3F7FA"],
body.premium-light [style*="color: #F3F7FA"] {
  color: #0D1B2E !important;
}

html[data-theme=light] [style*="color:#94a3b8"],
html[data-theme=light] [style*="color: #94a3b8"],
body.premium-light [style*="color:#94a3b8"],
body.premium-light [style*="color: #94a3b8"] {
  color: #56687F !important;
}

html[data-theme=light] [style*="color:#B0B9C5"],
html[data-theme=light] [style*="color: #B0B9C5"],
body.premium-light [style*="color:#B0B9C5"],
body.premium-light [style*="color: #B0B9C5"] {
  color: #3D5068 !important;
}

html[data-theme=light] [style*="color:#A0B0C0"],
html[data-theme=light] [style*="color: #A0B0C0"],
body.premium-light [style*="color:#A0B0C0"],
body.premium-light [style*="color: #A0B0C0"] {
  color: #56687F !important;
}

html[data-theme=light] [style*="color:#6B7A8D"],
html[data-theme=light] [style*="color: #6B7A8D"],
body.premium-light [style*="color:#6B7A8D"],
body.premium-light [style*="color: #6B7A8D"] {
  color: #56687F !important;
}

/* Border lines */
html[data-theme=light] [style*="border:1px solid rgba(255,255,255,.06)"],
html[data-theme=light] [style*="border:1px solid rgba(255,255,255,.07)"],
html[data-theme=light] [style*="border:1px solid rgba(255,255,255,.08)"],
html[data-theme=light] [style*="border:1px solid rgba(255,255,255,.1)"],
body.premium-light [style*="border:1px solid rgba(255,255,255,.06)"],
body.premium-light [style*="border:1px solid rgba(255,255,255,.07)"],
body.premium-light [style*="border:1px solid rgba(255,255,255,.08)"],
body.premium-light [style*="border:1px solid rgba(255,255,255,.1)"] {
  border-color: rgba(13,27,46,.1) !important;
}

html[data-theme=light] [style*="border-bottom:1px solid rgba(255,255,255,"],
html[data-theme=light] [style*="border-top:1px solid rgba(255,255,255,"],
body.premium-light [style*="border-bottom:1px solid rgba(255,255,255,"],
body.premium-light [style*="border-top:1px solid rgba(255,255,255,"] ,
body.premium-light [style*="border-bottom:1px solid rgba(255,255,255,"],
html[data-theme=light] [style*="border-top:1px solid rgba(255,255,255,"],
body.premium-light [style*="border-bottom:1px solid rgba(255,255,255,"],
body.premium-light [style*="border-top:1px solid rgba(255,255,255,"]{
  border-color: rgba(13,27,46,.08) !important;
}

/* Background overlays */
html[data-theme=light] [style*="background:rgba(255,255,255,.02)"],
html[data-theme=light] [style*="background:rgba(255,255,255,.025)"],
html[data-theme=light] [style*="background:rgba(255,255,255,.03)"],
html[data-theme=light] [style*="background:rgba(255,255,255,.04)"],
html[data-theme=light] [style*="background:rgba(255,255,255,.05)"],
html[data-theme=light] [style*="background:rgba(255,255,255,.06)"],
body.premium-light [style*="background:rgba(255,255,255,.02)"],
body.premium-light [style*="background:rgba(255,255,255,.025)"],
body.premium-light [style*="background:rgba(255,255,255,.03)"],
body.premium-light [style*="background:rgba(255,255,255,.04)"],
body.premium-light [style*="background:rgba(255,255,255,.05)"],
body.premium-light [style*="background:rgba(255,255,255,.06)"] {
  background: rgba(13,27,46,.03) !important;
}

/* Dark backgrounds with rgba */
html[data-theme=light] [style*="background:rgba(255,255,255,.0"],
body.premium-light [style*="background:rgba(255,255,255,.0"] {
  background: rgba(13,27,46,.03) !important;
}

/* Big numeric values without explicit color → use --text */
html[data-theme=light] #sc-bist-val,
html[data-theme=light] #sc-usd-val,
html[data-theme=light] #sc-altin-val,
html[data-theme=light] #sc-brent-val,
body.premium-light #sc-bist-val,
body.premium-light #sc-usd-val,
body.premium-light #sc-altin-val,
body.premium-light #sc-brent-val {
  color: #0D1B2E !important;
}

/* Hover states for cards with white-ish backgrounds */
html[data-theme=light] [style*="borderColor='rgba(255,255,255,"],
body.premium-light [style*="borderColor='rgba(255,255,255,"] {
  border-color: rgba(13,27,46,.1) !important;
}

/* Section / hero text */
html[data-theme=light] h1,
html[data-theme=light] h2,
html[data-theme=light] h3,
html[data-theme=light] h4,
body.premium-light h1,
body.premium-light h2,
body.premium-light h3,
body.premium-light h4 {
  color: #0D1B2E !important;
}

/* Common text elements inside dark containers */
html[data-theme=light] .container *:not([style*="color"]):not(.b-g):not(.b-r):not(.b-b):not(.b-a):not(.tk-c):not(.badge):not(.hc-kat),
body.premium-light .container *:not([style*="color"]):not(.b-g):not(.b-r):not(.b-b):not(.b-a):not(.tk-c):not(.badge):not(.hc-kat) {
  /* Allow color inheritance */
}

/* Specific summary card values that have no explicit color */
html[data-theme=light] [id^="sc-"][id$="-val"],
body.premium-light [id^="sc-"][id$="-val"] {
  color: #0D1B2E !important;
}

/* Hero card text without explicit color */
html[data-theme=light] .hero-stat-val:not([style*="color"]),
body.premium-light .hero-stat-val:not([style*="color"]) {
  color: #0D1B2E !important;
}

/* SVG sparkline gradients stay visible — adjust opacity in light */
html[data-theme=light] svg polyline[stroke="#5eead4"],
body.premium-light svg polyline[stroke="#5eead4"] {
  stroke: #0d9488 !important;
}
html[data-theme=light] svg polyline[stroke="#fca5a5"],
body.premium-light svg polyline[stroke="#fca5a5"] {
  stroke: #dc2626 !important;
}

/* Premium card / shell elements */
html[data-theme=light] .premium-card,
html[data-theme=light] .premium-section,
body.premium-light .premium-card,
body.premium-light .premium-section {
  background: #FFFFFF !important;
  color: #0D1B2E !important;
  border-color: rgba(13,27,46,.08) !important;
}

/* Page-stats / stat cards */
html[data-theme=light] .stat-pill,
body.premium-light .stat-pill {
  background: #FFFFFF !important;
  border-color: rgba(13,27,46,.08) !important;
}
html[data-theme=light] .sp-lbl,
body.premium-light .sp-lbl {
  color: #56687F !important;
}


/* ===== HOVER FIX — CSS-only, theme-aware ===== */

/* Cards with inline backgrounds need transition setup */
.psum-card, .arz-card, .bs-card, .info-card, .bil-stats .bs-card, .karne-section {
  transition: border-color .2s, transform .2s, box-shadow .2s, background .2s !important;
}

/* DARK MODE HOVER (default) */
html[data-theme=dark] .psum-card:hover,
.psum-card:hover {
  border-color: rgba(200,169,107,.45) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.4) !important;
}

/* LIGHT MODE HOVER OVERRIDE — keep light background */
html[data-theme=light] .psum-card,
body.premium-light .psum-card {
  background: #FFFFFF !important;
  border-color: rgba(13,27,46,.08) !important;
}
html[data-theme=light] .psum-card:hover,
body.premium-light .psum-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(200,169,107,.55) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 44px rgba(13,27,46,.12) !important;
}

/* Hisse/index cards in light mode */
html[data-theme=light] .arz-card,
html[data-theme=light] .bs-card,
html[data-theme=light] .info-card,
body.premium-light .arz-card,
body.premium-light .bs-card,
body.premium-light .info-card {
  background: #FFFFFF !important;
  border-color: rgba(13,27,46,.08) !important;
}
html[data-theme=light] .arz-card:hover,
html[data-theme=light] .bs-card:hover,
html[data-theme=light] .info-card:hover,
body.premium-light .arz-card:hover,
body.premium-light .bs-card:hover,
body.premium-light .info-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(200,169,107,.55) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 44px rgba(13,27,46,.12) !important;
}

/* Inline onmouseenter handlers set this.style which has highest specificity
   Override that with element.style protection via data attribute */
html[data-theme=light] [style*="background:#111C2B"]:hover,
html[data-theme=light] [style*="background: #111C2B"]:hover,
body.premium-light [style*="background:#111C2B"]:hover,
body.premium-light [style*="background: #111C2B"]:hover {
  background: #FFFFFF !important;
}

/* Strong override for any element with background-color inline */
html[data-theme=light] [style*="background:#111C2B"],
body.premium-light [style*="background:#111C2B"] {
  background-color: #FFFFFF !important;
}

/* Hero cards with linear-gradient backgrounds */
html[data-theme=light] [style*="linear-gradient(135deg,#111C2B"]:hover,
body.premium-light [style*="linear-gradient(135deg,#111C2B"]:hover {
  background: linear-gradient(135deg,#FFFFFF,#F4F7FB) !important;
}


/* ===== LIGHT THEME — DARK GRADIENT SECTIONS FIX ===== */

/* Hero sections with various dark gradients */
html[data-theme=light] section[style*="linear-gradient(135deg,#0a1f3a"],
html[data-theme=light] section[style*="linear-gradient(135deg,#111C2B"],
html[data-theme=light] section[style*="linear-gradient(135deg,#16243A"],
html[data-theme=light] section[style*="linear-gradient(135deg,#08121E"],
body.premium-light section[style*="linear-gradient(135deg,#0a1f3a"],
body.premium-light section[style*="linear-gradient(135deg,#111C2B"],
body.premium-light section[style*="linear-gradient(135deg,#16243A"],
body.premium-light section[style*="linear-gradient(135deg,#08121E"] {
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F7FB 50%, #E8EDF5 100%) !important;
  border-bottom-color: rgba(13,27,46,.1) !important;
}

/* Stat cards with various tinted dark gradients (bs-card variants) */
html[data-theme=light] .bs-card[style*="linear-gradient(135deg,#0a1f3a"],
html[data-theme=light] .bs-card[style*="linear-gradient(135deg,#082a1c"],
html[data-theme=light] .bs-card[style*="linear-gradient(135deg,#2a0d14"],
html[data-theme=light] .bs-card[style*="linear-gradient(135deg,#2a2410"],
body.premium-light .bs-card[style*="linear-gradient(135deg,#0a1f3a"],
body.premium-light .bs-card[style*="linear-gradient(135deg,#082a1c"],
body.premium-light .bs-card[style*="linear-gradient(135deg,#2a0d14"],
body.premium-light .bs-card[style*="linear-gradient(135deg,#2a2410"] {
  background: #FFFFFF !important;
  border-color: rgba(13,27,46,.08) !important;
}

/* Light mode: bs-card colors get tinted backgrounds based on card type */
html[data-theme=light] .bs-card[style*="rgba(91,157,217"],
body.premium-light .bs-card[style*="rgba(91,157,217"] {
  background: linear-gradient(135deg, #fff, #f0f6fc) !important;
  border-color: rgba(91,157,217,.3) !important;
}
html[data-theme=light] .bs-card[style*="rgba(0,181,110"],
body.premium-light .bs-card[style*="rgba(0,181,110"] ,
body.premium-light .bs-card[style*="rgba(0,181,110"],
body.premium-light .bs-card[style*="rgba(0,181,110"]{
  background: linear-gradient(135deg, #fff, #f0fcf5) !important;
  border-color: rgba(0,181,110,.3) !important;
}
html[data-theme=light] .bs-card[style*="rgba(224,79,95"],
body.premium-light .bs-card[style*="rgba(224,79,95"] ,
body.premium-light .bs-card[style*="rgba(224,79,95"],
body.premium-light .bs-card[style*="rgba(224,79,95"]{
  background: linear-gradient(135deg, #fff, #fef0f1) !important;
  border-color: rgba(224,79,95,.3) !important;
}
html[data-theme=light] .bs-card[style*="rgba(251,191,36"],
body.premium-light .bs-card[style*="rgba(251,191,36"] ,
body.premium-light .bs-card[style*="rgba(251,191,36"],
body.premium-light .bs-card[style*="rgba(251,191,36"]{
  background: linear-gradient(135deg, #fff, #fef9e8) !important;
  border-color: rgba(251,191,36,.4) !important;
}

/* Hero text inside dark sections */
html[data-theme=light] section[style*="linear-gradient"] h1,
html[data-theme=light] section[style*="linear-gradient"] h2,
html[data-theme=light] section[style*="linear-gradient"] p,
body.premium-light section[style*="linear-gradient"] h1,
body.premium-light section[style*="linear-gradient"] h2,
body.premium-light section[style*="linear-gradient"] p {
  color: #0D1B2E !important;
}
html[data-theme=light] section[style*="linear-gradient"] p,
body.premium-light section[style*="linear-gradient"] p {
  color: #3D5068 !important;
}

/* Color variant text — large numbers retain their accent color */
html[data-theme=light] .bs-num,
body.premium-light .bs-num {
  /* keep color from inline style */
}

/* Header big H1 like "Bilançolar" / "Finans Haberleri" */
html[data-theme=light] .htitle,
body.premium-light .htitle {
  color: #0D1B2E !important;
}

/* Card descriptions / body text on light bg */
html[data-theme=light] [style*="color:#94a3b8"],
html[data-theme=light] [style*="color: #94a3b8"],
body.premium-light [style*="color:#94a3b8"],
body.premium-light [style*="color: #94a3b8"] {
  color: #5b6b80 !important;
}

/* News card image backgrounds — KEEP THEM COLORFUL */
/* These have inline rgb colors not dark hex — they're fine */
html[data-theme=light] .hc-img-big,
html[data-theme=light] .hc-img-sm,
body.premium-light .hc-img-big,
body.premium-light .hc-img-sm {
  /* Don't override - colorful gradients should remain */
}

/* But news card text in light bg */
html[data-theme=light] .hc,
body.premium-light .hc {
  background: transparent !important;
}
html[data-theme=light] .hc:hover,
body.premium-light .hc:hover {
  background: rgba(13,27,46,.025) !important;
}

/* Tabular data on light bg - filter chips, hover effects */
html[data-theme=light] .fbar,
body.premium-light .fbar {
  border-bottom-color: rgba(13,27,46,.08) !important;
}

/* All h1 / h2 with dark fill SVG text in light mode */
html[data-theme=light] svg text[fill="var(--text)"],
body.premium-light svg text[fill="var(--text)"] {
  fill: #0D1B2E !important;
}
html[data-theme=light] svg tspan[fill="var(--text)"],
body.premium-light svg tspan[fill="var(--text)"] {
  fill: #0D1B2E !important;
}

/* Eyebrow text on light hero */
html[data-theme=light] .hero-eyebrow,
body.premium-light .hero-eyebrow {
  /* accent color stays gold - looks good on light too */
}

/* Karne / stat numbers stay vivid even in light */
html[data-theme=light] .kg-val,
body.premium-light .kg-val {
  /* Keep their color from inline */
}

/* Stat cells inside hero on light */
html[data-theme=light] .hero-stat,
body.premium-light .hero-stat {
  background: rgba(13,27,46,.04) !important;
  border-color: rgba(13,27,46,.08) !important;
}


/* ===== PARA AKIŞI LIGHT MODE FIX ===== */
html[data-theme=light] .akis-row,
body.premium-light .akis-row {
  background: transparent !important;
}
html[data-theme=light] .akis-row:hover,
body.premium-light .akis-row:hover {
  background: rgba(13,27,46,.025) !important;
}
html[data-theme=light] .akis-code,
html[data-theme=light] .akis-sym,
body.premium-light .akis-code,
body.premium-light .akis-sym { color: #0D1B2E !important; }
html[data-theme=light] .akis-name,
body.premium-light .akis-name { color: #56687F !important; }
html[data-theme=light] .akis-tutar.in,
html[data-theme=light] .akis-val.up,
body.premium-light .akis-tutar.in,
body.premium-light .akis-val.up { color: #00804F !important; }   /* beyaz zeminde 5.00 (eski #00B56E: 2.68) */
html[data-theme=light] .akis-tutar.out,
html[data-theme=light] .akis-val.down,
body.premium-light .akis-tutar.out,
body.premium-light .akis-val.down { color: #B3202F !important; }   /* beyaz zeminde 6.64 (eski #E04F5F: 3.85) */
html[data-theme=light] .akis-pay,
body.premium-light .akis-pay { color: #3D5068 !important; }
html[data-theme=light] .akis-col-lbl,
body.premium-light .akis-col-lbl { color: #56687F !important; }
html[data-theme=light] .akis-foot,
body.premium-light .akis-foot { border-top-color: rgba(13,27,46,.06) !important; }
html[data-theme=light] .akis-foot-count,
body.premium-light .akis-foot-count { color: #56687F !important; }
html[data-theme=light] .akis-foot-total.in,
body.premium-light .akis-foot-total.in { color: #00804F !important; }   /* 2.68 -> 5.00 */
html[data-theme=light] .akis-foot-total.out,
body.premium-light .akis-foot-total.out { color: #B3202F !important; }   /* 3.85 -> 6.64 */

/* Panel containers in light mode */
html[data-theme=light] .panel,
body.premium-light .panel {
  background: #FFFFFF !important;
  border-color: rgba(13,27,46,.08) !important;
}
html[data-theme=light] .panel-title,
body.premium-light .panel-title { color: #0D1B2E !important; }
html[data-theme=light] .panel-head,
body.premium-light .panel-head { border-bottom-color: rgba(13,27,46,.06) !important; }
html[data-theme=light] .data-grid,
body.premium-light .data-grid { background: transparent !important; }

/* ===== ANALIZ ALT SAYFALARI ICIN PREMIUM-SHELL FIX (light) ===== */
html[data-theme=light] body,
body.premium-light {
  background: #F0F4F8 !important;
  color: #0D1B2E !important;
}
html[data-theme=light] .header,
html[data-theme=light] .footer,
body.premium-light .header,
body.premium-light .footer { background: #fff !important; border-color: rgba(13,27,46,.1) !important; }
html[data-theme=light] .header,
body.premium-light .header { background: rgba(255,255,255,.95) !important; }
html[data-theme=light] .nav-menu a,
body.premium-light .nav-menu a { color: #3D5068 !important; }
html[data-theme=light] .nav-menu a:hover,
html[data-theme=light] .nav-menu a.active,
body.premium-light .nav-menu a:hover,
body.premium-light .nav-menu a.active { color: #0D1B2E !important; }
html[data-theme=light] .brand-text h1,
body.premium-light .brand-text h1 { color: #8A6A32 !important; }
html[data-theme=light] .brand-text small,
body.premium-light .brand-text small { color: #56687F !important; }
html[data-theme=light] .brand-mark,
body.premium-light .brand-mark { background: linear-gradient(135deg,#8A6A32,#9d7a40) !important; color: #08121E !important; }

/* Ticker */
html[data-theme=light] .ticker,
body.premium-light .ticker { background: #E8EDF5 !important; border-bottom-color: rgba(13,27,46,.08) !important; }
html[data-theme=light] .tick-name,
body.premium-light .tick-name { color: #3D5068 !important; }
html[data-theme=light] .tick-val,
body.premium-light .tick-val { color: #0D1B2E !important; }

/* Premium command bar */
html[data-theme=light] .premium-command,
body.premium-light .premium-command { background: #fff !important; border-color: rgba(13,27,46,.08) !important; }
html[data-theme=light] .premium-search,
body.premium-light .premium-search { background: #F4F7FB !important; border-color: rgba(13,27,46,.1) !important; }
html[data-theme=light] .premium-search input,
body.premium-light .premium-search input { color: #0D1B2E !important; }
html[data-theme=light] .premium-search input::placeholder,
body.premium-light .premium-search input::placeholder { color: #56687F !important; }

/* Premium-shell */
html[data-theme=light] .premium-shell,
body.premium-light .premium-shell {
  background: transparent !important;
}
html[data-theme=light] .premium-section,
body.premium-light .premium-section {
  background: #fff !important;
  border: 1px solid rgba(13,27,46,.08) !important;
  border-radius: 14px !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
  color: #0D1B2E !important;
}
html[data-theme=light] .premium-section .premium-kicker,
body.premium-light .premium-section .premium-kicker { color: #8A6A32 !important; }
html[data-theme=light] .premium-title,
body.premium-light .premium-title { color: #0D1B2E !important; font-size: 22px !important; font-weight: 700 !important; }
html[data-theme=light] .premium-desc,
body.premium-light .premium-desc { color: #3D5068 !important; }
html[data-theme=light] .premium-head,
body.premium-light .premium-head { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; margin-bottom: 16px !important; }

html[data-theme=light] .premium-grid,
body.premium-light .premium-grid {
  display: grid !important;
  grid-template-columns: repeat(3,1fr) !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}
@media (max-width: 700px) {
  html[data-theme=light] .premium-grid,
  body.premium-light .premium-grid { grid-template-columns: 1fr !important; }
}
html[data-theme=light] .premium-card,
body.premium-light .premium-card {
  background: #F4F7FB !important;
  border: 1px solid rgba(13,27,46,.06) !important;
  border-radius: 10px !important;
  padding: 16px !important;
  color: #0D1B2E !important;
}
html[data-theme=light] .premium-card h3,
body.premium-light .premium-card h3 {
  color: #0D1B2E !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}
html[data-theme=light] .premium-card p,
body.premium-light .premium-card p {
  color: #56687F !important;
  font-size: 12px !important;
}
html[data-theme=light] .premium-stat,
body.premium-light .premium-stat {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #8A6A32 !important;
}

html[data-theme=light] .bar-track,
body.premium-light .bar-track {
  height: 6px !important;
  background: rgba(13,27,46,.08) !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  margin: 10px 0 !important;
}
html[data-theme=light] .bar-fill,
body.premium-light .bar-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #8A6A32, #00804F) !important;
  border-radius: 3px !important;
}

html[data-theme=light] .premium-table-wrap,
body.premium-light .premium-table-wrap {
  background: #fff !important;
  border: 1px solid rgba(13,27,46,.08) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin-top: 16px !important;
}
html[data-theme=light] .premium-table,
body.premium-light .premium-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 13px !important;
}
html[data-theme=light] .premium-table th,
body.premium-light .premium-table th {
  background: #F4F7FB !important;
  color: #56687F !important;
  padding: 11px 14px !important;
  text-align: left !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(13,27,46,.08) !important;
}
html[data-theme=light] .premium-table td,
body.premium-light .premium-table td {
  padding: 11px 14px !important;
  color: #0D1B2E !important;
  border-bottom: 1px solid rgba(13,27,46,.04) !important;
}

html[data-theme=light] .premium-btn,
body.premium-light .premium-btn {
  background: #fff !important;
  border: 1px solid rgba(13,27,46,.1) !important;
  color: #3D5068 !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
html[data-theme=light] .premium-btn:hover,
body.premium-light .premium-btn:hover {
  background: #F4F7FB !important;
  color: #0D1B2E !important;
}
html[data-theme=light] .premium-btn.gold,
body.premium-light .premium-btn.gold {
  background: #8A6A32 !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
}

html[data-theme=light] .premium-badge,
body.premium-light .premium-badge {
  display: inline-flex !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
html[data-theme=light] .premium-badge.green,
body.premium-light .premium-badge.green {
  background: rgba(0,181,110,.13) !important;
  color: #00804F !important;
}
html[data-theme=light] .premium-badge.red,
body.premium-light .premium-badge.red {
  background: rgba(224,79,95,.13) !important;
  color: #B3202F !important;
}
html[data-theme=light] .premium-badge.pro,
body.premium-light .premium-badge.pro {
  background: rgba(200,169,107,.13) !important;
  color: #8A6A32 !important;
}

html[data-theme=light] .premium-actions,
body.premium-light .premium-actions { display: flex !important; gap: 8px !important; flex-wrap: wrap !important; }


/* ===== HAM METİN BLOK GİZLEME (any leftover content blocks) ===== */
/* Hide standalone premium-shell/section content that appears as raw text */
.premium-shell:empty,
.premium-section:empty { display: none !important; }

/* Hide any block with these specific Turkish texts when shown as raw */
body > div:not([class]):not([id]):not([style]) { display: none !important; }

/* If light mode + premium-shell content shows as raw paragraphs, force container styling */
html[data-theme=light] .premium-shell > *,
body.premium-light .premium-shell > * {
  background: transparent !important;
}

/* Bottom info boxes that user is seeing — give them basic styling */
.premium-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}
.premium-section {
  background: var(--panel, #111C2B) !important;
  border: 1px solid var(--line, rgba(255,255,255,.07)) !important;
  border-radius: 14px !important;
  padding: 24px !important;
  margin: 16px 0 !important;
  color: var(--text, #F3F7FA);
}
html[data-theme=light] .premium-section,
body.premium-light .premium-section {
  background: #fff !important;
  border-color: rgba(13,27,46,.08) !important;
  color: #0D1B2E !important;
}
.premium-section h1, .premium-section h2, .premium-section h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}
.premium-section p { font-size: 13px; color: var(--dim, #B0B9C5); line-height: 1.55; margin-bottom: 6px; }
html[data-theme=light] .premium-section p,
body.premium-light .premium-section p { color: #3D5068 !important; }
.premium-section table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; }
.premium-section th, .premium-section td { padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.05); text-align: left; }
html[data-theme=light] .premium-section th,
html[data-theme=light] .premium-section td,
body.premium-light .premium-section th,
body.premium-light .premium-section td { border-color: rgba(13,27,46,.06) !important; }

/* Inputs in premium-shell */
.premium-shell input[type="text"],
.premium-shell input[type="number"],
.premium-shell input[type="email"] {
  background: var(--bg-2, #0B1623);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  width: 100%;
}
html[data-theme=light] .premium-shell input,
body.premium-light .premium-shell input {
  background: #F4F7FB !important;
  border-color: rgba(13,27,46,.1) !important;
  color: #0D1B2E !important;
}

/* Premium-modal hide by default */
.premium-modal {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  background: rgba(0,0,0,.7) !important;
  backdrop-filter: blur(4px) !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}
.premium-modal.open { display: flex !important; }

/* Bilgilendirme önemli box */
.premium-section[style*="background"] {
  /* keep inline styles */
}

/* Tedbirli hisseler tooltip block at bottom */
.premium-section.info-box,
.premium-section[data-type="info"] {
  background: linear-gradient(135deg, rgba(91,157,217,.05), rgba(91,157,217,.02)) !important;
  border-color: rgba(91,157,217,.18) !important;
}


/* ===== INTER FONT - FINTABLES TARZI ===== */
body, .premium-table, .tbl, .bil-table, .ak-table,
.psum-card, .arz-card, .bs-card, .info-card,
.fp-row, .sek-row, .sek-name, .sek-val,
.akis-row, .akis-code, .akis-name, .akis-val, .akis-tutar, .akis-pay,
table tbody, table thead, table td, table th,
.h-code, .h-name, .bil-code, .bil-name,
.kg-val, .stat-val, .hero-stat-val {
  font-family: 'Inter','Inter Fallback', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: -.005em;
}

/* Tabular nums for numeric data */
.tbl td, .premium-table td, .bil-td,
.fp-val, .fp-pct, .akis-val, .akis-pay,
.sek-val, .h-code, .stat-val,
.kg-val, .hero-stat-val,
[class*="val"], [class*="num"], td.r {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Heading hierarchy with Inter */
h1, h2, h3, h4, h5, h6,
.htitle, .premium-title, .arz-title,
.bil-title, .hero h1, .hero h2 {
  font-family: 'Inter','Inter Fallback', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: -.015em;
  font-feature-settings: "ss01" 1, "ss02" 1, "cv11" 1;
}
/* High Contrast Accessibility Fixes (100/100 Accessibility) */
  :root {
    --text-dim: #D0DCEB !important;
  }
  /* Koyu tema metin rengi. :where() kullanildi: secicinin ozgullugu (0,0,1)
     degismesin, yalnizca kapsami koyu temaya daralsin. Eskiden tema ayrimi
     yoktu ve acik temada beyaz uzerine beyaz yazi olusuyordu. */
  :where(html:not([data-theme="light"])) body,
  :where(html:not([data-theme="light"])) p,
  :where(html:not([data-theme="light"])) span,
  :where(html:not([data-theme="light"])) td,
  :where(html:not([data-theme="light"])) div {
    color: #F3F7FA;
  }
  .sym-name, th, .m-lbl, .diag-lbl, .subtitle, td.dim-txt {
    color: #D0DCEB !important;
  }
  button, input, select, a {
    min-height: 44px;
    min-width: 44px;
  }
/* PREMIUM BORSAKAYNAK MASTER DESIGN SYSTEM */
  :root {
    --bg-main: #060B13;
    --card-bg: #0D1624;
    --card-header: #16243A;
    --accent-gold: #C8A96B;
    --green-up: #00B56E;
    --red-dn: #E85F6E;
    --text-primary: #F3F7FA;
    --text-secondary: #D0DCEB;
    --border-subtle: rgba(255, 255, 255, 0.08);
  }

  body {
    background: var(--bg-main) !important;
    color: var(--text-primary) !important;
    font-family: 'Inter','Inter Fallback', sans-serif !important;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
  }

  .main-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .card-panel {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 14px !important;
    padding: 22px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .card-panel:hover {
    border-color: rgba(200, 169, 107, 0.25) !important;
  }

  /* Table Design Harmonization */
  table {
    width: 100% !important;
    border-collapse: collapse !important;
  }

  thead tr {
    background: var(--card-header) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
  }

  th {
    padding: 12px 14px !important;
    font-size: 11.5px !important;
    color: var(--text-secondary) !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
  }

  td {
    padding: 12px 14px !important;
    font-size: 13.5px !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  }

  tr:hover td {
    background: rgba(255,255,255,0.02) !important;
  }

  /* Button Styling */
  .btn-gold {
    background: var(--accent-gold) !important;
    color: #08121E !important;
    font-weight: 800 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
  }

  .btn-gold:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
  }

  .btn-outline {
    background: rgba(255,255,255,0.05) !important;
    color: var(--text-secondary) !important;
    font-weight: 700 !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-subtle) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .btn-outline:hover {
    background: rgba(255,255,255,0.1) !important;
    color: var(--text-primary) !important;
  }

  .btn-outline.active {
    background: var(--accent-gold) !important;
    color: #08121E !important;
    border-color: var(--accent-gold) !important;
    font-weight: 800 !important;
  }

  .chg-up-txt { color: var(--green-up) !important; font-weight: 700 !important; }
  .chg-dn-txt { color: var(--red-dn) !important; font-weight: 700 !important; }

/* ── KÖŞE YAZILARI — revize dokumani "Ana Sayfa / 7" (REFERANS 01)
   Onceki halinde bu bolum UYDURMA analist kartlariydi ("Emre Kaya · Bas
   Strateji", "Selin Yilmaz · Emtia Analisti", "Mert Demir · Kripto
   Stratejisti") -- adlar ve basliklar dogrudan revize dokumanindaki ornek
   gorselden kopyalanmisti. Artik /api/editorial?type=commentary'deki GERCEK
   yazilar listelenir.
   Referansin renk paleti baglayici degil; site tokenlari kullanildi. */
.ky-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.ky-etiket{display:flex;align-items:center;gap:10px;font-size:11.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--text,#E8EEF6)}
.ky-etiket::before{content:"";width:3px;height:15px;border-radius:2px;background:#C8A96B}
.ky-tum{font-size:12.5px;color:#C8A96B;text-decoration:none;display:inline-flex;align-items:center;gap:6px;font-weight:600}
.ky-tum:hover{text-decoration:underline}
.ky-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ky-kart{background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:12px;text-decoration:none;color:inherit;transition:.2s}
.ky-kart:hover{transform:translateY(-3px);border-color:rgba(200,169,107,.42);box-shadow:0 16px 40px rgba(0,0,0,.26)}
html[data-theme=light] .ky-kart{background:#fff;border-color:rgba(13,27,46,.10)}
.ky-ust{display:flex;align-items:flex-start;gap:11px}
.ky-av{width:40px;height:40px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:800;letter-spacing:.02em;background:rgba(200,169,107,.14);border:1px solid rgba(200,169,107,.32);color:#C8A96B}
.ky-av.ky-av-logo{background:transparent!important;border:0!important;overflow:hidden;box-shadow:0 0 0 1px rgba(200,169,107,.35),0 2px 8px rgba(8,18,30,.18)}
.ky-av-logo img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover}
.ky-yazar{display:block;font-size:13px;font-weight:700;line-height:1.25}
.ky-rol{display:block;font-size:11px;color:var(--mute,#8B98A9);margin-top:2px}
.ky-tarih{margin-left:auto;font-size:11.5px;color:var(--mute,#8B98A9);white-space:nowrap}
.ky-cizgi{display:block;width:34px;height:2px;border-radius:2px;background:#C8A96B}
.ky-baslik{display:block;font-size:17px;font-weight:800;line-height:1.32;letter-spacing:-.01em}
.ky-ozet{font-size:12.8px;line-height:1.6;color:var(--dim,#D0DCEB);opacity:.88;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ky-alt{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:12px;border-top:1px solid rgba(255,255,255,.07);font-size:11.5px;color:var(--mute,#8B98A9)}
html[data-theme=light] .ky-alt{border-top-color:rgba(13,27,46,.09)}
.ky-sure{display:inline-flex;align-items:center;gap:6px}
.ky-ok{width:26px;height:26px;border-radius:50%;border:1px solid rgba(200,169,107,.35);display:flex;align-items:center;justify-content:center;color:#C8A96B}
.ky-bos{grid-column:1/-1;padding:34px;text-align:center;color:var(--mute,#8B98A9);font-size:13px}
/* Kapak görseli: haber kartlarındaki görsel kutusuyla aynı (16:9, koyu zemin,
   kırpmadan sığdırma). Panel kapakları zaten 1600x900 yüklenir. */
.ky-gorsel{display:block;position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,#16243A 0%,#1a2c44 60%,#1f3550 100%)}
.ky-gorsel img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
/* Tür etiketi (Köşe Yazısı / Analiz): haber kartlarındaki kategori etiketi gibi
   görselin üstünde; görsel yoksa kartın en üstünde düz etiket. */
.ky-tur{position:absolute;top:10px;left:10px;z-index:2;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:5px;background:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff}
.ky-tur-duz{position:static;align-self:flex-start;background:rgba(200,169,107,.14);color:#C8A96B}
@media(max-width:900px){.ky-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.ky-grid{grid-template-columns:1fr}}


/* Gundem = editor haberleri artik yalniz slider'da doner (bkz. HERO SLAYTLARI
   scripti, __bkHaberlerP.managed). Burasi disaridan/RSS akisini ozet baslik
   listesi olarak gosterir — buyuk kart yerine tek satirlik baslik + kaynak. */
.gundem-headlines{display:grid;background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow:hidden}
.gundem-h-item{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none;transition:background .15s}
.gundem-h-item:last-child{border-bottom:none}
.gundem-h-item:hover{background:var(--panel-2)}
.gundem-h-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);flex-shrink:0}
.gundem-h-src{flex-shrink:0;font-family:var(--font-mono);font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);min-width:88px}
.gundem-h-text{flex:1;font-size:14px;font-weight:500;line-height:1.4;color:var(--text)}
.gundem-h-time{flex-shrink:0;font-size:11.5px;color:var(--text-muted);font-family:var(--font-mono)}
@media(max-width:640px){.gundem-h-src{display:none}.gundem-h-item{padding:12px 16px}.gundem-h-time{display:none}}
