/* Nova 3B arayüzü. Renk ve ölçüler: ../TASARIM.md */
:root {
  --gece: #0d1c27;
  --cam: rgba(13, 28, 39, .74);
  --cam-koyu: rgba(13, 28, 39, .9);
  --cizgi: rgba(244, 240, 231, .14);
  --krem: #f4f0e7;
  --soluk: rgba(244, 240, 231, .62);
  --gunes: #ff8a3d;
  --gunes-acik: #ffc58f;
  --mavi: #5b9bff;
  --kose: 18px;
  --bosluk: 16px;
  --z-panel: 10;
  --z-ust: 20;
  --z-yukleme: 50;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--gece); color: var(--krem); overflow: hidden; }
body { font-size: 15px; line-height: 1.35; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--gunes-acik); outline-offset: 2px; }
h1, h2, p, ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }

#sahne { position: fixed; inset: 0; }
#sahne canvas { display: block; width: 100%; height: 100%; touch-action: none; }

.panel {
  position: fixed; z-index: var(--z-panel);
  background: var(--cam); border: 1px solid var(--cizgi); border-radius: var(--kose);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
.panel h2 { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soluk); margin: 0 0 8px; }
.panel h2 small { font-size: 11px; letter-spacing: 0; text-transform: none; font-weight: 400; margin-left: 6px; }

