/* WHITEMOON LIFE · GTA 6 havasında tema */
/* Yazı tipleri uygulamayla birlikte gelir (internet gerekmez).
   RL Condensed: Roboto'nun dar (condensed) kesimi, OFL lisansı. Inter: OFL lisansı. */
@font-face { font-family: 'RL Condensed'; src: url('fonts/rl-condensed.woff') format('woff'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-medium.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-semibold.woff') format('woff'); font-weight: 600 700; font-display: swap; }

:root {
  --bg: #0b0f1a;
  --panel: rgba(20, 26, 40, 0.8);
  --panel-solid: #141a28;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2f3f7;
  --muted: #a3a9b8;
  --soft: #c4c8d3;
  --pink: #f4a7c6;
  --mint: #72e6d2;
  --lavender: #a98bff;
  --gold: #ffc94a;
  --ink: #0b0f1a;
  --font: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'RL Condensed', 'Arial Narrow', sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body, #root { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.4 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.display { font-family: var(--display); letter-spacing: 0.04em; font-weight: 700; text-transform: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.strong { font-weight: 600; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 8px; }
.pink-t { color: var(--pink); } .mint-t { color: var(--mint); } .lavender-t { color: var(--lavender); } .gold-t { color: var(--gold); }
.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 12px;
}

/* ---------- Logo ---------- */
.logo-outline {
  font: 700 84px/0.9 var(--display);
  color: transparent;
  -webkit-text-stroke: 2px var(--pink);
  letter-spacing: 2px;
}
.logo-outline.small { font-size: 40px; -webkit-text-stroke-width: 1.5px; }
.wm-logo { display: inline-flex; flex-direction: column; align-items: flex-start; }
.wm-mark { display: block; width: 190px; user-select: none; -webkit-user-drag: none; height: auto; filter: drop-shadow(0 6px 22px rgba(244, 95, 166, 0.35)); }
.wm-logo.small .wm-mark { width: 74px; filter: none; }
.wm-tagline { font: 600 13px var(--display); letter-spacing: 0.4em; color: var(--text); margin-top: 6px; }
.login-tag { display: block; font-size: 14px; letter-spacing: 0.45em; color: var(--mint); margin-top: 6px; font-weight: 600; }
.boot { height: 100%; display: grid; place-items: center; animation: pulse 1.4s ease-in-out infinite; }

/* ---------- Ortak kontroller ---------- */
.label { font: 13px var(--display); letter-spacing: 0.12em; color: var(--muted); }
.input {
  height: 48px; padding: 0 14px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05);
  font-size: 16px; outline: none; transition: border-color 0.2s;
}
.input:focus { border-color: var(--pink); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: #d6d9e2; }
.check input { width: 20px; height: 20px; accent-color: var(--mint); margin: 0; }
.btn-primary {
  height: 52px; border: 0; border-radius: 8px; padding: 0 20px;
  background: linear-gradient(90deg, #fff 0%, #fff 55%, #c9ccd6 100%);
  color: var(--ink); font: 600 18px var(--display); letter-spacing: 0.12em;
  transition: transform 0.15s var(--ease), opacity 0.2s;
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.55; cursor: default; }
.btn-ghost, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 8px; text-decoration: none;
  background: none; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.2);
  font: 500 14px var(--display); letter-spacing: 0.1em;
}
.btn-outline { border-color: rgba(244, 167, 198, 0.55); color: var(--pink); }
.link-btn { background: none; border: 0; color: var(--pink); padding: 10px; font-size: 14px; align-self: center; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.form-msg { margin: 0; font-size: 14px; padding: 10px 12px; border-radius: 8px; }
.form-msg.error { background: rgba(255, 106, 106, 0.12); color: #ffb3b3; }
.form-msg.info { background: rgba(114, 230, 210, 0.1); color: #bdf3ea; }
.seg { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 6px; overflow: hidden; }
.seg button { min-height: 36px; min-width: 44px; padding: 0 12px; border: 0; background: rgba(20, 26, 40, 0.85); color: var(--soft); font: 500 13px var(--display); letter-spacing: 0.1em; }
.seg button.on { background: #fff; color: var(--ink); font-weight: 600; }
.seg.wide { display: flex; } .seg.wide button { flex: 1; }

/* ---------- Giriş ---------- */
.login { position: relative; min-height: 100%; overflow: hidden; }
.login-backdrop {
  position: absolute; inset: -40px; filter: blur(40px); opacity: 0.6;
  background:
    radial-gradient(40% 30% at 75% 75%, #7a3e66 0%, transparent 70%),
    radial-gradient(50% 30% at 20% 70%, #1f4a3a 0%, transparent 70%),
    radial-gradient(60% 25% at 60% 20%, #3a3f52 0%, transparent 70%),
    #123446;
}
.login::after { content: ''; position: absolute; inset: 0; background: rgba(11, 15, 26, 0.55); }
.login-lang { position: absolute; z-index: 2; top: calc(16px + var(--safe-t)); right: 20px; }
.login-body {
  position: relative; z-index: 1; min-height: 100dvh; max-width: 440px; margin: 0 auto;
  padding: calc(72px + var(--safe-t)) 28px calc(28px + var(--safe-b));
  display: flex; flex-direction: column; gap: 28px;
}
.login-head { display: flex; flex-direction: column; gap: 6px; animation: rise 0.6s var(--ease) both; }
.login-title { margin: 6px 0 0; font-size: 38px; font-weight: 600; line-height: 1; }
.login-head p { margin: 0; }
.login-form { display: flex; flex-direction: column; gap: 12px; padding: 22px; animation: rise 0.6s 0.08s var(--ease) both; }
.login-form .input { margin-bottom: 4px; }
.login-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; animation: rise 0.6s 0.16s var(--ease) both; }
.tip { margin: 0; border-top: 1px solid var(--line); padding-top: 12px; color: var(--soft); line-height: 1.45; }
.tip-label { font-family: var(--display); letter-spacing: 0.12em; color: var(--mint); margin-right: 6px; }

/* ---------- Oyun ekranı ---------- */
.game { position: fixed; inset: 0; overflow: hidden; background: var(--bg); }
.map { position: absolute; inset: 0; z-index: 0; }
.look-day .map { background: #cfd6cf; }
.hud { position: absolute; inset: 0; pointer-events: none; transition: opacity 0.25s; }
.hud > * { pointer-events: auto; }
.hud-hidden { opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s 0.25s; }

.hud-bars { position: absolute; top: calc(16px + var(--safe-t)); left: 16px; width: min(200px, 48vw); display: flex; flex-direction: column; gap: 10px; animation: slideRight 0.5s var(--ease) both; }
.hud-bar { display: flex; align-items: center; gap: 8px; }
.hud-ico { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 26, 40, 0.88); font-size: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.bar { flex: 1; height: 10px; background: rgba(20, 26, 40, 0.72); overflow: hidden; }
.bar.thin { height: 4px; background: rgba(255, 255, 255, 0.12); }
.bar-fill { height: 100%; transition: width 0.8s var(--ease); }
.bar-fill.pink { background: var(--pink); } .bar-fill.mint { background: var(--mint); } .bar-fill.lavender { background: var(--lavender); }

.hud-money { position: absolute; top: calc(12px + var(--safe-t)); right: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-weight: 600; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75); animation: slideLeft 0.5s var(--ease) both; }
.money-row { display: flex; align-items: center; gap: 8px; font-size: 24px; }
.coin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid; background: rgba(20, 26, 40, 0.85); display: inline-block; }
.coin.mint { border-color: var(--mint); } .coin.lavender { border-color: var(--lavender); }
.hud-level { font-size: 13px; letter-spacing: 0.14em; color: #e1e4ea; }

.gps-note { position: absolute; left: 16px; right: 76px; bottom: calc(122px + var(--safe-b)); max-width: 420px; margin: 0 auto; padding: 10px 14px; text-align: center; }
.recenter { position: absolute; right: 16px; bottom: calc(126px + var(--safe-b)); }
.fab-round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(20, 26, 40, 0.9); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); animation: pop 0.3s var(--ease) both; }

.quickbar { position: absolute; left: 0; right: 0; bottom: calc(18px + var(--safe-b)); display: flex; justify-content: center; gap: clamp(6px, 3vw, 22px); padding: 0 8px; animation: rise 0.5s 0.1s var(--ease) both; }
.quick { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; font-size: 12px; color: var(--text); text-shadow: 0 1px 3px #000, 0 0 10px rgba(0, 0, 0, 0.85); min-width: 60px; font-weight: 500; }
.quick-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 26, 40, 0.9); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); transition: transform 0.15s var(--ease); text-shadow: none; }
.quick:active .quick-ico { transform: scale(0.92); }
.quick-ico.letter { font-size: 22px; font-weight: 700; }
.pink-bg { background: var(--pink); color: #141826; border: 0; }
.white-bg { background: #fff; color: var(--ink); border: 0; }

.sheet { position: absolute; left: 12px; right: 12px; bottom: calc(118px + var(--safe-b)); max-width: 460px; margin: 0 auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; animation: rise 0.3s var(--ease) both; }
.sheet-row, .sheet-actions { display: flex; align-items: center; gap: 12px; }
.sheet-actions .btn-outline { flex: 1; }

/* Harita işaretleri */
.maplibregl-marker.player-blip { z-index: 3; }
.player-blip { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.player-accuracy { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(114, 230, 210, 0.16); border: 1px solid rgba(114, 230, 210, 0.45); pointer-events: none; }
.player-ring { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.28), 0 3px 10px rgba(0, 0, 0, 0.45); animation: blipPulse 2.4s ease-out infinite; }
.player-arrow { transition: transform 0.4s var(--ease); }
.blip { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; border: 0; padding: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
.blip-car { background: #e9ecf2; color: #141826; }
.blip.static { flex: none; }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-ctrl-bottom-left, .maplibregl-ctrl-bottom-right { bottom: calc(96px + var(--safe-b)); }

/* Bildirim bandı */
.toasts { position: fixed; left: 0; right: 0; top: calc(136px + var(--safe-t)); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; z-index: 50; }
.toast { width: min(320px, calc(100vw - 32px)); padding: 10px 14px; text-align: center; background: rgba(11, 15, 26, 0.88); border-top: 2px solid var(--mint); animation: toastIn 0.45s var(--ease) both, toastOut 0.4s 3.3s ease-in both; }
.toast.tone-pink { border-color: var(--pink); } .toast.tone-gold { border-color: var(--gold); } .toast.tone-lavender { border-color: var(--lavender); }
.toast-title { font-size: 18px; font-weight: 600; }
.toast-sub { font-size: 13px; color: var(--soft); margin-top: 2px; }

/* ---------- Duraklatma menüsü ---------- */
.pause { position: absolute; inset: 0; z-index: 40; }
.pause-dim { position: absolute; inset: 0; background: rgba(11, 15, 26, 0.62); -webkit-backdrop-filter: blur(16px) saturate(0.9); backdrop-filter: blur(16px) saturate(0.9); animation: fadeIn 0.3s ease both; }
.pause-inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: calc(16px + var(--safe-t)) 14px calc(14px + var(--safe-b)); animation: menuIn 0.35s var(--ease) both; }
.pause-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 6px; }
.pause-head-right { display: flex; align-items: center; gap: 18px; }
.level-block { text-align: right; }
.level-text { font-size: 13px; color: var(--pink); letter-spacing: 0.14em; margin-bottom: 6px; }
.level-block .bar { width: 140px; margin-left: auto; }
.money-col { display: none; }
.pause-body { flex: 1; min-height: 0; position: relative; margin-top: 18px; }
.pause-list { display: flex; flex-direction: column; gap: 4px; height: 100%; overflow-y: auto; }
.menu-item {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 14px;
  border: 0; border-radius: 4px; background: none; text-align: left; font-size: 17px; color: var(--text);
  animation: itemIn 0.35s var(--ease) both; overflow: hidden;
}
.menu-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #e7e9ee 60%, rgba(231, 233, 238, 0.12) 100%); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease); z-index: -1; }
.menu-item > * { position: relative; }
.menu-item.active { color: var(--ink); font-weight: 600; }
.menu-item.active::before { transform: scaleX(1); }
.menu-item { isolation: isolate; }
.menu-soon { margin-left: auto; font: 500 10px var(--display); letter-spacing: 0.12em; color: var(--muted); }
.menu-item.active .menu-soon { color: #4b5160; }

.pause-detail { position: absolute; inset: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; transform: translateX(105%); transition: transform 0.35s var(--ease); }
.pause-body.show-detail .pause-detail { transform: none; }
.pause-body.show-detail .pause-list { visibility: hidden; }
.back-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; background: none; border: 0; color: var(--soft); }
.panel { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; animation: rise 0.35s var(--ease) both; }
.panel-title { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: 0.04em; }
.panel-kicker { margin: 0; font-size: 15px; font-weight: 600; color: var(--pink); letter-spacing: 0.14em; }
.soon-badge { align-self: flex-start; font-size: 12px; padding: 4px 10px; border-radius: 3px; background: var(--gold); color: var(--ink); font-weight: 600; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.setting-row.col { flex-direction: column; align-items: stretch; gap: 8px; }
.pause-detail .today { display: none; }
.pause-hints .desk { display: none; }
.pause-hints { display: flex; justify-content: flex-end; gap: 20px; padding: 10px 6px 0; font-size: 13px; color: var(--soft); }

/* Bilgisayar: GTA pause menüsü düzeni */
@media (min-width: 900px) {
  .pause-inner { padding: 36px 48px 28px; }
  .logo-outline.small { font-size: 60px; }
  .wm-logo.small .wm-mark { width: 104px; }
  .money-col { display: flex; flex-direction: column; align-items: flex-end; font-weight: 600; }
  .level-block .bar { width: 220px; }
  .pause-body { display: flex; gap: 48px; margin-top: 28px; }
  .pause-list { width: 320px; flex: none; height: auto; }
  .pause-detail { position: static; flex: 1; transform: none; max-width: 760px; }
  .pause-body.show-detail .pause-list { visibility: visible; }
  .back-btn { display: none; }
  .pause-hints .touch { display: none; }
  .pause-hints .desk { display: inline; }
  .pause-detail .today { display: flex; }
  .hud-bars { left: 28px; top: 28px; width: 240px; }
  .hud-money { right: 28px; top: 22px; }
  .money-row { font-size: 28px; }
  .quickbar { bottom: 28px; }
  .toasts { top: 120px; }
}

/* ---------- Animasyonlar ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes itemIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scaleY(0.6); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes pulse { 50% { opacity: 0.45; } }
@keyframes blipPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45), 0 3px 10px rgba(0, 0, 0, 0.45); } 70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0), 0 3px 10px rgba(0, 0, 0, 0.45); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 3px 10px rgba(0, 0, 0, 0.45); } }
.screen-enter { animation: fadeIn 0.4s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Modül ekranları (Envanter, Kuşanma) ---------- */
.module { position: absolute; inset: 0; z-index: 45; background: rgba(11, 15, 26, 0.74); -webkit-backdrop-filter: blur(18px) saturate(0.85); backdrop-filter: blur(18px) saturate(0.85); display: flex; flex-direction: column; animation: menuIn 0.3s var(--ease) both; }
.module-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: calc(12px + var(--safe-t)) 16px calc(100px + var(--safe-b)); max-width: 980px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.module-head { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.module-title { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.08; letter-spacing: 0.03em; overflow-wrap: break-word; }
@media (min-width: 700px) { .module-title { font-size: 32px; } }
.kicker { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }
.head-total { text-align: right; flex: none; }
.total-num { font-size: 20px; font-weight: 600; }
.note { margin: 0; padding: 8px 12px; border-radius: 8px; background: rgba(169, 139, 255, 0.1); color: #d6cbff; }
.search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; color: var(--text); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chip { flex: none; min-height: 36px; padding: 0 14px; border-radius: 3px; border: 0; background: rgba(20, 26, 40, 0.92); color: var(--soft); font-size: 13px; letter-spacing: 0.12em; }
.chip.on { background: #fff; color: var(--ink); font-weight: 600; }
.chip.pill { border-radius: 20px; min-height: 40px; font-family: var(--font); letter-spacing: 0; font-size: 14px; border: 1px solid rgba(255, 255, 255, 0.16); }
.chip.pill.on { border-color: #fff; }
.chip.dashed { border-style: dashed; background: none; min-width: 40px; }
.alert-card { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border-radius: 8px; background: rgba(255, 201, 74, 0.1); border: 1px solid rgba(255, 201, 74, 0.35); }
.empty { padding: 28px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: var(--soft); }
.empty p { margin: 0; max-width: 300px; }

.item-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .item-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .item-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.item-card { position: relative; padding: 0; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; background: rgba(36, 42, 58, 0.7); overflow: hidden; text-align: left; color: var(--text); animation: rise 0.35s var(--ease) both; transition: transform 0.15s var(--ease), border-color 0.2s; }
.item-card:hover { border-color: rgba(255, 255, 255, 0.25); }
.item-card:active { transform: scale(0.98); }
.item-card-body { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.item-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 4px; }
.price { font-size: 15px; font-weight: 600; }
.rar { font-size: 10.5px; letter-spacing: 0.08em; white-space: nowrap; }
.glow { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.glow-legendary, .glow-mythic, .glow-unique { animation: shimmer 2.4s ease-in-out infinite; }
@keyframes shimmer { 50% { filter: brightness(1.45); } }

.thumb { display: grid; place-items: center; background: #161c2b; color: #5c6478; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-card { height: 108px; }
.thumb-big { height: 260px; border-radius: 10px; }
.thumb-mini { width: 40px; height: 40px; border-radius: 6px; flex: none; }

/* Detay */
.detail-hero { position: relative; border-radius: 12px; overflow: hidden; background: #161c2b; min-height: 220px; display: grid; place-items: center; }
.detail-hero > img { width: 100%; max-height: 380px; object-fit: contain; display: block; }
.detail-hero .thumb-big { width: 100%; }
.detail-title { display: flex; flex-wrap: wrap; gap: 8px; }
.rar-badge { font-size: 12px; padding: 4px 10px; border-radius: 3px; color: var(--ink); font-weight: 600; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); color: var(--soft); }
.stat-bars { display: flex; flex-direction: column; gap: 10px; }
.stat { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 10px; }
.stat .bar { height: 8px; background: rgba(255, 255, 255, 0.08); }
.info { margin: 0; padding: 6px 16px; }
.info-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row dt { flex: none; } .info-row dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.notes { margin: 0; padding: 14px 16px; white-space: pre-wrap; }
.danger { color: #ffb3b3; border-color: rgba(255, 140, 140, 0.4); }

/* Form */
.form { display: flex; flex-direction: column; gap: 14px; }
.fs { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.fs legend { padding: 0; margin-bottom: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
select.input option { background: var(--panel-solid); }
.input.area { height: auto; padding: 12px 14px; resize: vertical; }
input[type='date'].input { min-height: 48px; }
.rarity-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.rarity-pick button { min-height: 36px; padding: 0 12px; border-radius: 3px; border: 1px solid var(--rc); background: transparent; color: var(--rc); font: 600 12px var(--display); letter-spacing: 0.08em; }
.rarity-pick button.on { background: var(--rf, var(--rc)); color: var(--ink); box-shadow: 0 0 12px var(--rc); }
.photo-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px; }
.photo-chip { position: relative; flex: none; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #161c2b; }
.photo-chip.on { border-color: #fff; }
.photo-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(11, 15, 26, 0.85); display: grid; place-items: center; }
.photo-add { flex: none; width: 84px; height: 84px; border-radius: 8px; border: 1px dashed rgba(255, 255, 255, 0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; color: var(--soft); cursor: pointer; padding: 4px; }
.photo-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.attr-row { display: grid; grid-template-columns: 1fr 1fr 44px; gap: 8px; align-items: center; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding-top: 6px; }
.form-actions .btn-primary { min-width: 150px; }

.fab-wide { position: absolute; right: 18px; bottom: calc(22px + var(--safe-b)); height: 56px; padding: 0 22px 0 18px; border-radius: 28px; border: 0; background: #fff; color: var(--ink); display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); animation: pop 0.35s 0.1s var(--ease) both; }

/* Kuşanma tekerleği */
.picker { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; animation: rise 0.25s var(--ease) both; }
.picker-head { display: flex; align-items: center; justify-content: space-between; }
.picker-list { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; }
.pick { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 6px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.04); color: var(--text); text-align: left; }
.pick.on { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.picker-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Cüzdan ---------- */
.row.between { justify-content: space-between; }
.row.baseline { align-items: baseline; }
.row.gap { gap: 10px; }
.block { display: block; }
.soft { color: var(--soft); }
.big-num { font-size: 26px; font-weight: 700; }
.money-col-mod { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; flex: none; }
.money-row.sm { font-size: 19px; gap: 6px; }
.money-row.sm .coin { width: 16px; height: 16px; }
.budget-btn { display: flex; flex-direction: column; gap: 8px; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--text); text-align: left; }
.budget-btn .bar { display: block; height: 8px; background: rgba(255, 255, 255, 0.08); }
.btn-primary.sm { height: 44px; font-size: 15px; }
.paid-badge { font-size: 14px; padding: 3px 10px; border-radius: 3px; background: rgba(114, 230, 210, 0.15); color: var(--mint); }
.card-panel { gap: 10px; }
.acc-ico { width: 36px; height: 36px; flex: none; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); }
.acc-cash { color: var(--mint); } .acc-bank, .acc-digital { color: var(--lavender); } .acc-credit_card { color: var(--pink); } .acc-savings, .acc-investment { color: var(--gold); }
.card-panel .row.strong .acc-ico { width: 30px; height: 30px; }
.acc-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-align: left; }
.acc-row:last-child { border-bottom: 0; }
.acc-bal { font-size: 18px; font-weight: 700; }
.link-btn.sm { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; font-size: 13px; }
.inst { display: flex; flex-direction: column; gap: 6px; }
.load-bars { display: flex; align-items: flex-end; gap: 8px; height: 104px; }
.load-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; }
.load-val { font-size: 10.5px; color: var(--soft); white-space: nowrap; }
.load-bar { width: 100%; background: var(--lavender); border-radius: 2px 2px 0 0; transition: height 0.6s var(--ease); }
.cat-row { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 10px; }
.cat-row .bar { height: 6px; background: rgba(255, 255, 255, 0.08); display: block; }
.cat-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-row { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-align: left; width: 100%; }
.tx-row:last-child { border-bottom: 0; }
.tx-title { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-sub { display: block; }
.tx-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tx-dot.tx-expense { background: var(--pink); } .tx-dot.tx-income { background: var(--mint); } .tx-dot.tx-transfer { background: var(--lavender); }
.tx-amt { font-size: 17px; font-weight: 700; white-space: nowrap; }
.tx-amt.tx-income { color: var(--mint); } .tx-amt.tx-transfer { color: var(--soft); }
.amount-input { height: 64px; font-size: 34px; font-weight: 700; letter-spacing: 0.02em; }
.amount-input.tone-expense { color: var(--pink); } .amount-input.tone-income { color: var(--mint); }
.pink-fab { background: var(--pink); color: #141826; }
.today-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.today-list b { display: inline-block; width: 18px; }
.pause-list .today-m { margin-top: 12px; }
@media (min-width: 900px) { .pause-list .today-m { display: none; } }

/* Uygulama içi onay / giriş penceresi */
.dlg-back { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(5, 8, 14, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadeIn 0.2s ease both; }
.dlg { width: min(420px, 100%); padding: 20px; display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--pink); animation: menuIn 0.25s var(--ease) both; }
.dlg-title { margin: 0; font-size: 17px; line-height: 1.4; }
.danger-bg { background: #ff8f8f; }

/* ---------- Cüzdan 2: borç / kredi / düzenli ---------- */
.wallet-tabs { flex: none; overflow-x: auto; scrollbar-width: none; }
.wallet-tabs::-webkit-scrollbar { display: none; }
.wallet-tabs button { flex: 1 0 auto !important; min-width: 0; padding: 0 12px; font-size: 12px; letter-spacing: 0.06em; white-space: nowrap; }
.center { text-align: center; }
.dim { opacity: 0.55; }
.btn-ghost.xs { min-height: 34px; height: 34px; padding: 0 10px; font-size: 12px; flex: none; }
.check-row { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-size: 15px; }
.check-row input { width: 20px; height: 20px; accent-color: var(--pink); flex: none; }

.soon-row { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.soon-row:last-child { border-bottom: 0; }
.soon-row.late { box-shadow: inset 3px 0 0 var(--pink); padding-left: 8px; }
.soon-row.wait { box-shadow: inset 3px 0 0 var(--mint); padding-left: 8px; }
.soon-when { width: 64px; flex: none; font-size: 11px; letter-spacing: 0.04em; color: var(--gold); overflow-wrap: anywhere; }
.soon-when.pink-t { color: var(--pink); } .soon-when.mint-t { color: var(--mint); }
.soon-amt { font-size: 15px; white-space: nowrap; }

.debt-row { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-align: left; }
.debt-row:last-child { border-bottom: 0; }
.debt-row .bar { width: 100%; }

.loan-card { display: flex; flex-direction: column; gap: 8px; width: 100%; color: var(--text); text-align: left; border: 0; }
.loan-card .bar { width: 100%; }
.tag-auto { margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: rgba(114, 230, 210, 0.16); color: var(--mint); font: 600 10px var(--display); letter-spacing: 0.1em; vertical-align: 2px; }

.sched { display: flex; flex-direction: column; max-height: 420px; overflow-y: auto; }
.sched-row { display: grid; grid-template-columns: 28px 1fr 1.2fr 1fr 1.2fr; gap: 6px; align-items: center; min-height: 34px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sched-row.head { position: sticky; top: 0; background: rgba(11, 15, 26, 0.95); min-height: 28px; }
.sched-row span:nth-child(n + 3) { text-align: right; }
.sched-row.paid { opacity: 0.5; }
.sched-row.paid span:first-child { color: var(--mint); }
.sched-row.late { color: var(--pink); }
@media (max-width: 420px) { .sched-row span:nth-child(4) { display: none; } .sched-row { grid-template-columns: 28px 1fr 1.2fr 1.2fr; } }

/* ---------- Cüzdan 3: işlemler, rapor, döküm, HUD paneli ---------- */
.mint-bg { background: var(--mint); }
.coin.pink { border-color: var(--pink); }
.icon-btn.sm { width: 36px; height: 36px; flex: none; }
.icon-btn.flip svg { transform: scaleX(-1); }
.icon-btn:disabled { opacity: 0.3; }
.month-nav { display: flex; align-items: center; gap: 8px; }
.month-title { flex: 1; text-align: center; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; }
.month-nav .chip { flex: none; }
.totals3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.totals3 > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.totals3 .display { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); min-width: 0; }
.stat .display { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.ledger-filters { gap: 10px; }
.search-box { position: relative; display: block; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box .input { padding-left: 40px; }
.day-group { gap: 0; padding-top: 10px; padding-bottom: 4px; }
.day-head { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.day-title { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.tx-amt-col { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex: none; }

.day-bars { display: flex; align-items: flex-end; gap: 2px; height: 110px; padding-top: 6px; }
.day-bar { flex: 1; height: 100%; display: flex; align-items: flex-end; background: rgba(255, 255, 255, 0.03); border-radius: 2px; }
.day-bar > span { display: block; width: 100%; background: var(--pink); border-radius: 2px 2px 0 0; opacity: 0.85; }
.day-bar.today { background: rgba(255, 201, 74, 0.18); }
.day-bar.today > span { background: var(--gold); opacity: 1; }
.day-bar.future { opacity: 0.35; }

.cat-block { border-bottom: 1px solid var(--line); padding: 8px 0; }
.cat-block:last-child { border-bottom: 0; }
.cat-main { display: flex; flex-direction: column; gap: 6px; width: 100%; border: 0; background: none; color: var(--text); text-align: left; padding: 0; }
.cat-main .bar { width: 100%; }
.cat-budget { border: 0; background: none; color: var(--muted); padding: 6px 0 0; text-align: left; }
.merchant-row { display: flex; align-items: center; gap: 10px; min-height: 40px; border-bottom: 1px solid var(--line); }
.merchant-row:last-child { border-bottom: 0; }
.rank { width: 22px; color: var(--gold); flex: none; }

.trend-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.trend-col { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; border-radius: 8px; background: none; color: var(--text); padding: 4px 0; }
.trend-col.on { background: rgba(255, 255, 255, 0.06); }
.trend-pair { display: flex; align-items: flex-end; gap: 3px; height: 90px; }
.tb { width: 11px; border-radius: 2px 2px 0 0; min-height: 2px; }
.tb.in { background: var(--mint); } .tb.out { background: var(--pink); }

.sheet-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, 0.06); }
.sheet-bar span { display: block; height: 100%; }
.sheet-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sheet-cols > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sheet-head { padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.sheet-group { display: flex; flex-direction: column; gap: 2px; }
.sheet-sub { border: 0; background: none; padding: 0 0 0 4px; width: 100%; color: var(--muted); }
@media (max-width: 420px) { .sheet-cols { grid-template-columns: 1fr; } }
.inst-card { display: flex; flex-direction: column; gap: 6px; width: 100%; color: var(--text); text-align: left; border: 0; }
.inst-card .bar { width: 100%; }

/* HUD para */
button.hud-money { border: 0; background: none; color: inherit; padding: 0; cursor: pointer; text-align: right; }
.hud-today { font-family: var(--body, inherit); font-size: 12px; color: var(--pink); letter-spacing: 0.04em; text-transform: none; }
.peek-back { position: fixed; inset: 0; z-index: 30; }
.peek { position: absolute; z-index: 31; top: calc(12px + var(--safe-t)); right: 12px; left: 12px; max-width: 400px; margin-left: auto; max-height: calc(100% - 140px - var(--safe-t) - var(--safe-b)); overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; animation: rise 0.25s var(--ease) both; }
.peek-accounts { display: flex; flex-direction: column; gap: 6px; }
.peek-net { padding-top: 8px; border-top: 1px solid var(--line); align-items: baseline; }
.peek-next { padding: 8px 10px; border-radius: 8px; background: rgba(255, 201, 74, 0.08); }
.peek-next.late { background: rgba(244, 167, 198, 0.12); }
.cat-main .bar, .debt-row .bar, .loan-card .bar, .inst-card .bar { flex: none; }
.month-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* ---------- GARDIROP (GTA 6 Wardrobe düzeni) ---------- */
.wardrobe { position: absolute; inset: 0; z-index: 46; overflow: clip; background: #0d0a08; color: var(--text); display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr minmax(220px, 300px); grid-template-rows: auto 1fr auto;
  grid-template-areas: "top top top" "panel stage info" "actions actions actions"; }
.wd-scene { position: absolute; inset: -3%; background-size: cover; background-position: center; animation: wdZoom 0.9s var(--ease) both; }
.wd-scene.photo { filter: saturate(0.9) brightness(0.72); }
.wd-closet { width: 100%; height: 100%; display: block; }
.wd-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 8, 10, 0.86) 0%, rgba(8, 8, 10, 0.25) 34%, rgba(8, 8, 10, 0) 60%, rgba(8, 8, 10, 0.35) 100%), linear-gradient(0deg, rgba(8, 8, 10, 0.75), rgba(8, 8, 10, 0) 22%), radial-gradient(ellipse at 55% 45%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 100%); }
@keyframes wdZoom { from { transform: scale(1.08); filter: blur(10px) brightness(0.4); } to { transform: none; } }
@keyframes wdPiece { from { opacity: 0; transform: translateY(-14px) scale(0.94); } to { opacity: 1; transform: none; } }

.wd-header { grid-area: top; min-width: 0; position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; padding: calc(16px + var(--safe-t)) 24px 0; animation: slideRight 0.45s var(--ease) both; }
.wd-title { margin: 0 0 8px; font-size: 26px; letter-spacing: 0.12em; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
.wd-tabs { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.wd-tabs::-webkit-scrollbar { display: none; }
.wd-tab { flex: none; border: 0; border-radius: 3px; background: none; color: rgba(255, 255, 255, 0.75); padding: 5px 9px; font-size: 13px; letter-spacing: 0.1em; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); }
.wd-tab.on { background: #fff; color: var(--ink); text-shadow: none; }
.wd-key { flex: none; min-width: 26px; height: 22px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(0, 0, 0, 0.35); color: #fff; font: 600 11px var(--display); letter-spacing: 0.04em; }
.wd-key.sm { min-width: 22px; height: 20px; font-size: 10px; }
.wd-money { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75); }

.wd-panel { grid-area: panel; min-width: 0; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; padding: 14px 0 12px 24px; min-height: 0; animation: slideRight 0.5s 0.08s var(--ease) both; }
.wd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; overflow-y: auto; min-height: 0; scrollbar-width: thin; }
.wd-row { position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 12px; border-radius: 3px; background: rgba(20, 20, 24, 0.55); color: rgba(255, 255, 255, 0.9); cursor: pointer; font-size: 15px; transition: background 0.15s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wd-row:hover { background: rgba(40, 40, 46, 0.7); }
.wd-row.on { background: #fff; color: var(--ink); }
.wd-row.add { color: var(--mint); font: 600 13px var(--display); letter-spacing: 0.1em; }
.wd-row.add.on { background: var(--mint); color: var(--ink); }
.wd-row.group { margin-top: 18px; }
.wd-row.group::before { content: attr(data-group); position: absolute; left: 2px; top: -17px; font: 600 11px var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.wd-thumb { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.wd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wd-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 6px currentColor; }
.wd-check { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); }
.wd-row.on .wd-check { background: var(--ink); color: #fff; }
.wd-count { font-size: 14px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.85); padding-left: 4px; }
.wd-trunk { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.85); padding-left: 4px; }

.wd-stage { grid-area: stage; position: relative; z-index: 1; display: grid; place-items: center; min-height: 0; min-width: 0; padding: 8px; container-type: size; }
.wd-board { position: relative; width: min(100cqw, 100cqh * 0.78, 520px); height: min(100cqh, 100cqw / 0.78, 660px); display: grid; gap: 6px;
  grid-template-columns: 0.62fr 1fr 1fr 1fr 0.62fr; grid-template-rows: 0.62fr 0.34fr 1.25fr 0.82fr 0.5fr 0.62fr;
  grid-template-areas: ". ear hat gls ." ". nek nek nek ." "arL top mid out arR" "arL rng bot acc arR" ". . bot . ." ". sck sho sho ."; }
.wd-silhouette { position: absolute; left: 50%; top: 0; height: 100%; transform: translateX(-50%); fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.5; pointer-events: none; }
.wd-cell { position: relative; min-width: 0; min-height: 0; display: flex; gap: 5px; }
.wd-cell.single > .wd-piece { flex: 1; }
.wd-cell.multi > .wd-piece { flex: 1 1 0; min-width: 0; min-height: 0; }
.wd-c-ear { grid-area: ear; padding: 8% 14%; } .wd-c-hat { grid-area: hat; } .wd-c-gls { grid-area: gls; padding: 10% 6%; }
.wd-c-nek { grid-area: nek; justify-content: center; } .wd-c-nek > .wd-piece { max-width: 30%; }
.wd-c-top { grid-area: top; } .wd-c-mid { grid-area: mid; } .wd-c-out { grid-area: out; }
.wd-c-arL, .wd-c-arR { flex-direction: column; justify-content: center; padding-top: 16px; }
.wd-c-arL { grid-area: arL; } .wd-c-arR { grid-area: arR; }
.wd-c-arL > .wd-piece, .wd-c-arR > .wd-piece { max-height: 31%; }
.wd-cell-label { position: absolute; top: 0; left: 0; right: 0; text-align: center; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.wd-c-rng { grid-area: rng; flex-direction: column; } .wd-c-acc { grid-area: acc; flex-direction: column; }
.wd-c-bot { grid-area: bot; } .wd-c-sck { grid-area: sck; padding: 6% 8%; } .wd-c-sho { grid-area: sho; padding: 0 16%; }
.wd-piece { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; padding: 0; border-radius: 10px; overflow: hidden; color: rgba(255, 255, 255, 0.45); animation: wdPiece 0.45s var(--ease) both; transition: transform 0.2s, box-shadow 0.2s; }
.wd-piece.filled { background: rgba(250, 248, 244, 0.92); border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55); }
.wd-piece.empty { background: rgba(0, 0, 0, 0.22); border: 1.5px dashed rgba(255, 255, 255, 0.22); }
.wd-piece img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.wd-piece.focus { transform: scale(1.04); box-shadow: 0 0 0 2px #fff, 0 14px 32px rgba(0, 0, 0, 0.6); z-index: 1; }
.wd-piece-name { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; color: #2b2f38; font-size: 11px; font-weight: 600; text-align: center; line-height: 1.15; overflow: hidden; }
.wd-rar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; box-shadow: 0 0 10px var(--rc); }
.wd-piece-icon { display: grid; place-items: center; width: 100%; height: 100%; background: #262a33; }
.wd-piece.filled:has(.wd-piece-icon) { background: #262a33; border-color: rgba(255, 255, 255, 0.25); }
.wd-icon-box { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.wd-icon-box summary { cursor: pointer; font-size: 13px; letter-spacing: 0.1em; color: var(--soft); }
.wd-icon-box[open] summary { margin-bottom: 10px; }

.wd-info { grid-area: info; position: relative; z-index: 2; align-self: end; margin: 0 24px 12px 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; border-radius: 6px; animation: slideLeft 0.4s var(--ease) both; }
.wd-info-title { font-size: 20px; letter-spacing: 0.04em; }
.wd-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; border: 1px solid rgba(255, 255, 255, 0.4); }

.wd-actions { grid-area: actions; position: relative; z-index: 2; display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding: 10px 24px calc(14px + var(--safe-b)); }
.wd-act { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; border: 0; background: none; color: #fff; font: 600 13px var(--display); letter-spacing: 0.1em; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8); padding: 0; }
.wd-act:disabled { opacity: 0.45; }
.wd-act.main .wd-key { background: #fff; color: var(--ink); border-color: #fff; }
.wd-act:first-child { margin-right: auto; }

/* Kıyafet formu */
.wd-photo-pick { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; align-self: center; border-radius: 12px; border: 1.5px dashed rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); color: var(--muted); overflow: hidden; padding: 0; }
.wd-photo-pick.has { border-style: solid; background: #f6f4f0; }
.wd-photo-pick img { width: 100%; height: 100%; object-fit: contain; }
.wd-photo-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wd-photo-change { position: absolute; right: 8px; bottom: 8px; display: inline-flex; gap: 4px; align-items: center; padding: 5px 9px; border-radius: 6px; background: rgba(0, 0, 0, 0.65); color: #fff; }
.wd-slot-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.wd-slot-pick button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--soft); font-size: 12px; }
.wd-slot-pick button.on { background: #fff; color: var(--ink); border-color: #fff; }
.wd-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-colors button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2); padding: 0; }
.wd-colors button.on { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25); }

/* Telefon: sahne üstte, liste altta */
@media (max-width: 899px) {
  .wardrobe { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-areas: "top" "stage" "panel" "actions"; }
  .wd-header { padding: calc(10px + var(--safe-t)) 14px 0; flex-direction: column; gap: 4px; }
  .wd-money { position: absolute; right: 14px; top: calc(10px + var(--safe-t)); }
  .wd-title { font-size: 22px; margin-bottom: 4px; }
  .wd-tab { font-size: 12px; padding: 5px 7px; }
  .wd-stage { padding: 6px 14px 0; }
  .wd-panel { padding: 8px 14px 0; max-height: 34vh; background: linear-gradient(0deg, rgba(8, 8, 10, 0.9), rgba(8, 8, 10, 0.6)); }
  .wd-row { min-height: 42px; }
  .wd-info { display: none; }
  .wd-actions { gap: 4px 12px; padding: 8px 14px calc(10px + var(--safe-b)); background: rgba(8, 8, 10, 0.9); justify-content: flex-start; }
  .wd-act { font-size: 12px; }
  .wd-act:first-child { margin-right: 0; order: 9; }
  .wd-act.main { order: -1; }
  .wd-vignette { background: linear-gradient(0deg, rgba(8, 8, 10, 0.85), rgba(8, 8, 10, 0) 45%), radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.5) 100%); }
}

.wd-titlebox { min-width: 0; max-width: 100%; }
.wd-actions { min-width: 0; }
@media (max-width: 899px) { .wd-titlebox { padding-right: 96px; } .wd-act { min-height: 34px; } }

/* ---------- KUŞANMA (GTA 6 eşya tekerleği) ---------- */
.lo { position: absolute; inset: 0; z-index: 45; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; color: #fff; overflow: clip; }
.lo-dim { position: absolute; inset: 0; background: rgba(10, 12, 16, 0.55); -webkit-backdrop-filter: blur(22px) saturate(0.7) brightness(0.75); backdrop-filter: blur(22px) saturate(0.7) brightness(0.75); animation: fadeIn 0.25s ease both; }
.lo-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: calc(14px + var(--safe-t)) 16px 0; }
.lo-back { position: absolute; left: 14px; top: calc(10px + var(--safe-t)); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.25); color: #fff; }
.lo-tabs { display: flex; align-items: center; gap: 4px; }
.lo-tab { border: 0; border-radius: 3px; background: none; color: rgba(255, 255, 255, 0.7); padding: 5px 10px; font-size: 13px; letter-spacing: 0.12em; }
.lo-tab.on { background: #fff; color: var(--ink); }
.lo-count { position: absolute; right: 16px; top: calc(20px + var(--safe-t)); font-size: 13px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.7); }

.lo-ring { position: relative; z-index: 1; align-self: center; justify-self: center; width: min(96vw, 640px, calc((100dvh - 240px) * 0.9)); aspect-ratio: 1 / 1.12; }
.lo-card { position: absolute; transform: translate(-50%, -50%); width: 24%; aspect-ratio: 1.55; display: flex; flex-direction: column; align-items: stretch; padding: 0; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06); background: rgba(70, 72, 78, 0.42); color: #fff; animation: loPop 0.32s var(--ease) backwards; transition: background 0.15s, border-color 0.15s, transform 0.18s var(--ease); }
.lo-card.empty { background: rgba(70, 72, 78, 0.22); }
.lo-card.on { border: 2px solid #fff; background: rgba(110, 112, 118, 0.55); transform: translate(-50%, -50%) scale(1.06); z-index: 2; }
.lo-glyph { flex: 1; display: grid; place-items: center; color: #fff; }
.lo-card.empty .lo-glyph { color: rgba(255, 255, 255, 0.22); }
.lo-strip { flex: none; min-height: 22%; display: grid; place-items: center; padding: 2px 6px; background: rgba(0, 0, 0, 0.35); font: 600 11px var(--display); letter-spacing: 0.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, 0.9); }
.lo-card.empty .lo-strip { background: rgba(0, 0, 0, 0.15); }
.lo-rar { position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.lo-card.on .lo-rar { height: 4px; }
.lo-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44%; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; pointer-events: none; }
.lo-photo .thumb-mini { width: 52px; height: 52px; border-radius: 8px; margin-bottom: 6px; }
.lo-name { font-size: clamp(15px, 3.6vw, 22px); letter-spacing: 0.06em; line-height: 1.1; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
.lo-cat { font-size: 12px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.7); }
.lo-rarity { font-size: 11px; letter-spacing: 0.14em; margin-top: 2px; }

.lo-bar { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px 18px; padding: 8px 20px calc(14px + var(--safe-b)); }
.lo-presets { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lo-presets-label { font-size: 11px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.6); }
.lo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lo-chip { min-height: 32px; padding: 0 12px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(0, 0, 0, 0.25); color: #fff; font-size: 12px; letter-spacing: 0.08em; }
.lo-chip.on { background: #fff; color: var(--ink); border-color: #fff; }
.lo-chip.add { border-style: dashed; min-width: 36px; }
.lo-hints { display: flex; gap: 16px; }
.lo-picker { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); max-width: 520px; margin: 0 auto; max-height: 60%; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; animation: rise 0.25s var(--ease) both; }
@media (max-width: 600px) {
  .lo-card { width: 25%; }
  .lo-strip { font-size: 10px; }
  .lo-hints { width: 100%; justify-content: flex-end; }
}

@keyframes loPop { from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* ---------- Eşya ikonları (GTA 6 tarzı) ---------- */
.item-glyph { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)); }
.icon-picker { display: flex; flex-direction: column; gap: 10px; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; padding: 2px; }
.icon-cell { display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 78px; padding: 9px 4px 6px; border-radius: 10px; border: 1px solid var(--line); background: #262a33; color: var(--soft); font-size: 10.5px; line-height: 1.15; text-align: center; }
.icon-cell.on { border-color: #fff; background: #3a3f4b; color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25); }
.thumb .item-glyph { margin: auto; }
.thumb:has(.item-glyph) { display: grid; place-items: center; background: #262a33; }
.lo-bigglyph { margin-bottom: 6px; }
@media (max-width: 600px) {
  .lo-tabs .wd-key, .lo-count { display: none; }
  .lo-top { padding-left: 62px; padding-right: 12px; justify-content: flex-start; }
  .lo-tabs { overflow-x: auto; scrollbar-width: none; }
  .lo-tab { flex: none; font-size: 12px; padding: 5px 8px; }
}
fieldset.fs { min-width: 0; }
.icon-picker, .icon-picker .chips, .icon-grid { min-width: 0; max-width: 100%; }

/* ---------- Cüzdan: döviz, bölüşme, fiş, hedefler ---------- */
.acc-bal-col { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.fx-row { display: flex; align-items: center; gap: 10px; min-height: 46px; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-align: left; padding: 4px 0; }
.fx-row:last-of-type { border-bottom: 0; }
.split-box { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.split-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.split-row > * { min-width: 0; width: 100%; }
.split-row > button { width: auto; }
.receipt-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.receipt-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.bar-fill.gold { background: var(--gold); }
.goal-card { gap: 10px; }
.goal-head { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; color: var(--text); text-align: left; padding: 0; }
.goal-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #262a33; color: var(--gold); }
.goal-card .bar { width: 100%; flex: none; display: block; height: 8px; background: rgba(255, 255, 255, 0.08); }
.goal-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px; }
.icon-cell.sm { min-height: 48px; padding: 8px; }

/* ---- GTA 6 HUD simgeleri ve CAN/ENERJİ/GÖRÜ ---- */
.hud-icon { flex: none; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)); }
button.hud-bars { border: 0; background: none; padding: 0; margin: 0; color: inherit; text-align: left; cursor: pointer; }
.hud-bars .hud-bar { gap: 10px; }
.hud-track { position: relative; height: 13px; background: rgba(12, 16, 26, 0.55); overflow: visible; }
.hud-track .bar-fill { box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); }
.hud-track.lg { height: 12px; margin: 6px 0 4px; }
.hud-divider { position: absolute; top: -2px; bottom: -2px; width: 4px; margin-left: -2px; background: #0b0f1a; border-left: 1px solid #e9ecf2; border-right: 1px solid #e9ecf2; }
.money-row .hud-icon { margin-left: 2px; }
.acc-ico.hud { background: none; border-radius: 50%; }
.vit-sheet { width: min(460px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--pink); animation: menuIn 0.25s var(--ease) both; }
.vit-title { margin: 0; font-size: 20px; letter-spacing: 0.08em; }
.vit-row { display: flex; gap: 12px; align-items: flex-start; }
.vit-row .grow { min-width: 0; }
.vit-parts { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; margin-top: 4px; }
.vit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vit-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); font-size: 12px; line-height: 1.2; text-align: center; }
.vit-btn:active { transform: scale(0.96); }
.vit-btn .vit-sym { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #24262d; font-size: 15px; }
.vit-btn.health .vit-sym { color: var(--pink); } .vit-btn.energy .vit-sym { color: var(--mint); } .vit-btn.bad .vit-sym { color: #ff7a7a; }
.vit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
@media (max-width: 360px) { .vit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Harita: sis, araçlar, görevler, kalem, rota ---- */
.fog-canvas { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; }
.maplibregl-canvas-container .maplibregl-marker { z-index: 2; }
.map.mode-pen .maplibregl-canvas-container, .map.mode-pen canvas { cursor: crosshair; }
.map.mode-pick canvas { cursor: copy; }
.map-tools { position: absolute; right: 14px; top: calc(150px + var(--safe-t)); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px; border-radius: 26px; background: rgba(12, 16, 26, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.08); animation: slideLeft 0.5s var(--ease) both; }
.tool { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: transparent; color: #e9ecf2; }
.tool.on { background: #fff; color: var(--ink); }
.tool:active { transform: scale(0.94); }
.tool-stat { font-size: 12px; line-height: 1; text-align: center; color: var(--lavender); padding: 4px 0 2px; }
.tool-stat small { display: block; font-size: 9px; color: var(--muted); margin-top: 2px; }

.task-panel { position: absolute; left: 14px; top: calc(128px + var(--safe-t)); width: min(250px, 58vw); animation: slideRight 0.5s 0.05s var(--ease) both; }
.task-head { display: flex; align-items: center; gap: 8px; }
.task-title { border: 0; background: none; color: #fff; padding: 2px 0; font-size: 13px; letter-spacing: 0.16em; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); display: inline-flex; align-items: center; gap: 8px; }
.task-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: var(--ink); font-size: 12px; display: inline-grid; place-items: center; letter-spacing: 0; }
.task-add { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(12, 16, 26, 0.7); color: #fff; display: grid; place-items: center; }
.task-panel ul, .task-ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.task-row { width: 100%; display: flex; align-items: center; gap: 8px; padding: 7px 10px 7px 8px; border: 0; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(12, 16, 26, 0.86), rgba(12, 16, 26, 0.55)); color: #f1f3f7; text-align: left; font-size: 14px; }
.task-row.wide { border-radius: 4px; padding: 10px 12px; }
.task-row.done { opacity: 0.55; border-left-color: var(--mint); }
.task-row.done .task-text { text-decoration: line-through; }
.task-dot { width: 8px; height: 8px; flex: none; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.task-dot.loc { background: var(--gold); }
.task-dot.ok { border-color: var(--mint); background: var(--mint); }
.task-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.task-dist { flex: none; font-size: 12px; color: var(--gold); font-variant-numeric: tabular-nums; }
.task-empty { font-size: 13px; color: var(--soft); padding: 6px 10px; background: rgba(12, 16, 26, 0.6); border-left: 3px solid rgba(255, 255, 255, 0.2); }
.task-more { border: 0; background: none; color: var(--gold); font-size: 13px; padding: 4px 10px; }
.task-panel.closed ul { display: none; }
.task-sheet .task-note { margin: 0; white-space: pre-wrap; }
.task-form textarea.input { resize: vertical; min-height: 60px; }
.task-all { max-height: calc(100dvh - 40px); overflow-y: auto; }

.blip-home { background: #fff; color: #141826; border-radius: 50%; }
.blip-work { background: var(--lavender); color: #141826; border-radius: 50%; }
.blip-pin { background: var(--pink); color: #141826; border-radius: 50%; }
.blip-task { background: var(--gold); color: #141826; border-radius: 50%; }
.blip-task.static:empty::after { content: ''; width: 12px; height: 12px; background: #141826; clip-path: polygon(20% 0, 100% 30%, 20% 60%, 20% 100%, 0 100%, 0 0); }
.blip-home.static:empty::after, .blip-work.static:empty::after, .blip-pin.static:empty::after, .blip-car.static:empty::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #141826; }
.blip-end { background: #0b0f1a; color: #fff; border: 2px solid var(--lavender); border-radius: 50%; font-size: 15px; }
.blip-end.blip-b, .blip-end.b { border-color: var(--pink); }
.blip.sm { width: 26px; height: 26px; font-size: 12px; }

.pen-bar, .route-panel { position: absolute; left: 12px; right: 12px; bottom: calc(16px + var(--safe-b)); max-width: 460px; margin: 0 auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; animation: rise 0.3s var(--ease) both; border-top: 2px solid var(--lavender); }
.pen-bar .seg { display: flex; } .pen-bar .seg button { flex: 1; }
.pen-size { display: grid; place-items: center; min-width: 44px; }
.pen-size span { display: block; border-radius: 50%; background: currentColor; }
.route-pick { position: absolute; left: 12px; right: 12px; bottom: calc(16px + var(--safe-b)); max-width: 460px; margin: 0 auto; padding: 10px 12px; display: flex; align-items: center; gap: 10px; animation: rise 0.3s var(--ease) both; }
.route-ends { display: flex; flex-direction: column; gap: 6px; }
.route-end-wrap { display: flex; align-items: center; gap: 8px; }
.route-end { flex: 1; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); text-align: left; font-size: 14px; min-width: 0; }
.route-result { display: flex; align-items: baseline; gap: 12px; }
.route-panel .btn-ghost { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.point-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pt-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); font-size: 12px; text-align: center; text-decoration: none; line-height: 1.2; }
.pt-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #24262d; color: var(--lavender); }
.pt-ico svg { width: 16px; height: 16px; }
@media (min-width: 900px) {
  .task-panel { left: 28px; top: 150px; width: 280px; }
  .map-tools { right: 28px; top: 170px; }
}
/* Rota arama ve alternatifler */
.route-panel.tall { max-height: min(70dvh, 560px); }
.route-panel { max-height: calc(100dvh - 180px); overflow-y: auto; }
.psearch { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.psearch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; max-height: 300px; }
.psearch-hit { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.04); color: var(--text); text-align: left; font-size: 14px; }
.psearch-hit:hover, .psearch-hit:focus-visible { border-color: var(--line); }
.psearch-hit .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-ico.sm { width: 26px; height: 26px; flex: none; }
.ellipsis { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-vias { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.route-alts { display: flex; flex-direction: column; gap: 6px; }
.route-alt { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); text-align: left; font-size: 14px; }
.route-alt.on { border-color: var(--lavender); background: rgba(180, 140, 255, 0.12); }
.route-alt-n { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #2a2e3a; font-size: 13px; }
.route-alt.on .route-alt-n { background: var(--lavender); color: var(--ink); }
.blip-end.blip-via { width: 26px; height: 26px; font-size: 12px; border-color: var(--gold); }
.psearch-box .input { width: 100%; }
.salary-card { display: flex; flex-direction: column; gap: 12px; border-left: 3px solid var(--lavender); }
.salary-card.paid { border-left-color: var(--mint); }
.salary-card.due { border-left-color: var(--gold); }
.salary-quick { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--gold); background: rgba(255, 196, 64, 0.08); color: var(--text); text-align: left; }
.wd-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.wd-fchip { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(10, 12, 18, 0.6); color: rgba(255, 255, 255, 0.85); font-size: 12px; }
.wd-fchip.on { background: #fff; color: var(--ink); border-color: #fff; }
.wd-side { display: flex; gap: 6px; margin-top: 4px; }
.wd-row.on .wd-thumb { background: #262a33; border-radius: 6px; }

/* ---- Anılar ---- */
.mem-tools { display: flex; flex-direction: column; gap: 10px; }
.mem-tools .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.mem-month { display: flex; flex-direction: column; gap: 10px; }
.mem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 700px) { .mem-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }
.mem-tile { position: relative; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #1b1f2a; color: #fff; animation: rise 0.4s var(--ease) both; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }
.mem-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.mem-tile:hover img { transform: scale(1.04); }
.mem-tile-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, 0.35); }
.mem-tile-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 8px 7px; display: flex; flex-direction: column; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, 0.82)); }
.mem-tile-title { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mem-tile-sub { font-size: 10px; color: rgba(255, 255, 255, 0.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mem-tile-count { position: absolute; top: 6px; right: 6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: rgba(0, 0, 0, 0.65); font-size: 11px; display: grid; place-items: center; }
.mem-tile-fav { position: absolute; top: 6px; left: 6px; color: var(--gold); filter: drop-shadow(0 1px 2px #000); }
.mem-tile-pin { position: absolute; top: 9px; right: 30px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5); }
.mem-tile .mem-tile-count + .mem-tile-pin { right: 32px; }
.mem-tile:not(:has(.mem-tile-count)) .mem-tile-pin { right: 8px; }
.mem-map-wrap { display: flex; flex-direction: column; gap: 8px; }
.mem-map { position: relative; height: min(62dvh, 560px); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.mem-map-wrap.pick .mem-map { height: 280px; }
.mem-pin { width: 46px; height: 46px; padding: 0; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); border: 3px solid #fff; background: #1b1f2a; overflow: hidden; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5); cursor: pointer; }
.mem-pin img { width: 100%; height: 100%; object-fit: cover; transform: rotate(45deg) scale(1.4); }
.mem-pin.fav { border-color: var(--gold); }
.mem-pin.focus { border-color: var(--pink); width: 58px; height: 58px; z-index: 3; }
.mem-pin-dot { display: block; width: 100%; height: 100%; background: var(--pink); }
.mem-pick { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pink); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); }
.mem-viewer { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: #07090e; animation: menuIn 0.25s var(--ease) both; }
.mem-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; touch-action: pan-y; }
.mem-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mem-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.55); color: #fff; display: grid; place-items: center; }
.mem-nav.prev { left: 10px; } .mem-nav.next { right: 10px; } .mem-nav.next svg { transform: rotate(180deg); }
.mem-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.mem-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.mem-dots span.on { background: #fff; }
.mem-close { position: absolute; top: calc(12px + var(--safe-t)); right: 12px; background: rgba(0, 0, 0, 0.55); }
.mem-info { margin: 0; padding: 16px 16px calc(16px + var(--safe-b)); display: flex; flex-direction: column; gap: 10px; border-radius: 14px 14px 0 0; max-height: 45dvh; overflow-y: auto; }
.mem-title { margin: 0; font-size: 22px; letter-spacing: 0.03em; }
.mem-note { margin: 0; white-space: pre-wrap; color: var(--soft); font-size: 15px; line-height: 1.5; }
.icon-btn.fav-on { color: var(--gold); border-color: var(--gold); }
.btn-ghost.danger { color: var(--pink); }
.row.wrap { flex-wrap: wrap; }
.chip.static { pointer-events: none; }
.mem-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mem-photo { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #1b1f2a; border: 1px solid var(--line); }
.mem-photo img { width: 100%; height: 100%; object-fit: cover; }
.mem-photo .icon-btn { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; background: rgba(0, 0, 0, 0.6); }
.mem-photo.add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--soft); border-style: dashed; }
.mem-photo-gps { position: absolute; left: 5px; bottom: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6); }
.mem-map-wrap { width: 100%; align-self: stretch; } .mem-map { width: 100%; }

/* ---- Harita işaretleri (blip) ---- */
.blip.blip-sq { position: relative; width: 32px; height: 32px; background: none; box-shadow: none; overflow: visible; cursor: pointer; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55)); }
.blip-label { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 3px; padding: 1px 6px; border-radius: 4px; background: rgba(11, 15, 26, 0.82); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; pointer-events: none; }
.blip-icon { flex: none; display: block; }
.blip-form { max-height: calc(100dvh - 40px); overflow-y: auto; }
.blip-groups { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.blip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; max-height: 220px; overflow-y: auto; padding: 2px; }
.blip-cell { display: grid; place-items: center; height: 46px; border-radius: 8px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.04); padding: 0; }
.blip-cell.on { border-color: #fff; background: rgba(255, 255, 255, 0.14); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 32px; height: 32px; border-radius: 8px; border: 2px solid transparent; padding: 0; }
.swatches button.on { border-color: #fff; box-shadow: 0 0 0 2px var(--ink) inset; }
.places-list { max-height: calc(100dvh - 40px); overflow-y: auto; }
.places-ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.place-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); text-align: left; font-size: 14px; }
.route-via { display: block; font-size: 12px; color: var(--lavender); letter-spacing: 0.04em; }
/* GTA harita ekranı dokunuşları */
.tool-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #0b0f1a; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.7); font-size: 13px; letter-spacing: 0; }
.map-reticle { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; padding: 0; border: 0; background: none; z-index: 1; }
.map-reticle span { position: absolute; inset: 6px; border-radius: 50%; border: 2.5px dashed rgba(255, 255, 255, 0.92); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); animation: spinSlow 12s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.map-keys { display: none; }
@media (min-width: 900px) {
  .map-keys { position: absolute; right: 28px; bottom: 120px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
  .map-keys span { display: flex; align-items: center; gap: 10px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); }
  .map-keys b { font-size: 18px; letter-spacing: 0.04em; }
  .map-keys kbd { min-width: 30px; height: 30px; padding: 0 7px; border-radius: 15px; border: 2px solid #fff; display: grid; place-items: center; font: 700 11px var(--display); }
  .recenter { bottom: 300px !important; }
}
.blip-end.blip-b, .blip-end.b { background: #ff5fb0; border-color: #fff; color: #fff; }

/* ---- Anılar: GTA 6 temalı pano (koyu, neon raptiyeli kartlar) ---- */
.mem-module {
  background-color: rgba(11, 15, 26, 0.86);
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px), radial-gradient(120% 80% at 50% 0%, rgba(169, 139, 255, 0.14), transparent 60%), radial-gradient(90% 70% at 100% 100%, rgba(244, 167, 198, 0.1), transparent 60%);
  background-size: 22px 22px, 100% 100%, 100% 100%;
}
.mem-viewer.cork { background: rgba(8, 10, 18, 0.94); }
.mem-hand { font-family: var(--display); letter-spacing: 0.04em; }
/* ay etiketi: panel başlığı gibi, pembe köşe */
.mem-label { position: relative; align-self: flex-start; display: inline-flex; flex-direction: column; gap: 1px; padding: 8px 16px 7px 18px; margin: 8px 0 2px; background: rgba(14, 16, 28, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); transform: none !important; }
.mem-label::before { content: ''; position: absolute; left: 0; top: 0; width: 14px; height: 14px; background: linear-gradient(135deg, var(--pink) 0 50%, transparent 50%); }
.mem-label .mem-hand { font-size: 18px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; }
.mem-label .mem-hand.small { font-family: inherit; font-size: 12px; letter-spacing: 0.02em; text-transform: none; color: var(--soft); }
.mem-tape { display: none; }
.mem-month { gap: 14px; }
.mem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; padding: 6px 4px 10px; }
@media (min-width: 700px) { .mem-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; } }
@media (min-width: 1200px) { .mem-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@keyframes pinIn { from { opacity: 0; transform: rotate(var(--tilt, 0deg)) translateY(-14px) scale(0.96); } to { opacity: 1; transform: rotate(var(--tilt, 0deg)); } }
/* kart: koyu cam çerçeve, ince beyaz iç çizgi, hafif eğik */
.polaroid { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 8px 10px; background: linear-gradient(180deg, #171a2a, #0e1120); color: var(--text); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 4px; transform: rotate(var(--tilt, 0deg)); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06); text-align: left; }
.mem-tile.polaroid { aspect-ratio: auto; overflow: visible; animation: pinIn 0.45s var(--ease) both; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.mem-tile.polaroid:hover, .mem-tile.polaroid:focus-visible { transform: rotate(0deg) translateY(-4px) scale(1.03); border-color: var(--pin, var(--pink)); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6), 0 0 18px color-mix(in srgb, var(--pin, #f4a7c6) 35%, transparent); z-index: 2; }
.polaroid-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #22252c; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.polaroid-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.04); }
.polaroid-cap { display: block; margin-top: 4px; font-size: 15px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; text-transform: uppercase; }
.polaroid-sub { display: block; font-size: 11px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* raptiye: neon renkli */
.pushpin { position: absolute; left: 50%; top: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px), radial-gradient(circle at 50% 50%, var(--pin, #f4a7c6) 0 62%, color-mix(in srgb, var(--pin, #f4a7c6) 60%, #000) 100%);
  box-shadow: 0 0 10px color-mix(in srgb, var(--pin, #f4a7c6) 70%, transparent), 0 3px 4px rgba(0, 0, 0, 0.5); }
.mem-tile.polaroid .mem-tile-count { top: 6px; right: 6px; background: rgba(11, 15, 26, 0.85); color: #fff; font-weight: 700; }
.mem-tile.polaroid .mem-tile-fav { top: auto; bottom: 6px; left: auto; right: 8px; color: var(--gold); filter: none; }
.mem-viewer.cork .mem-stage { padding: 30px 18px 10px; }
.mem-frame.polaroid.big { max-width: min(92vw, 760px); max-height: 100%; padding: 12px 12px 14px; display: flex; flex-direction: column; }
.mem-frame.polaroid.big img { max-width: 100%; max-height: calc(100dvh - 330px); object-fit: contain; background: #0b0d16; }
.mem-frame.polaroid.big .polaroid-cap { font-size: 22px; margin-top: 8px; }
.mem-frame .pushpin { width: 22px; height: 22px; margin-left: -11px; top: -11px; }
.mem-pin { position: relative; width: 50px; height: 56px; padding: 4px 4px 10px; border-radius: 3px; transform: rotate(var(--tilt, 0deg)); border: 1px solid rgba(255, 255, 255, 0.2); background: #141826; overflow: visible; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55); }
.mem-pin img { width: 100%; height: 100%; object-fit: cover; transform: none; display: block; }
.mem-pin .pushpin { width: 14px; height: 14px; margin-left: -7px; top: -7px; }
.mem-pin.fav { box-shadow: 0 0 0 2px var(--gold), 0 4px 10px rgba(0, 0, 0, 0.55); }
.mem-pin.focus { width: 62px; height: 70px; z-index: 3; box-shadow: 0 0 0 3px var(--pink), 0 6px 14px rgba(0, 0, 0, 0.6); }
/* ---- Karakter ---- */
.char-mod .module-scroll > * { flex-shrink: 0; }
.char-hero { display: flex; gap: 16px; align-items: center; padding: 16px; border-left: 3px solid var(--gold); }
.char-portrait { position: relative; flex: none; width: 112px; height: 140px; padding: 0; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #2a2440, #12182a); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); }
.char-portrait.sm { width: 72px; height: 90px; }
.char-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08) saturate(1.15); }
.char-silhouette { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, 0.35); }
.char-lvl { position: absolute; right: 6px; bottom: 6px; min-width: 30px; height: 30px; display: grid; place-items: center; padding: 0 6px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 15px; box-shadow: 0 0 0 2px var(--ink); }
.char-id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.char-name { margin: 0; font-size: 26px; line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.char-nick { color: var(--pink); font-style: italic; }
.xpbar { position: relative; height: 8px; margin-top: 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.45); overflow: hidden; }
.xpbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--lavender), var(--gold)); border-radius: 4px; }
.char-mod .card { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.char-dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 16px; }
.char-dl div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.char-dl dt { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
.char-dl dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.char-dl.stats dd { font-size: 20px; color: var(--gold); }
.char-bio { margin: 0; white-space: pre-wrap; color: var(--soft); }
.char-skills, .char-vehicles, .char-brief { display: flex; flex-direction: column; gap: 8px; }
.char-mod .sec-title { margin: 8px 0 0; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.char-mod .sec-row { margin-top: 8px; }
.skill-row { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 12px; border: 0; color: inherit; text-align: left; font: inherit; }
button.skill-row { cursor: pointer; }
.skill-row .row.between { gap: 8px; }
.skill-row .small.display { color: var(--gold); white-space: nowrap; }
.sbar { position: relative; height: 10px; margin: 6px 0 2px; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.12); }
.sbar i { position: absolute; inset: 0 auto 0 0; background: #fff; }
.sbar s { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(11, 15, 26, 0.9); text-decoration: none; }
.skill-mine { align-items: stretch; }
.skill-add { flex: none; min-width: 64px; }
.veh-card { display: flex; gap: 14px; align-items: center; width: 100%; padding: 12px; border: 0; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.veh-img { flex: none; width: 108px; height: 72px; display: grid; place-items: center; border-radius: 6px; overflow: hidden; background: rgba(0, 0, 0, 0.35); }
.veh-img img { width: 100%; height: 100%; object-fit: cover; }
.plate { display: inline-block; margin-top: 4px; padding: 1px 8px; border: 2px solid #12182a; border-left: 8px solid #2f5bd3; border-radius: 3px; background: #f5f5f0; color: #12182a; font-weight: 700; letter-spacing: 0.08em; font-size: 13px; }
.due-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.due-chip { font-size: 11px; padding: 2px 8px; border-radius: 10px; border: 1px solid currentColor; }
.due-chip.ok { color: var(--mint); } .due-chip.soon { color: var(--gold); } .due-chip.late { color: #ff6b6b; background: rgba(255, 80, 80, 0.12); }
.char-form { max-height: 92vh; overflow-y: auto; }
.char-form .split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.char-form .gap-s { gap: 6px; }
.veh-photo { width: 100%; height: 150px; padding: 0; border: 1.5px dashed rgba(255, 255, 255, 0.3); border-radius: 8px; background: rgba(0, 0, 0, 0.3); color: var(--soft); overflow: hidden; display: grid; place-items: center; }
.veh-photo img { width: 100%; height: 100%; object-fit: cover; }
.skill-view .places-ul li { padding: 6px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 520px) {
  .char-portrait { width: 92px; height: 116px; }
  .char-name { font-size: 21px; }
  .veh-img { width: 84px; height: 60px; }
}
.char-form .col { display: flex; flex-direction: column; align-items: center; } .char-form .col.gap-s { align-items: stretch; }

/* ---- Kullanıcılar / ilk kurulum ---- */
.setup-note { padding: 10px 12px; border-left: 3px solid var(--gold); background: rgba(255, 201, 74, 0.08); border-radius: 4px; }
.setup-note p { margin: 4px 0 0; }
.users-mod .usage { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.users-mod .usage .bar { flex: none; }
.users-ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.user-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.user-row .col { display: flex; flex-direction: column; }
.users-mod .gap-s { gap: 6px; align-items: center; }
.badge { font-size: 10px; letter-spacing: 0.1em; padding: 2px 6px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--soft); }
.badge.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 700; }
.btn-ghost.sm { min-height: 34px; padding: 0 10px; font-size: 13px; }

/* Rota kartı: haritayı kapatmasın */
.route-res { gap: 10px; padding: 10px 12px 12px; }
.route-sum-btn { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); text-align: left; font: inherit; }
.route-sum { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.route-sum-to { font-size: 14px; font-weight: 600; }
.route-modes { display: flex; gap: 4px; padding: 3px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); }
.route-modes button { flex: 1; min-height: 32px; border: 0; border-radius: 6px; background: transparent; color: var(--soft); font: inherit; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.route-modes button.on { background: #fff; color: var(--ink); font-weight: 700; }
.route-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -12px; padding: 2px 12px 4px; scrollbar-width: none; }
.route-strip::-webkit-scrollbar { display: none; }
.route-chip { flex: none; scroll-snap-align: start; width: 118px; display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); text-align: left; font: inherit; font-size: 12px; }
.route-chip b { font-size: 15px; }
.route-chip.on { border-color: var(--lavender); background: rgba(167, 139, 250, 0.16); box-shadow: inset 0 0 0 1px var(--lavender); }
.route-chip-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; }
.route-chip .route-alt-n { width: 20px; height: 20px; font-size: 11px; }
.route-chip .route-via { font-size: 11px; color: var(--lavender); max-width: 100%; }
.route-chip.add { width: 78px; align-items: center; justify-content: center; color: var(--pink); border-style: dashed; font-size: 20px; }
.route-mini { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; }
.route-mini .bar { flex-basis: 100%; }
.route-mini-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--text); text-align: left; font: inherit; }
.route-mini-grip { flex: none; width: 4px; height: 30px; border-radius: 2px; background: var(--lavender); }
.route-mini .btn-primary.sm { min-height: 38px; padding: 0 14px; }

/* ===== KARAKTER DOSYASI (RDR2 düzeni, GTA 6 renkleri) ===== */
.dz-mod .module-scroll { max-width: 1320px; }
.dz-mod .module-scroll > * { flex-shrink: 0; }
.dz-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.dz-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (min-width: 760px) { .dz-grid { grid-template-columns: minmax(260px, 0.9fr) 1fr; } .dz-left { grid-row: span 2; } }
@media (min-width: 1140px) { .dz-grid { grid-template-columns: 330px 1fr 1fr; } .dz-left { grid-row: auto; position: sticky; top: 0; align-self: start; } }

/* panel: koyu, sol üst köşesi eğik, başlık ortada + çizgi */
.dz-panel { position: relative; padding: 12px 14px 14px; background: linear-gradient(180deg, rgba(14, 16, 28, 0.92), rgba(9, 11, 20, 0.92)); border: 1px solid rgba(255, 255, 255, 0.08); clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px); display: flex; flex-direction: column; gap: 10px; }
.dz-panel::before { content: ''; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: linear-gradient(135deg, var(--pink) 0 50%, transparent 50%); opacity: 0.9; }
.dz-ph { position: relative; display: flex; align-items: center; justify-content: center; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.55); }
.dz-ph h2 { margin: 0; font-size: 22px; letter-spacing: 0.14em; text-transform: uppercase; }
.dz-ph > :not(h2) { position: absolute; right: 0; }

/* poster + çevirme */
.dz-flip { perspective: 1200px; }
.dz-flip > .dz-face { transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.dz-flip { display: grid; }
.dz-flip > .dz-face { grid-area: 1 / 1; }
.dz-back { transform: rotateY(180deg); }
.dz-flip.flipped .dz-front { transform: rotateY(-180deg); }
.dz-flip.flipped .dz-back { transform: rotateY(0deg); }
.dz-poster { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; max-height: 62vh; margin: 0 auto; padding: 0; border: 0; overflow: hidden; background: radial-gradient(120% 80% at 50% 100%, #e2487a 0%, #6b1f72 45%, #1b0d33 100%); clip-path: polygon(0 0, 100% 0, 100% 93%, 92% 100%, 0 100%); color: #fff; cursor: pointer; }
.dz-poster::after { content: ''; position: absolute; inset: 8px; border: 2px solid rgba(255, 255, 255, 0.85); pointer-events: none; clip-path: polygon(0 0, 100% 0, 100% 93%, 92% 100%, 0 100%); }
.dz-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dz-vposter { background: radial-gradient(120% 80% at 50% 100%, #ffb36b 0%, #d64f6f 45%, #241038 100%); cursor: default; }
.dz-noface { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255, 255, 255, 0.7); text-align: center; padding: 20px; }
.dz-lvl { position: absolute; right: 16px; top: 16px; min-width: 44px; height: 44px; padding: 0 8px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 22px; font-weight: 800; box-shadow: 0 0 0 3px var(--ink), 0 6px 16px rgba(0, 0, 0, 0.5); }
.dz-plate { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 26px 14px 12px; background: linear-gradient(180deg, transparent, rgba(5, 6, 12, 0.92)); font-size: 26px; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; line-height: 1; overflow-wrap: anywhere; }
.dz-vplate { position: absolute; top: 16px; left: 16px; }
.dz-fliprow { display: flex; gap: 6px; padding: 4px; background: rgba(0, 0, 0, 0.4); border-radius: 8px; }
.dz-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; border: 0; border-radius: 6px; background: transparent; color: var(--soft); font: 600 13px var(--display); letter-spacing: 0.12em; }
.dz-tab.on { background: #fff; color: var(--ink); }

/* kimlik bloğu */
.dz-id { display: flex; flex-direction: column; gap: 8px; }
.dz-name { margin: 0; font-size: clamp(30px, 6vw, 44px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.03em; overflow-wrap: anywhere; }
.dz-rule { height: 2px; background: linear-gradient(90deg, #fff 0 70%, transparent); }
.dz-nick { color: var(--pink); font-style: italic; }
.dz-rank { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; }
.dz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-chips span { font-size: 12px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); color: var(--soft); }
.dz-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dz-quick div { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.dz-quick b { font-size: 22px; color: var(--gold); }
.dz-quick span { font-size: 11px; color: var(--soft); text-transform: uppercase; letter-spacing: 0.08em; }

/* bölmeli çubuk */
.dz-seg { position: relative; height: 12px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.dz-seg i { position: absolute; inset: 0 auto 0 0; background: #f1efe9; }
.dz-seg s { position: absolute; top: 0; bottom: 0; width: 2px; background: #0b0d16; text-decoration: none; }
.dz-seg .dz-cap { position: absolute; top: -2px; bottom: -2px; width: 3px; background: #fff; box-shadow: 0 0 0 1px #0b0d16; }
.dz-seg.tone-pink i { background: var(--pink); } .dz-seg.tone-mint i { background: var(--mint); } .dz-seg.tone-lavender i { background: var(--lavender); } .dz-seg.tone-gold i { background: var(--gold); }
.dz-rows { display: flex; flex-direction: column; gap: 10px; }
.dz-row { display: grid; grid-template-columns: 96px 1fr 44px; align-items: center; gap: 10px; font-size: 14px; }
.dz-row span { text-align: right; color: var(--soft); }
.dz-row em { font-style: normal; font-size: 13px; color: var(--soft); text-align: right; }

/* durum */
.dz-conds { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.dz-cond { position: relative; display: grid; place-items: center; aspect-ratio: 1; border: 2px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.04); padding: 0; }
.dz-cond.tone-ok { border-color: rgba(114, 230, 210, 0.45); } .dz-cond.tone-warn { border-color: rgba(255, 201, 74, 0.6); } .dz-cond.tone-bad { border-color: #ff6b6b; animation: dzPulse 1.6s ease-in-out infinite; } .dz-cond.tone-off { opacity: 0.55; }
.dz-cond.on { outline: 2px solid #fff; outline-offset: 2px; }
@keyframes dzPulse { 50% { box-shadow: 0 0 14px rgba(255, 107, 107, 0.55); } }
@media (prefers-reduced-motion: reduce) { .dz-cond.tone-bad { animation: none; } .dz-flip > .dz-face { transition: none; } }
.dz-tip { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; background: #0a0b12; border: 1.5px solid rgba(255, 255, 255, 0.2); font-size: 14px; }
.dz-tip b { font-size: 13px; letter-spacing: 0.12em; }
.dz-tip.tone-bad { border-color: #ff6b6b; } .dz-tip.tone-bad b { color: #ff8f8f; }
.dz-tip.tone-warn { border-color: var(--gold); } .dz-tip.tone-warn b { color: var(--gold); }
.dz-tip.tone-ok { border-color: var(--mint); } .dz-tip.tone-ok b { color: var(--mint); }

/* beceriler */
.dz-skills { display: flex; flex-direction: column; gap: 10px; }
.dz-skill { display: flex; align-items: center; gap: 10px; }
.dz-skill > .grow { min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.dz-skill-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; font-size: 14px; }
.dz-skill-open .grow { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dz-sub { margin-top: 4px; color: var(--pink); letter-spacing: 0.14em; }

/* rozetler */
.dz-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; }
.dz-badge { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 0; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); overflow: hidden; }
.dz-badge.got { background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)); border-color: rgba(255, 255, 255, 0.35); }
.dz-badge.locked { background: #10121b; }
.dz-q { font-size: 30px; color: rgba(255, 255, 255, 0.22); }
.dz-bprog { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--gold); }
.dz-badge.on { outline: 2px solid #fff; outline-offset: -2px; }

/* garaj, kayıtlar */
.dz-garage { display: flex; flex-direction: column; gap: 8px; }
.dz-car { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: inherit; text-align: left; font: inherit; }
.dz-car .veh-img { width: 84px; height: 56px; }
.dz-recs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 18px; }
.dz-rec dl { margin: 4px 0 0; display: flex; flex-direction: column; }
.dz-rec dl div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.08); font-size: 13px; }
.dz-rec dt { color: var(--soft); }
.dz-rec dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.dz-mod .char-dl { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
@media (min-width: 760px) { .dz-wide { grid-column: 1 / -1; } }
@media (min-width: 1140px) { .dz-wide { grid-column: 2 / -1; } .dz-left { grid-row: span 2; } }
.dz-wide .dz-recs { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (max-width: 560px) { .dz-ph { justify-content: space-between; } .dz-ph > :not(h2) { position: static; } .dz-ph h2 { font-size: 19px; } }
.wd-titlerow { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.wd-titlerow .wd-title { margin: 0; }
.wd-back { flex: none; background: rgba(11, 15, 26, 0.6); }
/* Sis düzenleme: AÇ / KOY net seçim */
.pen-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pen-mode { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); text-align: left; font: inherit; }
.pen-mode b { display: block; font-size: 15px; letter-spacing: 0.1em; }
.pen-mode small { display: block; font-size: 11px; color: var(--soft); line-height: 1.25; }
.pen-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; }
.pen-mode.show .pen-dot { background: radial-gradient(circle, #fff 0 30%, var(--mint) 31%); }
.pen-mode.hide .pen-dot { background: radial-gradient(circle at 40% 40%, #d9dbe4, #6f7385); box-shadow: 6px 2px 0 -2px #a7abb9; }
.pen-mode.show.on { border-color: var(--mint); background: rgba(114, 230, 210, 0.12); }
.pen-mode.hide.on { border-color: var(--pink); background: rgba(244, 167, 198, 0.12); }
.pen-bar.pen-show { border-top-color: var(--mint); }
.pen-bar.pen-hide { border-top-color: var(--pink); }
