/* =========================================================
   Çete Savaşları — "İstanbul Noir" tasarım sistemi
   ========================================================= */
:root {
  --ink: #0b0a0d;
  --ink2: #121017;
  --surface: #17141c;
  --surface2: #1f1b26;
  --line: rgba(255, 236, 200, .09);
  --line2: rgba(255, 236, 200, .16);
  --text: #f4ecdf;
  --muted: #9d93a3;
  --gold: #e6b450;
  --gold2: #ffd98a;
  --gold3: #a97a26;
  --red: #e0433a;
  --red2: #ff7b6b;
  --green: #5fcf8a;
  --blue: #4fa3f0;
  --teal: #4cc3d9;
  --r0: #9aa3ad;
  --r1: #4fa3f0;
  --r2: #b27bff;
  --r3: #ffb238;
  --display: 'Anton', Impact, sans-serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--ink);
  color: var(--text);
  font: 600 14.5px/1.4 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  overflow: hidden;
}
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--gold2); cursor: pointer; }
h2, h3, p { margin: 0; }
h3 { font-size: 15px; font-weight: 800; letter-spacing: -.1px; }
[hidden] { display: none !important; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.14em; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.gold-t { color: var(--gold2); }
.red-t { color: var(--red2); }
.eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.row.center { justify-content: center; }

/* Grenli film dokusu + vinyet */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#app {
  position: relative;
  max-width: 520px; margin: 0 auto; height: 100dvh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(230, 180, 80, .14), transparent 60%),
    radial-gradient(80% 50% at 100% 100%, rgba(224, 67, 58, .08), transparent 60%),
    var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 0 80px rgba(0, 0, 0, .6);
}

/* ---------------- HUD ---------------- */
#hud {
  flex: none; position: relative; z-index: 5;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  background: linear-gradient(180deg, rgba(23, 20, 28, .96), rgba(17, 15, 21, .92));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hud-top { display: flex; align-items: center; gap: 10px; }
.badge {
  position: relative; width: 46px; height: 46px; flex: none; border: 0; padding: 0; background: none;
  display: grid; place-items: center;
}
.xpring { position: absolute; inset: 0; transform: rotate(-90deg); }
.xpring circle { fill: none; stroke-width: 3.5; }
.xpring .t { stroke: rgba(255, 255, 255, .08); }
.xpring .p { stroke: var(--green); stroke-linecap: round; transition: stroke-dasharray .6s var(--ease); filter: drop-shadow(0 0 4px rgba(95, 207, 138, .6)); }
.badge span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 17px var(--display); color: #1b1203;
  background: radial-gradient(circle at 35% 28%, #fff1c7, var(--gold) 55%, var(--gold3));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25), 0 2px 10px rgba(230, 180, 80, .35);
}
.who { flex: 1; min-width: 0; }
.name { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub { font-size: 11.5px; color: var(--muted); }
.sub a { font-weight: 800; text-decoration: none; color: var(--gold2); }
.wallet {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px;
  border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line);
}
.coin-ic { font-size: 22px; color: var(--gold); filter: drop-shadow(0 0 6px rgba(230, 180, 80, .5)); }
.c1 { font: 19px/1 var(--display); letter-spacing: .6px; color: var(--gold2); display: inline-block; transform-origin: right center; }
.c2 { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.iconbtn {
  position: relative; width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; color: var(--gold);
}
.nb {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: 10.5px; display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--ink2); animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-2px) scale(1.08); } }

