* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0b0f1a;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hidden { display: none !important; }

/* ---------- HUD panelleri ---------- */
.panel {
  position: fixed;
  z-index: 1000;
  background: rgba(12, 16, 28, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f2f4f8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

#hud-top {
  top: 14px;
  left: 14px;
  min-width: 240px;
}

#hud-loc {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

#hud-sub, #hud-sub2 {
  margin-top: 3px;
  font-size: 12.5px;
  color: #b9c2d4;
}

#hud-money { color: #7ce38b; font-weight: 700; }

#hud-mission {
  top: 14px;
  right: 14px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 340px;
}

#hud-mission { cursor: pointer; }
#hud-mission:hover { border-color: rgba(255, 210, 63, 0.55); }

/* Kazanç/kayıp uçan yazısı */
.money-fx {
  position: fixed;
  top: 92px;
  z-index: 1500;
  font-size: 17px;
  font-weight: 800;
  pointer-events: none;
  animation: fx-up 1.4s ease-out forwards;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.money-gain { color: #7ce38b; }
.money-loss { color: #ff6b6b; }

@keyframes fx-up {
  0% { opacity: 0; transform: translateY(12px) scale(0.8); }
  15% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-36px); }
}

#mission-arrow {
  display: inline-block;
  font-size: 17px;
  color: #ffd23f;
  transition: transform 0.15s linear;
}

.shift-line {
  font-size: 15px;
  margin: 6px 0;
  color: #dde3ee;
}

#hud-wanted {
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(150, 20, 20, 0.92);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  animation: wanted-blink 0.8s steps(2) infinite;
}

@keyframes wanted-blink {
  50% { border-color: rgba(255, 80, 80, 0.9); }
}

/* Gece vardiyası karartması JS'te tema filtresiyle birleştirilir (applyMapFilter) */
#map { transition: filter 0.6s ease; }

#hint {
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13.5px;
  white-space: nowrap;
}

#hint b { color: #ffd23f; }

#toast {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  background: rgba(20, 120, 60, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

#toast.toast-bad { background: rgba(180, 40, 40, 0.94); }

/* ---------- Harita marker'ları ---------- */
.lod {
  transform-origin: center;
  transition: opacity 0.25s;
}

.player {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
  transition: opacity 0.2s;
}

/* Araç: yukarıdan bakılan SVG, burnu gidiş yönüne döner */
.veh {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.55));
}

/* Sırtı dönük kurye karakteri (GTA takip kamerası için) */
.hero {
  position: relative;
  width: 34px;
  height: 40px;
}

.hero-bob {
  position: absolute;
  inset: 0;
  animation: bob 0.6s ease-in-out infinite;
}

.hero-head {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e8b98a;
  z-index: 3;
}

.hero-head::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 10px;
  border-radius: 9px 9px 3px 3px;
  background: #3e2a18; /* saç — arkadan görünüm */
}

.hero-body {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 24px;
  border-radius: 9px 9px 11px 11px;
  background: #e63946; /* kurye montu */
  z-index: 1;
}

.hero-pack {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 17px;
  height: 15px;
  border-radius: 5px;
  background: #7a4f2b; /* sırt çantası */
  border: 1.5px solid #57381d;
  z-index: 2;
}

.hero-run .hero-bob { animation-duration: 0.3s; }

