:root {
  --market-ink: #1c1915;
  --market-muted: #766f64;
  --market-paper: #fbfaf7;
  --market-panel: #fffefa;
  --market-gold: #b1843c;
  --market-line: #dfd0ba;
  --market-rise: #32785b;
  --market-fall: #a45249;
}

* { box-sizing: border-box; }

.live-gold-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--market-ink);
  background: #fbfaf7;
  font-family: Inter, system-ui, sans-serif;
}

.live-gold-shell { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 16px 0 64px; }

.live-gold-masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; border-bottom: 1px solid var(--market-line); }
.live-gold-brand { display: inline-flex; width: 122px; }
.live-gold-brand img { display: block; width: 100%; height: auto; }

.live-gold-hero { padding: 30px 0 18px; }
.live-gold-title-row { display: flex; align-items: center; gap: 24px; }
.market-title-group { display: flex; align-items: center; gap: 13px; }
.market-title-icon { width: 34px; height: 34px; object-fit: contain; filter: saturate(1.18) contrast(1.05); }
.live-gold-title-row h1 { margin: 0; font-family: Inter, Arial, sans-serif; font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -.021em; line-height: 1.12; }
.live-gold-title-row p { margin: 6px 0 0; color: var(--market-muted); font-size: 13px; line-height: 1.45; }

.market-cta { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; overflow: hidden; padding: 0 16px; border: 1px solid #1c1915; border-radius: 3px; color: #fff; background: #1c1915; font-size: 11px; font-weight: 700; letter-spacing: .025em; text-decoration: none; transition: color 260ms ease, box-shadow 260ms ease, transform 260ms ease; }
.market-cta::before { position: absolute; inset: 0; background: #fff; content: ""; transform: translateX(-101%); transition: transform 300ms cubic-bezier(.22, .61, .36, 1); }
.market-cta span { position: relative; z-index: 1; }
.market-cta:hover { color: #1c1915; box-shadow: 0 8px 20px rgba(28, 25, 21, .12); transform: translateY(-1px); }
.market-cta:hover::before { transform: translateX(0); }
.market-cta:focus-visible { outline: 3px solid rgba(168, 122, 50, .34); outline-offset: 3px; }
.market-panel { overflow: hidden; border: 1px solid var(--market-line); border-radius: 4px; background: var(--market-panel); box-shadow: 0 16px 38px rgba(74, 57, 31, .065); }
.market-table-head, .market-price-row { display: grid; grid-template-columns: minmax(220px, 1.45fr) minmax(125px, .75fr) minmax(125px, .75fr); align-items: center; }
.market-table-head { padding: 12px 24px; color: #7d705e; border-bottom: 1px solid #dbc9ae; background: #f6eddf; font-family: Inter, Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.market-table-head span:not(:first-child), .market-price-row .market-value { text-align: right; }
.market-price-row { min-height: 61px; padding: 0 24px; border-bottom: 1px solid #e7dccd; }
.market-price-row:last-child { border-bottom: 0; }
.market-product { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: -.006em; text-transform: uppercase; }
.market-product::before { width: 3px; height: 14px; border-radius: 999px; background: #ba8c43; content: ""; }
.market-value { padding: 4px 0; font-size: 15px; font-weight: 650; font-feature-settings: "tnum" 1, "lnum" 1; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.008em; }
.market-price-row.is-up { animation: market-row-flash-up .9s ease-out; }
.market-price-row.is-down { animation: market-row-flash-down .9s ease-out; }
.market-empty { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 180px; color: var(--market-muted); font-size: 13px; }
.market-empty p { margin: 0; }
.market-empty-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--market-gold); animation: market-pulse 1.6s ease-in-out infinite; }
.market-note { margin: 0; padding: 13px 24px; color: var(--market-muted); border-top: 1px solid var(--market-line); background: #fdfbf7; font-size: 11px; line-height: 1.45; }
.market-seo-copy { padding: 17px 2px 0; color: var(--market-muted); font-size: 12px; line-height: 1.65; }
.market-seo-copy p { margin: 0; }

@keyframes market-row-flash-up { 0% { background: rgba(34, 197, 94, .19); box-shadow: inset 0 0 20px rgba(34, 197, 94, .075); } 100% { background: transparent; box-shadow: inset 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes market-row-flash-down { 0% { background: rgba(164, 82, 73, .105); box-shadow: inset 0 0 20px rgba(164, 82, 73, .07); } 100% { background: transparent; box-shadow: inset 0 0 0 rgba(164, 82, 73, 0); } }
@keyframes market-pulse { 50% { opacity: .4; transform: scale(.8); } }

@media (prefers-reduced-motion: reduce) {
  .market-price-row.is-up, .market-price-row.is-down { animation: none; }
}

@media (max-width: 650px) {
  .live-gold-shell { width: min(100% - 32px, 550px); padding-top: 12px; }
  .live-gold-masthead { min-height: 40px; }
  .live-gold-brand { width: 108px; }
  .live-gold-hero { padding: 22px 0 14px; }
  .live-gold-title-row { display: block; }
  .market-title-group { gap: 10px; }
  .market-title-icon { width: 29px; height: 29px; }
  .live-gold-title-row h1 { font-size: 29px; }
  .live-gold-title-row p { margin-top: 5px; font-size: 12px; }
  .market-cta { min-height: 38px; padding: 0 17px; }
  .market-table-head { display: none; }
  .market-price-row { grid-template-columns: 1fr 1fr; gap: 7px 18px; min-height: 0; padding: 15px 17px; }
  .market-product { grid-column: 1 / -1; font-size: 12px; }
  .market-product::before { height: 11px; }
  .market-value { display: flex; flex-direction: column; gap: 4px; font-size: 15px; text-align: left !important; }
  .market-value::before { color: #8b8377; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
  .market-value[data-market-side="buy"]::before { content: "Alış"; }
  .market-value[data-market-side="sell"]::before { content: "Satış"; }
  .market-note { padding: 12px 17px; font-size: 10px; }
  .market-seo-copy { padding-top: 15px; font-size: 11px; line-height: 1.6; }
}
