#borsa .market-table { table-layout: fixed; }
#borsa .market-header { display: flex; justify-content: space-between; align-items: center; width: 100%; flex-wrap: nowrap; gap: 12px; }
#borsa .market-brand { flex: 1 1 auto; min-width: 0; text-align: left; }
#borsa .market-title { overflow-wrap: anywhere; letter-spacing: 0; }
#borsa .market-sub { flex-wrap: wrap; gap: 6px; letter-spacing: 0; }
#borsa .market-status-box { margin-left: auto; flex: 0 0 auto; align-items: center; }
#borsa .live-clock { display: block; min-width: 0; white-space: nowrap; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(212, 175, 55, 0.25); border-radius: 8px; padding: 6px 12px; font-family: monospace, 'Courier New', sans-serif; font-size: 14px; font-weight: 600; color: #f7f1e3; letter-spacing: 1px; box-shadow: none; }
body[data-theme="day"] #borsa .live-clock {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(140, 107, 35, 0.25);
  color: #8c6b23;
  box-shadow: 0 4px 12px rgba(140, 107, 35, 0.08);
}
#borsa .market-table > thead { display: none; }
#borsa .market-table th:first-child, #borsa .market-table td:first-child { width: 42%; }
#borsa .market-table .market-card-row > td { padding: 8px 0; border: 0; background: transparent !important; }
.market-highlights, .market-currencies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#borsa .market-quote-card { min-width: 0; padding: 18px; border: 1px solid var(--gold-primary); border-radius: 8px; background: var(--bg-base); text-align: left; }
#borsa .market-quote-card h3 { font-size: 18px; color: var(--text-pearl); min-height: 44px; margin: 0 0 12px; letter-spacing: 0; }
.market-quote-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.market-side-label { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 5px; font-weight: 500; }
#borsa .market-price { font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: 0; }
#borsa .market-highlights .market-quote-card { padding: 12px 14px; border: 1px solid rgba(212, 175, 55, 0.25); border-radius: 12px; background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(212, 175, 55, 0.04); text-align: center; }
#borsa .market-highlights .market-quote-card h3 { min-height: 0; margin: 0 0 7px; color: #f3e5ab; font-size: 16px; }
#borsa .market-highlights .market-quote-prices { gap: 16px; }
#borsa .market-highlights .market-side-label { margin-bottom: 2px; }
#borsa .market-highlights .market-price { font-size: 21px; font-weight: 800; color: #f3e5ab; }
body[data-theme="day"] #borsa .market-highlights .market-price:not(.price-up):not(.price-down) { color: #8a610a; }
.market-lira { opacity: .55; font-size: .7em; font-weight: 500; }
#borsa .market-currencies .market-quote-card { padding: 12px; border-color: var(--card-border); }
#borsa .market-currencies h3 { min-height: 0; margin-bottom: 8px; font-size: 14px; }
#borsa .market-currencies .market-price { font-size: 16px; }
#borsa .market-group-heading th { padding: 22px 8px 10px; border-bottom: 1px solid var(--card-border); }
#borsa .market-group-heading th:first-child { color: var(--gold-light); font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
@keyframes priceUp { 0% { color: #10b981; text-shadow: 0 0 8px rgba(16, 185, 129, 0.6); } 100% { color: inherit; text-shadow: none; } }
@keyframes priceDown { 0% { color: #ef4444; text-shadow: 0 0 8px rgba(239, 68, 68, 0.6); } 100% { color: inherit; text-shadow: none; } }
#borsa .market-price.price-up { animation: priceUp 1.5s ease-out; }
#borsa .market-price.price-down { animation: priceDown 1.5s ease-out; }

/* Gündüz modu: borsa metinleri fildişi zeminde tok ve okunaklı kalır. */
body[data-theme="day"] #borsa .market-title,
body[data-theme="day"] #borsa .market-group-heading th:first-child,
body[data-theme="day"] #borsa .market-highlights .market-quote-card h3,
body[data-theme="day"] #borsa .market-lira { color: #8c6b23; }
body[data-theme="day"] #borsa .market-group-heading th,
body[data-theme="day"] #borsa .market-side-label,
body[data-theme="day"] #borsa .market-table td:first-child { color: #1e2321; }
body[data-theme="day"] #borsa .market-price,
body[data-theme="day"] #borsa .market-highlights .market-price,
body[data-theme="day"] #borsa .market-row-up .market-price,
body[data-theme="day"] #borsa .market-row-down .market-price {
  color: #946c1a;
  font-weight: 700;
}
body[data-theme="day"] #borsa .market-highlights .market-quote-card {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(140, 107, 35, 0.25);
  box-shadow: 0 4px 18px rgba(140, 107, 35, 0.1), inset 0 0 12px rgba(212, 175, 55, 0.04);
}
@media (max-width: 620px) {
  #borsa .market-header { gap: 8px; }
  #borsa .market-title { font-size: 16px; }
  .market-highlights, .market-currencies { gap: 8px; }
  #borsa .market-quote-card { padding: 12px 10px; }
  #borsa .market-quote-card h3 { font-size: 15px; min-height: 36px; margin-bottom: 10px; }
  .market-quote-prices { grid-template-columns: 1fr; gap: 8px; }
  .market-quote-prices > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 3px; }
  #borsa .market-highlights .market-quote-card { padding: 10px 8px; }
  #borsa .market-highlights .market-quote-card h3 { font-size: 14px; margin-bottom: 5px; }
  #borsa .market-highlights .market-quote-prices { gap: 7px; }
  #borsa .market-highlights .market-quote-prices > div:first-child { order: 2; }
  #borsa .market-highlights .market-quote-prices > div:nth-child(2) { order: 1; }
  #borsa .market-highlights .market-price { font-size: 17px; }
  #borsa .market-currencies .market-price { font-size: 14px; }
  #borsa .market-currencies h3 { min-height: 0; }
  #borsa .market-table td { padding: 10px 4px; }
  #borsa .market-table .market-group-heading th { padding-left: 4px; padding-right: 4px; font-size: 10px; }
  #borsa .market-group-heading th:first-child { font-size: 13px; }
}