.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.meter {
  display: flex; align-items: center; gap: 7px; padding: 6px 8px;
  border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line);
}
.meter > .ic { font-size: 18px; }
.meter.en > .ic { color: var(--gold); }
.meter.st > .ic { color: var(--blue); }
.meter.hp > .ic { color: var(--red); }
.mv { flex: 1; min-width: 0; }
.mt { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.mt b { font-size: 12.5px; font-weight: 800; }
.mt small { font-size: 9.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mt small a { color: var(--red2); font-weight: 800; }
.meter.low { border-color: rgba(224, 67, 58, .5); animation: lowpulse 1.4s ease-in-out infinite; }
@keyframes lowpulse { 50% { box-shadow: 0 0 0 3px rgba(224, 67, 58, .18); } }
.meter .bar { margin-top: 4px; height: 4px; }

/* Çubuklar */
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; flex: 1; }
.bar i { display: block; height: 100%; border-radius: inherit; transition: width .5s var(--ease); }
.meter.en .bar i, .bar.gold i { background: linear-gradient(90deg, var(--gold3), var(--gold2)); box-shadow: 0 0 8px rgba(230, 180, 80, .5); }
.meter.st .bar i { background: linear-gradient(90deg, #2463a8, var(--blue)); }
.meter.hp .bar i, .bar.red i, .bar.hp i { background: linear-gradient(90deg, #9a2019, var(--red2)); }
.bar.thin { height: 4px; }

/* ---------------- Ana alan ---------------- */
#main { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 16px 14px 28px; scrollbar-width: none; }
#main::-webkit-scrollbar { display: none; }
.shead { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.shead-ic {
  width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 26px; color: var(--gold);
  background: linear-gradient(145deg, rgba(230, 180, 80, .18), rgba(230, 180, 80, .04)); border: 1px solid rgba(230, 180, 80, .25);
}
.shead h2 { font: 26px/1 var(--display); letter-spacing: .8px; text-transform: uppercase; }
.shead p { font-size: 12.5px; color: var(--muted); margin-top: 3px; font-weight: 600; }

.card {
  position: relative; display: block; width: 100%; text-align: left;
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.card + .card { margin-top: 10px; }
.card > h3 + * { margin-top: 10px; }
.ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ch h3 { display: flex; gap: 8px; align-items: center; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 800; font-size: 14px; letter-spacing: .2px;
  transition: transform .12s var(--ease), filter .2s; white-space: nowrap;
}
.btn:active { transform: scale(.95); }
.btn:disabled { opacity: .4; cursor: default; filter: grayscale(.6); }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn.wide { width: 100%; padding: 14px; font-size: 16px; }
.btn.gold { background: linear-gradient(180deg, #ffe3a3, var(--gold) 55%, #c98f2c); color: #1b1203; box-shadow: 0 3px 0 #8a5f16, 0 6px 18px rgba(230, 180, 80, .25); }
.btn.red { background: linear-gradient(180deg, #ff7a66, var(--red) 60%, #b52a22); color: #fff; box-shadow: 0 3px 0 #7d1c16, 0 6px 18px rgba(224, 67, 58, .3); }
.btn.ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line2); }
.btn.dim { background: #2a2530; color: #8d8494; box-shadow: none; }
.link { background: none; border: 0; padding: 3px 0; color: var(--gold2); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.link.muted { color: var(--muted); }
.link.danger { color: var(--red2); }
.hint { margin-top: 14px; font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.hint.center { justify-content: center; }

/* ---------------- Şehir / harita ---------------- */
.mapwrap {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line2);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(0, 0, 0, .4);
  background: #0d0c11;
}
.citymap { display: block; width: 100%; height: auto; }
.citymap .land { fill: #121017; }
.citymap .b1 { fill: #1b1822; }
.citymap .b2 { fill: #26202b; }
.citymap .lamp { fill: #ffd98a; opacity: .5; animation: flicker 4s infinite; }
@keyframes flicker { 0%, 100% { opacity: .55; } 45% { opacity: .2; } 50% { opacity: .7; } }
.citymap .shore { fill: none; stroke: #1b3a44; stroke-width: 52; stroke-linecap: round; opacity: .55; }
.citymap .sea { fill: none; stroke: url(#sea); stroke-width: 42; stroke-linecap: round; }
.citymap .waves { fill: none; stroke: #3c8ea3; stroke-width: 1.2; stroke-dasharray: 3 14; opacity: .6; animation: waves 3s linear infinite; }
@keyframes waves { to { stroke-dashoffset: -34; } }
.citymap .boat use { fill: #cfe9f0; }
.citymap .route { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2.5; stroke-dasharray: 2 8; stroke-linecap: round; }
.citymap .route.done { stroke: var(--gold); stroke-dasharray: 2 7; animation: march 1.2s linear infinite; filter: drop-shadow(0 0 3px rgba(230, 180, 80, .8)); }
@keyframes march { to { stroke-dashoffset: -9; } }
.citymap .compass { font: 10px var(--display); letter-spacing: 3px; fill: rgba(255, 255, 255, .25); }

.node { cursor: pointer; outline: none; }
.node .halo { fill: var(--hue); opacity: .1; transition: opacity .3s; }
.node:hover .halo, .node:focus-visible .halo { opacity: .25; }
.node .disc { fill: #1c1823; stroke: rgba(0, 0, 0, .6); stroke-width: 3; }
.node .track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 4; }
.node .prog { fill: none; stroke: var(--hue); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 4px var(--hue)); }
.node .glyph { fill: var(--hue); }
.node .nl { font: 15px var(--display); letter-spacing: 1px; fill: #fff; text-anchor: middle; paint-order: stroke; stroke: #0b0a0d; stroke-width: 4px; text-transform: uppercase; }
.node .ns { font: 700 9.5px var(--sans); fill: var(--muted); text-anchor: middle; paint-order: stroke; stroke: #0b0a0d; stroke-width: 3px; }
.node.lock .glyph { fill: #5f5866; }
.node.lock .halo { opacity: 0; }
.node.lock .nl { fill: #6d6573; }
.node .pulse { fill: none; stroke: var(--hue); stroke-width: 2; transform-origin: center; transform-box: fill-box; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.node .crownb circle { fill: #2a2016; stroke: var(--gold); stroke-width: 1.5; }
.node .crownb use { fill: var(--gold2); }
.node .crownb.hot circle { fill: #3a1310; stroke: var(--red); }
.node .crownb.hot use { fill: var(--red2); }
.node .crownb.hot { animation: throb 1.2s ease-in-out infinite; transform-box: fill-box; }
@keyframes throb { 50% { opacity: .55; } }

.city-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.city-stats div {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
}
.city-stats .ic { font-size: 18px; color: var(--gold); }
.city-stats b { font: 17px var(--display); letter-spacing: .5px; }
.city-stats small { font-size: 10.5px; color: var(--muted); }
.today { display: flex; align-items: center; gap: 12px; border-color: rgba(230, 180, 80, .3); background: linear-gradient(120deg, rgba(230, 180, 80, .14), var(--surface) 60%); }
.today-ic { font-size: 30px; color: var(--gold); }
.today-main { flex: 1; }
.today-bar { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.today-bar small { font-size: 11px; color: var(--muted); }
.today-cta { color: var(--gold); font-size: 20px; }
.pillbadge { background: var(--red); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 99px; animation: bob 1.6s infinite; display: inline-block; }

/* ---------------- Alt sayfa ---------------- */
#sheet { position: fixed; inset: 0; z-index: 40; }
.sh-scrim { position: absolute; inset: 0; background: rgba(5, 4, 8, .6); backdrop-filter: blur(4px); }
.sh-panel {
  position: absolute; left: 50%; bottom: 0; width: min(100%, 520px); translate: -50% 0; max-height: 88vh; max-height: 88dvh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #211c29, #141118);
  border: 1px solid var(--line2); border-bottom: 0; border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
}
.sh-grab { padding: 10px 0 4px; display: grid; place-items: center; cursor: pointer; }
.sh-grab i { width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
#sheet-body { overflow-y: auto; padding: 6px 14px calc(24px + env(safe-area-inset-bottom)); }
.sh-title h2 { font: 28px var(--display); letter-spacing: .8px; text-transform: uppercase; }
.sh-title p { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

.dhero { display: flex; gap: 14px; align-items: center; padding: 6px 0 12px; }
.dhero-ic {
  width: 60px; height: 60px; border-radius: 18px; flex: none; display: grid; place-items: center; font-size: 34px;
  color: var(--hue); background: color-mix(in srgb, var(--hue) 14%, transparent); border: 1px solid color-mix(in srgb, var(--hue) 40%, transparent);
  box-shadow: 0 0 30px color-mix(in srgb, var(--hue) 25%, transparent);
}
.dhero h2 { font: 30px/1 var(--display); letter-spacing: 1px; text-transform: uppercase; }
.dhero p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.dmastery { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.dmastery b { color: var(--gold2); font-size: 12px; }

.jobs { display: flex; flex-direction: column; gap: 10px; }
.job { display: flex; gap: 12px; align-items: center; }
.job.mastered { border-color: rgba(230, 180, 80, .25); }
.job-main { flex: 1; min-width: 0; }
.rew { display: flex; gap: 12px; margin-top: 5px; font-size: 12.5px; font-weight: 800; }
.rew span { display: inline-flex; align-items: center; gap: 4px; }
.r-cash { color: var(--gold2); }
.r-xp { color: var(--green); }
.chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; padding: 3px 7px; border-radius: 8px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.chip .ic { font-size: 13px; }
.chip.ok { color: #a8e6bd; border-color: rgba(95, 207, 138, .3); }
.chip.no { color: var(--red2); border-color: rgba(224, 67, 58, .35); background: rgba(224, 67, 58, .08); }
.chip.loot { color: var(--gold2); border-style: dashed; border-color: rgba(230, 180, 80, .4); }
.jm { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.jm small { font-size: 10.5px; color: var(--muted); width: 30px; text-align: right; }
.jm small .ic { color: var(--gold); font-size: 14px; }
.job-act { display: flex; flex-direction: column; align-items: center; gap: 6px; }

/* İş butonu: basınca dolar */
.do {
  position: relative; overflow: hidden; width: 70px; height: 62px; border: 0; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: linear-gradient(180deg, #ffe3a3, var(--gold) 55%, #c98f2c); color: #1b1203;
  box-shadow: 0 4px 0 #8a5f16, 0 8px 20px rgba(230, 180, 80, .2);
  transition: transform .1s;
}
.do:active { transform: translateY(2px); box-shadow: 0 2px 0 #8a5f16; }
.do-fill { position: absolute; inset: 0; background: rgba(255, 255, 255, .45); transform-origin: left; transform: scaleX(0); }
.do-e { position: relative; font-size: 11.5px; font-weight: 800; display: flex; align-items: center; gap: 2px; opacity: .8; }
.do-t { position: relative; font: 19px/1 var(--display); letter-spacing: 1.5px; }
.do.dim { background: #2a2530; color: #7d7484; box-shadow: 0 4px 0 #19161d; }

.bosscard { display: flex; gap: 14px; margin-top: 16px; border-color: color-mix(in srgb, var(--hue) 45%, transparent); background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--hue) 18%, transparent), var(--surface) 60%); }
.bosscard.veiled { border-style: dashed; border-color: var(--line2); background: var(--surface); }
.bosscard.veiled .boss-face { color: #3d3644; }
.boss-face { font-size: 58px; color: var(--hue); line-height: 1; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--hue) 60%, transparent)); }
.boss-body { flex: 1; }
.boss-body h3 { font: 22px var(--display); letter-spacing: .8px; text-transform: uppercase; margin-top: 2px; }
.boss-body p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.bosshp { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.bosshp small { font-size: 11px; color: var(--muted); }
.locked { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 12px; text-align: center; border: 1px dashed var(--line2); border-radius: var(--radius); color: var(--muted); }
.locked .ic { font-size: 34px; color: #5f5866; }
.locked b { color: var(--text); }

/* Görevler */
.streak { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 14px 0 12px; }
.sday {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.sday small { font-size: 10px; color: var(--muted); font-weight: 800; }
.sday .ic { font-size: 22px; color: var(--gold); }
.sday span { font-size: 10px; line-height: 1.15; color: var(--muted); }
.sday.big { grid-column: span 2; background: linear-gradient(135deg, rgba(255, 178, 56, .18), var(--surface)); border-color: rgba(255, 178, 56, .35); }
.sday.big .ic { font-size: 30px; color: var(--r3); }
.sday.today { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 180, 80, .2), 0 0 24px rgba(230, 180, 80, .25); animation: bob 2s infinite; }
.sday.got { opacity: .55; }
.sday .tick { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #0b2a17; display: grid; place-items: center; font-size: 11px; }
.missions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.mission, .chestcard { display: flex; align-items: center; gap: 12px; }
.mission + .mission, .missions .card + .card { margin-top: 0; }
.mi { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 24px; color: var(--gold); background: rgba(230, 180, 80, .1); }
.mm { flex: 1; min-width: 0; }
.mb { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.mb small { font-size: 11px; color: var(--muted); }
.mission.done { opacity: .6; }
.okmark { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #0b2a17; display: grid; place-items: center; }
.chestcard .mi { color: var(--r3); background: rgba(255, 178, 56, .12); }
.chestcard.ready { border-color: var(--r3); box-shadow: 0 0 30px rgba(255, 178, 56, .2); }
.chestcard.ready .mi { animation: wiggle 1.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-4deg); } }

/* ---------------- Kavga ---------------- */
.rivals { display: flex; flex-direction: column; gap: 10px; }
.rival { display: flex; align-items: center; gap: 12px; }
.rival + .rival { margin-top: 0; }
.face {
  width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 28px;
  color: hsl(var(--h, 40) 80% 72%);
  background: radial-gradient(circle at 35% 30%, hsl(var(--h, 40) 40% 26%), hsl(var(--h, 40) 30% 12%));
  border: 2px solid hsl(var(--h, 40) 40% 32%);
}
.rv-main { flex: 1; min-width: 0; }
.rv-main h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-sub { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-top: 1px; }
.threat { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; margin-top: 5px; }
.pips { display: inline-flex; gap: 2px; }
.pips i { width: 10px; height: 5px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.threat.easy { color: var(--green); } .threat.easy .pips i.on { background: var(--green); }
.threat.even { color: var(--gold2); } .threat.even .pips i.on { background: var(--gold); }
.threat.hard { color: #ff9c50; } .threat.hard .pips i.on { background: #ff9c50; }
.threat.deadly { color: var(--red2); } .threat.deadly .pips i.on { background: var(--red); }
.btn.atk { flex-direction: column; gap: 2px; padding: 8px 12px; font-size: 12px; }
.btn.atk .ic { font-size: 22px; }
.warn { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 12px; margin-bottom: 12px; border-radius: var(--radius); border: 1px solid rgba(224, 67, 58, .4); background: rgba(224, 67, 58, .08); color: var(--red2); }

/* ---------------- Çete ---------------- */
.recruit { display: flex; align-items: center; gap: 12px; border-color: rgba(230, 180, 80, .3); }
.rc-ic { font-size: 32px; color: var(--gold); }
.rc-main { flex: 1; }
.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-top: 12px; perspective: 800px; }
.member { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 6px; text-align: center; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.member b { font-size: 12.5px; line-height: 1.2; }
.member small { font-size: 10.5px; color: var(--muted); line-height: 1.2; }
.member.me { border-color: rgba(230, 180, 80, .45); background: linear-gradient(180deg, rgba(230, 180, 80, .12), var(--surface)); }
.member.me .face { color: #1b1203; background: radial-gradient(circle at 35% 28%, #fff1c7, var(--gold) 55%, var(--gold3)); border-color: var(--gold2); }

/* ---------------- Dükkân ---------------- */
.seg { display: flex; padding: 4px; margin-bottom: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.seg button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; padding: 9px 4px; border-radius: 10px; font-weight: 800; font-size: 13px; color: var(--muted); transition: background .2s, color .2s; }
.seg button.on { background: linear-gradient(180deg, #ffe3a3, var(--gold)); color: #1b1203; }
.items { display: flex; flex-direction: column; gap: 10px; }
.items .card + .card { margin-top: 0; }
.item { display: flex; align-items: center; gap: 12px; --rc: var(--r0); }
.item.r1 { --rc: var(--r1); } .item.r2 { --rc: var(--r2); } .item.r3 { --rc: var(--r3); }
.item .tile, .prop .tile {
  position: relative; width: 58px; height: 58px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 32px;
  color: var(--rc, var(--gold)); background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--rc, var(--gold)) 22%, transparent), rgba(0, 0, 0, .35));
  border: 1px solid color-mix(in srgb, var(--rc, var(--gold)) 45%, transparent);
}
.item.r3 .tile { box-shadow: 0 0 22px rgba(255, 178, 56, .35); }
.item.r2 .tile { box-shadow: 0 0 16px rgba(178, 123, 255, .25); }
.item.lock { opacity: .5; }
.item.lock .tile { color: #5f5866; }
.im { flex: 1; min-width: 0; }
.rar { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--rc); }
.st { display: flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; margin: 3px 0; }
.st span { width: 6px; }
.st .ic { color: var(--muted); }
.ia { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.lvtag { font-size: 11px; font-weight: 800; color: var(--muted); padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, .05); }

/* ---------------- Mülkler ---------------- */
.till { display: flex; align-items: center; gap: 14px; border-color: rgba(230, 180, 80, .35); background: radial-gradient(120% 140% at 0% 0%, rgba(230, 180, 80, .16), var(--surface) 60%); }
.till.full { border-color: var(--red); animation: lowpulse 1.4s infinite; }
.till-main { flex: 1; min-width: 0; }
.till .big { font: 32px/1.1 var(--display); letter-spacing: .6px; color: var(--gold2); margin: 2px 0 6px; }
.till .bar { margin-bottom: 6px; }
.till small { font-size: 11.5px; }
.props { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.props .card + .card { margin-top: 0; }
.prop { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 14px 10px; }
.prop .tile { margin-bottom: 4px; }
.prop .cnt { position: absolute; right: -6px; bottom: -6px; font-size: 11px; padding: 1px 6px; border-radius: 8px; background: var(--gold); color: #1b1203; }
.prop.own { border-color: rgba(230, 180, 80, .3); }
.prop.lock { opacity: .5; }
.prop.lock .tile { color: #5f5866; }
.prop .btn { margin-top: 6px; }
.bank { margin-top: 12px; }
.bank-h { display: flex; gap: 12px; align-items: center; }
.bank-h > .ic { font-size: 34px; color: #f2a0b5; }
.bank-v { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .3); }
.bank-v small { color: var(--muted); }
.bank-v b { font: 22px var(--display); letter-spacing: .5px; }
.bankrow { display: flex; gap: 8px; margin-top: 10px; }
.bankrow input, .intro input {
  flex: 1; min-width: 0; background: rgba(0, 0, 0, .4); border: 1px solid var(--line2); border-radius: 12px;
  color: var(--text); padding: 9px 12px; font: 700 15px var(--sans);
}
.bankrow input:focus, .intro input:focus { outline: 2px solid var(--gold); outline-offset: -1px; }

/* ---------------- Profil ---------------- */
.pcard { display: flex; gap: 16px; align-items: center; background: radial-gradient(120% 140% at 0% 0%, rgba(230, 180, 80, .18), var(--surface) 60%); border-color: rgba(230, 180, 80, .3); }
.pc-emb {
  position: relative; width: 76px; height: 76px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 44px; color: #1b1203;
  background: radial-gradient(circle at 35% 28%, #fff1c7, var(--gold) 55%, var(--gold3)); box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--gold), 0 0 30px rgba(230, 180, 80, .35);
}
.pc-emb span { position: absolute; bottom: -8px; right: -6px; font: 15px var(--display); background: var(--red); color: #fff; border-radius: 10px; padding: 2px 8px; box-shadow: 0 0 0 2px var(--ink); }
.pcard h2 { font: 26px/1.05 var(--display); letter-spacing: .6px; }
.pc-pow { display: flex; gap: 12px; margin-top: 8px; font-weight: 800; font-size: 13px; }
.pc-pow span { display: inline-flex; gap: 4px; align-items: center; }
.pc-pow .ic { color: var(--gold); }
.pts { font: 22px var(--display); color: var(--muted); }
.pts.hot { color: var(--gold2); text-shadow: 0 0 12px rgba(230, 180, 80, .6); }
.skills { display: flex; flex-direction: column; }
.skill { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.skill:last-child { border-bottom: 0; }
.skill > .ic { font-size: 22px; color: var(--gold); }
.sk-m { flex: 1; }
.sk-m small { display: block; color: var(--muted); font-size: 11.5px; }
.plus { width: 38px; height: 38px; border: 0; border-radius: 12px; font: 22px/1 var(--display); background: linear-gradient(180deg, #ffe3a3, var(--gold)); color: #1b1203; box-shadow: 0 3px 0 #8a5f16; }
.plus.dim { background: #2a2530; color: #6d6573; box-shadow: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats div { background: rgba(0, 0, 0, .3); border-radius: 12px; padding: 10px 6px; text-align: center; }
.stats b { display: block; font: 18px var(--display); letter-spacing: .4px; color: var(--gold2); }
.stats small { color: var(--muted); font-size: 11px; }
.news { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; }
.news li { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.news li:last-child { border-bottom: 0; }
.news li .ic { margin-top: 2px; }
.news li.bad { color: var(--red2); }
.news li.good { color: #a8e6bd; }
.settings .tog { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; cursor: pointer; }
.settings .tog span { display: flex; gap: 8px; align-items: center; }
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog i { width: 44px; height: 26px; border-radius: 13px; background: #2a2530; position: relative; transition: background .2s; }
.tog i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.tog input:checked + i { background: var(--gold); }
.tog input:checked + i::after { transform: translateX(18px); }
.tog input:focus-visible + i { outline: 2px solid var(--gold2); outline-offset: 2px; }
.credits { font-size: 11px; color: var(--muted); text-align: center; margin: 16px 8px 0; line-height: 1.5; }

/* ---------------- Alt menü ---------------- */
#nav {
  flex: none; position: relative; display: grid; grid-template-columns: repeat(7, 1fr);
  background: rgba(15, 13, 19, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
#nav .pill { position: absolute; top: 6px; left: 0; width: 46px; height: 50px; border-radius: 14px; background: linear-gradient(180deg, rgba(230, 180, 80, .22), rgba(230, 180, 80, .06)); border: 1px solid rgba(230, 180, 80, .3); pointer-events: none; }
#nav button {
  position: relative; z-index: 1; background: none; border: 0; padding: 6px 0 5px; min-height: 50px;
  display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 800; color: var(--muted);
  transition: color .2s;
}
#nav button .ic { font-size: 22px; transition: transform .25s var(--ease); }
#nav button.on { color: var(--gold2); }
#nav button.on .ic { transform: translateY(-1px) scale(1.12); filter: drop-shadow(0 0 6px rgba(230, 180, 80, .6)); }
#nav button.dot::after { content: ''; position: absolute; top: 5px; right: calc(50% - 17px); width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--ink2); }

/* ---------------- Katmanlar ---------------- */
#overlay {
  position: fixed; inset: 0; z-index: 60; display: flex; padding: 16px;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  background: radial-gradient(circle at 50% 40%, rgba(35, 26, 40, .92), rgba(5, 4, 8, .96));
  backdrop-filter: blur(6px);
  /* iPhone: adres çubuğu yüzünden görünen alan küçülür; uzun pencereler kaydırılabilsin, küçükler ortada dursun */
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
#overlay > * { margin: auto; flex: none; max-width: 100%; }
.ov-center { position: relative; width: min(100%, 400px); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ov-center > *:not(.rays) { position: relative; }
.ov-title { font: 34px/1.1 var(--display); padding-bottom: .12em; letter-spacing: 1px; text-transform: uppercase; background: linear-gradient(180deg, #fff6dc, var(--gold2) 50%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ov-card { width: min(100%, 400px); background: linear-gradient(180deg, #231e2b, #16131b); border: 1px solid var(--line2); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.ov-card .news { margin: 12px 0; }
.tip { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--gold2); margin-bottom: 14px; }
.rays {
  position: absolute; left: 50%; top: 110px; width: 640px; height: 640px; margin: -320px 0 0 -320px; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 217, 138, .13) 0 10deg, transparent 10deg 24deg);
  mask: radial-gradient(circle, #000 10%, transparent 62%); -webkit-mask: radial-gradient(circle, #000 10%, transparent 62%);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.lv-badge {
  width: 130px; height: 130px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 28%, #fff1c7, var(--gold) 55%, var(--gold3)); color: #1b1203;
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 8px var(--gold), 0 0 70px rgba(230, 180, 80, .55);
}
.lv-badge small { font: 13px var(--display); letter-spacing: 3px; }
.lv-badge b { font: 62px/1 var(--display); }
.unlocks { list-style: none; padding: 0; margin: 4px 0 0; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.unlocks li { display: flex; gap: 10px; align-items: center; text-align: left; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 13.5px; }
.unlocks .ic { font-size: 22px; color: var(--gold); }

/* Ganimet kartı */
.loot { --rc: var(--r0); }
.loot.r1 { --rc: var(--r1); } .loot.r2 { --rc: var(--r2); } .loot.r3 { --rc: var(--r3); }
.loot .rays { background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rc) 25%, transparent) 0 10deg, transparent 10deg 24deg); top: 190px; }
.lcard { position: relative; width: 200px; height: 270px; margin: 10px 0 14px; }
.lcard .lc-front, .lcard.open .lc-back { display: none; }
.lcard.open .lc-front { display: flex; }
.lc-back, .lc-front { position: absolute; inset: 0; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.lc-back { background: repeating-linear-gradient(45deg, #231d2a 0 10px, #1a1520 10px 20px); border: 2px solid var(--line2); font-size: 70px; color: var(--gold3); }
.lc-front { padding: 16px; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--rc) 30%, #1c1823), #141118 70%); border: 2px solid var(--rc); box-shadow: 0 0 50px color-mix(in srgb, var(--rc) 45%, transparent); }
.lc-rar { font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--rc); }
.lc-ic { font-size: 96px; color: var(--rc); filter: drop-shadow(0 0 20px color-mix(in srgb, var(--rc) 70%, transparent)); }
.lc-front h3 { font: 20px var(--display); letter-spacing: .6px; text-transform: uppercase; }

/* VS sahnesi */
.vs { position: relative; width: min(100%, 420px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; row-gap: 22px; }
.vs-side { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.vs-side b { font-size: 14px; }
.vs-side small { font-size: 11.5px; color: var(--muted); }
.vs-face { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; font-size: 64px; }
.me .vs-face { color: #1b1203; background: radial-gradient(circle at 35% 28%, #fff1c7, var(--gold) 55%, var(--gold3)); box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--gold), 0 0 40px rgba(230, 180, 80, .4); }
.them .vs-face { color: hsl(var(--h) 80% 75%); background: radial-gradient(circle at 35% 30%, hsl(var(--h) 40% 28%), hsl(var(--h) 30% 10%)); box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--red), 0 0 40px rgba(224, 67, 58, .4); }
.vs-mid span { font: 46px var(--display); color: #fff; text-shadow: 0 0 20px var(--red), 3px 3px 0 var(--red); font-style: italic; }
.vs-result { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vs-banner { font: 58px/1.1 var(--display); letter-spacing: 3px; padding: 0 .1em .1em; }
.vs.win .vs-banner { background: linear-gradient(180deg, #fff6dc, var(--gold2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 #6b4a10); }
.vs.lose .vs-banner { color: var(--red); text-shadow: 0 4px 0 #5a1511; }
.vs-rew { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-weight: 800; font-size: 15px; }
.vs-rew span { display: inline-flex; gap: 5px; align-items: center; }

/* Patron arenası */
.arena { position: relative; width: min(100%, 420px); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.arena .x { position: absolute; right: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .05); display: grid; place-items: center; font-size: 18px; }
.arena .eyebrow { color: var(--hue); }
.ar-boss { position: relative; width: 190px; height: 190px; display: grid; place-items: center; margin: 6px 0; }
.ar-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--hue), transparent 30%, var(--hue) 50%, transparent 80%, var(--hue)); mask: radial-gradient(circle, transparent 62%, #000 63%, #000 67%, transparent 68%); -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 67%, transparent 68%); animation: spin 6s linear infinite; }
.ar-face { font-size: 120px; color: var(--hue); filter: drop-shadow(0 0 30px color-mix(in srgb, var(--hue) 70%, transparent)); }
.ar-bar { width: 100%; display: flex; align-items: center; gap: 8px; }
.ar-bar .bar { height: 12px; }
.ar-bar small { font-size: 11.5px; color: var(--muted); min-width: 72px; text-align: right; font-variant-numeric: tabular-nums; }
.ar-me { width: 100%; display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.ar-me .ar-bar .ic { color: var(--red); }
.ar-me .ar-bar .bar { height: 8px; }
.ar-st { display: flex; gap: 4px; align-items: center; font-weight: 800; }
.ar-st .ic { color: var(--blue); }
.hit {
  margin-top: 10px; width: 150px; height: 150px; border-radius: 50%; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: radial-gradient(circle at 40% 30%, #ff9a88, var(--red) 55%, #8f1e17); color: #fff;
  box-shadow: 0 8px 0 #5a1511, 0 0 0 6px rgba(224, 67, 58, .18), 0 20px 50px rgba(224, 67, 58, .45);
}
.hit .ic { font-size: 52px; }
.hit span { font: 26px var(--display); letter-spacing: 3px; }
.hit:active { transform: translateY(4px); box-shadow: 0 4px 0 #5a1511, 0 0 0 10px rgba(224, 67, 58, .12); }
.bossdown { position: relative; font-size: 110px; color: var(--gold); filter: grayscale(.4) drop-shadow(0 0 30px rgba(230, 180, 80, .5)); }
.bossdown i { position: absolute; right: -10px; bottom: 0; font-size: 44px; color: var(--red); filter: none; }
.dm-ic { font-size: 90px; color: var(--hue); filter: drop-shadow(0 0 30px var(--hue)); }
.threatbox { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 14px; background: rgba(224, 67, 58, .1); border: 1px solid rgba(224, 67, 58, .35); margin: 4px 0 6px; }
.threatbox > .ic { font-size: 40px; color: var(--red2); }
.threatbox small { display: block; color: var(--muted); font-size: 12px; }

/* Tanıtım */
.intro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: linear-gradient(180deg, #07060a 0%, #1a1020 55%, #2a1419 100%); overflow: hidden; }
.moon { position: absolute; top: 9%; right: 16%; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff3d6, #e6b450 70%); box-shadow: 0 0 80px rgba(230, 180, 80, .5); opacity: .9; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; fill: #07060a; }
.skyline .win { fill: #ffd98a; animation: flicker 5s infinite; }
.intro-lines { position: absolute; top: 30%; left: 24px; right: 24px; text-align: center; }
.intro-lines p { font: 26px/1.3 var(--display); letter-spacing: 1px; text-transform: uppercase; margin: 8px 0; opacity: 0; }
.intro-logo { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin-top: -8vh; }
.intro-logo span { font: 76px/1 var(--display); padding: 0 .08em .14em; letter-spacing: 3px; opacity: 0; background: linear-gradient(180deg, #fff6dc 10%, var(--gold2) 45%, var(--gold) 60%, #8a5f16); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 0 #5a1511) drop-shadow(0 16px 30px rgba(0, 0, 0, .7)); }
.intro-logo span + span { font-size: 54px; letter-spacing: 6px; margin-top: -.18em; }
.intro-logo.shine span { background-size: 100% 100%; animation: none; }
.intro-form { position: relative; z-index: 1; width: min(100%, 340px); margin-top: 28px; opacity: 0; }
.intro label { display: flex; flex-direction: column; gap: 6px; text-align: left; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.intro input { font-size: 18px; padding: 13px 14px; text-transform: none; letter-spacing: 0; }
.skip { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line2); border-radius: 99px; padding: 6px 14px; font-size: 12px; font-weight: 800; color: var(--muted); }

/* Eğitim işaretçisi */
#coach { position: fixed; inset: 0; z-index: 55; pointer-events: none; }
.cring { position: fixed; border-radius: 16px; box-shadow: 0 0 0 3px var(--gold2), 0 0 0 9999px rgba(5, 4, 8, .55); animation: cring 1.4s ease-in-out infinite; transition: all .3s var(--ease); }
@keyframes cring { 50% { box-shadow: 0 0 0 6px rgba(255, 217, 138, .6), 0 0 0 9999px rgba(5, 4, 8, .55); } }
.ctip { position: fixed; width: 260px; padding: 12px 14px; border-radius: 14px; background: #fff3d6; color: #1b1203; font-weight: 800; font-size: 14px; box-shadow: var(--shadow); pointer-events: auto; animation: bob 2s ease-in-out infinite; }
.ctip button { display: block; margin-top: 6px; background: none; border: 0; padding: 0; font-size: 11.5px; color: #8a5f16; text-decoration: underline; }
.ctip::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px; background: #fff3d6; transform: rotate(45deg); }
.ctip.up::after { bottom: auto; top: -7px; }

/* Bildirimler + efekt parçaları */
#toasts { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); flex-direction: column-reverse; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 6px; width: min(92vw, 420px); pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 14px; background: rgba(31, 27, 38, .96); border: 1px solid rgba(230, 180, 80, .4); font-weight: 700; font-size: 13.5px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.toast > .ic { color: var(--green); font-size: 18px; }
.toast.bad { border-color: rgba(224, 67, 58, .5); }
.toast.bad > .ic { color: var(--red2); }
.fly { position: fixed; left: 0; top: 0; z-index: 85; width: 22px; height: 22px; pointer-events: none; }
.fly svg { width: 100%; height: 100%; fill: var(--gold2); filter: drop-shadow(0 0 6px rgba(230, 180, 80, .8)); }
.fly.star svg { fill: var(--green); filter: drop-shadow(0 0 6px rgba(95, 207, 138, .8)); }
.floaty { position: fixed; left: 0; top: 0; z-index: 86; pointer-events: none; white-space: nowrap; font: 22px var(--display); letter-spacing: .6px; color: #fff; text-shadow: 0 2px 0 #000, 0 0 12px rgba(0, 0, 0, .8); }
.floaty.cash { color: var(--gold2); }
.floaty.spend { color: var(--red2); font-size: 18px; }
.floaty.dmg { font-size: 30px; color: #fff; }
.floaty.dmg.crit { font-size: 40px; color: var(--gold2); }
.floaty.dmg.me { color: var(--red2); font-size: 24px; }
.flash { position: fixed; inset: 0; z-index: 84; pointer-events: none; }
.spark { position: fixed; left: 0; top: 0; z-index: 87; width: 14px; height: 3px; border-radius: 2px; pointer-events: none; }

@media (max-width: 370px) {
  .meters { gap: 5px; }
  .meter { padding: 5px 6px; gap: 5px; }
  .meter > .ic { font-size: 15px; }
  .mt small { display: none; }
  .c1 { font-size: 16px; }
  #nav button { font-size: 9.5px; }
  .intro-logo span { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------------- Gerçek oyuncular ---------------- */
.netcard { display: flex; align-items: center; gap: 12px; }
.netcard > .ic { font-size: 28px; color: var(--gold); }
.netcard.bad > .ic { color: var(--red2); }
.netcard > div { flex: 1; }
.invite { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; border-color: rgba(224, 67, 58, .35); background: radial-gradient(120% 140% at 0% 0%, rgba(224, 67, 58, .18), var(--surface) 60%); }
.inv-ic { font-size: 32px; color: var(--red2); }
.inv-main { flex: 1; }
.rival.real .face { position: relative; }
.face .live { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--surface), 0 0 8px var(--green); }
.rival.foe { border-color: rgba(224, 67, 58, .5); background: linear-gradient(180deg, rgba(224, 67, 58, .12), var(--surface)); }
.foetag { font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: var(--red); color: #fff; vertical-align: middle; }
.pill-s { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: rgba(79, 163, 240, .15); color: var(--blue); }
.btn.atk.dim { background: #2a2530; color: #7d7484; box-shadow: none; }
.btn.working { opacity: .6; pointer-events: none; }
.realtag { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.shieldnote { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 8px; margin-bottom: 10px; border-radius: 12px; background: rgba(79, 163, 240, .1); border: 1px solid rgba(79, 163, 240, .3); color: var(--blue); font-weight: 800; font-size: 13px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 12px; text-align: center; color: var(--muted); }
.empty .ic { font-size: 36px; color: #5f5866; }
.empty b { color: var(--text); }
.vs-face.them { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; font-size: 64px; color: hsl(var(--h) 80% 75%); background: radial-gradient(circle at 35% 30%, hsl(var(--h) 40% 28%), hsl(var(--h) 30% 10%)); box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--red), 0 0 40px rgba(224, 67, 58, .4); }

.board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.board li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.board li.me { border-color: var(--gold); background: linear-gradient(90deg, rgba(230, 180, 80, .15), var(--surface)); }
.rank { width: 28px; text-align: center; font: 17px var(--display); color: var(--muted); }
.rank .ic { font-size: 22px; }
.rank.r1 { color: #ffd24a; } .rank.r2 { color: #cfd6de; } .rank.r3 { color: #d98c4a; }
.face.sm { width: 36px; height: 36px; font-size: 20px; }
.bd-main { flex: 1; min-width: 0; }
.bd-main b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-main small { color: var(--muted); font-size: 11.5px; }
.bd-worth { font: 16px var(--display); color: var(--gold2); letter-spacing: .4px; }

/* ---------------- Gerçek şehir haritası ---------------- */
.cityhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.cityhead .eyebrow { display: flex; align-items: center; gap: 4px; }
.cityhead h2 { font: 28px/1.05 var(--display); letter-spacing: .6px; text-transform: uppercase; }
.rule { display: flex; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.rule > .ic { font-size: 20px; color: var(--gold); }
.rule div { text-align: center; }
.rule b { display: block; font: 18px var(--display); color: var(--gold2); }
.rule small { font-size: 10px; color: var(--muted); }
.mapwrap.real { position: relative; aspect-ratio: 360 / 430; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; background: #0d0c11; }
.mapwrap.real:active { cursor: grabbing; }
.mapwrap .svghost, .mapwrap .svghost svg { width: 100%; height: 100%; display: block; }
.mapwrap.skeleton { aspect-ratio: 360 / 430; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }
.mapwrap.skeleton .ic { font-size: 40px; color: var(--gold); animation: spin 3s linear infinite; }
.citymap.real .void { fill: #0a0a0e; }
.citymap.real .gridl { fill: none; stroke: rgba(255, 255, 255, .03); stroke-width: .5; }
.citymap.real .ilce { fill: #1a1720; stroke: rgba(255, 236, 200, .22); stroke-width: 1; cursor: pointer; transition: fill .25s; }
.citymap.real .ilce:hover { fill: #241f2c; }
.citymap.real .ilce.owned { fill: color-mix(in srgb, var(--own) 28%, #1a1720); }
.citymap.real .ilce.mine { fill: color-mix(in srgb, var(--gold) 34%, #1a1720); stroke: rgba(255, 217, 138, .6); }
.citymap.real .ilce.open { stroke: color-mix(in srgb, var(--hue) 70%, transparent); stroke-width: 1.6; }
.citymap.real .ilce.open:not(.mine):not(.owned) { fill: color-mix(in srgb, var(--hue) 14%, #1a1720); }
.citymap.real .ilce.locked:not(.mine):not(.owned) { fill: #16141b; }
.citymap.real .il-n { fill: rgba(244, 236, 223, .42); font-family: var(--sans); font-weight: 800; text-anchor: middle; dominant-baseline: middle; pointer-events: none; paint-order: stroke; stroke: rgba(10, 10, 14, .85); stroke-width: .25em; letter-spacing: .02em; }
.citymap.real .il-n.st { fill: rgba(244, 236, 223, .7); }
.citymap.real .il-n .own { fill: var(--gold2); font-size: .82em; }
.citymap.real .route { fill: none; stroke: rgba(255, 255, 255, .25); stroke-linecap: round; }
.citymap.real .route.done { stroke: var(--gold); filter: drop-shadow(0 0 2px rgba(230, 180, 80, .9)); animation: none; }
.citymap.real .node { transform-box: view-box; }
.citymap.real .node .home circle { fill: var(--gold); stroke: var(--ink); stroke-width: 2; }
.citymap.real .node .home use { fill: #1b1203; }
.mapctl { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.mapctl button { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(17, 15, 21, .85); backdrop-filter: blur(6px); color: var(--text); font: 20px/1 var(--display); display: grid; place-items: center; }
.mapctl button .ic { font-size: 18px; color: var(--gold); }
.mapnote { position: absolute; left: 10px; bottom: 8px; font-size: 9.5px; color: rgba(255, 255, 255, .35); pointer-events: none; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 2px 0; font-size: 11.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; border: 1px solid var(--line2); }
.lg.route { background: none; border: 2px dashed var(--gold); border-radius: 50%; }
.lg.mine { background: color-mix(in srgb, var(--gold) 45%, #1a1720); }
.lg.owned { background: hsl(200 60% 35%); }
.lg.free { background: #1a1720; }
.neartag { font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; vertical-align: middle; }
.neartag.n3 { background: var(--gold); color: #1b1203; }
.neartag.n2 { background: rgba(230, 180, 80, .2); color: var(--gold2); }
.neartag.n1 { background: rgba(255, 255, 255, .08); color: var(--muted); }
.chips-nav { display: flex; gap: 6px; overflow-x: auto; margin: 0 -14px 12px; padding: 0 14px 2px; scrollbar-width: none; }
.chips-nav::-webkit-scrollbar { display: none; }
.chips-nav button { flex: none; padding: 7px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: 12.5px; color: var(--muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips-nav button.on { background: var(--gold); color: #1b1203; border-color: var(--gold); }
.locrow { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 13px; }
.locrow > .ic { color: var(--gold); }
.locrow span { flex: 1; }

/* ---------------- Konum seçici ---------------- */
.picker { position: relative; width: min(100%, 440px); height: min(86vh, 720px); height: min(86dvh, 720px); display: flex; flex-direction: column; background: linear-gradient(180deg, #231e2b, #16131b); border: 1px solid var(--line2); border-radius: 24px; padding: 18px 16px 12px; box-shadow: var(--shadow); overflow: hidden; }
.pk-loading { margin: auto; display: flex; gap: 8px; align-items: center; color: var(--muted); }
.pk-loading .ic { color: var(--gold); animation: spin 3s linear infinite; }
.pk-head { position: relative; text-align: center; }
.pk-head .x, .picker .x { position: absolute; right: 0; top: -4px; width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .05); display: grid; place-items: center; font-size: 16px; }
.pk-head .ov-title { font-size: 30px; }
.pk-crumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 10px; }
.crumb { text-align: left; padding: 7px 9px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); min-width: 0; }
.crumb small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.crumb b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.crumb.done b { color: var(--text); }
.crumb.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 180, 80, .15); }
.crumb.on b { color: var(--gold2); }
.crumb:disabled { opacity: .45; cursor: default; }
.pk-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 14px; background: rgba(0, 0, 0, .4); border: 1px solid var(--line2); }
.pk-search:focus-within { border-color: var(--gold); }
.pk-search .ic { color: var(--muted); font-size: 18px; }
.pk-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); padding: 12px 0; font: 700 16px var(--sans); outline: none; }
.pk-list { flex: 1; overflow-y: auto; margin: 10px -6px 0; padding: 0 6px 8px; overscroll-behavior: contain; }
.pk-item { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 12px 12px; border: 0; border-bottom: 1px solid var(--line); background: none; font-weight: 700; font-size: 15px; border-radius: 10px; }
.pk-item:hover, .pk-item:focus-visible { background: rgba(230, 180, 80, .1); outline: none; }
.pk-item .chev { color: var(--muted); transform: rotate(90deg); font-size: 14px; }
.pk-done { position: relative; margin: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pk-done > *:not(.rays) { position: relative; }
.pk-done .rays { top: 60px; }
.pk-pin { font-size: 72px; color: var(--red); filter: drop-shadow(0 8px 16px rgba(224, 67, 58, .5)); }
.citymap.real .leader { fill: none; stroke: rgba(255, 236, 200, .35); }
.citymap.real .anchor { fill: var(--hue); stroke: var(--ink); stroke-width: .3; }
.pk-head .ov-title { padding-inline: 34px; }

/* ---------------- Cephanelik ---------------- */
.seg button small { font-size: 11px; opacity: .7; margin-left: 2px; }
.powercard { margin-bottom: 10px; }
.pw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pw-big { display: flex; flex-direction: column; align-items: center; padding: 8px; border-radius: 12px; background: rgba(0, 0, 0, .3); }
.pw-big .ic { font-size: 22px; color: var(--gold); }
.pw-big b { font: 30px/1.1 var(--display); letter-spacing: .5px; }
.pw-big small { font-size: 11px; color: var(--muted); }
.pw-bars { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pw-bars small { font-size: 11px; color: var(--muted); }
.stack { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .06); margin-top: 3px; }
.stack i { height: 100%; transition: width .5s var(--ease); }
.sb { background: #8d8494; } .sw { background: var(--red2); } .sa { background: var(--blue); } .sv { background: var(--gold); }
.pw-legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 11px; color: var(--muted); }
.pw-legend span { display: inline-flex; align-items: center; gap: 5px; }
.pw-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.slot { padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.slot.short { border-color: rgba(224, 67, 58, .4); }
.sl-h { display: flex; align-items: center; gap: 5px; font-size: 12.5px; }
.sl-h .ic { color: var(--gold); }
.sl-h span { margin-left: auto; font-weight: 800; }
.slot.short .sl-h span { color: var(--red2); }
.slot .link, .slot small { font-size: 10.5px; text-align: left; }
.slot .link { color: var(--red2); }
.bag { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.bagitem { --rc: var(--r0); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 10px; border-radius: 14px; background: linear-gradient(180deg, var(--surface2), var(--surface)); border: 1px solid var(--line); text-align: center; transition: transform .15s var(--ease), border-color .2s; }
.bagitem:active { transform: scale(.96); }
.bagitem:hover { border-color: color-mix(in srgb, var(--rc) 50%, transparent); }
.bagitem.r1 { --rc: var(--r1); } .bagitem.r2 { --rc: var(--r2); } .bagitem.r3 { --rc: var(--r3); }
.bagitem .tile { position: relative; width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; font-size: 32px; color: var(--rc); background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--rc) 22%, transparent), rgba(0, 0, 0, .35)); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); }
.bagitem.r3 .tile { box-shadow: 0 0 18px rgba(255, 178, 56, .35); }
.bagitem .cnt { position: absolute; right: -7px; bottom: -7px; font-size: 11px; padding: 1px 6px; border-radius: 8px; background: var(--gold); color: #1b1203; }
.bi-n { font-size: 12px; line-height: 1.2; min-height: 2.4em; display: flex; align-items: center; }
.bagitem .st { justify-content: center; font-size: 11.5px; margin: 0; }
.bagitem small { font-size: 10.5px; color: var(--muted); }
.bagitem small.on { color: var(--green); }
.empty .btn { margin-top: 8px; }

.itemhero { --rc: var(--r0); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 10px 0 6px; }
.itemhero.r1 { --rc: var(--r1); } .itemhero.r2 { --rc: var(--r2); } .itemhero.r3 { --rc: var(--r3); }
.itemhero > *:not(.rays) { position: relative; }
.itemhero .rays { top: 70px; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rc) 22%, transparent) 0 10deg, transparent 10deg 24deg); }
.ih-ic { font-size: 96px; color: var(--rc); filter: drop-shadow(0 0 22px color-mix(in srgb, var(--rc) 60%, transparent)); }
.itemhero .rar { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--rc); }
.itemhero h2 { font: 28px/1.1 var(--display); letter-spacing: .6px; text-transform: uppercase; }
.ih-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; margin: 8px 0 4px; }
.ih-stats div { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 12px; background: rgba(0, 0, 0, .3); }
.ih-stats .ic { color: var(--muted); }
.ih-stats b { font: 20px var(--display); }
.ih-stats small { font-size: 10px; color: var(--muted); }
@media (max-width: 370px) { .slots { grid-template-columns: 1fr; } }
.hud-top { gap: 8px; } .wallet { padding: 6px 10px 6px 7px; } .iconbtn { width: 38px; }
.ov-card.intro { position: relative; inset: auto; background: linear-gradient(180deg, #231e2b, #16131b); } .pcard h2 .link { font: 800 12px var(--sans); vertical-align: middle; }
.acct { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.acct .ac-ic { font-size: 30px; }
.acct .ac-main { flex: 1; min-width: 180px; }
.warn-acct { border-color: rgba(230, 180, 80, .5); background: radial-gradient(120% 140% at 0% 0%, rgba(230, 180, 80, .16), var(--surface) 60%); }
.warn-acct .ac-ic { color: var(--gold); }
.ok-acct .ac-ic { color: var(--green); }
.intro .gl { display: block; margin: 14px auto 0; color: var(--muted); }
.ov-card.center { text-align: center; }
.ov-card .dm-ic { font-size: 64px; color: var(--gold); }

/* ---------------- İlçe oyuncuları ---------------- */
.citymap.real .pcount { cursor: pointer; }
.citymap.real .pcount rect { fill: #f4ecdf; stroke: #0b0a0d; stroke-width: 2; }
.citymap.real .pcount use { fill: #1b1203; }
.citymap.real .pcount text { font: 800 12px var(--sans); fill: #1b1203; text-anchor: middle; }
.citymap.real .pcount.live rect { fill: var(--gold2); }
.citymap.real .pcount .dot { fill: var(--green); stroke: #0b0a0d; stroke-width: 1.5; }
.map-hint { margin-top: 8px; }
.ilstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0; }
.ilstats div { text-align: center; padding: 10px 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.ilstats b { display: block; font: 22px var(--display); }
.ilstats small { font-size: 10.5px; color: var(--muted); }
.green-t { color: var(--green); }
.ruler { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(230, 180, 80, .1); border: 1px solid rgba(230, 180, 80, .35); margin-bottom: 12px; font-size: 13.5px; }
.ruler .ic { color: var(--gold); font-size: 22px; }
.mahgrp { margin-top: 12px; }
.mahgrp h3 { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 6px; }
.mahgrp h3 .ic { color: var(--red2); }
.mahgrp h3 small { color: var(--muted); font-weight: 700; font-size: 11.5px; }
.prow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-top: 6px; }
.prow.me { border-color: var(--gold); }
.prow .face.sm { position: relative; }
.pr-main { flex: 1; min-width: 0; }
.pr-main b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-main small { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
.lvpill { font: 14px var(--display); padding: 3px 8px; border-radius: 8px; background: rgba(230, 180, 80, .15); color: var(--gold2); }
.prow .btn.atk { padding: 8px 10px; }
.prow .btn.atk .ic { font-size: 18px; }

/* ---------------- Sınırsız: il gezinme, geliştirme, mülk bonusu ---------------- */
.ilnav { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ilnav button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); font: 22px/1 var(--display); color: var(--gold2); }
.ilnav button:disabled { opacity: .3; }
.ilnav div { flex: 1; text-align: center; }
.ilnav small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.ilnav b { font: 20px var(--display); letter-spacing: .6px; text-transform: uppercase; }
.milestone { font-size: 10.5px; color: var(--gold); font-weight: 800; }
.enh { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin-top: 10px; border-radius: 14px; background: rgba(224, 67, 58, .08); border: 1px solid rgba(224, 67, 58, .35); text-align: left; }
.enh div { flex: 1; }
.enh small { display: block; font-size: 11.5px; color: var(--muted); }
.itemhero h2 .plus, .plus { color: var(--red2); }

/* ---------------- Kadro: patron + sağ kollar ---------------- */
.squad-top { margin: 0 0 10px; }
.squad-top small { flex: 1; min-width: 150px; font-size: 11.5px; }
.member-card { margin-bottom: 10px; }
.member-card.hero { border-color: rgba(230, 180, 80, .45); background: radial-gradient(120% 140% at 0% 0%, rgba(230, 180, 80, .16), var(--surface) 60%); }
.mc-head { display: flex; gap: 12px; align-items: center; }
.mc-face { position: relative; width: 58px; height: 58px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 32px; color: #1b1203;
  background: radial-gradient(circle at 35% 28%, #fff1c7, var(--gold) 55%, var(--gold3)); box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--gold); }
.mc-face span { position: absolute; right: -6px; bottom: -6px; font: 13px var(--display); background: var(--red); color: #fff; border-radius: 8px; padding: 1px 6px; box-shadow: 0 0 0 2px var(--ink); }
.mc-face.lt { color: hsl(var(--h) 80% 75%); background: radial-gradient(circle at 35% 30%, hsl(var(--h) 40% 28%), hsl(var(--h) 30% 10%)); box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px hsl(var(--h) 45% 40%); }
.mc-face.big { width: 110px; height: 110px; font-size: 64px; }
.mc-main { flex: 1; min-width: 0; }
.mc-main h3 { font: 20px var(--display); letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-pow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; font-weight: 800; margin-top: 2px; }
.mc-pow .ic { color: var(--gold); }
.perk { font-size: 11px; padding: 1px 7px; border-radius: 6px; background: rgba(95, 207, 138, .15); color: var(--green); }
.slots3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.slot3 { --rc: var(--r0); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 8px; border-radius: 12px; min-height: 92px;
  background: radial-gradient(circle at 50% 25%, color-mix(in srgb, var(--rc) 20%, transparent), rgba(0, 0, 0, .3)); border: 1.5px solid color-mix(in srgb, var(--rc) 50%, transparent); text-align: center; }
.slot3.r1 { --rc: var(--r1); } .slot3.r2 { --rc: var(--r2); } .slot3.r3 { --rc: var(--r3); }
.slot3 > .ic { font-size: 30px; color: var(--rc); }
.slot3 small { font-size: 10.5px; font-weight: 700; line-height: 1.15; }
.slot3 b { font-size: 11px; color: var(--gold2); }
.slot3.empty { --rc: #5f5866; border-style: dashed; background: rgba(0, 0, 0, .2); }
.slot3.empty small { color: var(--muted); }
.ic.ghost { opacity: .5; }
.sq-title { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 8px; font: 20px var(--display); letter-spacing: .5px; text-transform: uppercase; }
.sq-title small { font: 800 12px var(--sans); color: var(--muted); }
.perkline { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.perkline span { font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: rgba(95, 207, 138, .12); color: var(--green); border: 1px solid rgba(95, 207, 138, .3); }
.locked-lt { display: flex; gap: 12px; align-items: center; border-style: dashed; color: var(--muted); }
.locked-lt > .ic { font-size: 28px; color: #5f5866; }
.locked-lt small { display: block; font-size: 11.5px; }
.eqlist { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.eqrow { --rc: var(--r0); display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.eqrow.r1 { --rc: var(--r1); } .eqrow.r2 { --rc: var(--r2); } .eqrow.r3 { --rc: var(--r3); }
.eqrow .tile { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: 26px; color: var(--rc); background: rgba(0, 0, 0, .3); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); flex: none; }
.eqrow .im { flex: 1; }
.eqrow .im small { display: flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--muted); }
.eqrow.on { border-color: var(--gold); }
.eqrow:disabled { opacity: .4; }
.threatbox.ok { background: rgba(95, 207, 138, .1); border-color: rgba(95, 207, 138, .35); }
.threatbox.ok > .ic { color: var(--green); }
.swaplist { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

/* ---------------- Kavga karşılaştırması ---------------- */
.cmp { width: 100%; max-width: 360px; margin: 4px auto 0; padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, .4); border: 1px solid var(--line2); text-align: left; }
.cmp-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.cmp-head span b { color: var(--gold2); font-size: 15px; }
.cmp-head > b { color: var(--text); }
.cmp-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cmp-v { width: 58px; font: 15px var(--display); letter-spacing: .3px; color: var(--muted); }
.cmp-v:last-child { text-align: right; }
.cmp-v.win { color: var(--gold2); }
.cmp-mid { flex: 1; }
.cmp-mid small { display: flex; align-items: center; gap: 4px; justify-content: center; font-size: 10.5px; color: var(--muted); margin-bottom: 3px; }
.cmp-bar { height: 7px; border-radius: 99px; background: rgba(224, 67, 58, .55); overflow: hidden; }
.cmp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold3), var(--gold2)); }
.cmp-why { margin: 8px 0 0 !important; font-size: 12.5px; color: var(--text); text-align: center; }

/* ---------------- Mahalle savaşı ---------------- */
.mahlead { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 6px; border-radius: 12px; background: rgba(230, 180, 80, .08); border: 1px solid rgba(230, 180, 80, .3); font-size: 12.5px; }
.mahlead > .ic { color: var(--gold); font-size: 18px; flex: none; }
.mahlead span { flex: 1; }
.mahlead small { color: var(--muted); }
.mahlead.mine { background: rgba(95, 207, 138, .1); border-color: rgba(95, 207, 138, .4); }
.mahlead .btn { flex: none; }
.bosslink { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; border-color: rgba(79, 163, 240, .4); }
.bosslink > .ic { font-size: 28px; color: var(--blue); }
.bosslink div { flex: 1; }
.bosslink b { display: block; font-size: 15px; }
.real-lt { border-color: rgba(95, 207, 138, .35); }
.real-lt .mc-face { position: relative; }
.haracnote { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 11.5px; color: var(--gold2); }
.invite-card .news li { font-size: 13px; }
.ac-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.savepicks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.savepick { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 14px 8px; border-color: rgba(230, 180, 80, .35); }
.savepick:hover { border-color: var(--gold); }
.savepick b { font-size: 15px; }
.sp-lvl { font: 34px var(--display); color: var(--gold2); }
.savepick small { font-size: 11px; }
.xcode { font: 48px/1.1 var(--display); letter-spacing: 6px; color: var(--gold2); margin: 8px 0; text-shadow: 0 0 24px rgba(230, 180, 80, .4); }
.xsteps { text-align: left; margin: 10px auto; padding-left: 22px; font-size: 14px; max-width: 260px; }
.xsteps li { margin: 4px 0; }
.savepicks.one { grid-template-columns: 1fr; max-width: 200px; margin: 14px auto; }
.citymap.real .ilce.st-won { fill: color-mix(in srgb, var(--gold) 22%, #1a1720); }
.citymap.real .ilce.st-cur { fill: color-mix(in srgb, #4cc3d9 18%, #1a1720); stroke: rgba(76, 195, 217, .7); stroke-width: 1.6; }
.citymap.real .ilce.st-lock { fill: #131118; }

/* ---------------- Mahalle mahalle ilerleme ---------------- */
.stops { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 6px; }
.stoprow { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.stoprow .sr-ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 20px; color: var(--hue); background: color-mix(in srgb, var(--hue) 14%, transparent); }
.stoprow .sr-main { flex: 1; min-width: 0; }
.stoprow b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stoprow small { font-size: 11.5px; color: var(--muted); }
.stoprow.won { opacity: .65; }
.stoprow.won .sr-ic { color: var(--green); background: rgba(95, 207, 138, .12); }
.stoprow.lock .sr-ic { color: #5f5866; background: rgba(255, 255, 255, .04); }
.stoprow.next { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 180, 80, .15); }
.stoprow.boss { border-style: dashed; }
.stoprow.boss b { color: var(--red2); }
.sr-go { font: 800 12px var(--sans); color: var(--gold2); }
.mahall { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mchip { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--muted); }
.mchip.has { color: var(--text); background: rgba(76, 195, 217, .1); border-color: rgba(76, 195, 217, .35); }
.mchip.stop { border-color: rgba(230, 180, 80, .6); }
.mchip.owned .ic { color: var(--gold); }
.ilpick { flex: 1; background: none; border: 0; text-align: center; }
.illist { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.ilrow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.ilrow b { flex: 1; font-size: 14px; }
.ilrow small { font-size: 11px; color: var(--muted); }
.ilrow .ir-n { width: 28px; font: 14px var(--display); color: var(--muted); }
.ilrow.won { border-color: rgba(230, 180, 80, .4); }
.ilrow.won small { color: var(--gold2); }
.ilrow.cur { border-color: #4cc3d9; }
.ilrow.cur small { color: #4cc3d9; }
.ilrow.on { background: rgba(230, 180, 80, .1); }

/* ---------------- Harita kullanımı ---------------- */
.mapwrap.real.big { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); width: min(100%, 520px); top: var(--hud-h, 130px); bottom: var(--nav-h, 64px); aspect-ratio: auto; border-radius: 0; border-left: 0; border-right: 0; }
.mapctl button:first-child { color: var(--gold2); }
.mapcta { position: absolute; left: 10px; right: 10px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px;
  background: rgba(17, 15, 21, .92); backdrop-filter: blur(10px); border: 1px solid color-mix(in srgb, var(--hue, var(--gold)) 50%, transparent); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.mapcta .mc-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: var(--hue, var(--gold)); background: color-mix(in srgb, var(--hue, var(--gold)) 15%, transparent); }
.mapcta .mc-t { flex: 1; min-width: 0; }
.mapcta .mc-t b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mapcta .mc-t small { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mapcta.lock { opacity: .85; }
.mapcta.away { border-color: rgba(76, 195, 217, .5); }
.mapnote { bottom: 6px; }
.citymap.real .ilce.sel { stroke: #fff; stroke-width: 2.4; fill-opacity: .9; }

/* ---------------- Mahalle mahalle ---------------- */
.pk-search.mini { margin: 6px 0 8px; }
.pk-search.mini input { padding: 9px 0; font-size: 14px; }
.mahrows { display: flex; flex-direction: column; gap: 6px; }
.mahrow { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.mahrow.has { border-color: rgba(76, 195, 217, .35); }
.mahrow.mine { border-color: var(--gold); background: rgba(230, 180, 80, .08); }
.mr-main { flex: 1; min-width: 0; }
.mr-main b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-main small { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.mr-main small .ic { color: var(--gold); }
.mr-stat { width: 52px; text-align: center; }
.mr-stat b { display: block; font: 16px var(--display); }
.mr-stat small { font-size: 10px; color: var(--muted); }
.mahrow:not(.has) .mr-stat b { color: var(--muted); }
.stoptag { font: 800 9.5px var(--sans); padding: 1px 5px; border-radius: 5px; background: rgba(230, 180, 80, .2); color: var(--gold2); vertical-align: middle; }
.prow .btn.atk { flex-direction: row; gap: 3px; }
.prow .btn.atk small { font-size: 10px; }

/* ---------------- Haritada mahalleler ---------------- */
.citymap.real .mah { fill: rgba(255, 255, 255, .02); stroke: rgba(255, 236, 200, .28); stroke-width: .7; cursor: pointer; }
.citymap.real .mah:hover { fill: rgba(255, 255, 255, .08); }
.citymap.real .mah.has { fill: rgba(76, 195, 217, .22); stroke: rgba(76, 195, 217, .6); }
.citymap.real .mah.won { fill: rgba(230, 180, 80, .28); }
.citymap.real .mah.home { fill: rgba(230, 180, 80, .45); stroke: var(--gold2); stroke-width: 1.4; }
.citymap.real .mah.cur { stroke: #fff; stroke-width: 1.8; animation: curpulse 1.4s ease-in-out infinite; }
@keyframes curpulse { 50% { stroke-opacity: .35; } }
.citymap.real .mah-n { fill: rgba(244, 236, 223, .75); font-family: var(--sans); font-weight: 800; text-anchor: middle; dominant-baseline: middle; pointer-events: none; paint-order: stroke; stroke: rgba(10, 10, 14, .9); stroke-width: .28em; }
.citymap.real .mah-n.has { fill: #9fe3f0; }
.citymap.real .mah-n.home, .citymap.real .mah-n.cur { fill: var(--gold2); }
.mapcta.ilcechip { bottom: 26px; z-index: 2; border-color: rgba(255, 255, 255, .35); }
.mapcta.ilcechip .x { width: 32px; height: 32px; flex: none; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .05); color: var(--muted); }
.citymap.real .mah.syn { stroke-dasharray: 3 3; stroke: rgba(255, 236, 200, .22); }
.citymap.real .realmahs .mah { fill: rgba(26, 23, 32, .55); }
.citymap.real .realmahs .mah.has { fill: rgba(76, 195, 217, .28); }
.citymap.real .realmahs .mah.won { fill: rgba(230, 180, 80, .32); }
.citymap.real .realmahs .mah.home { fill: rgba(230, 180, 80, .5); }
.citymap.real .ilce.sel ~ .ilce, .citymap.real .areas:has(.sel) .ilce:not(.sel) { fill-opacity: .55; }
.mapcta.ilcechip { flex-wrap: wrap; }
.maplegend { width: 100%; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 10.5px; color: var(--muted); padding-bottom: 6px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.maplegend span { display: inline-flex; align-items: center; gap: 4px; }
.maplegend i { width: 12px; height: 9px; border-radius: 3px; display: inline-block; }
.lg-home { background: rgba(230, 180, 80, .7); border: 1px solid var(--gold2); }
.lg-won { background: rgba(230, 180, 80, .35); }
.lg-cur { background: transparent; border: 1.5px solid #fff; }
.lg-has { background: rgba(76, 195, 217, .45); }
.lg-syn { background: transparent; border: 1px dashed rgba(255, 236, 200, .5); }
.mahlead.buy { background: rgba(95, 207, 138, .08); border-color: rgba(95, 207, 138, .35); }
.mahlead.buy > .ic { color: var(--green); }
.citymap.real .mah.mine, .citymap.real .realmahs .mah.mine { fill: rgba(95, 207, 138, .35); stroke: var(--green); stroke-width: 1.4; }
.citymap.real .mah-n.mine { fill: #b8f0cb; }
.lg-mine { background: rgba(95, 207, 138, .5); }

/* ---------------- Birlik ve bekçi ---------------- */
.gangintro { text-align: center; }
.gangintro .gi-ic { font-size: 44px; color: var(--gold); }
.gangintro p { margin-top: 6px; }
.gangform { margin-top: 10px; }
.gf-row { display: flex; gap: 8px; margin: 10px 0; }
.gf-row input { flex: 1; min-width: 0; background: rgba(0, 0, 0, .4); border: 1px solid var(--line2); border-radius: 12px; color: var(--text); padding: 10px 12px; font: 700 15px var(--sans); }
.ganghead { display: flex; gap: 12px; align-items: center; border-color: rgba(230, 180, 80, .45); background: radial-gradient(120% 140% at 0% 0%, rgba(230, 180, 80, .16), var(--surface) 60%); }
.gh-tag { width: 58px; height: 58px; flex: none; border-radius: 14px; display: grid; place-items: center; font: 18px var(--display); letter-spacing: 1px; color: #1b1203; background: radial-gradient(circle at 35% 28%, #fff1c7, var(--gold) 55%, var(--gold3)); }
.gh-main h3 { font: 22px var(--display); letter-spacing: .5px; text-transform: uppercase; }
.gangcode { display: flex; align-items: center; gap: 12px; }
.gangcode > div { flex: 1; }
.gangcode .gc { display: block; font: 30px var(--display); letter-spacing: 5px; color: var(--gold2); }
.gangcode small { display: block; font-size: 11px; }
.gangbank .gb-top { display: flex; align-items: center; justify-content: space-between; }
.gangbank .gb-top b { display: block; font: 26px var(--display); color: var(--gold2); }
.gangbank .gb-top .ic { font-size: 34px; color: #f2a0b5; }
.guardbox { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 8px 0; border-radius: 12px; background: rgba(79, 163, 240, .08); border: 1px solid rgba(79, 163, 240, .35); font-size: 12.5px; }
.guardbox > .ic { font-size: 22px; color: var(--blue); flex: none; }
.guardbox span { flex: 1; }
.guardbox small { display: block; color: var(--muted); font-size: 11px; }

/* ---------------- Kara liste ve birlik savaşı ---------------- */
.bountyrow .brank { width: 28px; font: 18px var(--display); color: var(--muted); text-align: center; }
.bountyrow .bamt { display: flex; align-items: center; gap: 4px; color: var(--gold2); font: 16px var(--display); }
.bountyrow.me { border-color: rgba(224, 67, 58, .5); }
.bbadge { color: var(--red2); font-weight: 800; }
.rv-sub a { color: var(--muted); font-size: 11px; }
.warcard { margin-top: 10px; border-color: rgba(224, 67, 58, .45); background: radial-gradient(120% 140% at 50% 0%, rgba(224, 67, 58, .16), var(--surface) 60%); }
.warcard.idle { border-color: var(--line); background: var(--surface); }
.warcard.over { border-color: var(--gold); }
.warscore { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 8px 0; }
.warscore div { display: flex; flex-direction: column; align-items: center; }
.warscore .wt { font: 16px var(--display); letter-spacing: 1px; padding: 2px 8px; border-radius: 8px; background: var(--gold); color: #1b1203; }
.warscore .wt.foe { background: var(--red); color: #fff; }
.warscore span { font: 44px/1 var(--display); margin-top: 4px; }
.warscore em { font: 22px var(--display); color: var(--muted); font-style: normal; }

/* İlçe hâkimi */
.masterbox { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; font-size: 13px; color: var(--muted); }
.masterbox .i, .masterbox svg { color: var(--gold2); flex: none; }
.masterbox.on { border: 1px solid var(--gold); color: var(--text); background: rgba(230, 180, 80, .12); }
.citymap.real .ilce.st-master { fill: color-mix(in srgb, var(--gold) 45%, #1a1720); stroke: var(--gold2); }
.lg-master { background: rgba(230, 180, 80, .7); }

/* Oyuncu profili */
[data-act="prof"] { cursor: pointer; }
.profhead { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; text-align: left; }
.profhead .ov-title { margin: 2px 0; }
.mahchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.mahchips span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: rgba(230, 180, 80, .12); border: 1px solid rgba(230, 180, 80, .35); font-size: 12px; font-weight: 700; }
.mahchips small { color: var(--muted); font-weight: 500; }
.stoptag.won { color: var(--green); border-color: rgba(95, 207, 138, .4); }
.stoptag.todo { color: var(--gold2); border-color: rgba(230, 180, 80, .5); }

/* Kuşatma ve birlik bölgesi */
.siegebox, .regionbox { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(224, 67, 58, .45); background: rgba(224, 67, 58, .1); font-size: 13px; }
.siegebox span, .regionbox span { flex: 1; display: flex; flex-direction: column; }
.siegebox small, .regionbox small { color: var(--muted); }
.siegebox.mine { border-color: var(--gold); background: rgba(230, 180, 80, .1); }
.siegebox.bad { animation: throb 1.4s ease-in-out infinite; }
.regionbox { border-color: rgba(76, 195, 217, .45); background: rgba(76, 195, 217, .08); }
.regionbox.mine { border-color: var(--gold); background: rgba(230, 180, 80, .12); }
.citymap.real .ilce.rg { stroke: #4cc3d9; stroke-width: 2.5; stroke-dasharray: 6 3; }
.citymap.real .ilce.rg-mine { stroke: var(--gold2); stroke-width: 2.5; stroke-dasharray: 6 3; }
.il-n .rgtag { fill: #4cc3d9; font-weight: 800; }

/* Mahalle abisi */
.abibox, .abilist { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(230, 180, 80, .4); background: rgba(230, 180, 80, .08); font-size: 13px; text-align: left; }
.abibox > span, .abilist > span { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 2px; }
.abibox small, .abilist small { color: var(--muted); }
.abilist a { color: var(--gold2); font-weight: 700; }
.abibtns { display: flex; gap: 6px; flex-wrap: wrap; }
.red-t { color: var(--red2) !important; }

/* Kâhya */
.kahya .kh-top { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.kahya .kh-top .ic { color: var(--gold2); width: 28px; height: 28px; }
.kahya .kh-top div { display: flex; flex-direction: column; }
.kahya .kh-top small { color: var(--muted); }
.kahya.on { border-color: var(--gold); background: radial-gradient(120% 140% at 0% 0%, rgba(230, 180, 80, .14), var(--surface) 60%); }
.kahya.on .kh-top small { color: var(--green); }
.kh-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

/* 3 raunt */
.vs-rounds { display: flex; justify-content: center; gap: 8px; margin: 6px 0 2px; }
.vs-rounds span { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 4px 8px; border-radius: 10px; font: 20px var(--display); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.vs-rounds span small { font: 600 10px var(--sans); color: var(--muted); }
.vs-rounds .w { color: var(--green); border-color: rgba(95, 207, 138, .45); }
.vs-rounds .l { color: var(--red2); border-color: rgba(224, 67, 58, .45); }
.cmp-note { margin: 0 0 8px; font-size: 11px; color: var(--muted); text-align: center; }

/* Evin / senin mahallen rozetleri */
.mbadges { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0; }
.mbadges:empty { display: none; }
.mbadge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; margin-left: 4px; border-radius: 999px; font: 700 11px var(--sans); vertical-align: middle; }
.mbadges .mbadge { margin-left: 0; }
.mbadge .ic { width: 12px; height: 12px; }
.mbadge.home { background: rgba(230, 180, 80, .18); color: var(--gold2); border: 1px solid rgba(230, 180, 80, .5); }
.mbadge.own { background: rgba(95, 207, 138, .14); color: var(--green); border: 1px solid rgba(95, 207, 138, .45); }
.member-card.locked-lt.missed { border-color: var(--gold); background: rgba(230, 180, 80, .08); align-items: center; }
.member-card.locked-lt.missed .ic { color: var(--gold2); }
.abiowner { margin: 4px 0 6px; padding: 4px 8px; border-radius: 8px; font-size: 12px; background: rgba(76, 195, 217, .1); border: 1px solid rgba(76, 195, 217, .35); color: var(--text); }
.abiowner.me { background: rgba(230, 180, 80, .12); border-color: rgba(230, 180, 80, .45); }
.abiowner .ic { width: 12px; height: 12px; color: var(--gold2); vertical-align: -1px; }

/* Açılış bekçisi */
#bootfail { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px; background: #0b0a0d; color: #fff; font-family: system-ui, sans-serif; text-align: center; }
#bootfail b { display: block; font-size: 22px; margin-bottom: 8px; }
#bootfail p { color: #b9b0c0; margin: 0 0 16px; }
#bootfail button { padding: 12px 20px; border: 0; border-radius: 12px; background: #e6b450; color: #1b1203; font-weight: 800; font-size: 16px; }
#bootfail small { display: block; margin-top: 12px; color: #6d6573; font-size: 11px; }
.refcard { border-color: rgba(230, 180, 80, .45); background: radial-gradient(120% 140% at 100% 0%, rgba(230, 180, 80, .12), var(--surface) 60%); }

/* Ödüllü reklam */
.adcard { border-color: rgba(95, 207, 138, .4); }
.adbtns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#fakead { position: fixed; inset: 0; z-index: 9998; display: grid; place-items: center; background: rgba(0, 0, 0, .92); color: #fff; text-align: center; font-family: system-ui, sans-serif; }
#fakead small { display: block; letter-spacing: 2px; color: #aaa; }
#fakead b { display: block; font-size: 64px; margin: 12px 0; }
#fakead button { padding: 8px 14px; border-radius: 10px; border: 1px solid #555; background: transparent; color: #ccc; }

/* Sezon */
.seasoncard { border-color: var(--gold); background: radial-gradient(120% 140% at 0% 0%, rgba(230, 180, 80, .16), var(--surface) 60%); }
.ss-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ss-top > div { display: flex; flex-direction: column; }
.ss-me { text-align: right; }
.ss-me b { font: 26px var(--display); color: var(--gold2); }
.ss-me small { color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.sbadge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font: 700 11px var(--sans); background: rgba(230, 180, 80, .15); border: 1px solid rgba(230, 180, 80, .5); color: var(--gold2); }
.sbadge.r1 { background: linear-gradient(90deg, rgba(230, 180, 80, .35), rgba(230, 180, 80, .12)); }
.sbadge .ic { width: 12px; height: 12px; }
/* Giriş animasyonu takılırsa */
.intro.forceshow .intro-logo span, .intro.forceshow .intro-form, .intro.forceshow .skyline, .intro.forceshow .moon { opacity: 1 !important; transform: none !important; filter: none !important; }
.intro.forceshow .intro-lines { display: none; }

/* Klasik tema: avatarlar koyu zemin + altın kenar, renkler biraz kısık */
html.klasik svg.avatar { filter: saturate(.78) contrast(1.05); }
html.klasik svg.avatar .av-shade { opacity: .6; }
html.klasik svg.avatar .av-ring { opacity: 0; }
/* Avatar kabı (Klasik): tek halka, avatar kabı doldurur */
html.klasik .face:has(> svg.avatar), html.klasik .mc-face:has(> svg.avatar), html.klasik .av:has(> svg.avatar) { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; overflow: visible; border-radius: 50%; position: relative; }
html.klasik .face > svg.avatar, html.klasik .mc-face > svg.avatar, html.klasik .av > svg.avatar { width: 100%; height: 100%; border-radius: 50%; display: block; box-shadow: 0 0 0 2px var(--gold), 0 6px 14px rgba(0,0,0,.45); }
html.klasik .pc-emb.av > svg.avatar { position: absolute; inset: 0; }
html.klasik .av > span, html.klasik .av > i { z-index: 1; }
/* Hesap sorulacaklar */
.revbox { border-color: rgba(224, 67, 58, .45); }
.rev-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.rev-row:first-of-type { border-top: 0; }
.rev-row .face.sm { width: 40px; height: 40px; flex: none; }
.rev-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rev-main b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rev-main small { color: var(--muted); font-size: 12px; }
.revbox.in-ov { margin: 10px 0; text-align: left; }
/* Adam adayları */
.cands .cand { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.cand-e { width: 40px; height: 40px; flex: none; display: grid; place-items: center; font-size: 22px; border-radius: 12px; background: var(--surface2); }
.cand-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cand-main small { color: var(--muted); font-size: 12px; }
.rtag { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: var(--r2); color: #fff; }
.cand.rar-e .rtag, .member.rar-e small { background: var(--r3); }
.cand.rar-u .cand-e { box-shadow: 0 0 0 2px var(--r2); }
.cand.rar-e .cand-e { box-shadow: 0 0 0 2px var(--r3), 0 0 14px var(--r3); }
.member.rar-u .face { box-shadow: 0 0 0 2px var(--r2); }
.member.rar-e .face { box-shadow: 0 0 0 2px var(--r3); }
.member.rar-e small { color: #111; border-radius: 6px; padding: 0 4px; }
.sumchips { display: flex; flex-wrap: wrap; gap: 6px; }
.sumchips span { font-size: 12px; padding: 4px 8px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line2); }
.sumchips small { color: var(--muted); }
.card.recruit.cands { display: block !important; }
.cands .ch { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.locrow.themes { flex-wrap: wrap; gap: 6px; }
.inv-btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
/* Logo: küçük "MAHALLE", büyük "ABİSİ" */
.intro-logo span:first-child { font-size: 44px; letter-spacing: 10px; }
.intro-logo span + span { font-size: 104px; letter-spacing: 4px; margin-top: -.05em; }

/* ---------- Gazete ---------- */
.gz-head { text-align: center; padding: 6px 0 10px; border-bottom: 3px double var(--line2); margin-bottom: 4px; }
.gz-head small { color: var(--muted); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; }
.gz-head h2 { font: 34px/1.05 var(--display); letter-spacing: 1px; margin: 2px 0; }
.gz-head p { font-size: 12px; color: var(--muted); font-style: italic; }
.gz-list { list-style: none; margin: 0; padding: 0; }
.gz-item { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.gz-item p { margin: 2px 0 3px; font-weight: 700; line-height: 1.3; }
.gz-item.top p { font: 21px/1.2 var(--display); letter-spacing: .3px; font-weight: 400; }
.gz-item.top { padding: 14px 0; border-bottom: 3px double var(--line2); }
.gz-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); border: 1px solid var(--line2); color: var(--gold2); font-size: 17px; }
.gz-item.top .gz-ic { width: 44px; height: 44px; font-size: 22px; }
.gz-tag { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; color: var(--gold); }
.gz-meta { color: var(--muted); font-size: 11.5px; }
.gz-meta a { font-weight: 700; }
.gz-item.k-win .gz-ic, .gz-item.k-revenge .gz-ic, .gz-item.k-loss .gz-ic { color: var(--red2); }
.gz-item.k-lvl .gz-ic { color: var(--green); }
.gz-item.k-crew .gz-ic { color: var(--blue); }
/* Yolculuk */
.marchbox { border-color: rgba(230, 180, 80, .5); }
.mb-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.mb-row b { min-width: 74px; font-variant-numeric: tabular-nums; }
.mb-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--surface2); overflow: hidden; }
.mb-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold3), var(--gold)); transition: width .8s linear; }
.atk small.trv { display: block; font-size: 10px; font-weight: 700; opacity: .85; margin-top: 1px; }
.wage { margin: 6px 0 2px; }
.dead { margin-top: 6px; }
.vs .dead { display: inline-block; background: #111; color: #fff !important; padding: 4px 12px; border-radius: 99px; font-weight: 700; }

/* Yolculuk haritası (Türkiye nokta haritası) */
.marchmap { display: block; width: 100%; height: auto; margin: 8px 0 2px; border-radius: 10px; background: var(--surface2); }
.mm-dots circle { fill: var(--muted); opacity: .45; }
.mm-route { stroke: var(--muted); stroke-width: 1.6; stroke-dasharray: 3 4; opacity: .8; }
.mm-done { stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; }
.mm-from { fill: var(--green); stroke: var(--ink); stroke-width: 1.5; }
.mm-to { fill: var(--red); stroke: var(--ink); stroke-width: 1.5; }
.mm-lab { font: 800 9.5px var(--sans); fill: var(--text); paint-order: stroke; stroke: var(--surface2); stroke-width: 3px; }
.mm-veh { font-size: 15px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }

/* ---------- Sefer hazırlığı ---------- */
.so { text-align: left; }
.so .ov-title, .so .eyebrow { text-align: center; }
.so > .muted { text-align: center; }
.so-sec { margin-top: 10px; }
.so-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.so-h small { color: var(--muted); }
.so-q { margin-left: auto; display: flex; gap: 10px; }
.so-crew, .so-veh { max-height: 30vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding-right: 2px; }
.so-row { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); }
.so-row.on { border-color: var(--gold); background: rgba(230, 180, 80, .12); }
.so-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-row small { color: var(--muted); font-size: 11.5px; }
.so-ck { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line2); display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 13px; }
.so-row.on .so-ck { background: var(--gold); border-color: var(--gold); color: #1b1203; }
.so-e { font-size: 17px; }
.so-vrow { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); }
.so-vrow.on { border-color: var(--gold); }
.so-vi { font-size: 22px; flex: none; }
.so-vm { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.so-vm small { color: var(--muted); font-size: 11.5px; }
.so-step { display: flex; align-items: center; gap: 8px; }
.so-step button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line2); background: var(--surface); font-weight: 900; font-size: 16px; line-height: 1; }
.so-step button:disabled { opacity: .35; }
.so-step b { min-width: 18px; text-align: center; }
.so-sum { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 10px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line2); }
.so-eta { flex: none; text-align: center; display: flex; flex-direction: column; }
.so-eta b { font: 26px/1 var(--display); }
.so-eta small { color: var(--muted); font-size: 11px; }
.so-st { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.so-warn { margin-top: 8px; font-size: 12.5px; color: var(--red2); font-weight: 700; }
.mb-info { margin: 4px 0 2px; }

.pnote { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.3; }
.hotels { text-align: left; }
.hotels .so-vrow { margin-top: 6px; }

/* ---------- Atölye ---------- */
.card.craftpick { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.cp-e { font-size: 32px; flex: none; width: 46px; text-align: center; }
.cp-m { flex: 1; min-width: 0; }
.cp-m h3 { margin-bottom: 2px; }
.craftcard .mb-bar { margin: 8px 0 4px; }
.craftlist .so-vrow + .so-vrow { margin-top: 6px; }
.craftlist .so-vrow { margin-top: 6px; }
.chips-nav button:disabled { opacity: .45; }
.exp-note { margin: -2px 0 8px; }
.prof-more { gap: 18px; margin-top: 4px; }
.rp-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.blocked { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; }
.bl-chip { font-size: 12px; padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line2); background: var(--surface2); }
.bl-chip button { border: 0; background: none; font-weight: 900; margin-left: 4px; }
.legal { font-size: 11.5px; color: var(--muted); text-align: center; margin: 6px 0 0; line-height: 1.4; }
.legal a { color: inherit; text-decoration: underline; }
.legalrow { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 4px; font-size: 13px; }
.legalrow a { color: inherit; }
/* Küçük ekranda sefer hazırlığı tek bakışta sığsın: listeler kısalır, düğmeler görünür kalır */
.so-crew, .so-veh { max-height: 22vh; }
@media (min-height: 900px) { .so-crew, .so-veh { max-height: 30vh; } }

/* Kısa ekranlar (iPhone Safari, adres çubuğu açıkken ~660 px): kavga sonucu ve büyük pencereler sıkışır */
@media (max-height: 760px) {
  .vs { row-gap: 10px; }
  .vs-face, .vs-face.av { width: 84px; height: 84px; font-size: 48px; }
  .vs-face.av .avatar, .vs-face .avatar { width: 84px !important; height: 84px !important; }
  .vs-mid span { font-size: 36px; }
  .vs-banner { font-size: 46px !important; }
  .vs .cmp-note { display: none; }
  .vs-rounds span { transform: scale(.85); margin: -4px; }
  .ov-title { font-size: 28px; }
  .ov-card { padding: 16px; }
  .lv-badge { width: 104px; height: 104px; } .lv-badge b { font-size: 48px; }
}

/* Dar ekran: mahalle adı ve oyuncu sayacı yan yana sığmazsa alt satıra geçer */
.cityhead { flex-wrap: wrap; gap: 8px 12px; }
.cityhead > div:first-child { min-width: 0; flex: 1 1 170px; }
.cityhead h2 { overflow-wrap: anywhere; }
.sent-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.sent-row:first-of-type { border-top: 0; }
.bell { font-size: 18px; line-height: 1; }
.inbox-list { list-style: none; margin: 10px 0; padding: 0; max-height: 52dvh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.inbox-list li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); text-align: left; font-size: 14px; }
.inbox-list li.new { border-color: var(--gold); background: rgba(230, 180, 80, .1); }
.inbox-list li.link { cursor: pointer; }
.inbox-list li .ic { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.inbox-list li small { display: block; font-size: 11px; margin-top: 2px; }
.rfbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 8px; font-size: 12px; }
.rfbtn { padding: 5px 12px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .06); color: var(--text); font: 800 12px var(--sans); }
.rfbtn:active { transform: scale(.96); }
.pwsplit { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; margin: 6px 0; }
.pwsplit b { font-weight: 800; }
.goalbar { display: block; width: calc(100% - 28px); margin: 6px 14px 0; padding: 5px 10px; border-radius: 10px; border: 1px dashed var(--gold); background: rgba(230, 180, 80, .1); color: var(--text); font: 800 12.5px var(--sans); text-align: left; }
.goalbar[hidden] { display: none; }
.burnbox { margin: 8px 0; padding: 8px 10px; border-radius: 12px; border: 1px dashed #b3261e; background: rgba(179, 38, 30, .08); font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.citymap .mah.burned, .citymap.real .mah.burned, .citymap.real .realmahs .mah.burned { fill: #111 !important; stroke: #6b6b6b; stroke-width: 1.4; }
.goalbar.season { margin-top: 4px; border-style: solid; border-color: var(--gold2); font-size: 12px; }
.pushrow { padding: 8px 0; border-bottom: 1px solid var(--line); }
.pushrow p { margin: 2px 0 6px; }
.backgift { display: flex; align-items: center; gap: 12px; margin: 8px 0; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--gold); background: rgba(230, 180, 80, .12); text-align: left; }
.backgift .bg-ic { font-size: 34px; }
.backgift b, .backgift span, .backgift small { display: block; }
.backgift span { font-size: 22px; font-weight: 900; }
.wheelwrap { position: relative; width: 240px; height: 250px; margin: 6px auto; }
.wheel-pin { position: absolute; left: 50%; top: -4px; transform: translateX(-50%); font-size: 26px; color: var(--red); z-index: 2; line-height: 1; }
.wheel { position: absolute; left: 0; top: 20px; width: 230px; height: 230px; border-radius: 50%; border: 4px solid #111; box-shadow: 0 6px 0 rgba(0,0,0,.25); }
.wheel .wl { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.wheel .wl i { position: absolute; left: -16px; top: -16px; font-size: 28px; font-style: normal; width: 32px; text-align: center; }
.opscard .ops-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.opbtn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); color: var(--text); font: 700 12px var(--sans); text-align: center; }
.opbtn[disabled] { opacity: .45; }
.opbtn .ob-e { font-size: 26px; }
.opbtn small { font-size: 10.5px; }
.ticker { margin: 4px 0 8px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h { margin: 6px 0; font-size: 14px; }

/* ---- Üst çubuk toparlama: dar ekranda isim/TP sıkışmasın, şeritler tek satır olsun ---- */
.who .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.goalbar { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 430px) {
  .hud-top { gap: 5px; }
  .wallet { padding: 4px 7px 4px 5px; gap: 5px; }
  .coin-ic { font-size: 18px; }
  .c1 { font-size: 16px; }
  .c2 { font-size: 9.5px; }
  .iconbtn { width: 33px; height: 36px; font-size: 16px; border-radius: 10px; }
  .name { font-size: 14px; }
  .sub { font-size: 10px; }
  .goalbar { padding: 4px 9px; font-size: 11.5px; margin-top: 4px; width: calc(100% - 20px); margin-inline: 10px; }
  .goalbar.season { margin-top: 3px; }
}
.cityrow { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; }
.cityrow .ticker { flex: 1; min-width: 0; margin: 0; }
.cityrow .rfbar { flex: none; margin: 0; }
.cityrow .ticker ~ .rfbar small { display: none; }
.chips-nav button { white-space: nowrap; }
@media (max-width: 430px) {
  .invite { flex-wrap: wrap; }
  .inv-main { flex: 1 1 150px; min-width: 0; }
  .inv-btns { flex: 1 1 100%; justify-content: flex-start; }
}
/* Kavga/Çete alt sekmeleri: etiketler satır atlamasın; sığmazsa yana kaydır */
.seg { overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: 1 0 auto; white-space: nowrap; padding-inline: 10px; }
.gg .gb-top b { font-size: 17px; line-height: 1.2; }
/* Şeritler gizliyken de yer ayır: açılıp kapandıkça sayfa zıplamasın (titreme) */
.goalbar[hidden] { display: block; visibility: hidden; }
/* Klasik tema okunabilirlik: mor etiket ve kilitli büyük gün kartı */
.rtag { color: #140a26; }
html.klasik .sday.big small, html.klasik .sday.big span { color: #e6dcc6; }
/* Enerji/dayanıklılık/can kutuları dar ekranda taşmasın (büyük sayılar: 238/480 +2 0:10) */
.meters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.meter { min-width: 0; }
.mt { min-width: 0; }
.mt small { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 430px) {
  .meters { gap: 6px; }
  .meter { padding: 5px 6px; gap: 5px; }
  .meter > .ic { font-size: 15px; }
  .mt b { font-size: 11.5px; }
  .mt small { font-size: 9px; }
}
.cultrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 8px; }
.cult { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); color: var(--muted); font: 800 12px var(--sans); }
.cult.on { color: var(--text); border-color: var(--gold); background: rgba(230,180,80,.12); }
.cult-all { padding: 6px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.cultcard.sel { border-color: var(--gold); }
.localjobs { margin: 0 0 10px; }
.localjobs .lj { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.localjobs .lj:first-of-type { border-top: 0; }
.localjobs .lj-m { min-width: 0; flex: 1; }
.localjobs .lj-m b { display: block; font-size: 14px; }
.localjobs .lj button small { margin-left: 4px; font-weight: 700; }
.ilwar-list { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ilwar-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.ilwar-list li.me { border-color: var(--gold); background: rgba(230, 180, 80, .12); }
.ilwar-list .rk { width: 22px; font: 18px var(--display); text-align: center; }
.ilwar-list .ilw-n { flex: 1; font-weight: 800; }
.ilwar-list .ilw-p { font-variant-numeric: tabular-nums; font-weight: 800; }
.ilw-bonus { display: flex; gap: 12px; align-items: center; font-weight: 800; margin: 6px 0; }
.districtcard { margin: 0 0 10px; }
.lboss { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.lb-f { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(224,67,58,.15); font-size: 28px; }
.lb-m { flex: 1; min-width: 0; }
.lb-m b { display: block; font-size: 14px; }
.lb-m small { display: block; margin-bottom: 4px; }
.member .face.av { background: none; position: relative; }
.member .face.av .avatar { width: 56px; height: 56px; }
.member .mlv { position: absolute; right: -4px; bottom: -4px; min-width: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: #1b1203; font: 800 11px var(--sans); font-style: normal; text-align: center; }
.adamhero { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 10px; text-align: center; }
.ah-av { position: relative; }
.ah-lv { position: absolute; right: -8px; bottom: 0; padding: 2px 8px; border-radius: 10px; background: var(--gold); color: #1b1203; font: 800 12px var(--sans); }
.bagitem .cond { position: absolute; left: -4px; top: -4px; padding: 0 5px; border-radius: 8px; background: var(--gold); color: #1b1203; font: 800 10px var(--sans); font-style: normal; }
.bagitem .cond.bad { background: var(--red); color: #fff; }
.repairbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0; padding: 8px 10px; border-radius: 12px; border: 1px dashed var(--gold); background: rgba(230,180,80,.1); font-size: 13px; }
.mahcult{margin-top:8px;padding-top:8px;border-top:1px dashed rgba(128,128,128,.35)}
.mahcult .ops-row{margin-top:8px}
/* Güç kartı, rakip farkı, sefer önizlemesi */
.powercard .pw-top{display:flex;justify-content:space-between;align-items:flex-end;gap:8px}
.powercard .pw-num{display:block;font-size:2.2rem;line-height:1}
.powercard .pw-bar{display:flex;height:12px;border-radius:8px;overflow:hidden;margin:10px 0 6px;border:2px solid currentColor}
.powercard .pw-bar i,.powercard .pw-leg i{display:block}
.pc-g{background:#e0a100}.pc-a{background:#2a9d8f}.pc-s{background:#7b5cd6}.pc-b{background:#e4572e}
.powercard .pw-leg{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.78rem}
.powercard .pw-leg span{display:inline-flex;align-items:center;gap:4px}
.powercard .pw-leg i{width:10px;height:10px;border-radius:3px}
.powercard .pw-info{margin-top:8px}.powercard .pw-info summary{cursor:pointer;font-size:.8rem;text-decoration:underline}
.dchip{display:inline-block;padding:1px 7px;border-radius:10px;font-size:.72rem;font-weight:700;border:1.5px solid currentColor}
.dchip.hard{color:#b3261e}.dchip.easy{color:#1b7a3a}.dchip.even{color:#8a6a00}
.so-st.v2{display:grid;gap:8px}
.so-st.v2 .so-pair{display:grid;gap:2px;font-size:.85rem}
.so-st.v2 .so-oddsbar{height:10px;border-radius:6px;border:2px solid currentColor;overflow:hidden;margin-bottom:4px}
.so-st.v2 .so-oddsbar i{display:block;height:100%;background:currentColor}
.so-odds.good{color:#1b7a3a}.so-odds.mid{color:#8a6a00}.so-odds.bad{color:#b3261e}
.so-st.v2 .so-pay{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.85rem;font-weight:700}
.so-pay .good,.pv-pay .good{color:#1b7a3a}.so-pay .bad,.pv-pay .bad{color:#b3261e}
.so-why summary{cursor:pointer;font-size:.8rem;text-decoration:underline}
.pc-pow small{font-size:.65rem;opacity:.7;margin:0 3px}
/* Klasik tema koyu: açık tonlar */
html.klasik .dchip.hard,html.klasik .so-odds.bad,html.klasik .so-pay .bad,html.klasik .pv-pay .bad{color:#ff8a80}
html.klasik .dchip.easy,html.klasik .so-odds.good,html.klasik .so-pay .good,html.klasik .pv-pay .good{color:#6fe39b}
html.klasik .dchip.even,html.klasik .so-odds.mid{color:#ffd98a}

.meter .ml { font-size: 9.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-pow{flex-wrap:wrap;gap:4px 10px}
.traingain{display:grid;gap:2px;margin:6px 0;padding:8px;border:2px solid currentColor;border-radius:10px}.traingain .good{color:#1b7a3a;font-weight:800}html.klasik .traingain .good{color:#6fe39b}
#nav button { font-size: 10.5px; padding-inline: 0; }

.rivalcard{display:grid;gap:8px}
.rvrow{display:flex;align-items:center;gap:10px;cursor:pointer}
.rvrow .rv-in{flex:1;min-width:0;display:grid;gap:1px}
.rvrow .rv-in b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rvrow .rv-gap{text-align:right;display:grid}
.rvrow .rv-gap b{font:20px var(--display)}
.rvrow.up .rv-gap b{color:#b3261e}.rvrow.down .rv-gap b{color:#1b7a3a}
html.klasik .rvrow.up .rv-gap b{color:#ff8a80}html.klasik .rvrow.down .rv-gap b{color:#6fe39b}
.ligcard{border-color:var(--pink)!important}

/* Mahalle kartı (kültür + itibar + devriye) */
.mahcult .mc-top{display:flex;align-items:center;gap:10px}
.mahcult .mc-e{font-size:28px;line-height:1}
.mahcult .mc-top > div{display:grid}
.mahcult .mc-pts{list-style:none;margin:8px 0;padding:0;display:grid;gap:4px;font-size:.85rem}
.mahcult .mc-rep{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:.85rem}
.mahcult .pt-box{margin-top:10px;padding:10px;border:2px solid currentColor;border-radius:12px;display:grid;gap:8px}
.mahcult .pt-box h4{margin:0;font-size:.95rem}
.mahcult .pt-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mahcult .pt-btn{display:grid;gap:1px;justify-items:center;padding:8px 4px;border-radius:10px;border:2px solid currentColor;background:transparent;color:inherit;font:inherit;cursor:pointer}
.mahcult .pt-btn small{font-size:.7rem;opacity:.8}
.mahcult .pt-btn:disabled{opacity:.4;cursor:not-allowed}
.mahcult .pt-btn:not(:disabled):active{transform:translateY(1px)}
.good-t{color:#1b7a3a}html.klasik .good-t{color:#6fe39b}

.districtcard .lboss{flex-wrap:wrap}
.districtcard .lboss .lb-m{flex:1 1 150px;min-width:0}
.districtcard .lboss .btn{flex:1 1 100%}

.rookiecard{display:grid;gap:8px;border-color:var(--lime)!important}.rookiecard .rk-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
