/* Ekrana özgü parçalar: yükleme kartı, liste kapakları, dalga kartı, kayıt satırı ve sayfası, ilerleme, çalar çubuğu. */

/* ── yükleme kartı ── */
.yukleme { display: flex; flex-direction: column; gap: 18px; border: 2px dashed transparent; transition: border-color 120ms, background 120ms; }
.yukleme--ustunde { border-color: var(--parlak); background: var(--yuzey-2); }
.yukleme__sec { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; cursor: pointer; }
.yukleme__d { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--parlak); color: var(--parlak-murekkep); display: grid; place-items: center; }
.yukleme__d .ikon { width: 22px; height: 22px; }
.yukleme__g { flex: 999 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yukleme__t { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.yukleme__a { color: var(--ikincil); font-size: 12.5px; }
.yukleme__d--ikincil { background: var(--yuzey-2); color: var(--yazi); }
.ayrac { display: flex; align-items: center; gap: 12px; color: var(--soluk); font-size: 12.5px; font-weight: 700; }
.ayrac::before, .ayrac::after { content: ""; flex: 1; height: 1px; background: var(--cizgi); }
.baglanti { display: flex; gap: 8px; }
.girdi { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid transparent; background: var(--yuzey);
  color: var(--yazi); font: inherit; font-size: 14px; transition: background 120ms, border-color 120ms, box-shadow 120ms; }
.girdi::placeholder { color: var(--soluk); }
.girdi:focus { outline: none; background: var(--zemin); border-color: var(--parlak); box-shadow: 0 0 0 3px var(--odak); }
.baglanti .dugme { height: 44px; }
.indirme-kart { display: flex; align-items: center; gap: 14px; }
.secenekler { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.secenekler--tek { grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
.secenekler legend { padding: 0 0 8px; font-size: 13px; font-weight: 700; }
.secenek { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--r-k); background: var(--yuzey);
  border: 2px solid transparent; cursor: pointer; transition: border-color 160ms var(--cikis), background 120ms; }
.secenek input { margin: 2px 0 0; width: 20px; height: 20px; accent-color: var(--parlak); flex: none; }
.secenek--acik { border-color: var(--parlak); }
.secenek__g { display: flex; flex-direction: column; gap: 2px; }
.secenek__t { font-weight: 700; font-size: 14.5px; }
.secenek__a { color: var(--ikincil); font-size: 12.5px; }

/* ── Karşılaştır ── */
.yuvalar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.yuva { gap: 14px; min-height: 100%; }
.yuva .yukleme__sec { gap: 12px; }
.yuva .yukleme__d { width: 44px; height: 44px; }
.yuva .yukleme__d .ikon { width: 20px; height: 20px; }
.yuva .yukleme__g { flex: 1 1 160px; }
.yuva .yukleme__t { font-size: 15px; }
.yuva .yukleme__sec > .dugme { flex: 1 1 100%; }
.yuva__ust { display: flex; align-items: center; gap: 12px; min-width: 0; }
.yuva__ad { font-weight: 800; font-size: 15px; overflow-wrap: anywhere; }
.dalga-tuval--kucuk { height: 44px; }
.kiyas-eylem { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.kiyas-eylem .uyari { align-self: stretch; }
.kiyas-dugme { height: 48px; padding: 0 28px; font-size: 15px; }
.kiyas-dugme .ikon { width: 18px; height: 18px; }
.kiyas-ipucu { padding: 0; }
.kiyas-ust { display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.bas__model { color: var(--soluk); font-size: 12.5px; margin-top: 2px; max-width: 60ch; }
.serit--tek { height: 10px; }
.serit--tek .serit__yol { top: 0; }

/* ── sonuç: LOST kataloğu bölümü (lost.js) ── */
.bas__ek { font-weight: 700; font-size: 14px; margin-top: 2px; }
.bolum__b--alt { margin-top: 10px; }
.bolum__b h3 { font-size: 14.5px; font-weight: 800; }
.lost-tam { padding: 14px 16px; }
.lost-tam__t { font-weight: 800; font-size: 16px; overflow-wrap: anywhere; }
.lost-satir { flex-wrap: wrap; row-gap: 10px; }
.lost__dinle { flex-direction: row; align-items: center; gap: 6px; }
.pencere .onaylar { margin-top: 10px; }

/* ── liste: üst üste binen kapaklar ── */
.kapaklar { display: flex; flex: none; }
.kapaklar .kapak + .kapak { margin-left: -14px; box-shadow: 0 0 0 2px var(--yuzey-dolu); }

/* ── sonuç: bulunan kayıt satırı ── */
.kayit { flex-wrap: wrap; }
.kayit__govde { flex: 999 1 260px; }
.kayit__ad { font-weight: 800; font-size: 16px; overflow-wrap: anywhere; }
.kayit__sanatci { color: var(--ikincil); font-size: 13px; }
.kayit__yer { white-space: normal; }
.kayit__sag { flex: 1 1 200px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; min-width: 0; }
.kayit__hak { font-weight: 800; font-size: 15px; overflow-wrap: anywhere; }

/* ── dalga kartı ── */
.dalga-kart { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.dalga-eksen { position: relative; display: flex; flex-direction: column; gap: 6px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.dalga-eksen--serit { margin-left: 32px; }
.dalga-tuval { display: block; width: 100%; height: 96px; }
.serit { position: relative; height: 22px; --ton: var(--yazi); }
.serit.t1 { --ton: var(--soluk); }
.serit.t2 { --ton: var(--ikincil); }
.serit > .kapak { position: absolute; left: -32px; top: 0; cursor: default; }
.serit__yol { position: absolute; left: 0; right: 0; top: 6px; height: 10px; border-radius: 999px; background: var(--yuzey-2); }
.bolge { position: absolute; top: 0; bottom: 0; min-width: 6px; border-radius: 999px; background: var(--ton);
  transition: transform 160ms var(--cikis), opacity 200ms var(--cikis); }
.bolge:active { transform: scaleY(0.8); }
.bolge:focus-visible { outline-offset: 3px; }
.dalga-eksen--secimli .serit:not(.serit--secili) .bolge { opacity: 0.35; }
.imlec, .gezinti { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; pointer-events: none; border-radius: 2px; }
.imlec { background: var(--parlak); }
.gezinti { background: var(--yuzey-3); }
.gezinti span { position: absolute; top: 0; left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--yukseltilmis); color: var(--yazi);
  font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 0 0 1px var(--cizgi); }
.gezinti--sol span { left: auto; right: 6px; }
.dalga-uc { display: flex; justify-content: space-between; gap: 12px; color: var(--soluk); font-size: 12px; font-variant-numeric: tabular-nums; }
.dalga-uc--serit { padding-left: 32px; }
.dalga-uc span:nth-child(2) { text-align: center; }

/* ── ilerleme ── */
.tarama-kart { display: flex; flex-direction: column; gap: 14px; }
.tarama-eksen { position: relative; }
.tarama-bas { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--parlak); pointer-events: none; }
.tarama-uc { display: flex; justify-content: space-between; gap: 12px; color: var(--ikincil); font-size: 12.5px; }
.tarama-kart .olcer { height: 5px; }

/* ── kayıt sayfası ── */
.bas--profil { gap: 6px; }
.bas--profil h1 { margin-top: 8px; }
.bas--profil .hap { margin-top: 2px; }
.ikili { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.kimin { display: flex; flex-direction: column; gap: 10px; }
.kimin__hak { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-top: 2px; overflow-wrap: anywhere; }
.bilgiler { display: flex; flex-direction: column; }
.bilgi { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--cizgi); }
.bilgi:last-child { padding-bottom: 0; }
.bilgi__a { color: var(--ikincil); flex: none; }
.bilgi__d { font-weight: 700; text-align: right; display: flex; flex-direction: column; align-items: flex-end; min-width: 0; overflow-wrap: anywhere; }
.bilgi__not { color: var(--soluk); font-size: 12px; font-weight: 600; }
.bilgi__d .renk-ikincil { font-weight: 500; }
.nerede { display: flex; flex-direction: column; gap: 6px; }
.dokum { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; }
.dokum__n { position: relative; min-height: 64px; }
.dokum__n::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--yuzey-3); }
.dokum__n--ilk::before { top: 50%; }
.dokum__n--son::before { bottom: 50%; }
.dokum__n::after { content: ""; position: absolute; left: 4px; top: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--soluk); background: var(--yuzey-dolu); box-sizing: border-box; }
.dokum__n--dolu::after { left: 5px; top: calc(50% - 6px); width: 12px; height: 12px; border: 0; background: var(--parlak); }
.dokum__g { display: flex; flex-direction: column; justify-content: center; padding: 8px 0; min-width: 0; }
.dokum__a { color: var(--ikincil); font-size: 12.5px; }
.dokum__d { font-weight: 800; font-size: 15px; }
.dokum__d .renk-ikincil { font-weight: 600; }
.zaman { font-weight: 800; color: var(--yazi); border-radius: 4px; text-decoration: underline; text-decoration-color: var(--yuzey-3);
  text-underline-offset: 3px; transition: text-decoration-color 120ms; }
.dayanak { display: flex; flex-direction: column; gap: 12px; }
.dayanak h2 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.dayanak__s { display: flex; align-items: center; gap: 14px; font-weight: 700; }

/* ── çalar çubuğu ── */
#calar-cubuk { grid-area: calar; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); align-items: center;
  gap: 24px; padding: 12px 20px; background: var(--yukseltilmis); border-top: 1px solid var(--cizgi); position: relative; z-index: 5; }
.cc-sol { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kapak--cc { width: 44px; height: 44px; }
.cc-yazi { min-width: 0; }
.cc-baslik, .cc-alt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-baslik { font-weight: 700; font-size: 14px; }
.cc-alt { color: var(--ikincil); font-size: 12.5px; }
.cc-orta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cc-cal { width: 40px; height: 40px; border-radius: 50%; background: var(--parlak); color: var(--parlak-murekkep); display: grid; place-items: center; flex: none;
  transition: transform 160ms var(--cikis); }
.cc-cal .ikon { width: 18px; height: 18px; }
.cc-cal:active { transform: scale(0.94); }
.cc-zaman { font-size: 12px; color: var(--soluk); font-variant-numeric: tabular-nums; min-width: 32px; text-align: center; flex: none; }
.cc-sag { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.cc-gecis { flex: none; }
.cc-gecis .kapak--hap { width: 20px; height: 20px; border-radius: 5px; }
.cc-ikon { width: 36px; height: 36px; border-radius: 50%; color: var(--ikincil); display: grid; place-items: center; flex: none; transition: background 120ms, color 120ms; }
.cc-ses { width: 96px; flex: none; }
.iz { position: relative; flex: 1; min-width: 0; height: 20px; display: flex; align-items: center; }
.iz__yol { position: absolute; left: 0; right: 0; height: 4px; border-radius: 999px; background: var(--yuzey-3); overflow: hidden; }
.iz__dolu { position: absolute; inset: 0; background: var(--yazi); transform-origin: left; transform: scaleX(0); border-radius: 999px; }
.iz__nokta { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--parlak);
  transform: scale(0); transition: transform 160ms var(--cikis); pointer-events: none; }
.iz input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.iz:has(input:focus-visible) { outline: 2px solid var(--odak); outline-offset: 2px; border-radius: 8px; }
.iz:has(input:focus-visible) .iz__nokta, .iz:active .iz__nokta { transform: scale(1); }

@media (hover: hover) and (pointer: fine) {
  .girdi:hover:not(:focus) { background: var(--yuzey-2); }
  .bolge:hover { transform: scaleY(1.35); }
  .bolge:active { transform: scaleY(0.9); }
  .zaman:hover { text-decoration-color: var(--yazi); }
  .cc-ikon:hover { background: var(--yuzey-2); color: var(--yazi); }
  .iz:hover .iz__nokta { transform: scale(1); }
  .yukleme__sec:hover .dugme--p { filter: brightness(1.05); }
  .secenek:hover { background: var(--yuzey-2); }
}

@media (max-width: 760px) {
  .secenekler { grid-template-columns: minmax(0, 1fr); }
  .yuvalar { grid-template-columns: minmax(0, 1fr); }
  .kiyas-dugme { width: 100%; }
  .yukleme__g { flex: 1 1 180px; }
  .yukleme__sec > .dugme { width: 100%; }
  .baglanti { flex-direction: column; }
  .baglanti .girdi { flex: none; }
  .satirlar .satir__t { white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .satirlar .satir > .ok { display: none; }
  .kapaklar .kapak + .kapak { margin-left: -24px; }
  .kayit { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 8px; align-items: start; }
  .kayit .kapak--b { width: 56px; height: 56px; border-radius: 12px; grid-row: 1 / span 2; }
  .kayit__govde { grid-column: 2; grid-row: 1; }
  .kayit__sag { grid-column: 2 / span 2; grid-row: 2; align-items: flex-start; text-align: left; }
  .kayit .hap { grid-column: 3; grid-row: 1; }
  .satirlar .kayit > .ok { display: none; }
  .ikili { grid-template-columns: minmax(0, 1fr); }
  .lost-satir > .satir__govde { flex-basis: calc(100% - 58px); }      /* dinleme düğmeleri metnin altına, metin hizasında */
  .lost__dinle { padding-left: 58px; }
  .dalga-kart { padding: 16px; }
  .dalga-tuval { height: 72px; }
  #calar-cubuk { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sol sag" "orta orta"; gap: 8px 12px; padding: 10px 16px 12px; }
  .cc-sol { grid-area: sol; } .cc-orta { grid-area: orta; } .cc-sag { grid-area: sag; }
  .cc-ses, .cc-sag .cc-ikon { display: none; }
  .kapak--cc { width: 40px; height: 40px; }
}

/* ── giriş sayfası (giris.html): menüsüz, ortada tek sütun ── */
body.giris-sayfa { display: flex; align-items: center; justify-content: center; min-height: 100%; height: auto; padding: 32px 16px; }
.giris { width: min(400px, 100%); display: flex; flex-direction: column; gap: 22px; animation: pencere-gir 260ms var(--cikis); }
.giris__bas { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.giris__ust { font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; color: var(--ikincil); }
.giris__bas h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.giris__alt { color: var(--ikincil); margin-top: 4px; }
.giris__kart { background: var(--yuzey); border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.alan { display: flex; flex-direction: column; gap: 6px; }
.alan__k { font-size: 12.5px; font-weight: 700; color: var(--ikincil); }
.alan .girdi { flex: none; width: 100%; }
.giris__dugme { height: 46px; margin-top: 4px; font-size: 14.5px; }
.giris__gec { text-align: center; color: var(--ikincil); font-size: 13.5px; }
.giris__gec button { font-weight: 700; color: var(--yazi); min-height: 44px; padding: 0 4px; }

/* ── menü altı hesap bölümü + hesaplar ekranı ── */
.menu__hesap { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 6px 4px 14px; border-top: 1px solid var(--cizgi); }
.menu__hesap-ad { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu__hesap .dugme { padding: 0 12px; }
.menu__hesap-daire { display: none; }
.hesap-satir .satir__sag { flex-direction: row; align-items: center; gap: 8px; }
@media (hover: hover) and (pointer: fine) {
  .giris__gec button:hover { text-decoration: underline; }
}
@media (max-width: 760px) {
  .menu__hesap { order: 1; margin: 0; padding: 0; border: 0; flex: none; gap: 6px; }
  .menu__hesap-ad, .menu__hesap .dugme { display: none; }
  .menu__hesap-daire { display: grid; font-weight: 800; font-size: 13.5px; color: var(--yazi); width: 36px; height: 36px; }
  .giris__bas h1 { font-size: 32px; }
}
.alanlar { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.alanlar .girdi { flex: none; width: 100%; }
@media (max-width: 760px) {
  .hesap-satir { flex-wrap: wrap; }
  .hesap-satir .satir__govde { flex-basis: calc(100% - 58px); }
  .hesap-satir .satir__sag { width: 100%; padding-left: 58px; justify-content: flex-start; flex-wrap: wrap; }
}
