/* MİNİ DÜNYA HARİTASI (2026-12-01) — js/dunya-mini.js. Sol sütunun hemen sağında, üst köşede yüzen küçük pencere.
   Oyunun dili: koyu çizgili zemin, ince kontur, serif başlık; yollar türüne göre düz / kesik / noktalı; "buradasın" yumuşak altın halka. */
.dm-lay { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.dm-lay.on { pointer-events: auto; }
.dm-win { position: absolute; left: calc(var(--rail-w, 196px) + 8px); top: 8px; width: min(520px, calc(100vw - var(--rail-w, 196px) - 380px)); display: flex; flex-direction: column;
  border-radius: 12px; overflow: hidden; color: #cfc7bc; opacity: 0; transform: translateY(-6px) scale(.985); transform-origin: 0 0; visibility: hidden;
  background: repeating-linear-gradient(135deg, rgba(255, 236, 200, .02) 0 1px, transparent 1px 10px), linear-gradient(180deg, #201c19, #161412);
  box-shadow: 0 0 0 1px #3a3226, 0 22px 50px -14px rgba(0, 0, 0, .95); transition: opacity .2s, transform .25s cubic-bezier(.22, .9, .3, 1), visibility 0s .25s; }
.dm-lay.on .dm-win { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.dm-hd { display: flex; align-items: center; gap: 10px; padding: 10px 10px 9px 12px; border-bottom: 1px solid #2c2722; }
.dm-gl { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #cdb57a; box-shadow: inset 0 0 0 1px rgba(205, 181, 122, .4); }
.dm-gl .ic { width: 15px; height: 15px; }
.dm-t { flex: 1; min-width: 0; display: grid; gap: 3px; } .dm-t b { font: 700 14px/1 var(--fs); letter-spacing: .05em; color: #f0e8d8; } .dm-t small { font: 400 10.5px/1.1 var(--fb); color: #8f867d; }
.dm-x { width: 26px; height: 26px; border-radius: 7px; font: 400 18px/1 var(--fb); color: #8f867d; background: none; border: 0; cursor: pointer; } .dm-x:hover { color: #f0e8d8; background: rgba(255, 240, 210, .06); }
.dm-map { aspect-ratio: 1000 / 620; background: radial-gradient(80% 90% at 50% 45%, #1d1916, #120f0d); }
.dm-svg { display: block; width: 100%; height: 100%; }
.dm-hh { stroke: rgba(255, 236, 200, .025); stroke-width: 1; }
.dm-sea { fill: rgba(78, 120, 150, .13); stroke: rgba(120, 160, 190, .28); stroke-width: 1.5; }
.dm-riv { fill: none; stroke: rgba(120, 160, 190, .22); stroke-width: 3; stroke-linecap: round; }
.dm-rt { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.dm-rt.k-safe { stroke: rgba(207, 199, 188, .35); } .dm-rt.k-risk { stroke: rgba(214, 170, 92, .45); stroke-dasharray: 8 6; } .dm-rt.k-wild { stroke: rgba(210, 100, 86, .5); stroke-dasharray: 2 6; }
.dm-rt:hover { stroke-width: 3.4; }
.dm-n { cursor: default; }
.dm-dot { fill: #1a1613; stroke: var(--rc); stroke-width: 2; }
.dm-n.fac .dm-dot { fill: color-mix(in srgb, var(--rc) 16%, #1a1613); }
.dm-ic { color: var(--rc); fill: none; stroke: var(--rc); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dm-nm { font: 700 23px var(--fs, serif); letter-spacing: .03em; fill: #e6dfd2; text-anchor: middle; paint-order: stroke; stroke: #120f0d; stroke-width: 5px; }
.dm-sb { font: italic 400 17px var(--fb, serif); fill: #8f867d; text-anchor: middle; paint-order: stroke; stroke: #120f0d; stroke-width: 5px; }
.dm-n.me .dm-sb { fill: #d9c48e; font-style: normal; font-weight: 600; }
.dm-ring { fill: none; stroke: #cdb57a; stroke-width: 2; opacity: .85; }
.dm-n.lk { opacity: .5; } .dm-n.lk .dm-dot { stroke-dasharray: 3 3; }
.dm-car circle { fill: #1c1408; stroke: #cdb57a; stroke-width: 1.6; } .dm-car use { color: #e2cf9a; fill: none; stroke: #e2cf9a; stroke-width: 1.8; }
.dm-ft { display: flex; align-items: center; gap: 12px; padding: 8px 12px 9px; border-top: 1px solid #2c2722; font: 400 10.5px/1 var(--fb); color: #8f867d; }
.dm-ft span { display: inline-flex; align-items: center; gap: 6px; }
.dm-lg { width: 18px; height: 0; border-top: 2px solid; } .dm-lg.k-safe { border-color: rgba(207, 199, 188, .5); } .dm-lg.k-risk { border-color: rgba(214, 170, 92, .7); border-top-style: dashed; } .dm-lg.k-wild { border-color: rgba(210, 100, 86, .75); border-top-style: dotted; }
.dm-me i { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #cdb57a; }
.dm-ft button { margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; font: 500 10.5px/1 var(--fb); color: #8f867d; } .dm-ft button:hover { color: #f0e8d8; }
@media (prefers-reduced-motion: reduce) { .dm-win { transition: opacity .15s; transform: none; } }
