/* stil-dunya */
/* Uzun, boşluksuz yazılar site sayfasını taşırmasın */
.site h1, .site h2, .site nav, .site p, .s-urun-ad, .s-afis * { overflow-wrap: anywhere; min-width: 0; }

/* ---------- Dünya: ihtiyaçlar, konum, perde, telefon, panel ---------- */
.oyuncu-ust { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.oyuncu-ust .oyuncu-ad { margin-bottom: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yer-cip { font-size: 11.5px; font-weight: 800; background: var(--krem2, #f3eadb); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 8px; white-space: nowrap; max-width: 62%; overflow: hidden; text-overflow: ellipsis; flex-shrink: 1; min-width: 0; }
.oyuncu-ust .oyuncu-ad { flex-shrink: 0; max-width: 45%; }
.ih-ikon.eglence { background: #b9a4ff; }
.ih-ikon.hijyen { background: #8fe0d2; }
.dolgu.eglence { background: linear-gradient(#cdbdff, #9d82ff); }
.dolgu.hijyen { background: linear-gradient(#a8f0e2, #52c7b0); }
.dolgu.dusuk { animation: dusuk-yan 1s infinite; }
@keyframes dusuk-yan { 50% { filter: brightness(1.35) saturate(1.4); } }

#telefon-dugme { position: absolute; right: 80px; bottom: 16px; font-size: 24px; cursor: pointer; }
#tel-rozet { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: #ef4b4b; border: 2px solid var(--ink); font-style: normal; font-size: 11px; font-weight: 800; color: #fff; display: grid; place-items: center; padding: 0 3px; }

#perde { position: fixed; inset: 0; z-index: 65; background: #1a1626; display: grid; place-items: center; opacity: 1; transition: opacity .35s; pointer-events: all; }
#perde.acik { opacity: 0; pointer-events: none; }
#perde-yazi { color: #fff3ea; font: 800 22px 'Baloo 2', sans-serif; letter-spacing: .04em; text-align: center; }
#perde-yazi small { display: block; font-size: 14px; font-weight: 600; opacity: .7; }

#telefon { position: fixed; right: 24px; bottom: 90px; z-index: 55; animation: tel-gel .3s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes tel-gel { from { transform: translateY(40px) rotate(4deg); opacity: 0; } }
.tel-kasa { width: 372px; height: min(720px, calc(100vh - 190px)); min-height: 440px; background: #15131d; border-radius: 42px; padding: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 0 0 3px #3a3548; display: flex; flex-direction: column; }
.tel-ust { display: flex; justify-content: space-between; align-items: center; color: #fff; font: 700 13px 'Nunito', sans-serif; padding: 4px 18px 8px; }
.tel-centik { width: 90px; height: 22px; background: #000; border-radius: 12px; }
#tel-ekran { flex: 1; background: #fff; border-radius: 30px; overflow: auto; position: relative; container-type: inline-size; }
.tel-ev { width: 110px; height: 5px; border-radius: 3px; background: #6b6680; border: none; margin: 9px auto 2px; cursor: pointer; }
.tel-ana { min-height: 100%; background: linear-gradient(160deg, #ffb36b, #ff6a3d 45%, #7b5cff); padding: 26px 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; align-content: start; }
.tel-app { display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: none; color: #fff; font: 700 11.5px 'Nunito', sans-serif; cursor: pointer; position: relative; }
.tel-app i { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-style: normal; font-size: 30px; background: rgba(255,255,255,.92); box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.tel-app b { position: absolute; top: -4px; right: 2px; background: #ef4b4b; color: #fff; border-radius: 9px; min-width: 18px; height: 18px; font-size: 11px; display: grid; place-items: center; }
.tel-app-ust { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-bottom: 1px solid #eee; font: 800 16px 'Baloo 2', sans-serif; }
.tel-app-ust button { border: none; background: #f1ece4; border-radius: 10px; width: 32px; height: 30px; font-size: 16px; cursor: pointer; }
.tel-icerik { padding: 12px; font-family: 'Nunito', sans-serif; }

#panel { position: fixed; inset: 0; z-index: 58; background: rgba(15, 12, 28, .5); display: grid; place-items: center; }
.panel-kutu { width: min(980px, 94vw); max-height: 90vh; display: flex; flex-direction: column; background: var(--krem, #fff8ef); border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--golge); overflow: hidden; animation: crt-ac .3s cubic-bezier(.2, 1.3, .4, 1); }
.panel-ust { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 3px solid var(--ink); background: var(--krem2, #f3eadb); font: 800 20px 'Baloo 2', sans-serif; }
#panel-icerik { overflow: auto; padding: 16px 18px; }
@media (max-width: 700px) { .tel-kasa { width: calc(100vw - 24px); } #telefon { right: 12px; } #alt-sol { width: 200px; } }

/* Karakter oluşturma: sekmeli */
.yarat-kart { width: 360px; max-height: 88vh; }
.yarat-ust { display: flex; align-items: center; justify-content: space-between; }
.y-sekmeler { display: flex; gap: 4px; background: var(--krem2, #f3eadb); padding: 4px; border-radius: 12px; }
.y-sekmeler button { flex: 1; border: none; background: transparent; border-radius: 9px; font: 800 14px var(--yaz, 'Baloo 2'); padding: 5px 0; color: #7c7489; cursor: pointer; }
.y-sekmeler button.secili { background: var(--ink); color: #fff; }
.y-secenekler { overflow: auto; display: flex; flex-direction: column; gap: 10px; min-height: 200px; max-height: 46vh; padding-right: 4px; }
.y-secenekler .secenekler button { font-size: 13.5px; padding: 3px 10px; }
.y-secenekler .secenekler.renkli button { width: 30px; height: 30px; }
@media (max-height: 700px) { .y-secenekler { max-height: 36vh; } }
.y-secenekler.devami { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
.y-secenekler::-webkit-scrollbar { width: 8px; } .y-secenekler::-webkit-scrollbar-thumb { background: #c9bfae; border-radius: 4px; }

/* ---------- Sohbet (mahalle insanları) ---------- */
#sohbet { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; width: min(720px, 94vw); animation: sh-gel .25s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes sh-gel { from { transform: translate(-50%, 30px); opacity: 0; } }
.sh-kutu { background: var(--krem, #fff8ef); border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--golge); padding: 14px 16px 16px; }
.sh-ust { display: flex; align-items: center; gap: 10px; }
.sh-ikon { width: 44px; height: 44px; border-radius: 14px; background: var(--sari, #ffd24a); border: 3px solid var(--ink); display: grid; place-items: center; font-size: 24px; flex: none; }
.sh-kim { display: flex; flex-direction: column; line-height: 1.1; flex: 1; min-width: 0; }
.sh-kim b { font: 800 19px 'Baloo 2', sans-serif; }
.sh-kim small { font: 700 12.5px 'Nunito', sans-serif; color: #7c7489; }
.sh-dost { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font: 800 12px 'Nunito', sans-serif; color: #7b5cff; }
.sh-bar { width: 120px; height: 10px; border: 2px solid var(--ink); border-radius: 6px; background: #e8e0d4; overflow: hidden; }
.sh-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff8ab8, #7b5cff); }
.sh-kapat { border: none; background: none; font-size: 18px; cursor: pointer; color: #7c7489; }
.sh-metin { margin: 12px 2px 12px; font: 700 17px/1.35 'Nunito', sans-serif; background: #fff; border: 2px solid #eadfcf; border-radius: 14px; padding: 10px 14px; position: relative; }
.sh-metin::before { content: ''; position: absolute; left: 22px; top: -9px; border: 8px solid transparent; border-bottom-color: #eadfcf; border-top: none; }
.sh-dugmeler { display: flex; flex-wrap: wrap; gap: 7px; }
.sh-dugmeler button { border: 2.5px solid var(--ink); background: #fff; border-radius: 12px; padding: 6px 12px; font: 800 14px 'Nunito', sans-serif; cursor: pointer; }
.sh-dugmeler button:hover:not(:disabled) { background: var(--sari, #ffd24a); }
.sh-dugmeler button.yardim { background: #efe6ff; }
.sh-dugmeler button.kilitli, .sh-dugmeler button:disabled { opacity: .5; cursor: default; }
.sh-dugmeler button.ikincil { margin-left: auto; background: var(--krem2, #f3eadb); }
.ik-sirketim { background: #34495e; }
.ik-holding { background: #1f2d4d; }

/* ---------- Emlak ---------- */
.em-ust { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.em-nuri { font: 700 15px 'Nunito', sans-serif; background: #eaf2ff; border: 2px solid #b8cff0; border-radius: 14px; padding: 8px 12px; }
.em-sekmeler, .sr-sekmeler { display: flex; gap: 6px; flex-wrap: wrap; }
.em-sekmeler button, .sr-sekmeler button { border: 2.5px solid var(--ink); background: #fff; border-radius: 12px; padding: 5px 12px; font: 800 14px 'Nunito', sans-serif; cursor: pointer; }
.em-sekmeler button.secili, .sr-sekmeler button.secili { background: var(--ink); color: #fff; }
.em-liste { display: flex; flex-direction: column; gap: 10px; }
.em-kart { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; padding: 12px 14px; }
.em-kart.sahip { background: #eafaf1; }
.em-kart.kilitli { opacity: .65; }
.em-ikon { font-size: 40px; text-align: center; }
.em-bilgi b { font: 800 18px 'Baloo 2', sans-serif; }
.em-bilgi small { display: block; color: #7c7489; font-weight: 700; }
.em-bilgi p { margin: 4px 0; font: 600 14px 'Nunito', sans-serif; }
.em-rakam { display: flex; gap: 14px; flex-wrap: wrap; font: 700 13px 'Nunito', sans-serif; color: #5b5570; }
.em-dugme { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.em-senin { color: #1f9d62; font-weight: 800; }
.em-kilit { color: #9a8fa8; font-weight: 800; font-size: 13px; }
.em-not { font: 600 14px 'Nunito', sans-serif; }
@container (max-width: 420px) { .em-kart { grid-template-columns: 1fr; } }

/* ---------- Yolculuk ---------- */
.yl { display: flex; flex-direction: column; gap: 12px; }
.yl-yollar { display: flex; gap: 8px; flex-wrap: wrap; }
.yl-yollar button { flex: 1; min-width: 110px; border: 2.5px solid var(--ink); background: #fff; border-radius: 12px; padding: 6px 10px; font: 800 15px 'Nunito', sans-serif; cursor: pointer; display: flex; flex-direction: column; }
.yl-yollar button small { font-weight: 700; color: #7c7489; }
.yl-yollar button.secili { background: var(--sari, #ffd24a); }
.yl-hedefler { display: flex; flex-direction: column; gap: 6px; }
.yl-hedef { display: flex; align-items: center; gap: 10px; border: 2.5px solid var(--ink); background: #fff; border-radius: 12px; padding: 8px 12px; cursor: pointer; font: 700 15px 'Nunito', sans-serif; text-align: left; }
.yl-hedef:hover { background: #eaf2ff; }
.yl-hedef span { font-size: 24px; }

/* ---------- Şirketim ---------- */
.sr { font-family: 'Nunito', sans-serif; padding: 4px; }
.sr-ust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sr-ust > b { font: 800 22px 'Baloo 2', sans-serif; }
.sr-kutular { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.sr-kutular div { background: #fff; border: 2px solid #e2d8c8; border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; }
.sr-kutular span { font-size: 12px; font-weight: 800; color: #7c7489; text-transform: uppercase; }
.sr-kutular b { font: 800 20px 'Baloo 2', sans-serif; }
.sr h3 { font: 800 17px 'Baloo 2', sans-serif; margin: 14px 0 6px; }
.sr h3 small { font: 700 12.5px 'Nunito', sans-serif; color: #7c7489; margin-left: 6px; }
.sr-cipler { display: flex; gap: 6px; flex-wrap: wrap; }
.sr-cip { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; font-weight: 800; font-size: 13px; }
.sr-ipucu { margin: 0; padding-left: 20px; font-weight: 600; font-size: 14px; }
.sr-bos { font-weight: 700; color: #7c7489; padding: 20px; text-align: center; }
.sr-ilan { background: #fff8e0; border: 2px dashed #e0b84a; border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; }
.sr-ilan > div { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.sr-tablo { width: 100%; border-collapse: collapse; font-size: 14px; }
.sr-tablo th { text-align: left; font-size: 12px; color: #7c7489; text-transform: uppercase; padding: 4px 6px; }
.sr-tablo td { padding: 6px; border-top: 1px solid #ece3d4; vertical-align: middle; }
.sr-tablo td small { display: block; color: #7c7489; font-size: 11.5px; }
.sr-tablo select, .sr-ist select { font: 700 13px 'Nunito', sans-serif; border: 2px solid #d9cfbf; border-radius: 8px; padding: 2px 4px; max-width: 190px; }
.sr-mut { width: 70px; height: 9px; border-radius: 5px; background: #e8e0d4; overflow: hidden; }
.sr-mut i { display: block; height: 100%; }
.sr-maas { white-space: nowrap; }
.sr-maas button { border: 2px solid var(--ink); background: #fff; border-radius: 7px; width: 22px; height: 22px; font-weight: 800; cursor: pointer; }
.sr-mesai { margin-top: 10px; }
.sr-adaylar { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sr-aday { background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.sr-aday-ust b { font: 800 17px 'Baloo 2', sans-serif; display: block; }
.sr-aday-ust small { color: #7c7489; font-weight: 700; }
.sr-aday-dugme { display: flex; gap: 6px; margin-top: 6px; }
.sr-yer-kutu { background: #fff; border: 2px solid #e2d8c8; border-radius: 14px; padding: 8px 12px 12px; margin-bottom: 10px; }
.sr-istasyonlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.sr-ist { border: 2px solid #d9cfbf; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 5px; background: #fbf7f0; }
.sr-ist.calisiyor { border-color: #1f9d62; background: #eefaf3; }
.sr-ist.destek { background: #f3f0fa; border-style: dashed; }
.sr-ist-ad { font-weight: 800; }
.sr-canli { color: #1f9d62; font-size: 12px; }
.sr-makine-al { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sr-dukkan { background: #fff; border: 2px solid #e2d8c8; border-radius: 14px; padding: 8px 12px 12px; margin-bottom: 10px; }
.sr-dk-bilgi { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.sr-raf { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.sr-raf > b { width: 100%; font-size: 13px; }
.sr-raf-urun { border: 2px solid #d9cfbf; border-radius: 10px; padding: 3px 8px; font-weight: 700; font-size: 13px; cursor: pointer; }
.sr-raf-urun.secili { border-color: var(--ink); background: #fff3c4; }
.sr-raf-urun small { color: #7c7489; }
.tel-icerik .sr-tablo { font-size: 12px; }
.tel-icerik .sr-tablo th:nth-child(4), .tel-icerik .sr-tablo td:nth-child(4) { display: none; }

/* Aktif olay/kampanya çipleri (saatin altında) */
#etkiler { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 60vw; pointer-events: auto; }
.etki-cip { background: var(--krem, #fff8ef); border: 2.5px solid var(--ink); border-radius: 999px; padding: 2px 10px; font: 800 12.5px 'Nunito', sans-serif; box-shadow: 0 3px 0 var(--ink); }
.etki-cip.iyi { background: #e3f8ec; } .etki-cip.kotu { background: #ffe6e3; }
.saat-sol { cursor: pointer; }
.gd-grup { margin: 8px 0; } .gd-grup > b { font: 800 14px 'Nunito', sans-serif; }
.at-makineli { grid-column: 1 / -1; font: 700 13px 'Nunito', sans-serif; background: #fff4d6; border: 2px dashed #e0b84a; border-radius: 12px; padding: 8px 12px; }

/* Galeri ve mobil oyun (telefon) */
.gl { display: flex; flex-direction: column; gap: 8px; font-family: 'Nunito', sans-serif; }
.gl-ust { margin: 0 0 4px; font-size: 14px; }
.gl-kart { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; border: 2px solid #e2d8c8; border-radius: 14px; padding: 8px 10px; background: #fff; }
.gl-kart.benim { border-color: #1f9d62; background: #eefaf3; }
.gl-renk { width: 44px; height: 26px; border-radius: 8px; border: 2px solid var(--ink); }
.gl-bilgi { display: flex; flex-direction: column; font-size: 13px; }
.gl-bilgi b { font-size: 15px; } .gl-bilgi small { color: #7c7489; } .gl-bilgi span { font-weight: 800; }
.mo { text-align: center; font-family: 'Nunito', sans-serif; padding: 20px 10px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.mo-ekran { font-size: 48px; background: linear-gradient(135deg, #7b5cff, #ff6a3d); border-radius: 18px; padding: 24px 30px; letter-spacing: 8px; }