/* üst */
.ust { position: fixed; z-index: var(--z-ust); top: var(--bosluk); left: var(--bosluk); right: var(--bosluk); display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.ust > * { pointer-events: auto; }
.marka { display: flex; flex-direction: column; gap: 2px; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.marka b { font-size: 15px; letter-spacing: .22em; font-weight: 700; }
.marka span { font-size: 12.5px; color: var(--krem); opacity: .85; }
.gorunum { display: flex; padding: 4px; gap: 2px; background: var(--cam); border: 1px solid var(--cizgi); border-radius: 999px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.gorunum button { padding: 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--soluk); min-height: 36px; }
.gorunum button[aria-pressed="true"] { background: var(--krem); color: var(--gece); font-weight: 600; }

/* seçici */
.secici { top: 78px; left: var(--bosluk); width: 292px; padding: 16px; }
.tutamak { display: none; }
.secici-ic > h2:not(:first-child) { margin-top: 16px; }
.bloklar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.katlar { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.bloklar button, .katlar button {
  min-height: 40px; border-radius: 11px; background: rgba(244, 240, 231, .07); border: 1px solid transparent;
  font-weight: 600; font-size: 14px; transition: background .15s, color .15s;
}
.katlar button { min-height: 36px; font-size: 13px; font-weight: 500; }
.bloklar button[aria-pressed="true"], .katlar button[aria-pressed="true"] { background: var(--krem); color: var(--gece); }
.plan-kap { position: relative; padding: 18px 0 18px; }
#plan { display: block; width: 100%; height: auto; overflow: visible; }
#plan polygon { fill: rgba(244, 240, 231, .09); stroke: rgba(244, 240, 231, .45); stroke-width: .5; cursor: pointer; transition: fill .15s; }
#plan polygon.secili { fill: var(--gunes); stroke: #fff; }
#plan text { fill: var(--krem); font-size: 6.2px; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
#plan polygon.secili + text { fill: var(--gece); }
#plan .cekirdek { fill: rgba(244, 240, 231, .04); stroke: rgba(244, 240, 231, .18); stroke-dasharray: 1 1; pointer-events: none; }
.plan-kap .yon { position: absolute; left: 0; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--soluk); }
.plan-kap .yon.ust { top: 0; } .plan-kap .yon.alt { bottom: 0; }
.pusula { position: absolute; right: 0; top: -4px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--cizgi); transition: transform .4s; }
.pusula i { position: absolute; left: 50%; top: 4px; width: 0; height: 0; margin-left: -4px; border: 4px solid transparent; border-bottom: 11px solid var(--gunes); border-top: 0; }
.pusula b { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; font-size: 8.5px; color: var(--soluk); }

/* daire kartı */
.kart { top: 78px; right: var(--bosluk); width: 312px; padding: 20px; max-height: calc(100vh - 78px - 150px); overflow: auto; }
.kart .kapat { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; color: var(--soluk); font-size: 14px; }
.ust-yazi { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--soluk); }
.kart h1 { font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -.01em; margin: 2px 0 6px; font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; }
.yon-satir { display: flex; align-items: center; gap: 8px; color: var(--krem); font-size: 14px; }
.yon-satir .ok { display: inline-block; color: var(--gunes); font-size: 13px; transition: transform .4s; }
.kart section { border-top: 1px solid var(--cizgi); margin-top: 16px; padding-top: 14px; }
.buyuk { font-size: 17px; font-weight: 600; }
.buyuk em { font-style: normal; color: var(--gunes-acik); }
.aylar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; align-items: end; height: 54px; margin-top: 12px; }
.aylar button { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; padding: 0; }
.aylar button i { display: block; width: 100%; border-radius: 3px 3px 1px 1px; background: rgba(255, 197, 143, .32); min-height: 2px; }
.aylar button span { font-size: 9.5px; color: var(--soluk); }
.aylar button[aria-pressed="true"] i { background: var(--gunes); }
.aylar button[aria-pressed="true"] span { color: var(--krem); font-weight: 700; }
.olgular { list-style: none; display: grid; gap: 7px; font-size: 14px; }
.olgular li { display: flex; justify-content: space-between; gap: 12px; }
.olgular li span { color: var(--soluk); }
.olgular li b { font-weight: 600; text-align: right; }
.eylemler { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.eylemler button { min-height: 44px; border-radius: 12px; background: rgba(244, 240, 231, .09); font-size: 14px; font-weight: 500; }
.eylemler .ana { grid-column: 1 / -1; min-height: 50px; background: var(--gunes); color: #1a0f05; font-weight: 700; font-size: 15.5px; }

.cik { position: fixed; z-index: var(--z-ust); top: 78px; left: var(--bosluk); padding: 12px 18px; border-radius: 999px; background: var(--krem); color: var(--gece); font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

/* zaman */
.zaman { position: fixed; z-index: var(--z-panel); left: 50%; bottom: var(--bosluk); transform: translateX(-50%); width: min(820px, calc(100vw - 2 * var(--bosluk))); display: flex; align-items: center; gap: 14px; padding: 12px 18px 10px 12px; background: var(--cam); border: 1px solid var(--cizgi); border-radius: 22px; -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.oynat { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--krem); display: grid; place-items: center; }
.oynat span { width: 0; height: 0; border-left: 14px solid var(--gece); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.oynat[aria-pressed="true"] span { width: 14px; height: 16px; border: 0; border-left: 5px solid var(--gece); border-right: 5px solid var(--gece); margin: 0; }
.zaman-orta { flex: 1; min-width: 0; }
.zaman-ust { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.zaman-ust strong { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 62px; }
.zaman-ust > span { font-size: 12.5px; color: var(--soluk); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ay-sec { display: flex; gap: 1px; }
.ay-sec button { width: 24px; height: 26px; border-radius: 7px; font-size: 11px; color: var(--soluk); }
.ay-sec button[aria-pressed="true"] { background: var(--krem); color: var(--gece); font-weight: 700; }
.serit { position: relative; height: 26px; }
.gok { position: absolute; inset: 7px 0; border-radius: 6px; }
.daire-gunes { position: absolute; inset: 3px 0; pointer-events: none; }
.daire-gunes i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--gunes); box-shadow: 0 0 12px rgba(255, 138, 61, .65); border: 1px solid rgba(255, 255, 255, .55); }
#saat { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
#saat::-webkit-slider-runnable-track { background: none; height: 26px; }
#saat::-moz-range-track { background: none; height: 26px; }
#saat::-webkit-slider-thumb { -webkit-appearance: none; width: 6px; height: 26px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 3px rgba(13, 28, 39, .55), 0 2px 8px rgba(0, 0, 0, .5); }
#saat::-moz-range-thumb { width: 6px; height: 26px; border: 0; border-radius: 3px; background: #fff; box-shadow: 0 0 0 3px rgba(13, 28, 39, .55); }
.saatler { display: flex; justify-content: space-between; font-size: 10px; color: var(--soluk); margin-top: 3px; font-variant-numeric: tabular-nums; }

.temsili { position: fixed; z-index: var(--z-panel); right: var(--bosluk); bottom: 10px; font-size: 11px; color: rgba(255, 255, 255, .72); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }

/* yükleme */
.yukleme { position: fixed; inset: 0; z-index: var(--z-yukleme); background: var(--gece); display: grid; place-items: center; transition: opacity .6s; }
.yukleme.bitti { opacity: 0; pointer-events: none; }
.yukleme div { display: grid; gap: 10px; justify-items: center; }
.yukleme b { letter-spacing: .3em; font-size: 18px; }
.yukleme span { color: var(--soluk); font-size: 13px; }
.yukleme i { width: 160px; height: 2px; background: linear-gradient(90deg, transparent, var(--gunes), transparent); background-size: 60% 100%; background-repeat: no-repeat; animation: kay 1.4s linear infinite; }
@keyframes kay { from { background-position: -100% 0; } to { background-position: 250% 0; } }

/* balkon ve iç görünüm: sahne öne çıkar */
body.icerde .secici, body.icerde .gorunum { display: none; }
body.icerde .kart { opacity: .0; pointer-events: none; }

@media (hover: hover) {
  .bloklar button:hover, .katlar button:hover, .eylemler button:not(.ana):hover { background: rgba(244, 240, 231, .16); }
  #plan polygon:not(.secili):hover { fill: rgba(255, 138, 61, .35); }
  .eylemler .ana:hover { background: #ff9c5a; }
}

/* telefon */
@media (max-width: 820px) {
  :root { --bosluk: 12px; }
  .marka b { font-size: 13px; } .marka span { font-size: 11.5px; }
  .zaman { bottom: calc(64px + env(safe-area-inset-bottom)); padding: 10px 14px 8px 10px; gap: 10px; border-radius: 18px; }
  .oynat { width: 42px; height: 42px; }
  .zaman-ust > span { display: none; }
  .zaman-ust { justify-content: space-between; }
  .ay-sec button { width: 21px; }
  .temsili { bottom: auto; top: 60px; right: var(--bosluk); }

  .secici { top: auto; left: 0; right: 0; bottom: 0; width: auto; border-radius: 20px 20px 0 0; padding: 0 16px calc(12px + env(safe-area-inset-bottom)); max-height: 78vh; overflow: auto; }
  .tutamak { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; font-weight: 700; font-size: 15.5px; position: sticky; top: 0; }
  .tutamak::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--krem); border-top: 2px solid var(--krem); transform: rotate(-45deg); margin: 6px 0 0 10px; transition: transform .2s; }
  .secici.acik .tutamak::after { transform: rotate(135deg); margin-top: -4px; }
  .secici:not(.acik) .secici-ic { display: none; }
  .secici.acik { background: var(--cam-koyu); }

  .kart { top: auto; left: var(--bosluk); right: var(--bosluk); width: auto; bottom: calc(64px + 96px + env(safe-area-inset-bottom)); padding: 14px 16px; max-height: 44vh; }
  .kart h1 { font-size: 30px; }
  .kart section:nth-of-type(2) { display: none; }
  .aylar { height: 40px; }
  .eylemler { grid-template-columns: 1.4fr 1fr 1fr; margin-top: 12px; }
  .eylemler .ana { grid-column: auto; min-height: 44px; font-size: 14px; }
  body.secici-acik .kart, body.secici-acik .zaman { display: none; }
  .cik { top: 60px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* satış sunumu dili (2026-11-13) */
.kart .alt { margin-top: 6px; font-size: 14px; color: var(--krem); opacity: .88; }
.kart .alt em { font-style: normal; color: var(--gunes-acik); font-weight: 600; }
.cipler { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.cipler li { padding: 6px 11px; border-radius: 999px; background: rgba(244, 240, 231, .1); font-size: 13px; }
.cipler li.one { background: rgba(255, 138, 61, .2); color: #ffe2c7; }

/* kart ekrana sığsın; eylemler hep görünür (2026-11-13) */
.kart { padding: 18px 20px 0; max-height: calc(100vh - 78px - 124px); }
.kart h1 { font-size: 36px; }
.kart section { margin-top: 13px; padding-top: 12px; }
.cipler li { padding: 5px 10px; font-size: 12.5px; }
.eylemler { position: sticky; bottom: 0; margin: 14px -20px 0; padding: 12px 20px 18px; background: linear-gradient(to bottom, rgba(13, 28, 39, 0), rgba(13, 28, 39, .96) 22%); }

/* ---------------------------------------------------------------- v4 (2026-11-13): matris, pusula, odalar, çevre etiketleri, tablet/telefon */
.ust-sag { display: flex; align-items: center; gap: 8px; }
.pusula-dugme { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--cam); border: 1px solid var(--cizgi); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.pusula-dugme i { position: absolute; inset: 0; }
.pusula-dugme i::before { content: ""; position: absolute; left: 50%; top: 6px; margin-left: -5px; border: 5px solid transparent; border-bottom: 14px solid var(--gunes); border-top: 0; }
.pusula-dugme i::after { content: ""; position: absolute; left: 50%; bottom: 6px; margin-left: -5px; border: 5px solid transparent; border-top: 14px solid rgba(244, 240, 231, .35); border-bottom: 0; }
.pusula-dugme b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--krem); text-shadow: 0 0 4px var(--gece); }

.yakinlik { position: fixed; z-index: var(--z-panel); right: var(--bosluk); bottom: 34px; display: grid; gap: 1px; border-radius: 13px; overflow: hidden; border: 1px solid var(--cizgi); background: var(--cizgi); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.yakinlik button { width: 42px; height: 40px; background: var(--cam-koyu); font-size: 22px; line-height: 1; }

/* daire matrisi: satır = kat, sütun = daire */
.secici { width: 300px; max-height: calc(100vh - 78px - 16px); overflow: auto; }
.secici-ic > h2:not(:first-child) { margin-top: 14px; }
.matris-bas, .matris { display: grid; grid-template-columns: 16px repeat(4, 1fr) 6px repeat(4, 1fr); gap: 3px; }
.matris-bas { margin-bottom: 4px; }
.matris-bas b { grid-column: span 4; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soluk); text-align: center; }
.matris-bas b:last-child { grid-column: 7 / span 4; }
.matris .kat-ad { font-size: 10.5px; color: var(--soluk); display: grid; place-items: center; }
.matris button { height: 25px; border-radius: 7px; background: rgba(244, 240, 231, .07); font-size: 11.5px; font-variant-numeric: tabular-nums; font-weight: 500; }
.matris button.ara { grid-column-start: 7; }
.matris button[aria-pressed="true"] { background: var(--gunes); color: #1a0f05; font-weight: 700; }
.plan-kap { padding: 12px 34px 0 0; }
.secici.bloksuz .matris, .secici.bloksuz .matris-bas, .secici.bloksuz .plan-kap { opacity: .32; pointer-events: none; }

/* kart eylemleri */
.eylemler { grid-template-columns: 1fr 1fr; }
.nova-bag { grid-column: 1 / -1; display: grid; place-items: center; min-height: 44px; border-radius: 12px; border: 1px solid rgba(255, 138, 61, .6); color: var(--gunes-acik); text-decoration: none; font-weight: 600; font-size: 14.5px; }

/* daire içinde oda gezintisi */
.odalar { position: fixed; z-index: var(--z-panel); left: 50%; bottom: 118px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; max-width: calc(100vw - 2 * var(--bosluk)); overflow-x: auto; background: var(--cam); border: 1px solid var(--cizgi); border-radius: 999px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); scrollbar-width: none; }
.odalar button { flex: none; padding: 9px 15px; min-height: 38px; border-radius: 999px; font-size: 14px; color: var(--krem); }
.odalar button[aria-pressed="true"] { background: var(--krem); color: var(--gece); font-weight: 600; }
body.icerde .ust-sag, body.icerde .yakinlik, body.icerde .ipucu { display: none; }

/* çevre etiketleri */
#etiketler { position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; transition: opacity .3s; }
#etiketler.gizli { opacity: 0; }
.etiket { position: absolute; left: 0; top: 0; white-space: nowrap; padding: 3px 9px 3px 7px; border-radius: 999px; background: rgba(13, 28, 39, .7); color: var(--krem); font-size: 11.5px; font-weight: 500; opacity: 0; transition: opacity .25s; will-change: transform; }
.etiket::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: #9fb2bf; vertical-align: 1px; }
.etiket.park::before { background: #7fc46a; } .etiket.egitim::before { background: #f3c64e; } .etiket.saglik::before { background: #ff7a7a; } .etiket.cami::before { background: #9ad0d6; } .etiket.sosyal::before { background: #c8a6e8; } .etiket.yol::before { background: #cfd4d8; }
.etiket.sirius { background: var(--gunes); color: #1a0f05; font-weight: 700; font-size: 12.5px; padding: 5px 12px; }
.etiket.sirius::before { display: none; }

.ipucu { position: fixed; z-index: var(--z-panel); left: 50%; bottom: 108px; transform: translateX(-50%); margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(13, 28, 39, .62); font-size: 12px; color: var(--krem); white-space: nowrap; transition: opacity .6s; pointer-events: none; }
.ipucu.gitti { opacity: 0; }

@media (hover: hover) {
  .matris button:hover { background: rgba(255, 138, 61, .35); }
  .yakinlik button:hover, .pusula-dugme:hover { background: rgba(13, 28, 39, .96); }
  .odalar button:not([aria-pressed="true"]):hover { background: rgba(244, 240, 231, .14); }
}

/* tablet yatay ve küçük dizüstü */
@media (max-width: 1100px) and (min-width: 821px) {
  .secici { width: 268px; padding: 14px; }
  .kart { width: 288px; }
  .matris button { height: 24px; font-size: 11px; }
  .zaman { width: min(560px, calc(100vw - 2 * var(--bosluk))); }
}

/* telefon ve tablet dikey */
@media (max-width: 820px) {
  .ust-sag { gap: 6px; }
  .gorunum button { padding: 7px 12px; font-size: 13px; }
  .pusula-dugme { width: 40px; height: 40px; }
  .yakinlik, .ipucu { display: none; }
  .secici { width: auto; max-height: 82vh; }
  .secici-ic { padding-bottom: 8px; max-width: 460px; margin: 0 auto; }
  .matris button { height: 34px; font-size: 13px; border-radius: 9px; }
  .matris-bas, .matris { gap: 4px; }
  .kart { padding: 12px 16px 0; }
  .kart .ust-yazi { padding-right: 34px; }
  .kart section { margin-top: 9px; padding-top: 8px; }
  .kart .buyuk { font-size: 15px; }
  .kart .alt { font-size: 13px; }
  .eylemler { grid-template-columns: 1fr 1fr; margin: 10px -16px 0; padding: 8px 16px 12px; gap: 6px; }
  .eylemler .ana { grid-column: 1 / -1; min-height: 46px; }
  .eylemler button { min-height: 42px; }
  .odalar { bottom: calc(96px + env(safe-area-inset-bottom)); left: var(--bosluk); right: var(--bosluk); transform: none; max-width: none; border-radius: 16px; }
  body.icerde .zaman { bottom: calc(12px + env(safe-area-inset-bottom)); }
  .etiket { font-size: 10.5px; padding: 2px 7px 2px 6px; }
  .etiket.sirius { font-size: 11.5px; padding: 4px 9px; }
}
@media (max-width: 820px) and (max-height: 700px) {
  .kart section:nth-of-type(1) .alt { display: none; }
}

.plan-kap { padding-top: 18px; } .plan-kap .pusula { top: 14px; }

.kart, .secici { scrollbar-width: thin; scrollbar-color: rgba(244, 240, 231, .22) transparent; }
@media (max-width: 820px) { .odalar { bottom: calc(124px + env(safe-area-inset-bottom)); } .temsili { top: 64px; font-size: 10px; } }

/* Nova panelinden açılış */
.ust-sol { display: flex; align-items: center; gap: 14px; }
.panel-don { padding: 9px 14px; border-radius: 999px; background: var(--cam); border: 1px solid var(--cizgi); color: var(--krem); text-decoration: none; font-size: 13.5px; font-weight: 600; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); white-space: nowrap; }
body.icerde .panel-don { display: none; }
@media (max-width: 820px) { .ust-sol { flex-direction: column; align-items: flex-start; gap: 6px; } .panel-don { padding: 7px 11px; font-size: 12.5px; } }

/* ---------------------------------------------------------------- tur 5 (2026-11-13): Nova paneliyle aynı stil */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(font/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(font/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(font/playfair-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(font/playfair-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --gece: #0b2a21;
  --cam: rgba(11, 42, 33, .8);
  --cam-koyu: rgba(11, 42, 33, .95);
  --cizgi: rgba(201, 164, 92, .3);
  --krem: #f6f2ea;
  --soluk: rgba(246, 242, 234, .64);
  --gunes: #c9a45c;
  --gunes-acik: #e6cd96;
  --serif: "Playfair", Georgia, "Times New Roman", serif;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
#sahne canvas { filter: saturate(1.1) contrast(1.035); }
.marka b { font-family: var(--serif); font-size: 19px; letter-spacing: .14em; font-weight: 700; }
.marka span { color: var(--gunes-acik); opacity: 1; letter-spacing: .04em; }
.kart h1 { font-family: var(--serif); font-weight: 700; letter-spacing: 0; }
.kart .buyuk { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.25; }
.panel h2 { color: var(--gunes-acik); }
.yukleme b { font-family: var(--serif); letter-spacing: .22em; }
.gorunum button[aria-pressed="true"], .bloklar button[aria-pressed="true"], .odalar button[aria-pressed="true"] { background: var(--krem); color: var(--gece); }
.matris button[aria-pressed="true"] { background: linear-gradient(180deg, #d8b673, #c9a45c); color: var(--gece); }
#plan polygon.secili { fill: #c9a45c; }
.eylemler .ana { background: linear-gradient(180deg, #d8b673, #c9a45c); color: var(--gece); border-radius: 99px; box-shadow: 0 6px 18px rgba(201, 164, 92, .35); }
.eylemler button { border-radius: 99px; }
.eylemler { background: linear-gradient(to bottom, rgba(11, 42, 33, 0), rgba(11, 42, 33, .97) 22%); }
.nova-bag { border-radius: 99px; border-color: rgba(201, 164, 92, .7); }
.cipler li.one { background: rgba(201, 164, 92, .22); color: #f3e3bf; }
.kart .alt { opacity: .92; line-height: 1.45; }
.daire-gunes i { background: linear-gradient(180deg, #e6cd96, #c9a45c); box-shadow: 0 0 12px rgba(201, 164, 92, .6); }
.oynat { background: linear-gradient(180deg, #d8b673, #c9a45c); }
.yukleme i { background-image: linear-gradient(90deg, transparent, #c9a45c, transparent); }
.pusula i, .pusula-dugme i::before { border-bottom-color: #c9a45c; }
.etiket { background: rgba(11, 42, 33, .82); border: 1px solid rgba(201, 164, 92, .35); font-size: 12.5px; font-weight: 600; padding: 4px 11px 4px 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); }
.etiket::before { width: 9px; height: 9px; }
.etiket::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: rgba(246, 242, 234, .7); }
.etiket.sirius { background: linear-gradient(180deg, #d8b673, #c9a45c); color: var(--gece); border: 0; font-family: var(--serif); font-size: 14px; }

/* komşu dairelere geçiş */
.gecis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.gecis button, .ic-gecis button { min-height: 36px; border-radius: 99px; background: rgba(246, 242, 234, .08); border: 1px solid rgba(201, 164, 92, .28); font-size: 13px; font-weight: 500; color: var(--krem); }
.gecis button:disabled, .ic-gecis button:disabled { opacity: .3; cursor: default; }
.ic-gecis { position: fixed; z-index: var(--z-ust); top: var(--bosluk); right: var(--bosluk); display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; border-radius: 99px; background: var(--cam); border: 1px solid var(--cizgi); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.ic-gecis b { font-family: var(--serif); font-size: 16px; margin-right: 6px; white-space: nowrap; }
.ic-gecis button { padding: 0 14px; }

/* uyarı yazısı */
.temsili { max-width: min(46ch, calc(100vw - 2 * var(--bosluk))); text-align: right; font-size: 10.5px; line-height: 1.35; bottom: 8px; right: 64px; color: rgba(255, 255, 255, .78); }

/* proje görselleri */
.panel-don { font-family: inherit; cursor: pointer; }
.galeri { position: fixed; inset: 0; z-index: 60; background: rgba(5, 20, 16, .93); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; padding: 18px 12px 12px; }
.galeri figure { margin: 0; grid-column: 2; min-height: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 10px; }
.galeri figure img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.galeri figcaption { display: flex; gap: 14px; align-items: baseline; }
.galeri figcaption b { font-family: var(--serif); font-size: 20px; }
.galeri figcaption span { font-size: 11.5px; color: var(--soluk); }
.galeri-ok { width: 52px; height: 52px; border-radius: 50%; background: rgba(246, 242, 234, .1); font-size: 30px; line-height: 1; color: var(--krem); justify-self: center; }
.galeri-kapat { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; background: rgba(246, 242, 234, .12); font-size: 16px; z-index: 1; }
.galeri-serit { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding: 12px 4px 4px; scrollbar-width: none; }
.galeri-serit button { flex: none; width: 84px; height: 54px; border-radius: 9px; overflow: hidden; padding: 0; opacity: .55; border: 2px solid transparent; }
.galeri-serit button[aria-pressed="true"] { opacity: 1; border-color: #c9a45c; }
.galeri-serit img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.icerde .ust-sol .panel-don { display: none; }
@media (hover: hover) {
  .matris button:hover, #plan polygon:not(.secili):hover { background: rgba(201, 164, 92, .35); fill: rgba(201, 164, 92, .35); }
  .eylemler .ana:hover { background: linear-gradient(180deg, #e2c485, #d0ad68); }
  .gecis button:not(:disabled):hover, .ic-gecis button:not(:disabled):hover, .galeri-ok:hover, .galeri-kapat:hover { background: rgba(201, 164, 92, .28); }
}
@media (max-width: 820px) {
  .marka b { font-size: 16px; }
  .temsili { top: 62px; bottom: auto; right: var(--bosluk); font-size: 9.5px; max-width: 30ch; }
  .gecis { grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
  .gecis button { font-size: 11.5px; min-height: 34px; padding: 0 2px; }
  .ic-gecis { top: 108px; right: var(--bosluk); padding: 4px 4px 4px 12px; }
  .ic-gecis b { font-size: 14px; }
  .ic-gecis button { padding: 0 10px; font-size: 12px; min-height: 34px; }
  .galeri { grid-template-columns: 1fr; padding: 60px 8px 8px; }
  .galeri figure { grid-column: 1; }
  .galeri-ok { position: absolute; top: 50%; width: 44px; height: 44px; background: rgba(5, 20, 16, .6); }
  .galeri-ok.sol { left: 8px; } .galeri-ok.sag { right: 8px; }
  .etiket { font-size: 11px; padding: 3px 8px 3px 6px; }
}

/* uyarı yazısı sol altta: zaman çubuğu ve yakınlık düğmeleriyle çakışmaz */
.temsili { left: var(--bosluk); right: auto; bottom: 10px; text-align: left; max-width: 300px; }
@media (max-width: 1100px) and (min-width: 821px) { .temsili { max-width: 210px; } }
@media (max-width: 820px) { .temsili { left: auto; right: var(--bosluk); text-align: right; top: 62px; bottom: auto; max-width: 30ch; } }

/* ---------------------------------------------------------------- satış durumu (yalnız panelde oturumu açık olana) */
.durum-dugme { padding: 0 16px; min-height: 46px; border-radius: 999px; background: var(--cam); border: 1px solid var(--cizgi); color: var(--krem); font-size: 13.5px; font-weight: 600; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); white-space: nowrap; }
.durum-dugme::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #6fd08a; margin-right: 8px; box-shadow: 9px 0 0 -1px #f0b95a, 18px 0 0 -2px #8a8f93; }
.durum-dugme { padding-left: 14px; }
.durum-dugme::before { margin-right: 26px; }
.durum-dugme[aria-pressed="true"] { background: var(--krem); color: var(--gece); }
.matris button[data-durum="acik"] { background: rgba(111, 208, 138, .34); color: #eafff0; box-shadow: inset 0 0 0 1px rgba(111, 208, 138, .75); font-weight: 700; }
.matris button[data-durum="rezerve"] { background: rgba(240, 185, 90, .3); color: #ffe9c2; box-shadow: inset 0 0 0 1px rgba(240, 185, 90, .65); }
.matris button[data-durum="satildi"] { background: rgba(246, 242, 234, .05); color: rgba(246, 242, 234, .38); text-decoration: line-through; }
.matris button[data-durum="kapali"] { background: transparent; color: rgba(246, 242, 234, .26); }
.matris button[aria-pressed="true"][data-durum] { outline: 2px solid #c9a45c; outline-offset: 1px; }
.bloklar button { position: relative; }
.bloklar button[data-acik]:not([data-acik=""])::after { content: attr(data-acik); position: absolute; top: -5px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #6fd08a; color: #06281a; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
.durum-ozet { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 9px; font-size: 11.5px; }
.durum-ozet .d::before, .durum-cip::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: #8a8f93; }
.durum-ozet .acik::before, .durum-cip[data-durum="acik"]::before { background: #6fd08a; }
.durum-ozet .rezerve::before, .durum-cip[data-durum="rezerve"]::before { background: #f0b95a; }
.durum-cip { display: inline-flex; align-items: center; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(246, 242, 234, .1); font-size: 13px; font-weight: 600; }
.durum-cip[data-durum="acik"] { background: rgba(111, 208, 138, .22); color: #dcffe6; }
.durum-cip[data-durum="rezerve"] { background: rgba(240, 185, 90, .22); color: #ffe9c2; }
body.icerde .durum-dugme { display: none; }
@media (hover: hover) { .durum-dugme:not([aria-pressed="true"]):hover { background: rgba(11, 42, 33, .96); } }
@media (max-width: 820px) { .durum-dugme { min-height: 40px; padding: 0 10px 0 10px; font-size: 12px; } .durum-dugme::before { margin-right: 22px; } }
@media (max-width: 420px) { .durum-dugme { font-size: 0; padding: 0 8px; } .durum-dugme::before { margin-right: 18px; } }

/* giriş kapısı: oturum yoksa sahne yüklenmez */
.yukleme.kapali i { display: none; }
.yukleme.kapali span { font-size: 15px; color: var(--krem); }
.giris-bag { margin-top: 10px; display: inline-grid; place-items: center; min-height: 48px; padding: 0 26px; border-radius: 99px; background: linear-gradient(180deg, #d8b673, #c9a45c); color: var(--gece); font-weight: 700; text-decoration: none; }
body[data-kapali] .ust, body[data-kapali] .secici, body[data-kapali] .zaman, body[data-kapali] .yakinlik, body[data-kapali] .ipucu, body[data-kapali] .temsili { display: none; }

/* satış durumu 2: dört durum ayrı okunur */
.matris button[data-durum="kapali"] { background: repeating-linear-gradient(135deg, rgba(246, 242, 234, .05) 0 4px, transparent 4px 8px); color: rgba(246, 242, 234, .34); }
.matris button[data-durum="satildi"] { background: rgba(246, 242, 234, .1); color: rgba(246, 242, 234, .45); }
.durum-ozet { gap: 6px 12px; font-size: 12px; padding: 8px 10px; border-radius: 10px; background: rgba(246, 242, 234, .06); }
.durum-ozet b { font-weight: 700; color: var(--krem); }
.durum-ozet .satildi::before { background: #b9bdbf; }
.durum-ozet .kapali::before { background: repeating-linear-gradient(135deg, #8a8f93 0 2px, transparent 2px 4px); border: 1px solid #8a8f93; }
.durum-cip[data-durum="kapali"]::before { background: repeating-linear-gradient(135deg, #8a8f93 0 2px, transparent 2px 4px); border: 1px solid #8a8f93; }
.durum-dugme { font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .durum-dugme { font-size: 11px; padding: 0 8px; } .durum-dugme::before { display: none; } }

/* stok durumu 3: özet satırı süzgeç düğmeleridir; satılan dairede sıcak cümle */
.durum-ozet { align-items: center; }
.durum-ozet .oz-bas { flex-basis: 100%; font-size: 11px; letter-spacing: .04em; color: rgba(246, 242, 234, .62); }
.durum-ozet button.d { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--cizgi); background: rgba(246, 242, 234, .05); color: var(--krem); font: inherit; cursor: pointer; }
.durum-ozet button.d b { margin-left: 5px; }
.durum-ozet button.d[aria-pressed="true"] { background: var(--krem); color: var(--gece); border-color: var(--krem); }
.durum-ozet button.d[aria-pressed="true"] b { color: var(--gece); }
.durum-ozet span.d { display: inline-flex; align-items: center; opacity: .7; }
.matris button.soluk { opacity: .18; }
.durum-cip[data-durum="satildi"] { background: rgba(201, 164, 92, .18); color: #f1ddb0; }
.durum-cip[data-durum="satildi"]::before { background: #c9a45c; }
.sahip { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(201, 164, 92, .1); border: 1px solid rgba(201, 164, 92, .28); }
.sahip p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--krem); }
.sahip button { margin-top: 10px; width: 100%; min-height: 44px; border-radius: 999px; border: 0; background: rgba(111, 208, 138, .24); box-shadow: inset 0 0 0 1px rgba(111, 208, 138, .7); color: #eafff0; font: inherit; font-weight: 700; cursor: pointer; }
@media (hover: hover) { .durum-ozet button.d:not([aria-pressed="true"]):hover { background: rgba(246, 242, 234, .12); } .sahip button:hover { background: rgba(111, 208, 138, .34); } }

/* ---------------------------------------------------------------- sunum akışı (14.11.2026): adım parametresi, ödeme ana eylem, ray yerleşimi */
.secici-yon { display: none; margin: 0 0 12px; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--gunes-acik); }
body.adim-secim .secici-yon { display: block; }
.secici-ic > .secici-yon + h2 { margin-top: 0; }

/* site gezisi adımında masaüstünde seçici tek düğmeye iner; dokununca açılır (telefonda zaten alt çekmece) */
@media (min-width: 821px) {
  body.adim-site .secici:not(.acik) { width: auto; padding: 0; border-radius: 999px; overflow: visible; }
  body.adim-site .secici:not(.acik) .tutamak { display: flex; align-items: center; height: 46px; padding: 0 22px; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
  body.adim-site .secici:not(.acik) .secici-ic { display: none; }
}

/* kart eylemleri: sunum akışında ödeme planı en belirgin, 360° tur yanında */
#b360 { grid-column: auto; min-height: 44px; font-size: 14px; font-weight: 500; }
.kart.odeme-ana .eylemler #bNova { order: -1; min-height: 50px; border: 0; background: linear-gradient(180deg, #d8b673, #c9a45c); color: var(--gece); font-weight: 700; font-size: 15.5px; box-shadow: 0 6px 18px rgba(201, 164, 92, .35); }
.kart.odeme-ana .eylemler .ana { grid-column: auto; min-height: 44px; background: rgba(246, 242, 234, .09); color: var(--krem); font-weight: 500; font-size: 14px; box-shadow: none; }
@media (hover: hover) {
  .kart.odeme-ana .eylemler #bNova:hover { background: linear-gradient(180deg, #e2c485, #d0ad68); }
  .kart.odeme-ana .eylemler .ana:hover { background: rgba(246, 242, 234, .16); }
}
@media (max-width: 820px) {
  .kart.odeme-ana .eylemler .ana { min-height: 42px; font-size: 14px; }
  #b360 { min-height: 42px; }
}

/* ray açıkken alttaki sabit öğeler rayın üstünde kalır; ray yüksekliği --ray-yuk (px). Masaüstü kuralları tur 7 bloğunda (--alt). */
@media (max-width: 820px) {
  body.rayli .zaman { bottom: calc(64px + env(safe-area-inset-bottom) + var(--ray-yuk, 0px)); }
  body.rayli.icerde .zaman { bottom: calc(12px + env(safe-area-inset-bottom) + var(--ray-yuk, 0px)); }
  body.rayli .temsili { bottom: auto; }
  body.rayli .odalar { bottom: calc(124px + env(safe-area-inset-bottom) + var(--ray-yuk, 0px)); }
  body.rayli .secici { bottom: var(--ray-yuk, 0px); max-height: calc(82vh - var(--ray-yuk, 0px)); padding-bottom: 12px; }
  body.rayli .kart { bottom: calc(64px + 96px + env(safe-area-inset-bottom) + var(--ray-yuk, 0px)); max-height: max(200px, calc(100vh - 322px - env(safe-area-inset-bottom) - var(--ray-yuk, 0px))); } /* üst düğmelerin altında kalır, içerik kayar */
}

/* ---------------------------------------------------------------- tur 7 (2026-11-15): kat planı ekranla birleşti, satılan kırmızı, yerleşim sadeleşti
   Sercan: "satılanları kırmızı göster", "o eşyalı kat kesitini 3 boyutlu ekrana entegre edelim", "saat barı çok yer kaplıyor, kısa olsun, sağa",
   "alt barda yazılar üst üste biniyor". Düzen: solda seçici (blok · daire tablosu · eşyalı kat planı), sağda daire kartı ve altında kısa güneş
   çubuğu, sahnenin ortası ve altı boş. Genişlikler tek yerde: --sol-gen, --sag-gen; rayın yüksekliği --alt. */
:root { --sol-gen: clamp(300px, 21vw, 392px); --sag-gen: clamp(312px, 18vw, 348px); --alt: 0px; --kirmizi: #e2574c; --yesil: #6fd08a; --kehribar: #f0b95a; }
body.rayli { --alt: var(--ray-yuk, 0px); }

/* satılan kırmızı: tablo, özet, düğme, kart */
.matris button[data-durum="satildi"] { background: rgba(226, 87, 76, .4); color: #ffe6e2; box-shadow: inset 0 0 0 1px rgba(226, 87, 76, .82); text-decoration: none; font-weight: 600; }
.durum-ozet .satildi::before, .durum-cip[data-durum="satildi"]::before { background: var(--kirmizi); }
.durum-cip[data-durum="satildi"] { background: rgba(226, 87, 76, .2); color: #ffdcd7; }
.durum-dugme::before { box-shadow: 9px 0 0 -1px var(--kehribar), 18px 0 0 -2px var(--kirmizi); }
.etiket.ticaret::before { background: #f0a56a; }

/* seçici: özet tablonun üstünde, kat satırı düğme, eşyalı küçük plan */
.durum-ozet { margin: 10px 0 2px; }
.matris .kat-ad { height: auto; padding: 0; background: none; border-radius: 6px; font-size: 11px; font-weight: 600; color: var(--soluk); box-shadow: none; }
.matris .kat-ad[aria-pressed="true"] { background: rgba(201, 164, 92, .22); color: var(--gunes-acik); }
.matris-bas, .matris { grid-template-columns: 20px repeat(4, 1fr) 6px repeat(4, 1fr); }
.kp-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.panel .kp-bas h2 { margin: 0; }
.kp-buyut { flex: none; min-height: 30px; padding: 0 13px; border-radius: 99px; border: 1px solid rgba(201, 164, 92, .55); color: var(--gunes-acik); font-size: 12px; font-weight: 600; }
.kp-buyut::after { content: " ⤢"; }
.kp-kap { position: relative; margin-top: 8px; border-radius: 12px; overflow: hidden; background: #fbf9f4; }
.kp-kap.bos { display: none; }
.kp-kap .pusula { right: 6px; top: 6px; width: 28px; height: 28px; border-color: rgba(11, 42, 33, .28); background: rgba(255, 255, 255, .7); }
.pusula b { color: #40504a; }
.secici.bloksuz .kp-bas { opacity: .32; pointer-events: none; }

/* kat planı: görsel + daire çokgenleri + etiketler (küçük ve büyük ortak) */
.kp-ic { position: relative; user-select: none; }
.kp-ic img { display: block; width: 100%; height: auto; }
.kp-ic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.kp-ic polygon { fill: transparent; stroke: rgba(11, 42, 33, .38); stroke-width: 1.5px; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .15s, opacity .15s; }
.kp-ic polygon.d-acik { fill: rgba(31, 157, 107, .24); stroke: #1f9d6b; }
.kp-ic polygon.d-rezerve { fill: rgba(232, 165, 40, .36); stroke: #cf8f14; }
.kp-ic polygon.d-satildi { fill: rgba(200, 55, 45, .55); stroke: #b3261e; }
.kp-ic polygon.d-kapali { fill: rgba(120, 124, 126, .42); stroke: #7c8285; }
.kp-ic polygon.secili { fill: rgba(201, 164, 92, .1); stroke: #c9a45c; stroke-width: 4px; }
.kp-ic .soluk { opacity: .22; }
.kp-et { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; padding: 2px 7px; border-radius: 8px; background: #fff; color: #0b2a21; font-size: 11.5px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; box-shadow: 0 2px 8px rgba(11, 42, 33, .25); white-space: nowrap; }
.kp-et b { font-weight: 700; }
.kp-et.d-satildi { background: #c8372d; color: #fff; }
.kp-et.d-rezerve { background: #e3a11f; color: #2b1c00; }
.kp-et.d-kapali { background: #8a9093; color: #fff; }
.kp-et.secili { outline: 3px solid #c9a45c; outline-offset: 1px; }
.kp-kucuk .kp-et small, .kp-kucuk .kp-damga { display: none; }
.kp-oda { position: absolute; transform: translate(-50%, -50%); padding: 3px 9px; border-radius: 99px; background: rgba(11, 42, 33, .86); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }

/* daire kartı: geçiş tek sıra, dairenin kendi kesiti */
.gecis { grid-template-columns: repeat(4, 1fr); gap: 5px; }
.gecis button { font-size: 12px; padding: 0 2px; white-space: nowrap; }
.yerlesim-kutu { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border-radius: 12px; background: #fbf9f4; cursor: pointer; }
.yerlesim-kutu img { position: absolute; max-width: none; height: auto; }
.yerlesim-kutu .kp-oda { font-size: 10.5px; padding: 2px 7px; }
.kart h1 { font-size: 34px; }

/* büyük kat planı penceresi */
.katplan { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 22px; background: rgba(5, 20, 16, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kpb-kutu { width: min(1560px, 100%); height: min(940px, 100%); display: grid; grid-template-columns: 292px minmax(0, 1fr); border-radius: 22px; overflow: hidden; background: #fbf9f4; color: #0b2a21; box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }
.kpb-yan { display: flex; flex-direction: column; gap: 8px; padding: 18px 14px; background: #0b2a21; color: var(--krem); overflow: auto; scrollbar-width: thin; }
.kpb-yan-bas { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.kpb-yan-bas b { font-family: var(--serif); font-size: 17px; }
.kpb-yan-bas small { font-size: 12px; color: var(--soluk); }
.kpb-bloklar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 10px; }
.kpb-bloklar button { position: relative; min-height: 40px; border-radius: 10px; background: rgba(246, 242, 234, .08); font-weight: 600; font-size: 14px; }
.kpb-bloklar button[aria-pressed="true"] { background: var(--krem); color: var(--gece); }
.kpb-bloklar i { position: absolute; top: -5px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--yesil); color: #06281a; font-size: 10.5px; font-weight: 700; font-style: normal; display: grid; place-items: center; }
.kpb-katlar { display: grid; gap: 6px; }
.kpb-katlar button { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid transparent; background: rgba(246, 242, 234, .06); text-align: left; }
.kpb-katlar button[aria-pressed="true"] { background: rgba(201, 164, 92, .2); border-color: #c9a45c; }
.kpb-katlar b { font-family: var(--serif); font-size: 21px; color: var(--gunes-acik); text-align: center; }
.kpb-katlar span { display: grid; font-size: 14px; font-weight: 600; }
.kpb-katlar small { font-size: 12px; font-weight: 400; color: var(--soluk); }
.kpb-katlar em { display: grid; grid-template-columns: repeat(4, 10px); gap: 3px; }
.kpb-katlar em i, .kpb-lejant i { width: 10px; height: 10px; border-radius: 2.5px; background: #6b7a75; }
.kpb-katlar i.d-acik, .kpb-lejant i.d-acik { background: #2fb37a; }
.kpb-katlar i.d-satildi, .kpb-lejant i.d-satildi { background: var(--kirmizi); }
.kpb-katlar i.d-rezerve, .kpb-lejant i.d-rezerve { background: var(--kehribar); }
.kpb-ana { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; }
.kpb-bas { display: flex; align-items: center; gap: 18px; padding: 16px 20px 8px 24px; }
.kpb-bas h2 { font-family: var(--serif); font-size: 28px; line-height: 1.1; font-weight: 700; margin: 0; }
.kpb-bas p { margin-top: 3px; font-size: 14px; color: #5d6b66; }
.kpb-lejant { margin-left: auto; display: flex; gap: 14px; font-size: 13px; color: #3d4a45; }
.kpb-lejant span { display: inline-flex; align-items: center; gap: 6px; }
.kpb-kapat { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(11, 42, 33, .08); color: #0b2a21; font-size: 16px; }
.kpb-sahne { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 22px; container-type: size; }
.kp-buyuk { width: min(100cqw, calc(100cqh * 1.7255)); }
.kp-buyuk .kp-et { padding: 6px 13px 7px; border-radius: 12px; font-size: 12.5px; box-shadow: 0 6px 18px rgba(11, 42, 33, .24); gap: 2px; }
.kp-buyuk .kp-et b { font-family: var(--serif); font-size: 23px; line-height: 1; }
.kp-buyuk .kp-et small { font-size: 12px; font-weight: 600; color: #1f7a55; }
.kp-buyuk .kp-et small::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #1f9d6b; vertical-align: 1px; }
.kp-buyuk .kp-et.d-kapali small { color: #fff; } .kp-buyuk .kp-et.d-kapali small::before { background: #fff; }
.kp-buyuk .kp-et.d-satildi, .kp-buyuk .kp-et.d-rezerve { padding: 7px 13px 6px; border: 2px solid #fff; border-radius: 10px; }
.kp-buyuk .kp-et.d-satildi { transform: translate(-50%, -50%) rotate(-7deg); }
.kp-buyuk .kp-damga { font-size: 15.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.kp-buyuk .kp-et.d-satildi b, .kp-buyuk .kp-et.d-rezerve b { font-family: inherit; font-size: 11.5px; font-weight: 600; }
.kp-buyuk .kp-et.d-satildi b::before, .kp-buyuk .kp-et.d-rezerve b::before { content: "Daire "; }
.kp-buyuk .kp-et.secili { display: none; } /* seçili dairede numara kutusu çekilir, odaların adı yazar */
.kp-buyuk .kp-oda { font-size: 13px; padding: 4px 11px; }
.kpb-pusula { right: 26px; top: 4px; width: 40px; height: 40px; border-color: rgba(11, 42, 33, .28); }
.kpb-pusula i { top: 5px; margin-left: -5px; border-width: 5px; border-bottom-width: 14px; }
.kpb-alt { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; padding: 12px 22px 16px 24px; border-top: 1px solid rgba(11, 42, 33, .1); }
.kpb-ipucu { font-size: 14px; color: #5d6b66; }
.kpb-secili { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.kpb-secili b { font-family: var(--serif); font-size: 27px; }
.kpb-secili span { font-size: 14px; color: #3d4a45; }
.kpb-eylem { display: flex; gap: 8px; flex: none; }
.kpb-eylem button { min-height: 46px; padding: 0 20px; border-radius: 99px; border: 1px solid rgba(11, 42, 33, .25); color: #0b2a21; font-weight: 600; font-size: 14px; }
.kpb-eylem .ana { border: 0; background: linear-gradient(180deg, #d8b673, #c9a45c); font-weight: 700; box-shadow: 0 6px 18px rgba(201, 164, 92, .35); }
@media (hover: hover) {
  .kp-ic polygon:not(.secili):hover { fill: rgba(201, 164, 92, .32); }
  .kp-buyut:hover, .kpb-eylem button:not(.ana):hover, .kpb-kapat:hover { background: rgba(201, 164, 92, .22); }
  .kpb-bloklar button:not([aria-pressed="true"]):hover, .kpb-katlar button:not([aria-pressed="true"]):hover { background: rgba(246, 242, 234, .14); }
  .matris .kat-ad:hover { background: rgba(201, 164, 92, .3); }
}

/* güneş çubuğu: kısa, tek kutu; saat + tek cümle + şerit */
.zaman { padding: 9px 14px 9px 9px; gap: 10px; border-radius: 18px; }
.oynat { width: 40px; height: 40px; }
.oynat span { border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 3px; }
.oynat[aria-pressed="true"] span { width: 12px; height: 14px; border-left-width: 4px; border-right-width: 4px; }
.zaman-ust { margin-bottom: 5px; gap: 9px; }
.zaman-ust strong { font-size: 18px; min-width: 50px; }
.zaman-ust > span { font-size: 12px; }
.serit { height: 20px; }
.gok { inset: 5px 0; }
.daire-gunes { inset: 2px 0; }
#saat::-webkit-slider-runnable-track { height: 20px; }
#saat::-moz-range-track { height: 20px; }
#saat::-webkit-slider-thumb { height: 20px; }
#saat::-moz-range-thumb { height: 20px; }

/* masaüstü yerleşimi: iki yan sütun, orta ve alt boş */
@media (min-width: 821px) {
  .secici { width: var(--sol-gen); max-height: calc(100vh - 78px - 16px - var(--alt)); }
  .kart { width: var(--sag-gen); max-height: calc(100vh - 78px - 106px - var(--alt)); }
  .zaman { left: auto; right: var(--bosluk); bottom: calc(var(--bosluk) + var(--alt)); transform: none; width: var(--sag-gen); }
  .yakinlik { right: calc(var(--bosluk) + var(--sag-gen) + 12px); bottom: calc(var(--bosluk) + var(--alt)); }
  .temsili { left: calc(var(--bosluk) + var(--sol-gen) + 16px); right: auto; bottom: calc(10px + var(--alt)); text-align: left; max-width: 44ch; }
  body.adim-site:not(.secici-acik) .temsili, body.icerde .temsili { left: var(--bosluk); }
  .ipucu { bottom: calc(52px + var(--alt)); } /* "temsili" notunun üstünde: 1600 px altında yan yana sığmıyor */
  .odalar { bottom: calc(22px + var(--alt)); }
  .matris button { height: 27px; }
}
@media (min-width: 1500px) {
  .matris button { height: 29px; font-size: 12.5px; }
  .bloklar button { min-height: 44px; font-size: 15px; }
  .etiket { font-size: 13.5px; }
  .etiket.sirius { font-size: 15.5px; }
}
@media (max-width: 1100px) and (min-width: 821px) { :root { --sol-gen: 268px; --sag-gen: 288px; } }
/* kısa ekran (dizüstü): küçük plan ve kartta kesit yer açar; büyük kat planı düğmeyle açılır */
@media (max-height: 830px) and (min-width: 821px) {
  .kp-kap { display: none; }
  .yerlesim { display: none; }
  .matris button { height: 24px; }
}
@media (max-width: 820px) {
  .katplan { padding: 0; }
  .kpb-kutu { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: 100%; border-radius: 0; }
  .kpb-yan { max-height: 34vh; padding: 12px; }
  .kpb-katlar { grid-template-columns: 1fr 1fr; }
  .kpb-bas { padding: 10px 12px 6px; gap: 10px; flex-wrap: wrap; }
  .kpb-bas h2 { font-size: 21px; }
  .kpb-lejant { order: 3; margin-left: 0; flex-basis: 100%; }
  .kpb-kapat { margin-left: auto; }
  .kpb-sahne { padding: 0 8px; }
  .kp-buyuk .kp-et b { font-size: 15px; } .kp-buyuk .kp-damga { font-size: 10px; } .kp-buyuk .kp-et { padding: 3px 6px; }
  .kp-buyuk .kp-oda { font-size: 9.5px; padding: 2px 5px; }
  .kpb-alt { flex-direction: column; align-items: stretch; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); }
  .kpb-eylem { flex-wrap: wrap; } .kpb-eylem button { flex: 1; padding: 0 10px; }
  .yerlesim { display: none; }
  .temsili { bottom: auto; }
}
body[data-kapali] .katplan { display: none; }

/* binada kat kesiti: düğmeler yalnız sahne destekliyorsa (body.kesit-var) */
.kesit-dugme { display: none; }
body.kesit-var .kesit-dugme { display: inline-flex; align-items: center; }
.kp-dugmeler { display: flex; gap: 6px; flex: none; }
.kp-buyut.kesit-dugme::after { content: ""; }
.kesit-serit { position: fixed; z-index: var(--z-ust); top: var(--bosluk); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; border-radius: 99px; background: var(--cam-koyu); border: 1px solid var(--cizgi); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.kesit-serit b { font-family: var(--serif); font-size: 17px; }
.kesit-serit span { font-size: 12.5px; color: var(--soluk); margin-right: 8px; }
.kesit-serit button { min-height: 38px; padding: 0 14px; border-radius: 99px; background: rgba(246, 242, 234, .08); border: 1px solid rgba(201, 164, 92, .28); font-size: 13px; font-weight: 500; color: var(--krem); }
.kesit-serit button:disabled { opacity: .3; cursor: default; }
.kesit-serit .kapat { background: var(--krem); color: var(--gece); font-weight: 600; border-color: var(--krem); }
@media (hover: hover) { .kesit-serit button:not(:disabled):not(.kapat):hover { background: rgba(201, 164, 92, .28); } }
@media (max-width: 1180px) { .kesit-serit { top: 70px; } }
@media (max-width: 820px) { .kesit-serit { top: 150px; padding: 4px 4px 4px 12px; } .kesit-serit span { display: none; } .kesit-serit button { padding: 0 10px; font-size: 12px; min-height: 34px; } }
/* kat planı başlığı: düğmeler başlığın altında tam satır (dar seçicide başlık iki satıra bölünüyordu) */
.kp-bas { flex-wrap: wrap; }
.panel .kp-bas h2 { flex: 1 0 100%; }
.kp-dugmeler { flex: 1 0 100%; }
.kp-dugmeler button { flex: 1; justify-content: center; min-height: 34px; }
body:not(.kesit-var) .kp-dugmeler .kp-buyut:not(.kesit-dugme) { flex: 1; }
/* plan görselinin zemini beyaz: çevresindeki kutu da beyaz olsun (krem zeminde görselin dikdörtgeni seçiliyordu) */
.kpb-kutu, .kp-kap, .yerlesim-kutu { background: #fff; }
