.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.noscript { padding: 24px 0; }

.notice { background: rgba(217, 177, 59, 0.12); border-bottom: 1px solid var(--line); color: var(--gold-2); text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; }

/* üst marka çubuğu */
.brandbar { display: flex; justify-content: center; padding: 22px 16px 0; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none !important; padding: 8px 20px 8px 10px; border-radius: 18px; border: 1px solid var(--line-soft); background: rgba(17, 27, 51, 0.6); backdrop-filter: blur(6px); }
.brand:hover { border-color: var(--line); color: var(--text); }
.brand .logo { width: 46px; height: 46px; }
.brand-text { display: grid; line-height: 1.25; text-align: left; }
.brand-text strong { font: 700 15px var(--sans); letter-spacing: 0.09em; text-transform: uppercase; }
.brand-text span { font: italic 500 14px var(--serif); color: var(--gold-2); }

/* hero */
.hero { position: relative; isolation: isolate; text-align: center; padding: 44px 16px 44px; }
body { position: relative; }
body::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 380px at 50% 0%, rgba(217, 177, 59, 0.2), transparent 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .85 0 0 0 0 .69 0 0 0 0 .23 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.hero h1 { font: 700 clamp(30px, 5.6vw, 58px)/1.1 var(--serif); letter-spacing: -0.01em; max-width: 18ch; margin: 0 auto 16px; text-wrap: balance; }
.lead { color: var(--muted); font-size: clamp(15px, 1.7vw, 17px); max-width: 60ch; margin: 0 auto; text-wrap: pretty; }
.livebar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: 30px; }
.live-pill { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--line); background: rgba(10, 16, 32, 0.6); }
.live-pill strong { font-weight: 700; font-size: 14.5px; }
.live-pill .sep { width: 1px; height: 18px; background: var(--gold); opacity: 0.6; }
.live-time { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font: 500 14px var(--mono); }
#refreshBtn { min-height: 50px; padding: 0 26px; border-radius: 12px; font-size: 15px; }

/* araç çubuğu + sekmeler */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: rgba(13, 21, 41, 0.8); max-width: 100%; overflow-x: auto; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.tab:hover { color: var(--text); background: rgba(217, 177, 59, 0.08); }
.tab[aria-selected='true'] { background: var(--gold); color: var(--gold-ink); }
.chip.info { color: var(--muted); border-color: var(--line-soft); background: transparent; font-weight: 500; padding: 7px 14px; }

/* tablo paneli */
.panel { border-radius: 16px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border: 1px solid var(--line-soft); overflow: hidden; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 24px 28px 20px; }
.panel-head h2 { font: 700 24px/1.2 var(--sans); color: var(--gold); display: flex; align-items: center; gap: 10px; }
.panel-head h2 .ic { width: 22px; height: 22px; }
.panel-head p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

