:root {
  --bg: #f1e8d5;
  --dot: #dcc9a8;
  --card: #fffdf6;
  --line: #e8dcc4;
  --line-strong: #d9c9a8;
  --ink: #2a2518;
  --sub: #8d8171;
  --faint: #b3a890;
  --orange: #f57d00;
  --orange-hi: #ff9d2e;
  --orange-dark: #c25f00;
  --dark: #1b1a17;
  --dark-2: #262420;
  --green: #1d8a4b;
  --red: #d23f2e;
  --gold: #f5b821;
  --banner: #fcf2d4;
  --banner-line: #eedfa9;
  --radius: 16px;
  --sans: 'Segoe UI', 'Trebuchet MS', 'DejaVu Sans', sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; margin: 0; }
body { overflow: hidden; background: var(--dark); color: var(--ink); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid var(--orange-hi); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }

.app { height: 100%; min-width: 720px; display: flex; flex-direction: column; }

/* ---------- TOPBAR ---------- */
.topbar { height: 62px; min-height: 62px; display: flex; align-items: center; gap: 26px; padding: 0 18px 0 14px; background: var(--dark); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; }
.brand-logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(180deg, #ffc93c, #f5a713); font-size: 23px; box-shadow: 0 2px 0 #b97c00; }
.brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-text strong { font-size: 15px; font-weight: 800; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.brand-text small { color: #a89d8b; font-size: 11px; white-space: nowrap; }
.tb-stat { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.tb-stat small { color: #978d7c; font-size: 10px; letter-spacing: 1.1px; font-weight: 700; }
.tb-stat strong { font-size: 16px; font-weight: 800; }
.tb-stars { color: var(--gold); display: flex; align-items: center; gap: 6px; }
.tb-stars span { letter-spacing: 1px; font-size: 14px; }
.tb-stars b { color: #fff; }
.tb-spacer { flex: 1; }
.tb-icon { position: relative; width: 42px; height: 38px; border: 0; border-radius: 10px; background: #353229; color: #f3ead6; font-size: 17px; font-weight: 700; }
.tb-icon:hover { background: #46422f; }
.mail-badge { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 4px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; font-style: normal; border: 2px solid var(--dark); }
.mail-wrap { position: relative; }
.mail-panel { position: absolute; z-index: 60; top: 48px; right: -60px; width: 360px; max-height: 60vh; overflow: auto; padding: 10px; border-radius: 14px; background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: 0 16px 40px rgba(20, 14, 2, .35); }
.mail-item { display: flex; gap: 9px; padding: 9px 8px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.mail-item:last-child { border-bottom: 0; }
.mail-item small { color: var(--sub); white-space: nowrap; font-weight: 700; }
.time-box { display: flex; align-items: center; gap: 5px; padding: 5px; border-radius: 12px; background: #2a2822; }
.speed-chip { min-width: 40px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: #9c927f; font-weight: 800; font-size: 13px; }
.speed-chip.active { background: var(--orange); color: #fff; box-shadow: 0 2px 0 var(--orange-dark); }
.date-badge { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 11px; background: #2f2c25; border: 1px solid #45412f; font-weight: 800; font-size: 14px; white-space: nowrap; }
.date-ico { font-size: 16px; }

/* ---------- HAZARD STRIPE ---------- */
.hazard { height: 10px; min-height: 10px; background: repeating-linear-gradient(120deg, #f2b705 0 18px, #1b1a17 18px 36px); }

/* ---------- LAYOUT ---------- */
.layout { flex: 1; min-height: 0; display: flex; }
.sidebar { width: 104px; min-width: 104px; padding: 12px 10px 18px; background: #211f1a; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; scrollbar-width: none; }
.sidebar::-webkit-scrollbar { display: none; }
.side-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px 8px; border: 0; border-radius: 14px; background: transparent; color: #b5ab97; font-size: 12px; font-weight: 700; transition: .15s; }
.side-item .ico { font-size: 24px; line-height: 1; filter: grayscale(.25); }
.side-item:hover { background: #2d2a23; color: #ece2cc; }
.side-item.active { background: var(--orange); color: #fff; box-shadow: 0 3px 0 var(--orange-dark); }
.side-item.active .ico { filter: none; }

.main { flex: 1; min-width: 0; overflow-y: auto; background: var(--bg); background-image: radial-gradient(var(--dot) 1.3px, transparent 1.4px); background-size: 26px 26px; scrollbar-width: thin; scrollbar-color: #c7b48e transparent; }
.content { max-width: 1160px; margin: 0 auto; padding: 20px 22px 40px; }

/* ---------- SHARED ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 0 rgba(160, 138, 94, .14); }
.banner { display: flex; align-items: center; gap: 12px; padding: 11px 15px; margin-bottom: 14px; border-radius: 13px; background: var(--banner); border: 1px solid var(--banner-line); font-size: 13.5px; line-height: 1.5; }
.banner .big-ico { font-size: 30px; }
.banner.dark-banner { background: var(--dark-2); border-color: #3b382e; color: #f0e8d6; }
.banner b { font-weight: 800; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: linear-gradient(180deg, var(--orange-hi), var(--orange)); color: #fff; font-weight: 800; font-size: 13.5px; letter-spacing: .2px; box-shadow: 0 2px 0 var(--orange-dark); transition: .12s; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--orange-dark); }
.btn:disabled { background: #cfc3ab; color: #8d8370; box-shadow: 0 3px 0 #b3a68c; cursor: not-allowed; filter: none; transform: none; }
.btn.btn-ghost { background: #f4ecda; color: #6b6049; box-shadow: 0 3px 0 #d6c8a8; border: 1px solid var(--line-strong); }
.btn.btn-dark { background: var(--dark-2); color: #fff; box-shadow: 0 3px 0 #000; }
.btn.btn-green { background: linear-gradient(180deg, #2fae63, #1d8a4b); box-shadow: 0 3px 0 #106533; }
.btn.btn-danger { background: linear-gradient(180deg, #e05a49, #c23a29); box-shadow: 0 2px 0 #8c2415; }
.danger-card { border-color: #e8c4ba; }
.btn.btn-sm { min-height: 31px; padding: 0 12px; font-size: 12px; border-radius: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 17px; background: #faf4e4; color: #54493a; font-weight: 800; font-size: 12.5px; }
.chip.active { background: var(--dark); border-color: var(--dark); color: #fff; }
.chip:disabled { opacity: .6; cursor: not-allowed; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 33px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: #faf4e4; font-weight: 800; font-size: 12.5px; color: #55493a; }
.pill.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.muted { color: var(--sub); }
.green { color: var(--green); font-weight: 800; }
.red { color: var(--red); font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 2px 12px; }
.section-head h2 { font-size: 19px; font-weight: 800; }
.section-head .muted { font-size: 13px; font-weight: 600; }

/* ---------- DASHBOARD ---------- */
.dash { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 18px; align-items: start; }
.kasa-card { padding: 20px; }
.kasa-top { display: flex; justify-content: space-between; align-items: start; }
.kasa-top small { color: var(--sub); font-size: 12px; letter-spacing: 1.2px; font-weight: 800; }
.kasa-value { font-size: 34px; font-weight: 800; letter-spacing: -1px; margin-top: 6px; }
.kasa-net { color: var(--sub); font-size: 14px; margin-top: 4px; font-weight: 600; }
.rank-badge { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 13px; background: #fdf3d3; border: 1.5px solid #f2d98a; font-weight: 800; font-size: 19px; color: #a06a00; }
.kasa-divider { height: 3px; margin: 16px 0; border-radius: 2px; background: linear-gradient(90deg, #2fae63, #1d8a4b); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.stat-box { padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #faf5e8; }
.stat-box small { display: block; color: var(--sub); font-size: 10.5px; font-weight: 800; letter-spacing: .6px; }
.stat-box b { display: block; margin-top: 4px; font-size: 15px; font-weight: 800; }
.rank-hint { margin-top: 13px; color: var(--sub); font-size: 13.5px; font-weight: 600; line-height: 1.45; }

.sites-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sites-head h2 { font-size: 18px; font-weight: 800; letter-spacing: .3px; }
.sites-head .muted { font-size: 13.5px; font-weight: 700; }
.site-card { margin-bottom: 14px; overflow: hidden; }
.site-body { display: flex; gap: 16px; padding: 14px; }
.site-art { position: relative; width: 148px; min-width: 148px; height: 112px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #aee1f0 0%, #d8eef0 55%, #b9d6a0 55%, #a4c489 100%); }
.site-art.art-night { background: linear-gradient(180deg, #2b2a52 0%, #4a3f6e 60%, #3a3147 60%, #2c2536 100%); }
.site-art .art-emoji { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-size: 44px; line-height: 1; filter: drop-shadow(0 4px 3px rgba(30, 40, 30, .3)); }
.site-art .art-crane { position: absolute; top: 8px; right: 10px; font-size: 22px; }
.site-art .art-tag { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 7px; background: rgba(20, 24, 18, .72); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .4px; }
.site-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.site-title { display: flex; align-items: center; gap: 8px; font-size: 16.5px; font-weight: 800; }
.site-sub { color: var(--sub); font-size: 13px; font-weight: 600; }
.progress { position: relative; height: 14px; border-radius: 8px; background: #eadfc6; overflow: hidden; }
.progress > i { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: linear-gradient(180deg, #ffb340, var(--orange)); transition: width .4s; }
.progress.progress-green > i { background: linear-gradient(180deg, #37c272, #1d8a4b); }
.site-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--sub); font-size: 13px; font-weight: 700; }
.site-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.empty-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 130px; margin-bottom: 14px; border: 2.5px dashed #cbbb95; border-radius: var(--radius); color: #9a8c71; font-weight: 800; background: rgba(255, 253, 246, .5); cursor: pointer; }
.empty-slot .plus { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: 26px; font-weight: 800; box-shadow: 0 3px 0 var(--orange-dark); }
.welcome-card { padding: 18px; margin-bottom: 14px; }
.welcome-card h3 { font-size: 17px; font-weight: 800; }
.welcome-card p { margin-top: 8px; color: #5c5243; font-size: 14.5px; line-height: 1.6; }
.welcome-card .btn { margin-top: 14px; }

/* ---------- ARSALAR ---------- */
.arsa-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; }
.city-list { display: flex; flex-direction: column; gap: 8px; }
.city-chip { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 24px; background: #fbf5e6; font-weight: 800; font-size: 14.5px; color: #4a4133; text-align: left; }
.city-chip .flag { font-size: 17px; }
.city-chip.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.city-chip .lock { margin-left: auto; font-size: 13px; color: var(--sub); font-weight: 700; }
.city-chip.active .lock { color: #cbbfa6; }
.map-card { padding: 16px; }
.map-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.map-head h3 { font-size: 16px; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.map-head .muted { font-size: 12.5px; font-weight: 700; }
.map-box { border-radius: 14px; background: linear-gradient(180deg, #cfe7f2, #e3f0f4); padding: 8px; }
.map-box svg { display: block; width: 100%; height: auto; }
.map-city { cursor: pointer; }
.map-city circle { transition: .15s; }
.map-city:hover circle { r: 13; }
.map-city text { font-family: var(--sans); font-size: 20px; font-weight: 800; fill: #3f3828; }
.district-map-card { padding: 14px; margin-top: 14px; }
.district-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 7px; margin-top: 10px; }
.district-cell { min-width: 0; min-height: 67px; padding: 8px; text-align: left; border: 1px solid #d5c6a5; border-radius: 9px; background: #f5eedb; }
.district-cell b, .district-cell small { display: block; overflow-wrap: anywhere; }
.district-cell small { margin-top: 3px; color: var(--sub); font-size: 11px; }
.district-cell.active { border-color: var(--orange-dark); background: #ffe4bb; box-shadow: inset 0 0 0 1px var(--orange); }
.plot-row { display: flex; align-items: center; gap: 14px; padding: 13px 15px; border-top: 1px solid var(--line); }
.plot-row:first-child { border-top: 0; }
.plot-ico { width: 52px; height: 46px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(160deg, #bfe3c8, #d8caa0); font-size: 24px; }
.plot-main { flex: 1; min-width: 0; }
.plot-main b { font-size: 15.5px; font-weight: 800; }
.plot-main small { display: block; margin-top: 3px; color: var(--sub); font-size: 13px; font-weight: 600; }
.plot-actions { display: flex; align-items: center; gap: 7px; }
.plot-price { font-weight: 800; font-size: 15px; white-space: nowrap; }
.deal-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; }

/* ---------- İHALE ---------- */
.tender-card { padding: 0; overflow: hidden; }
.tender-art { position: relative; height: 150px; background: linear-gradient(180deg, #b7dff0 0%, #ddeef2 62%, #9cc184 62%, #8bb274 100%); display: grid; place-items: center; }
.tender-art .t-emoji { font-size: 64px; filter: drop-shadow(0 5px 4px rgba(30, 40, 30, .25)); }
.tender-art .art-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 8px; background: rgba(20, 24, 18, .75); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .5px; }
.tender-body { padding: 16px 18px 18px; }
.tender-body h3 { font-size: 18px; font-weight: 800; }
.tender-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 14px; color: #564b3a; font-size: 14px; font-weight: 700; }
.bid-label { margin: 4px 0 8px; color: var(--sub); font-size: 13px; font-weight: 800; letter-spacing: .5px; }
.tender-result { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #f3ecd9; border: 1px solid var(--line-strong); font-size: 14.5px; font-weight: 700; line-height: 1.5; }

/* ---------- BANKA ---------- */
.score-card { padding: 20px; background: var(--dark-2); color: #f3ecda; border: 0; }
.score-card small { color: #9b917e; font-size: 11px; letter-spacing: 1.2px; font-weight: 800; }
.score-row { display: flex; justify-content: space-between; align-items: end; margin-top: 6px; }
.score-big { font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.score-big em { color: #857b67; font-style: normal; font-size: 18px; font-weight: 700; }
.score-rate { text-align: right; }
.score-rate small { display: block; }
.score-rate b { font-size: 26px; font-weight: 800; }
.score-bar { position: relative; height: 12px; margin: 16px 0 12px; border-radius: 7px; background: linear-gradient(90deg, #d23f2e, #f2b705 55%, #2fae63); }
.score-bar i { position: absolute; top: -4px; width: 5px; height: 20px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .35); }
.score-note { color: #b0a58e; font-size: 13.5px; line-height: 1.5; }
.loan-form { padding: 18px 20px 20px; }
.loan-form h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; font-weight: 800; }
.loan-form h3 .muted { font-size: 13.5px; font-weight: 700; }
.form-label { margin: 12px 0 6px; color: var(--sub); font-size: 11px; font-weight: 800; letter-spacing: .4px; }
.loan-sum { margin-top: 14px; border-top: 1px dashed var(--line-strong); padding-top: 11px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #574c3b; }
.loan-sum div { display: flex; justify-content: space-between; }
.loan-sum b { font-size: 13.5px; }
.loan-form .btn { width: 100%; margin-top: 16px; }
.loan-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--line); }
.loan-item:first-child { border-top: 0; }
.loan-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: #f3e9d2; font-size: 21px; }
.loan-main { flex: 1; }
.loan-main b { font-size: 15px; font-weight: 800; }
.loan-main small { display: block; margin-top: 3px; color: var(--sub); font-size: 13px; font-weight: 600; }
.empty-note { padding: 34px 20px; text-align: center; color: var(--sub); font-size: 15px; font-weight: 700; }
.empty-note .e-ico { display: block; font-size: 28px; margin-bottom: 8px; }
.city-preview { text-align: left; }
.city-preview .e-ico { text-align: center; color: var(--orange-dark); }
.city-preview h3 { margin-bottom: 6px; color: var(--ink); font-size: 17px; }
.city-preview p { margin-bottom: 12px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.city-preview > small { display: block; margin-top: 10px; font-size: 11px; line-height: 1.45; }
.city-preview-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.city-preview-stats span { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #faf6ea; font-size: 12px; }
.city-preview-stats b { text-align: right; color: var(--ink); }
.city-preview-stats b.green { color: var(--green); }
.city-preview-stats b.red { color: var(--red); }

/* ---------- LISTS (kaynak/garaj/fabrika) ---------- */
.item-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.item-art { height: 118px; display: grid; place-items: center; background: linear-gradient(180deg, #e9e2cf, #d9cfb4); font-size: 52px; }
.item-art.sea { background: linear-gradient(180deg, #b7dff0, #7fb6d6); }
.item-art.mine { background: linear-gradient(180deg, #d9cfb4, #a98f66); }
.item-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.item-body h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 16px; font-weight: 800; }
.item-body h3 .tag { padding: 3px 9px; border-radius: 8px; background: #efe6cf; color: #6d6048; font-size: 12px; font-weight: 800; white-space: nowrap; }
.item-body h3 .tag.green-tag { background: #ddefe2; color: var(--green); }
.spec-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 700; color: #5a4f3e; border-top: 1px dashed var(--line-strong); padding-top: 8px; }
.spec-row span { color: var(--sub); }
.item-body .btn { margin-top: auto; }
.owned-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; justify-content: center; border-radius: 12px; background: #ddefe2; color: var(--green); font-weight: 800; }

/* Depo */
.depot-card { padding: 16px 18px; }
.depot-head { display: flex; justify-content: space-between; align-items: center; }
.depot-head h3 { font-size: 16.5px; font-weight: 800; display: flex; gap: 9px; align-items: center; }
.depot-bar { height: 10px; margin: 12px 0; border-radius: 6px; background: #eadfc6; overflow: hidden; }
.depot-bar i { display: block; height: 100%; background: var(--orange); border-radius: 6px; }
.mat-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mat-item { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: #4f4536; }
.mat-item .m-ico { font-size: 20px; }
.mat-item b { font-size: 15.5px; }

/* ---------- BORSA ---------- */
.stock-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--line); }
.stock-row:first-child { border-top: 0; }
.stock-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #f3e9d2; font-size: 22px; }
.stock-main { flex: 1; min-width: 0; }
.stock-main b { font-size: 15.5px; font-weight: 800; }
.stock-main small { display: block; margin-top: 3px; color: var(--sub); font-size: 13px; font-weight: 600; }
.stock-price { text-align: right; white-space: nowrap; }
.stock-price b { display: block; font-size: 16px; font-weight: 800; }
.stock-price small { font-size: 13px; font-weight: 800; }
.stock-actions { display: flex; gap: 7px; }
.locked-view { padding: 60px 30px; text-align: center; }
.locked-view .e-ico { font-size: 40px; }
.locked-view h2 { margin-top: 14px; font-size: 22px; font-weight: 700; color: #4c4232; }
.locked-view h2 b { font-weight: 800; color: var(--ink); }
.locked-view p { margin-top: 10px; color: var(--sub); font-weight: 600; }

/* ---------- MEGA ---------- */
.mega-art { height: 150px; position: relative; overflow: hidden; background: linear-gradient(180deg, #b7dff0 0%, #e2f0f3 70%, #88b5cd 70%); display: grid; place-items: center; }
.mega-art .t-emoji { font-size: 62px; filter: drop-shadow(0 5px 4px rgba(30, 40, 30, .25)); }

/* ---------- HOLDING ---------- */
.holding-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.office-art { position: relative; height: 150px; border-radius: 13px; overflow: hidden; background: linear-gradient(180deg, #27254d 0%, #4a3f6e 70%, #2c2536 70%); display: grid; place-items: center; }
.office-art .lvl-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .92); color: #2c2518; font-size: 12px; font-weight: 800; }
.office-art .moon { position: absolute; top: 14px; right: 18px; font-size: 22px; }
.office-art .t-emoji { font-size: 56px; margin-top: 14px; }
.staff-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); }
.staff-row:first-child { border-top: 0; }
.staff-main { flex: 1; min-width: 0; }
.staff-main b { font-size: 14.5px; font-weight: 800; }
.staff-main small { display: block; margin-top: 3px; color: var(--sub); font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.staff-btn { width: 34px; height: 34px; min-width: 34px; display: grid; place-items: center; border: 1.5px solid var(--line-strong); border-radius: 9px; background: #faf4e4; font-size: 16px; font-weight: 800; color: #55493a; }
.staff-btn:disabled { opacity: .35; cursor: not-allowed; }
.staff-count { min-width: 26px; text-align: center; font-size: 17px; font-weight: 800; }
.rank-row { display: flex; justify-content: space-between; gap: 10px; padding: 11px 4px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 700; color: #4e4434; }
.rank-row:first-child { border-top: 0; }
.rank-row b { font-weight: 800; white-space: nowrap; }
.rank-row.me { margin: 0 -10px; padding: 11px 14px; border-radius: 11px; background: #fdeed3; border: 1.5px solid #f2cf8c; color: var(--ink); }
.pad-card { padding: 16px 18px; }
.pad-card h3 { font-size: 16px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pad-card h3 .muted { font-size: 12.5px; font-weight: 700; }
.firm-name-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.firm-name-row b { font-size: 21px; font-weight: 800; }
.office-info { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; font-weight: 700; color: #574c3c; }

/* ---------- MODAL ---------- */
.modal-overlay { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(24, 18, 6, .55); backdrop-filter: blur(3px); }
.modal { width: min(620px, 94vw); max-height: 88vh; overflow: auto; border-radius: 16px; background: var(--card); border: 1px solid var(--line-strong); box-shadow: 0 30px 70px rgba(10, 6, 0, .45); padding: 16px 18px 18px; }
.modal h3 { font-size: 17px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.modal-close { width: 34px; height: 34px; border: 0; border-radius: 9px; background: #f0e7d2; font-size: 15px; font-weight: 800; color: #6b5f49; }
.opt-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 13px; margin-bottom: 8px; border: 1.5px solid var(--line-strong); border-radius: 13px; background: #fdf9ee; text-align: left; }
.opt-row.selected { border-color: var(--orange); background: #fff3e2; box-shadow: 0 0 0 1px var(--orange); }
.opt-row .o-ico { font-size: 25px; }
.opt-row .o-main { flex: 1; min-width: 0; }
.opt-row .o-main b { font-size: 15px; font-weight: 800; }
.opt-row .o-main small { display: block; margin-top: 2px; color: var(--sub); font-size: 12.5px; font-weight: 600; }
.opt-row .o-price { font-weight: 800; font-size: 14px; white-space: nowrap; }
.check-row { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border: 1.5px dashed var(--line-strong); border-radius: 13px; margin-top: 4px; font-size: 14px; font-weight: 700; color: #5a4f3d; cursor: pointer; }
.check-box { width: 26px; height: 26px; min-width: 26px; display: grid; place-items: center; border-radius: 8px; border: 2px solid var(--line-strong); background: #fff; font-weight: 800; color: #fff; }
.check-row.on .check-box { background: var(--green); border-color: var(--green); }
.modal .btn { width: 100%; margin-top: 14px; }
.modal-sum { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; font-weight: 700; color: #574c3b; }
.modal-sum div { display: flex; justify-content: space-between; }

/* ---------- TOASTS ---------- */
.toasts { position: fixed; z-index: 120; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { max-width: min(520px, 90vw); padding: 12px 20px; border-radius: 13px; background: var(--dark); color: #ffeed2; font-size: 14.5px; font-weight: 700; box-shadow: 0 10px 28px rgba(10, 6, 0, .4); animation: pop .22s ease; border: 1px solid #45412f; }
.toast.err { background: #68170d; color: #ffd9d2; border-color: #8c2b1d; }
.toast.good { background: #11502c; color: #d8f5e2; border-color: #237a44; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

.portrait-notice { display: none; }

/* ================= İKONLAR & YENİ BİLEŞENLER ================= */
.ic { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }
.ic-xl { width: 46px; height: 46px; }
.side-item .ico { display: grid; place-items: center; }
.side-item .ico .ic { width: 23px; height: 23px; }
.brand-logo .ic { width: 24px; height: 24px; color: #2b2005; }
.tb-icon .ic { width: 19px; height: 19px; }
.big-ico .ic { width: 23px; height: 23px; color: var(--orange); }
.dark-banner .big-ico .ic { color: var(--gold); }
.mail-ic .ic { width: 17px; height: 17px; color: var(--orange); }
.plot-ico .ic { width: 24px; height: 24px; color: #5d6c4e; }
.loan-ico .ic, .stock-ico .ic { width: 22px; height: 22px; color: #8a6d35; }
.btn .ic { width: 17px; height: 17px; }
.rank-badge .ic { width: 20px; height: 20px; }
.item-art .ic-xl { color: #6b5f45; }
.item-art.sea .ic-xl { color: #2d5d7a; }
.item-art.mine .ic-xl { color: #5d4a2e; }
.e-ico .ic { width: 38px; height: 38px; color: var(--faint); }
.staff-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #f3e9d2; }
.staff-ic .ic { width: 20px; height: 20px; color: #8a6d35; }
.badge-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; margin: 2px 2px 0 0; border-radius: 9px; background: rgba(245, 184, 33, .15); color: var(--gold); font-size: 12.5px; font-weight: 800; }
.badge-chip .ic { width: 14px; height: 14px; }

/* Nabız grafiği */
.spark { display: block; width: 100%; height: 56px; margin: 14px 0; border-radius: 8px; background: #faf5e8; border: 1px solid var(--line); }

/* Şantiye kartı sahnesi */
.slot-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.site-card { cursor: pointer; transition: .15s; }
.site-card:hover, .asset-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(140, 110, 60, .18); }
.art-tag { position: absolute; z-index: 3; top: 8px; left: 8px; padding: 4px 9px; border-radius: 8px; background: rgba(20, 24, 18, .75); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; }
.tag-orange { background: var(--orange); }
.tag-green { background: var(--green); }
.tag-blue { background: #3d6ea5; }
.tag-wait { background: #8a7a55; }
.sa-board { position: absolute; z-index: 2; top: 24px; left: 10px; width: 64px; padding: 4px 5px; background: #fff; border: 2px solid #d7cbb2; border-radius: 4px; transform: rotate(-4deg); box-shadow: 0 3px 5px rgba(50, 40, 20, .2); }
.sa-board b { display: block; font-size: 7px; color: var(--orange-dark); line-height: 1.2; }
.sa-board i { display: block; font-size: 5.5px; font-style: normal; color: #998d74; letter-spacing: .4px; }
.sa-board:after { content: ''; position: absolute; top: 100%; left: 46%; width: 3px; height: 14px; background: #a08c66; }
.sa-pit { position: absolute; bottom: 24px; width: 34px; height: 15px; background: #cab995; border: 2px dashed #a3936f; transform: skewX(-18deg); }
.sa-pit.p1 { right: 44px; }
.sa-pit.p2 { right: 14px; bottom: 15px; }
.sa-bld { position: absolute; bottom: 22px; left: 52%; width: 34px; background: #e8d9b4; border: 1px solid #bba77e; box-shadow: inset -7px 0 0 #cdbb93; transition: height .5s; }
.sa-crane { position: absolute; z-index: 2; top: 6px; right: 8px; color: #b98300; }
.sa-crane .ic { width: 26px; height: 26px; }
.sa-road { position: absolute; bottom: 0; left: 0; width: 100%; height: 12px; background: #8a8a84; border-top: 2px solid #d9d3c0; }
.sa-road:after { content: ''; position: absolute; top: 5px; width: 100%; border-top: 2px dashed rgba(255, 252, 235, .8); }

/* Satış ve Kira kartları */
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.asset-card { overflow: hidden; cursor: pointer; transition: .15s; }
.asset-art { position: relative; height: 110px; background: linear-gradient(180deg, #2b2a52 0%, #4a3f6e 62%, #2e4231 62%, #233226 100%); overflow: hidden; }
.aa-moon { position: absolute; top: 12px; right: 16px; width: 18px; height: 18px; border-radius: 50%; box-shadow: -5px 3px 0 2px #f3e9c3; }
.aa-bld { position: absolute; bottom: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 6px 5px; background: #ded3b4; border: 1px solid #a99a76; box-shadow: inset -6px 0 0 rgba(120, 100, 60, .35), 4px 5px 6px rgba(10, 10, 20, .3); }
.aa-bld i { width: 7px; height: 6px; background: #ffd97a; box-shadow: 0 0 6px rgba(255, 217, 122, .5); }
.aa-bld.b1 { left: 14%; width: 64px; height: 52px; }
.aa-bld.b2 { left: 52%; width: 52px; height: 40px; grid-template-columns: repeat(2, 1fr); }
.aa-road { position: absolute; bottom: 0; width: 100%; height: 14px; background: #3c3c42; border-top: 2px solid #5a5a62; }
.aa-road:after { content: ''; position: absolute; top: 5px; width: 100%; border-top: 2px dashed rgba(240, 240, 220, .5); }
.aa-tree { position: absolute; bottom: 14px; width: 10px; height: 16px; background: radial-gradient(circle at 50% 30%, #3f7d4e 55%, transparent 56%); }
.aa-tree:after { content: ''; position: absolute; bottom: 0; left: 4px; width: 2px; height: 7px; background: #6c543a; }
.aa-tree.t1 { left: 6%; }
.aa-tree.t2 { right: 8%; }
.asset-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.asset-body b { font-size: 15px; font-weight: 800; }
.asset-body small { font-size: 12.5px; font-weight: 600; }
.patron-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.business-card { display: flex; flex-direction: column; gap: 12px; }
.business-head { display: flex; align-items: center; gap: 10px; }
.business-head h3 { margin: 0; }
.business-head small { color: var(--sub); font-weight: 600; }
.business-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: #f3e9d2; color: #8a6d35; }
.business-icon .ic { width: 23px; height: 23px; }
.business-occupancy { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.business-occupancy span { color: var(--sub); }
.business-open { margin-bottom: 12px; }

/* Arsalar: şehir listesi */
.city-filter-card { margin: 0 0 14px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,246,.92); }
.home-city-filters { margin-bottom: 14px; padding: 10px 13px; }
.home-city-filters > div:first-child { display: flex; align-items: center; gap: 7px; color: var(--ink); }
.home-city-filters > div:first-child b { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.home-city-filters > div:first-child small { color: var(--sub); font-size: 11px; font-weight: 600; }
.home-city-filters .ic { width: 15px; height: 15px; color: var(--orange-dark); }
.city-filter-card > div:first-child { display: flex; align-items: center; gap: 7px; color: var(--ink); }
.city-filter-card > div:first-child b { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.city-filter-card > div:first-child small { color: var(--sub); font-size: 11px; font-weight: 600; }
.city-filter-card .ic { width: 15px; height: 15px; color: var(--orange-dark); }
.city-filter-row { display: flex; gap: 7px; overflow-x: auto; margin-top: 9px; padding: 0 1px 5px; scrollbar-width: thin; }
.city-filter-chip { flex: 0 0 auto; gap: 5px; }
.city-filter-chip small { font-size: 10px; font-weight: 700; opacity: .8; }
.city-scroll { max-height: min(58vh, 520px); overflow-y: auto; display: flex; flex-direction: column; gap: 7px; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #c7b48e transparent; }
.city-row { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 6px 11px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--card); text-align: left; transition: .13s; }
.city-row:hover { border-color: #c9a86a; }
.city-row.active { background: #fdeed3; border: 2px solid var(--orange); }
.cr-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cr-main b { font-size: 13px; font-weight: 800; }
.cr-main small { color: var(--sub); font-size: 11px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.cr-main small.green { color: var(--green); }
.cr-main small.red { color: var(--red); }
.cr-open { color: var(--orange); font-size: 20px; font-weight: 800; }
.cr-lock { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 8px; background: #efe6cf; border: 1px solid #ddcda7; color: #6d6048; font-size: 11px; font-weight: 800; white-space: nowrap; }
.cr-lock .ic { width: 13px; height: 13px; }
.district-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-top: 18px; }
.district-head h2 { font-size: 20px; font-weight: 800; }
.district-head .muted { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; }
.demand-tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.demand-düşük { background: #fde3e0; color: #b3362a; }
.demand-normal { background: #efe6cf; color: #6d6048; }
.demand-yüksek { background: #ddefe2; color: var(--green); }
.demand-tag .ic { width: 14px; height: 14px; }

/* Arsa ilan kartı */
.listing-card { overflow: hidden; }
.listing-art { position: relative; height: 120px; overflow: hidden; }
.la-sky { position: absolute; inset: 0 0 45%; background: linear-gradient(180deg, #bfe0ef, #ddeef4); display: flex; align-items: flex-end; gap: 7px; padding: 0 12px; }
.la-sky i { display: block; width: 26px; background: #a9c6d4; opacity: .7; border-radius: 2px 2px 0 0; }
.la-sky i:nth-child(1) { height: 36px; } .la-sky i:nth-child(2) { height: 52px; } .la-sky i:nth-child(3) { height: 28px; } .la-sky i:nth-child(4) { height: 44px; } .la-sky i:nth-child(5) { height: 33px; }
.la-ground { position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, #c3a977, #b09463); }
.la-plot { position: absolute; left: 10%; right: 12%; top: 16%; bottom: 20%; border: 2.5px dashed #fffbe8; transform: perspective(90px) rotateX(38deg); border-radius: 4px; }
.la-sign { position: absolute; top: -17px; left: 38%; padding: 3px 9px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .5px; border-radius: 4px; transform: perspective(0); box-shadow: 0 2px 4px rgba(60, 40, 10, .3); }
.art-deal .la-sign { background: var(--green); }
.la-tree { position: absolute; width: 13px; height: 20px; background: radial-gradient(circle at 50% 28%, #4d8a56 52%, transparent 53%); }
.la-tree:after { content: ''; position: absolute; bottom: 0; left: 5px; width: 3px; height: 8px; background: #6c543a; }
.la-tree.t1 { left: 5%; top: 18%; }
.la-tree.t2 { right: 6%; top: 30%; }
.la-house { position: absolute; right: 18%; top: -26%; width: 46px; height: 26px; background: #efe5cd; border: 1px solid #b8a67e; box-shadow: inset 0 -5px 0 #d9cba6; }
.la-house:before { content: ''; position: absolute; top: -13px; left: -3px; border-left: 26px solid transparent; border-right: 26px solid transparent; border-bottom: 13px solid #b2543f; }
.listing-body { padding: 12px 15px 15px; display: flex; flex-direction: column; gap: 7px; }
.listing-row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.listing-row1 b { font-size: 17px; font-weight: 800; }
.tag { padding: 4px 10px; border-radius: 9px; background: #efe6cf; color: #6d6048; font-size: 12px; font-weight: 800; white-space: nowrap; }
.tag-deal { background: #fdeed3; color: #a05c00; border: 1px solid #ecc98b; }
.tag-adj { background: #e3ecf6; color: #2d5a8f; border: 1px solid #b9cfe6; }
.listing-row2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.listing-price { font-size: 19px; font-weight: 800; }
.asset-liquidation { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 15px; padding: 12px; border: 1px solid #e8c4ba; border-radius: 12px; background: #fff5ef; }
.asset-liquidation b { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.asset-liquidation b .ic { width: 16px; height: 16px; color: var(--orange-dark); }
.asset-liquidation small { color: var(--sub); font-size: 11.5px; font-weight: 600; line-height: 1.4; }
.mega-locked { opacity: .72; }
.locked-hint { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 10px; border-radius: 9px; background: #f3eddf; color: #71664f; font-size: 12px; font-weight: 700; }
.locked-hint .ic { width: 15px; height: 15px; }
.unlock-roadmap { display: flex; align-items: flex-start; gap: 16px; margin: 12px 0 16px; padding: 14px 16px; }
.unlock-roadmap h3 { display: flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
.unlock-roadmap h3 .ic { width: 16px; height: 16px; color: var(--orange-dark); }
.unlock-roadmap > div:first-child small { display: block; max-width: 250px; margin-top: 5px; color: var(--sub); font-size: 11.5px; font-weight: 600; line-height: 1.4; }
.unlock-list { display: flex; flex: 1; flex-wrap: wrap; gap: 7px; }
.unlock-list span { display: flex; flex-direction: column; gap: 2px; min-width: 130px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: #faf5e8; }
.unlock-list span b { font-size: 10.5px; color: var(--orange-dark); }
.unlock-list span small { font-size: 11.5px; font-weight: 700; }

/* Geniş modal */
.modal-wide { width: min(840px, 96vw); }
.modal-cols { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; margin-top: 12px; }
.btn-big { width: 100%; min-height: 44px; margin-top: 14px; font-size: 14px; letter-spacing: .6px; }

/* Modal şantiye sahnesi */
.msite-art { position: relative; height: 148px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #b7dff0 0%, #ddeef2 42%, #79a95e 42%, #68964f 100%); }
.msite-art.night { background: linear-gradient(180deg, #2b2a52 0%, #4a3f6e 55%, #2e4231 55%, #233226 100%); }
.ma-sky { position: absolute; inset: 0 0 58%; display: flex; align-items: flex-end; gap: 8px; padding: 0 14px; }
.ma-sky i { display: block; width: 30px; background: #a9c6d4; opacity: .65; border-radius: 2px 2px 0 0; }
.ma-sky i:nth-child(1) { height: 42px; } .ma-sky i:nth-child(2) { height: 60px; } .ma-sky i:nth-child(3) { height: 34px; } .ma-sky i:nth-child(4) { height: 50px; }
.ma-ground { position: absolute; inset: 42% 0 0; }
.ma-board { position: absolute; z-index: 2; top: -4px; left: 16px; width: 110px; padding: 7px 8px; background: #fff; border: 2px solid #d7cbb2; border-radius: 5px; transform: rotate(-3deg); box-shadow: 0 4px 7px rgba(40, 30, 12, .25); }
.ma-board b { display: block; font-size: 10px; color: var(--orange-dark); line-height: 1.25; }
.ma-board small { display: block; font-size: 7.5px; color: #998d74; letter-spacing: .5px; }
.ma-board:after { content: ''; position: absolute; top: 100%; left: 46%; width: 4px; height: 20px; background: #a08c66; }
.ma-slab { position: absolute; bottom: 36px; height: 24px; background: #cdc2a4; border: 2px dashed #9c8f6d; transform: skewX(-22deg); }
.ma-slab.s1 { right: 110px; width: 56px; }
.ma-slab.s2 { right: 40px; width: 56px; bottom: 22px; }
.ma-building { position: absolute; bottom: 30px; right: 150px; width: 54px; background: #e8d9b4; border: 1px solid #bba77e; box-shadow: inset -10px 0 0 #cdbb93; transition: height .5s; }
.ma-crane { position: absolute; z-index: 2; top: 10px; right: 20px; color: #c98f00; }
.ma-crane .ic { width: 44px; height: 44px; }
.ma-road { position: absolute; bottom: 0; width: 100%; height: 20px; background: #8a8a84; border-top: 3px solid #d9d3c0; }
.ma-road:after { content: ''; position: absolute; top: 8px; width: 100%; border-top: 2px dashed rgba(255, 252, 235, .85); }
.msite-art.night .aa-bld.b1 { left: 16%; width: 84px; height: 68px; bottom: 34px; }
.msite-art.night .aa-bld.b2 { left: 56%; width: 66px; height: 52px; bottom: 34px; }
.msite-art.night .aa-road { height: 18px; }
.msite-art.night .aa-tree { bottom: 18px; }

/* Kontroller */
.ctrl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ctrl-card { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 9px 11px; border: 1.5px solid var(--line-strong); border-radius: 11px; background: #fdf9ee; text-align: left; transition: .13s; }
.ctrl-card:hover { border-color: #c9a86a; }
.ctrl-card b { font-size: 12px; font-weight: 800; letter-spacing: .3px; }
.ctrl-card small { color: var(--sub); font-size: 10.5px; font-weight: 600; }
.ctrl-card .ic { width: 16px; height: 16px; color: var(--orange); }
.ctrl-card.ctrl-on { background: var(--dark); border-color: var(--dark); color: #fff; }
.ctrl-card.ctrl-on small { color: #b5ab97; }
.ctrl-card.ctrl-on .ic { color: var(--gold); }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mode-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 9px 10px; border: 1.5px solid var(--line-strong); border-radius: 11px; background: #f6efdd; text-align: left; transition: .13s; }
.mode-card b { font-size: 11px; font-weight: 800; letter-spacing: .2px; line-height: 1.3; }
.mode-card small { color: var(--sub); font-size: 10px; font-weight: 600; line-height: 1.35; }
.mode-card.mode-on { background: var(--dark); border-color: var(--dark); color: #fff; }
.mode-card.mode-on small { color: #b5ab97; }
.mode-check { position: absolute; top: -8px; right: -6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; }
.mode-check .ic { width: 12px; height: 12px; }
.mode-detail { margin-top: 12px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 13px; background: #fdf9ee; }
.slider-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.slider-row > span { color: var(--sub); font-size: 10.5px; font-weight: 800; letter-spacing: .4px; white-space: nowrap; }
.slider-row > b { font-size: 12px; font-weight: 800; white-space: nowrap; min-width: 74px; text-align: right; }
.slider-row input[type=range] { flex: 1; height: 34px; appearance: none; -webkit-appearance: none; background: transparent; min-width: 80px; }
.slider-row input[type=range]::-webkit-slider-runnable-track { height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), #e8dcc0); }
.slider-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2.5px solid var(--orange); box-shadow: 0 2px 5px rgba(80, 50, 10, .25); }
.slider-row input[type=range]::-moz-range-track { height: 7px; border-radius: 4px; background: #e8dcc0; }
.slider-row input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2.5px solid var(--orange); }

/* Proje tasarla ekstraları */
.name-row { display: flex; gap: 7px; }
.name-input { flex: 1; min-height: 38px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 800; color: var(--ink); }
.name-input:focus { outline: 2px solid var(--orange); border-color: var(--orange); }

/* ---------- KURULUŞ EKRANI ---------- */
.setup-overlay { background: rgba(26, 20, 8, .78); }
.setup-modal { width: min(430px, 94vw); text-align: center; padding: 26px 22px 22px; }
.setup-logo { width: 64px; height: 64px; margin: 0 auto 4px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(180deg, #ffc93c, #f5a713); color: #5a3c00; box-shadow: 0 3px 0 #b97c00; }
.setup-logo .ic { width: 36px; height: 36px; }
.setup-modal h2 { font-size: 24px; font-weight: 900; letter-spacing: .4px; margin-top: 8px; }
.setup-sub { color: var(--sub); font-weight: 600; font-size: 14px; line-height: 1.5; margin: 8px 0 16px; }
.setup-modal .form-label { text-align: left; }
.name-row { display: flex; gap: 8px; }
.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 8px 12px; border: 1.5px solid var(--line-strong); border-radius: 11px; background: #fdf9ee; }
.stepper-row b { font-size: 13.5px; font-weight: 800; }
.stepper { display: flex; align-items: center; gap: 3px; }
.step-val { min-width: 36px; text-align: center; font-size: 17px; font-weight: 800; }
.bribe-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 8px 12px; border: 1.5px dashed #d8b08a; border-radius: 11px; background: #fbf3e2; }
.bribe-info b { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; color: #7a5a1f; }
.bribe-info small { display: block; margin-top: 2px; color: var(--sub); font-size: 10.5px; font-weight: 600; }
.bribe-info .ic { width: 14px; height: 14px; color: #b8860b; }
.bribe-actions { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.type-grid { gap: 7px; }
.type-pill:disabled { opacity: .55; cursor: not-allowed; background: #ece3cd; }
.pill .ic { width: 14px; height: 14px; }
.pill:disabled { opacity: .5; cursor: not-allowed; }
.barter-panel { display: grid; gap: 7px; margin-top: 12px; padding: 11px 12px; border: 1px solid #c9d4df; border-radius: 11px; background: #f0f5f8; }
.barter-panel > b { display: flex; align-items: center; gap: 6px; color: #355875; font-size: 13px; }
.barter-panel > b .ic { width: 15px; height: 15px; }
.barter-panel small { color: var(--sub); font-size: 11.5px; font-weight: 600; line-height: 1.4; }
.option-toggle { display: flex; align-items: center; gap: 7px; width: 100%; padding: 2px 0; border: 0; background: transparent; color: #355875; font: inherit; text-align: left; cursor: pointer; }
.option-toggle span { display: flex; align-items: center; gap: 6px; flex: 1; font-size: 13px; font-weight: 800; }
.option-toggle .ic { width: 15px; height: 15px; flex: none; }
.option-toggle b { font-size: 18px; line-height: 1; }
.option-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.holding-report { margin-bottom: 16px; }
.holding-report h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.holding-report h3 .muted { margin-left: auto; font-size: 11.5px; font-weight: 600; }
.holding-report > small { display: block; margin-top: 10px; font-size: 11px; line-height: 1.45; }
.ipo-card { margin-top: 22px; }
.ipo-card h3 { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; font-size: 17px; }
.ipo-card p { margin-bottom: 12px; color: var(--sub); font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.ipo-slider { width: 100%; height: 34px; margin: 3px 0 7px; appearance: none; -webkit-appearance: none; background: transparent; touch-action: pan-y; }
.ipo-slider::-webkit-slider-runnable-track { height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), #e8dcc0); }
.ipo-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); box-shadow: 0 2px 5px rgba(80, 50, 10, .25); }
.ipo-slider::-moz-range-track { height: 7px; border-radius: 4px; background: #e8dcc0; }
.ipo-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); }
.pill-sub { color: #988c74; font-weight: 700; font-size: 12px; }
.pill.active .pill-sub { color: #cbbfa6; }
.social-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 16px; background: #f6efdd; color: #55493a; font-weight: 800; font-size: 12px; transition: .12s; }
.social-chip.on { background: var(--dark); border-color: var(--dark); color: #fff; }
.social-chip .ic { width: 13px; height: 13px; color: #6fcf8f; }
.q-note { margin-top: 7px; font-size: 11.5px; font-weight: 700; }
.q-note .ic { width: 14px; height: 14px; }
.green-note { color: var(--green); }
.red-note { color: var(--red); }

/* Ülkeler & kredi limiti & kentsel */
.country-chip .flag { font-size: 17px; }
.country-chip .ic { width: 13px; height: 13px; color: #9c8f73; }
.limit-bar { height: 10px; margin: 12px 0 8px; border-radius: 6px; background: #e8dcc0; overflow: hidden; }
.limit-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--orange), var(--red)); }
.limit-row { display: flex; justify-content: space-between; gap: 10px; color: var(--sub); font-size: 12.5px; font-weight: 700; }
.limit-row b { color: var(--ink); }
.la-house.la-old { background: #c9bda1; border-color: #8f8468; box-shadow: inset 0 -5px 0 #a99d80; opacity: .85; transform: skewX(-2deg); }
.la-house.la-old:before { border-bottom-color: #7e6a56; }
.la-house.la-old:after { content: ''; position: absolute; top: 4px; left: 8px; width: 12px; height: 2px; background: #8f8468; box-shadow: 10px 5px 0 #8f8468, 2px 10px 0 #8f8468; }

@media (max-width: 920px) {
  .modal-cols { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .asset-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .city-filter-card > div:first-child { align-items: flex-start; flex-direction: column; gap: 3px; }
  .home-city-filters > div:first-child { align-items: flex-start; flex-direction: column; gap: 3px; }
  .plot-row { flex-wrap: wrap; }
  .plot-actions { width: 100%; justify-content: flex-end; }
  .unlock-roadmap { flex-direction: column; }
}

/* Dokunmatik cihazlarda hedefleri rahatlat */
@media (pointer: coarse) { .pill, .chip, .social-chip { min-height: 38px; } .btn { min-height: 42px; } .btn-sm { min-height: 36px; } .staff-btn { width: 40px; height: 40px; min-width: 40px; } .side-item { min-height: 54px; } .city-row { min-height: 52px; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1150px) {
  .tb-hide-sm { display: none; }
  .holding-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .dash { grid-template-columns: 1fr; }
  .arsa-layout { grid-template-columns: 210px 1fr; }
  .topbar { gap: 16px; }
}
@media (max-width: 880px) {
  body { font-size: 14px; }
  .sidebar { width: 90px; min-width: 90px; }
  .side-item .ico { font-size: 21px; }
  .side-item { font-size: 11px; }
  .content { padding: 14px 14px 34px; }
  .kasa-value { font-size: 28px; }
  .holding-grid { grid-template-columns: 1fr; }
  .time-box .speed-chip { min-width: 34px; }
  .date-badge { padding: 0 10px 0 8px; font-size: 12.5px; }
  .brand-text strong { max-width: 110px; font-size: 13px; }
  .tb-stat strong { font-size: 14px; }
  .site-art { width: 110px; min-width: 110px; height: 96px; }
  .site-art .art-emoji { font-size: 34px; }
}
@media (orientation: portrait) and (max-width: 740px) {
  .portrait-notice { display: none; }
}

/* ---------- DİKEY / DAR EKRAN (telefon) ---------- */
@media (max-width: 719px) {
  .app { min-width: 0; }
  .topbar { height: auto; min-height: 0; flex-wrap: wrap; gap: 8px 12px; padding: 8px 10px; row-gap: 6px; }
  .brand-text strong { max-width: 130px; font-size: 13px; }
  .brand-logo { width: 34px; height: 34px; border-radius: 9px; }
  .tb-stat strong { font-size: 13px; }
  .tb-stars span { font-size: 12px; }
  .tb-icon { width: 36px; height: 34px; }
  .time-box { padding: 3px; }
  .time-box .speed-chip { min-width: 30px; height: 30px; font-size: 12px; }
  .date-badge { height: 34px; padding: 0 9px 0 7px; font-size: 11.5px; }
  .mail-panel { position: fixed; top: auto; left: 8px; right: 8px; width: auto; max-height: 55vh; }
  .layout { flex-direction: column-reverse; }
  .sidebar { width: 100%; min-width: 0; flex-direction: row; overflow-x: auto; overflow-y: hidden; gap: 2px; padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); border-top: 2px solid #35322a; }
  .side-item { flex: 0 0 auto; min-width: 62px; min-height: 48px; padding: 6px 4px 5px; font-size: 10.5px; }
  .side-item .ico { font-size: 19px; }
  .content { padding: 12px 10px 26px; }
  .dash { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .kasa-value { font-size: 26px; }
  .arsa-layout { grid-template-columns: 1fr; }
  .modal { width: 96vw; padding: 12px 12px 14px; }
  .district-map { grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); }
  .site-art { width: 96px; min-width: 96px; height: 88px; }
  .sites-head { align-items: flex-start; flex-direction: column; gap: 2px; }
}