.npc {
  font-size: 21px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.bob { animation: bob 0.55s ease-in-out infinite; }

@keyframes bob {
  50% { transform: translateY(-2.5px); }
}

.car {
  font-size: 23px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.door { text-align: center; line-height: 1.05; }
.door-emoji { font-size: 21px; }

.door-label,
.plane-label {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  background: rgba(10, 14, 24, 0.75);
  border-radius: 5px;
  padding: 1px 5px;
  white-space: nowrap;
}

.plane { text-align: center; line-height: 1.05; }
.plane-emoji { font-size: 26px; }

.light { text-align: center; line-height: 1; }
.light-emoji { font-size: 22px; }

.light-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin: 2px auto 0;
  background: #2ecc71;
  border: 1.5px solid rgba(0, 0, 0, 0.4);
}

.cop {
  font-size: 24px;
  animation: siren 0.5s steps(2) infinite;
}

@keyframes siren {
  0%, 100% { filter: drop-shadow(0 0 6px #3b6cff); }
  50% { filter: drop-shadow(0 0 7px #ff3b3b); }
}

.rival-label { background: rgba(180, 40, 40, 0.85); }

.tree {
  font-size: 32px;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
}

.poi { font-size: 26px; text-align: center; }
.poi-pulse { animation: pulse 1s ease-in-out infinite; }

@keyframes pulse {
  50% { transform: scale(1.25); }
}

.map-status {
  margin-top: 10px;
  font-size: 11.5px;
  color: #8892a6;
  min-height: 16px;
}

.map-status.ms-ok { color: #7ce38b; }
.map-status.ms-warn { color: #ffd23f; }
.map-status.ms-bad { color: #ff6b6b; }

/* ---------- Modallar ---------- */
#travel, #interior, #shift-over, #phone, #pause {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(6, 9, 16, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Giriş ekranı ayrı: oyuncu tema seçerken haritanın gerçek rengini görmeli,
   bu yüzden bulanıklık yok ve karartma hafif. Modal zaten opak, okunurluk düşmez.
   justify-content:flex-start + margin:auto = kısa ekranda kayabilsin (kesilmesin). */
#intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  background: rgba(6, 9, 16, 0.34);
  transition: background 0.22s ease;
}

#intro .modal {
  margin: auto;
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  transition: opacity 0.22s ease;
}

/* Yapışkan düğme kaldırıldı: sabitlendiği sürece altındaki Google giriş
   düğmesini örtüyordu. Bunun yerine giriş ekranı tipografisi sıkıştırıldı,
   içerik tek ekrana sığıyor; sığmayan ekranlarda modal normal kaydırılıyor. */

/* 👁️ Önizleme: modal kaybolur, tema düğmeleri canlı haritanın üstünde kalır */
#intro.onizleme { background: rgba(6, 9, 16, 0.04); }
#intro.onizleme .modal { opacity: 0; pointer-events: none; }

#onizle-btn {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 2010;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(19, 26, 42, 0.92);
  color: #ffd23f;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

#onizle-btn:hover { background: #263150; }

#onizle-cubuk {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2010;
  display: none;
  width: min(680px, 92vw);
  padding: 12px 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 20, 33, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  text-align: center;
}

#intro.onizleme #onizle-cubuk { display: block; }

#onizle-cubuk .onizle-ipucu {
  margin-top: 9px;
  font-size: 11.5px;
  color: #8892a6;
}

#onizle-cubuk .onizle-ipucu b { color: #ffd23f; }
#onizle-durum { font-size: 11.5px; margin-bottom: 9px; }

.modal {
  background: #131a2a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 30px 36px;
  color: #f2f4f8;
  text-align: center;
  max-width: 580px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal h1 { font-size: 28px; margin-bottom: 12px; }
.modal h2 { font-size: 22px; margin-bottom: 16px; }
.modal p { font-size: 14.5px; color: #c6cede; line-height: 1.5; }

.modal .controls {
  margin: 18px 0;
  text-align: left;
  font-size: 13.5px;
  color: #dde3ee;
  display: grid;
  gap: 7px;
}

.modal .controls b { color: #ffd23f; }

.modal .small, .small {
  font-size: 11.5px;
  color: #8892a6;
  margin-top: 12px;
}

.start-loc {
  margin: 14px 0 4px;
  font-size: 13px;
  color: #dde3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.start-loc {
  flex-direction: column;
  gap: 6px;
}

.start-loc input,
#travel-search {
  width: 100%;
  font-size: 13.5px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #1c2438;
  color: #eef1f7;
  outline: none;
}

.start-loc input:focus,
#travel-search:focus { border-color: rgba(255, 210, 63, 0.6); }

#travel-search { margin-bottom: 10px; }

#start-picked {
  font-size: 12.5px;
  color: #7ce38b;
  font-weight: 700;
}

/* ⌨️ Kısayol paneli — solda, katlanabilir */
#keys {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  display: flex;
  align-items: center;
  max-height: 78vh;
}

#keys-body {
  width: 268px;
  max-height: 78vh;
  overflow-y: auto;
  padding: 12px 13px;
  background: rgba(12, 16, 28, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: none;
  border-radius: 0 12px 12px 0;
  color: #dfe5f0;
  font-size: 12px;
  transition: width 0.18s ease, padding 0.18s ease, opacity 0.15s ease;
}

/* Kapalıyken tamamen kaldır: genişliği 0 yapmak yetmiyor, içerik dikeyde
   yer kaplamaya devam edip sekmeyi ekranın ortasından kaydırıyor */
#keys.kapali #keys-body { display: none; }

#keys-tab {
  order: 2; /* panel solda, sekme onun sağında */
  margin: 0;
  padding: 10px 7px;
  width: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: none;
  border-radius: 0 10px 10px 0;
  background: rgba(12, 16, 28, 0.86);
  color: #ffd23f;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  writing-mode: vertical-rl;
  letter-spacing: 1px;
}

#keys-tab:hover { background: rgba(30, 40, 62, 0.92); }
#keys.kapali #keys-ok { display: inline-block; transform: rotate(180deg); }
#keys:not(.kapali) .keys-yazi { display: none; }

.keys-grup {
  font-size: 11px;
  font-weight: 700;
  color: #ffd23f;
  margin: 10px 0 5px;
  letter-spacing: 0.3px;
}

.keys-grup:first-child { margin-top: 0; }

.keys-satir {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 5px;
  line-height: 1.4;
}

.keys-satir kbd {
  flex: 0 0 auto;
  min-width: 34px;
  text-align: center;
  padding: 2px 6px;
  border-radius: 5px;
  background: #263150;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom-width: 2px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.keys-satir span { color: #b9c2d3; }

/* 🧭 Mini harita */
/* Yuvarlak kırpma ve çerçeve canvas'ın İÇİNDE çizilir: CSS border-radius + overflow
   + box-shadow üçlüsü her karede ayrı bir kompozit katman yaratıp FPS'i düşürüyordu. */
#minimap-wrap {
  position: fixed;
  right: 16px;
  bottom: 74px;
  z-index: 1100;
  width: 150px;
  height: 150px;
}

#minimap { display: block; width: 150px; height: 150px; }

#mm-north {
  position: absolute;
  top: 3px;
  left: 50%;
  margin-left: -7px;
  width: 14px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: #ffd23f;
  text-shadow: 0 1px 3px #000;
  transform-origin: 50% 72px; /* daire merkezi çevresinde pusula gibi döner */
  pointer-events: none;
}

/* Açılış hikâyesi */
#story {
  position: fixed;
  inset: 0;
  z-index: 2100; /* giriş ekranı (2000) dahil her modalın üstünde */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 9, 16, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.story-modal { max-width: 560px; }

.story-text {
  font-size: 15px;
  line-height: 1.65;
  color: #dfe5f0;
  text-align: left;
  margin: 14px 4px 18px;
}

.story-text b { color: #ffd23f; }

.story-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 14px;
}

.story-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.story-dot.aktif { background: #ffd23f; }

#story a { color: #9fb0cc; }

/* Adım adım eğitim kartı */
#tut {
  position: fixed;
  left: 16px;
  bottom: 74px;
  z-index: 1100;
  width: 310px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(12, 16, 28, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 210, 63, 0.45);
  color: #f2f4f8;
  font-size: 13px;
}

.tut-ust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #ffd23f;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.tut-atla {
  background: none;
  border: none;
  color: #8f9bb3;
  font-size: 11.5px;
  cursor: pointer;
  padding: 2px 4px;
  width: auto;
  margin: 0;
}

.tut-atla:hover { color: #ff8f8f; }
.tut-baslik { font-weight: 700; font-size: 14.5px; margin-bottom: 5px; }
.tut-metin { line-height: 1.55; color: #cfd7e6; }
.tut-metin b { color: #ffd23f; }

/* Giriş ekranı tema seçici */
.theme-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.theme-btn {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1c2438;
  color: #dde3ee;
  font-size: 12px;
  cursor: pointer;
}

.theme-btn:hover { background: #263150; }

.theme-btn.secili {
  border-color: #ffd23f;
  background: #33302099;
  color: #ffd23f;
  font-weight: 700;
}

/* 👤 Hesap: giriş kutusu, profil sekmesi, geçmiş */
.giris-kutu { width: 100%; margin: 12px 0 4px; }

.giris-uyari, .giris-ok {
  font-size: 12.5px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 9px;
  text-align: left;
}

.giris-uyari {
  background: rgba(255, 210, 63, 0.09);
  border: 1px solid rgba(255, 210, 63, 0.35);
  color: #ffe08a;
}

.giris-ok {
  background: rgba(124, 227, 139, 0.09);
  border: 1px solid rgba(124, 227, 139, 0.32);
  color: #a7ecb4;
}

/* Google'ın kendi düğmesi buraya çizilir (renderButton) */
.gis-kutu {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  min-height: 0;
}

.gis-kutu:empty { display: none; }

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 9px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #fff;
  color: #1f2430;
  cursor: pointer;
}

.google-btn:hover { background: #eef1f7; }

.g-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

#hud-hesap.misafir { color: #ffd23f; }

.profil-kart { display: flex; align-items: center; gap: 11px; text-align: left; }
.profil-bilgi { flex: 1; min-width: 0; }
.profil-bilgi .pc-desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.profil-foto {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.pf-bos {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c2438;
  font-size: 20px;
}

.profil-izgara {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 12px 0 4px;
}

.profil-kutu {
  background: #161e30;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 9px 6px;
  text-align: center;
}

.pk-ikon { font-size: 15px; }
.pk-deger { font-size: 14px; font-weight: 700; color: #ffd23f; margin-top: 2px; }
.pk-ad { font-size: 10.5px; color: #8892a6; margin-top: 1px; }

.gecmis-kart { display: flex; align-items: center; gap: 10px; text-align: left; }
.gk-sol { flex: 1; min-width: 0; }
.gk-sag { text-align: right; flex-shrink: 0; }
.gk-para { font-size: 14px; font-weight: 700; color: #7ce38b; }
.gecmis-not { color: #8892a6; font-weight: 400; }

.shift-kayit {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #c6cede;
}

.shift-kayit.ok { color: #a7ecb4; }

.shift-kayit.uyari {
  background: rgba(255, 210, 63, 0.1);
  border: 1px solid rgba(255, 210, 63, 0.3);
  color: #ffe08a;
}

/* Arama sonuç listesi */
#start-results {
  width: 100%;
  max-height: 210px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: #141b2c;
}

.sr-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 8px 11px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: none;
  color: #eef1f7;
  cursor: pointer;
  font-size: 13px;
}

.sr-item:hover { background: #222c44; }
.sr-ad { font-weight: 700; }
.sr-il { color: #aab3c5; font-size: 11.5px; flex: 1; }

.sr-tip {
  font-size: 10px;
  color: #8892a6;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  padding: 1px 6px;
  white-space: nowrap;
}

.sr-bos {
  padding: 9px 11px;
  font-size: 11.5px;
  color: #8892a6;
}

#start-btn, #shift-btn, #resume-btn, #story-body > button {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 34px;
  border: none;
  border-radius: 10px;
  background: #e63946;
  color: #fff;
  cursor: pointer;
}

#start-btn:hover, #shift-btn:hover, #resume-btn:hover, #story-body > button:hover { background: #f04e5b; }

#start-btn:disabled {
  background: #3a4358;
  color: #aab3c5;
  cursor: progress;
  animation: btn-pulse 1.2s ease-in-out infinite;
}

@keyframes btn-pulse {
  50% { opacity: 0.65; }
}

#travel-list {
  max-height: 46vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: #141b2c;
  text-align: left;
}

/* ---------- Telefon ---------- */
.phone-modal { width: 480px; max-width: 92vw; }

.tabs {
  display: flex;
  flex-wrap: wrap;          /* 5. sekme (Profil) dar ekranda tasmasin */
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}

.tab-btn {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #1c2438;
  color: #eef1f7;
  cursor: pointer;
}

.tab-btn.tab-active {
  background: #e63946;
  border-color: #e63946;
  font-weight: 700;
}

#phone-content {
  /* Profil sekmesi 6 kutu + geçmiş listesi taşıyor; 48vh çok kısaydı */
  max-height: 56vh;
  overflow-y: auto;
  text-align: left;
}

.phone-card {
  background: #1c2438;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}

.phone-card .pc-title {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
}

.phone-card .pc-desc {
  font-size: 12.5px;
  color: #aab3c5;
  margin-bottom: 8px;
}

.phone-card button {
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border: none;
  border-radius: 7px;
  background: #2a9d5c;
  color: #fff;
  cursor: pointer;
}

.phone-card button:hover { background: #33b76d; }
.phone-card button:disabled { background: #3a4358; cursor: default; }

.contract-card { border-color: rgba(255, 210, 63, 0.45); }
.ach-done { opacity: 0.75; }

/* ---------- Bina içi ---------- */
#interior-title {
  color: #f2f4f8;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

#interior-canvas {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  max-width: 92vw;
}

#interior .small { color: #aab3c5; }

/* ---------- Hızlı dükkan paneli ---------- */
#shop-panel {
  bottom: 24px;
  left: 14px;
  max-width: 420px;
}

.shop-title {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.shop-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #1c2438;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 8px 10px 6px;
  cursor: pointer;
  color: #eef1f7;
  min-width: 76px;
}

.shop-item:hover {
  background: #2a3550;
  border-color: rgba(255, 210, 63, 0.55);
}

.si-key {
  position: absolute;
  top: 3px;
  left: 6px;
  font-size: 9px;
  color: #8892a6;
  font-weight: 700;
}

.si-emoji { font-size: 27px; line-height: 1.1; }
.si-name { font-size: 10.5px; text-align: center; }
.si-price { font-size: 11.5px; font-weight: 700; color: #7ce38b; }

.shop-hint {
  margin-top: 7px;
  font-size: 10.5px;
  color: #8892a6;
}

.interior-buy {
  margin-top: 12px;
  background: rgba(255, 210, 63, 0.95);
  color: #1a1a1a;
  font-size: 14.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* --- Giriş ekranı sıkıştırılmış tipografi ---
   Tanıtım listesi uzun; varsayılan boyutlarda içerik 1046 px oluyor ve
   1000 px'in altındaki pencerelerde kaydırma gerekiyordu. Yalnızca #intro
   altında küçültülür, oyun içi modallar aynı kalır. */
#intro .modal { padding: 18px 24px; }
#intro .modal h1 { font-size: 21px; margin-bottom: 7px; }
#intro .modal p { font-size: 12.5px; line-height: 1.45; }
#intro .modal .controls { margin: 11px 0; font-size: 11.5px; gap: 3px; line-height: 1.35; }
#intro .modal .small { font-size: 10.5px; margin-top: 7px; line-height: 1.4; }
#intro .start-loc { margin: 9px 0 2px; gap: 4px; font-size: 12px; }
#intro .start-loc input { font-size: 12.5px; padding: 8px 11px; }
#intro #start-picked { font-size: 12px; }
#intro .theme-row { gap: 5px; }
#intro .theme-btn { padding: 5px 9px; font-size: 11px; }
#intro .map-status { margin-top: 7px; font-size: 11px; min-height: 14px; }
#intro .giris-kutu { margin: 9px 0 2px; }
#intro .giris-uyari, #intro .giris-ok { font-size: 11.5px; padding: 8px 10px; line-height: 1.45; }
#intro .gis-kutu { margin-top: 8px; }
#intro #start-btn { margin-top: 12px; font-size: 15px; padding: 10px 28px; }