.rates { width: 100%; border-collapse: collapse; }
.rates thead th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 16px 28px; background: var(--surface); border-block: 1px solid var(--line); }
.rates th.r, .rates td.r { text-align: right; }
.rates th.c, .rates td.c { text-align: center; }
.rates tbody tr { border-bottom: 1px solid var(--line); cursor: pointer; transition: background 0.12s; }
.rates tbody tr:last-child { border-bottom: 0; }
.rates tbody tr:hover { background: rgba(217, 177, 59, 0.05); }
.rates td { padding: 18px 28px; vertical-align: middle; }
.who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.who b { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.who small { color: var(--muted); font-size: 12.5px; }
.cell { display: inline-grid; justify-items: end; gap: 3px; padding: 4px 8px; border-radius: 8px; }
.cell .lab { font-size: 10.5px; letter-spacing: 0.06em; }
.cell .num { font-size: 20px; line-height: 1.2; }
.go { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; font-weight: 600; font-size: 14px; padding: 6px 4px; }
.go:hover { color: var(--gold-2); }
.rates tbody tr:hover .go .ic { transform: translateX(3px); }
.go .ic { transition: transform 0.15s; }

.flash-up { animation: flashUp 1.4s ease-out; }
.flash-down { animation: flashDown 1.4s ease-out; }
@keyframes flashUp { 0% { background: rgba(47, 211, 154, 0.35); color: var(--up); } 100% { background: transparent; } }
@keyframes flashDown { 0% { background: rgba(255, 107, 120, 0.35); color: var(--down); } 100% { background: transparent; } }

.empty { padding: 40px 24px; text-align: center; color: var(--muted); }

/* bilgi kartları */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding: 64px 12px 72px; }
.notes article { display: grid; gap: 10px; align-content: start; justify-items: start; }
.notes h3 { font: 700 17px var(--sans); margin-top: 6px; }
.notes p { color: var(--muted); font-size: 14.5px; max-width: 42ch; }
.notes a { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* alt bilgi */
.foot { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: 44px 0 28px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; max-width: 380px; }
.foot-brand strong { font: 700 17px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.foot-side { display: grid; gap: 8px; justify-items: end; text-align: right; }
.contacts { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; margin-bottom: 8px; }
.contacts a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--text); }
.contacts a:hover { color: var(--gold-2); }
.contacts .ic { color: var(--gold); }
.copy { font-weight: 600; font-size: 14.5px; }
.source { color: var(--muted); font-size: 14px; }
.source a { font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.disclaimer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); text-align: center; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }

/* detay penceresi */
.d-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.d-prices > div { display: grid; gap: 4px; padding: 12px 14px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line-soft); min-width: 0; }
.d-prices .lab { font-size: 10px; }
.d-prices b { font-size: 18px; overflow-wrap: anywhere; }
.d-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#dChart { margin-inline: -6px; }
.legend { display: inline-block; width: 18px; height: 0; border-top: 2.5px solid var(--gold); vertical-align: middle; margin-right: 6px; }
.legend.alt { border-top: 2px dashed #7f8db0; margin-left: 10px; }

@media (max-width: 860px) {
  .notes { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 52px; }
  .foot-side { justify-items: start; text-align: left; }
  .contacts { justify-content: flex-start; }

  /* tablo -> kart */
  .rates thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rates, .rates tbody { display: block; }
  .rates tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 16px 18px; align-items: center; }
  .rates td { padding: 0; }
  .rates td.name { grid-area: 1 / 1 / 2 / 3; padding-right: 96px; }
  .rates td.chg { grid-area: 1 / 2; justify-self: end; align-self: start; text-align: right; z-index: 1; }
  .rates td.alis { grid-area: 2 / 1; }
  .rates td.satis { grid-area: 2 / 2; }
  .rates td.act { display: none; }
  .cell { justify-items: start; padding: 8px 10px; background: rgba(255, 255, 255, 0.03); border-radius: 10px; width: 100%; }
  .rates td.satis .cell { justify-items: start; }
  .cell .num { font-size: 18px; }
  .panel-head { padding: 20px 18px 16px; }
  .panel-head h2 { font-size: 21px; }
}
@media (max-width: 520px) {
  .tab .sfx { display: none; }
  .brand { padding: 8px 14px 8px 8px; gap: 11px; }
  .brand .logo { width: 40px; height: 40px; }
  .brand-text strong { font-size: 13px; letter-spacing: 0.06em; }
  .brand-text span { font-size: 13px; }
  .hero { padding-top: 34px; }
  .live-pill { padding: 0 16px; gap: 10px; }
  .toolbar { justify-content: center; }
  .tab { padding: 0 14px; }
  .d-prices { grid-template-columns: 1fr 1fr; }
  .d-prices > div:last-child { grid-column: 1 / -1; }
}

.nonprofit { margin-top: 26px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(217, 177, 59, 0.05); text-align: center; font-size: 13.5px; color: var(--text); text-wrap: pretty; }

.callus { margin-top: 18px; text-align: center; font-size: 15px; font-weight: 600; }
.callus .ic { color: var(--gold); }
.callus a { font-family: var(--mono); font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
