/* Panora3D tasarım sistemi — açık, sade, kart tabanlı arayüz */
/* Outfit (SIL Open Font License) — kendi sunucumuzdan, değişken ağırlık 300–600 */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/font/outfit-latin-ext.woff2?v=2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/font/outfit-latin.woff2?v=2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --bg: #F2F3F6;
  --bg-2: #E9EBF0;
  --surface: #FFFFFF;
  --surface-2: #F7F8FA;
  --line: #E4E7EC;
  --line-2: #D5D9E0;
  --ink: #111318;
  --ink-2: #4A505B;
  --ink-3: #868C97;
  --blue: #2B00E8;
  --blue-2: #2400C7;
  --blue-soft: #F3F0FF;
  --blue-line: #D1C7FF;
  --green: #17915A;
  --green-soft: #E6F6EE;
  --amber: #B06D00;
  --amber-soft: #FFF3DC;
  --red: #D23B3B;
  --red-soft: #FDECEC;
  --black: #111318;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(17, 19, 24, .04), 0 1px 1px rgba(17, 19, 24, .02);
  --sh-2: 0 1px 2px rgba(17, 19, 24, .05), 0 14px 34px -20px rgba(17, 19, 24, .22);
  --sh-3: 0 2px 6px rgba(17, 19, 24, .06), 0 34px 70px -34px rgba(17, 19, 24, .38);
  --font: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 15px; line-height: 1.5; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas { display: block; }
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.025em; line-height: 1.12; }
p { margin: 0; }
.t-xs { font-size: 12px; }
.t-sm { font-size: 13.5px; }
.t-lg { font-size: 17px; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; font-size: 19px; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo .mark { width: 30px; height: 30px; flex: none; }
.logo b { font-weight: 500; color: var(--blue); }
.logo.on-dark { color: #fff; }
.logo.on-dark b { color: #9B85FF; }

/* ---------- butonlar ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px; border-radius: var(--r); border: 1px solid transparent;
  background: var(--surface); color: var(--ink); font-size: 14.5px; font-weight: 500; letter-spacing: -.005em;
  white-space: nowrap; text-decoration: none; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
  user-select: none; -webkit-user-select: none;
}
.btn:hover { color: inherit; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #262A33; color: #fff; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(43, 0, 232, .75); }
.btn-blue:hover { background: var(--blue-2); color: #fff; }
.btn-line { border-color: var(--line); background: var(--surface); }
.btn-line:hover { border-color: var(--line-2); background: var(--surface-2); }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-soft:hover { background: #E6E0FF; color: var(--blue-2); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: rgba(17, 19, 24, .05); color: var(--ink); }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: #FBDADA; color: #B32A2A; }
.btn-sm { --h: 36px; padding: 0 13px; font-size: 13.5px; border-radius: 11px; }
.btn-xs { --h: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 9px; gap: 6px; }
.btn-xs svg { width: 15px; height: 15px; }
.btn-lg { --h: 52px; padding: 0 24px; font-size: 15.5px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }
.btn-icon { width: var(--h); padding: 0; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex: none;
  transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-2); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn.is-on { background: var(--black); border-color: var(--black); color: #fff; }

.spinner { width: 16px; height: 16px; border-radius: 99px; border: 2px solid currentColor; border-right-color: transparent; animation: p3d-spin .8s linear infinite; flex: none; }
@keyframes p3d-spin { to { transform: rotate(360deg); } }

/* ---------- form ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span, .label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.field .hint { font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
.input, .textarea, .select {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #A8ADB6; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 0, 232, .12); }
.input-sm { height: 38px; font-size: 14px; border-radius: 10px; padding: 0 12px; }
.input-group { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.input-group:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 0, 232, .12); }
.input-group .input { border: none; box-shadow: none !important; border-radius: 0; }
.input-group .addon { display: flex; align-items: center; padding: 0 12px; color: var(--ink-3); font-size: 14px; background: var(--surface-2); border-left: 1px solid var(--line); white-space: nowrap; }
.input-group .addon.left { border-left: none; border-right: 1px solid var(--line); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; line-height: 1.45; -webkit-tap-highlight-color: transparent; }
/* Onay kutusu: işaret sözde öğe yerine SVG arka planla çizilir; Safari, Chrome ve Firefox'ta aynı görünür */
.check input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex: none; margin: 0; border-radius: 6px;
  border: 1.5px solid var(--line-2); background: var(--surface) center / 14px 14px no-repeat; cursor: pointer;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.check input:hover { border-color: #B9BFC9; }
.check input:checked {
  background-color: var(--blue); border-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.3l2.6 2.6L11 4.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(43, 0, 232, .18); }
.check input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(210, 59, 59, .12); }

.switch { position: relative; display: inline-flex; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #D5D9E0; transition: background .2s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 99px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::before { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.switch input:disabled + span { opacity: .5; cursor: not-allowed; }

.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--bg-2); }
.segmented button { height: 34px; padding: 0 14px; border: none; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 13.5px; font-weight: 500; white-space: nowrap; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s, box-shadow .15s; }
.segmented button:hover:not(.is-on) { color: var(--ink); }
.segmented button.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1), 0 0 0 1px rgba(17, 19, 24, .04); }
.segmented.block { display: flex; }
.segmented.block button { flex: 1; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.alert-red { background: var(--red-soft); border-color: #F6C9C9; color: #9E2323; }
.alert-blue { background: var(--blue-soft); border-color: var(--blue-line); color: #2000B0; }
.alert-green { background: var(--green-soft); border-color: #BFE6D2; color: #0E6B41; }
.alert-amber { background: var(--amber-soft); border-color: #F5DDAA; color: #7D4E00; }

/* ---------- kartlar, rozetler ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.card-pad { padding: 22px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-title h3 { font-size: 17px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.chip svg { width: 14px; height: 14px; }
.chip-green { background: var(--green-soft); color: var(--green); border-color: #CDEBDB; }
.chip-amber { background: var(--amber-soft); color: var(--amber); border-color: #F4E0B5; }
.chip-blue { background: var(--blue-soft); color: var(--blue); border-color: var(--blue-line); }
.chip-dark { background: var(--black); color: #fff; border-color: var(--black); }
.dot { width: 7px; height: 7px; border-radius: 99px; background: currentColor; flex: none; }
.badge-num { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 7px; font-size: 12px; font-weight: 500; background: var(--surface-2); color: var(--ink-2); }
.ilerleme { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.ilerleme i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .2s; }
.divider { height: 1px; background: var(--line); border: 0; margin: 18px 0; }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .num { font-size: 30px; font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.stat .lbl { font-size: 13px; color: var(--ink-2); }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 44px 20px; color: var(--ink-2); }
.empty .ic { width: 56px; height: 56px; border-radius: 18px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 6px; }
.empty .ic svg { width: 26px; height: 26px; }
.empty h3 { font-size: 19px; color: var(--ink); }

.skeleton { position: relative; overflow: hidden; background: var(--bg-2); border-radius: 12px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); animation: p3d-shimmer 1.4s infinite; }
@keyframes p3d-shimmer { to { transform: translateX(100%); } }

/* ---------- uygulama iskeleti (panel, yönetim) ---------- */
.app { min-height: 100vh; display: flex; }
.rail {
  position: sticky; top: 0; height: 100vh; width: 92px; flex: none; display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 18px 10px; background: var(--surface); border-right: 1px solid var(--line); z-index: 30;
}
.rail .rail-logo { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 14px; }
.rail .rail-logo svg { width: 34px; height: 34px; }
.rail-item {
  width: 72px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 4px 8px; border-radius: 14px;
  color: var(--ink-2); font-size: 11.5px; font-weight: 500; border: none; background: none; text-decoration: none; text-align: center; line-height: 1.15;
}
.rail-item .ri { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; transition: background .15s, color .15s; }
.rail-item .ri svg { width: 21px; height: 21px; }
.rail-item:hover { color: var(--ink); }
.rail-item:hover .ri { background: var(--surface-2); }
.rail-item.is-on { color: var(--ink); }
.rail-item.is-on .ri { background: var(--black); color: #fff; }
.rail-spacer { flex: 1; }
.avatar { width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(135deg, #613DFF, #2B00E8); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 500; flex: none; letter-spacing: .02em; }
.avatar.sm { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 clamp(16px, 3vw, 36px); background: rgba(242, 243, 246, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.topbar h1 { font-size: 22px; }
.content { flex: 1; padding: 8px clamp(16px, 3vw, 36px) 64px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 10px 0 24px; }
.page-head h1 { font-size: clamp(26px, 3vw, 34px); }
.page-head p { margin-top: 8px; color: var(--ink-2); }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.row { display: flex; align-items: center; gap: 12px; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.spacer { flex: 1; }

.mobile-nav { display: none; }
@media (max-width: 860px) {
  .rail { display: none; }
  .mobile-nav {
    display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; justify-content: space-around;
    background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 20px; padding: 6px; box-shadow: var(--sh-3);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-nav .rail-item { width: auto; flex: 1; padding: 4px 2px; }
  .mobile-nav .rail-item .ri { width: 38px; height: 34px; border-radius: 11px; }
  .content { padding-bottom: 110px; }
  .topbar { height: 64px; }
}

/* ---------- liste satırları ---------- */
.list { display: flex; flex-direction: column; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: none; }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }

/* ---------- modal ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(17, 19, 24, .38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: p3d-fade .18s ease-out;
}
.modal {
  width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--surface); border-radius: 24px;
  box-shadow: var(--sh-3); animation: p3d-pop .22s var(--ease);
}
.modal.wide { width: min(720px, 100%); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 0; }
.modal-head h2 { font-size: 22px; }
.modal-head p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }
.modal-body { padding: 20px 24px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 24px 24px; flex-wrap: wrap; }
@keyframes p3d-fade { from { opacity: 0; } }
@keyframes p3d-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (max-width: 560px) {
  .modal-back { align-items: flex-end; padding: 0; }
  .modal { border-radius: 24px 24px 0 0; max-height: 92vh; }
  .modal-foot .btn { flex: 1; }
}

/* ---------- bildirim ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 24px); }
.toast { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 16px; border-radius: 14px; background: var(--black); color: #fff; font-size: 14px; box-shadow: var(--sh-3); animation: p3d-pop .22s var(--ease); pointer-events: auto; }
.toast svg { width: 18px; height: 18px; flex: none; }
.toast.ok svg { color: #6FE3A6; }
.toast.err { background: #8F1F1F; }
@media (max-width: 860px) { .toasts { bottom: 96px; } }

/* ---------- açılır menü ---------- */
.menu { position: fixed; z-index: 150; min-width: 200px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3); animation: p3d-pop .15s var(--ease); }
.menu button, .menu a { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px; border: none; border-radius: 10px; background: none; font-size: 14px; color: var(--ink); text-align: left; text-decoration: none; }
.menu button:hover, .menu a:hover { background: var(--surface-2); color: var(--ink); }
.menu svg { width: 17px; height: 17px; color: var(--ink-2); }
.menu .danger, .menu .danger svg { color: var(--red); }
.menu hr { border: 0; height: 1px; background: var(--line); margin: 6px 4px; }

/* ---------- yardımcı ipucu ---------- */
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  white-space: nowrap; background: var(--black); color: #fff; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; pointer-events: none; z-index: 60;
}
[data-tip-pos="bottom"]:hover::after, [data-tip-pos="bottom"]:focus-visible::after { right: auto; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); }
[data-tip-pos="right"]:hover::after, [data-tip-pos="right"]:focus-visible::after { right: auto; left: calc(100% + 10px); }
@media (hover: none) { [data-tip]:hover::after { display: none; } }

/* ---------- 360 görüntüleyici katmanları ---------- */
.pano { position: relative; overflow: hidden; background: #1B1D22; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.pano.is-dragging { cursor: grabbing; }
.pano canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s ease-out; }
.pano.is-ready canvas { opacity: 1; }
.pano .pano-loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; background: rgba(17, 19, 24, .72); color: #fff; font-size: 13.5px; z-index: 12; pointer-events: none; }
.pano .pins { position: absolute; inset: 0; pointer-events: none; z-index: 8; }
.pin { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: auto; transition: opacity .2s; }
.pin-hit { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); border: none; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
/* geçiş halkası */
.pin-go .pin-hit { width: 54px; height: 54px; }
.pin-go .ring { width: 44px; height: 44px; border-radius: 99px; border: 5px solid #fff; box-shadow: 0 0 22px 4px rgba(255, 255, 255, .5), inset 0 0 10px rgba(255, 255, 255, .35); animation: p3d-pulse 2s ease-in-out infinite; transition: transform .2s var(--ease); }
.pin-go.floor .ring { width: 66px; height: 28px; border-width: 4.5px; }
.pin-go .pin-hit:hover .ring { transform: scale(1.12); animation: none; }
@keyframes p3d-pulse { 50% { opacity: .55; } }
/* bilgi noktası */
.pin-info .pin-hit { width: 36px; height: 36px; border-radius: 99px; background: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .55); transition: transform .2s var(--ease); color: var(--blue); }
.pin-info .pin-hit svg { width: 18px; height: 18px; }
.pin-info .pin-hit:hover { transform: translate(-50%, -50%) scale(1.1); }
.pin-label { position: absolute; left: 32px; top: 0; transform: translateY(-50%); height: 30px; padding: 0 12px; border-radius: 10px; background: rgba(17, 19, 24, .82); color: #fff; font-size: 13px; display: inline-flex; align-items: center; white-space: nowrap; pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s; }
.pin-go .pin-label { left: 38px; }
.pin:hover .pin-label, .pin.show-label .pin-label { opacity: 1; }
.pin.is-selected .pin-hit { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 99px; }
/* Pro: ikonlu ve özel görselli noktalar, etiket noktası */
.pin .pin-hit.ikonlu, .pin-go .pin-hit.ikonlu { width: 40px; height: 40px; border-radius: 99px; background: #fff; color: var(--blue); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .55); transition: transform .2s var(--ease); }
.pin .pin-hit.ikonlu svg { width: 19px; height: 19px; }
.pin .pin-hit.ikonlu:hover { transform: translate(-50%, -50%) scale(1.1); }
.pin .pin-hit.resimli, .pin-go .pin-hit.resimli { width: 48px; height: 48px; }
.pin .pin-hit.resimli img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)); pointer-events: none; }
.pin-etiket .pin-hit { width: auto; height: auto; }
.pin-etiket .pin-hit .etk { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 11px; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); letter-spacing: -.01em; }
.pin-etiket.is-selected .pin-hit { border-radius: 12px; }

.float-card { position: absolute; z-index: 14; width: 300px; background: var(--surface); border-radius: 18px; box-shadow: var(--sh-3); overflow: hidden; animation: p3d-pop .18s var(--ease); }
.float-card .fc-body { padding: 16px 16px 14px; }
.float-card .fc-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; background: var(--black); color: #fff; }
.float-card .fc-bar .btn { background: rgba(255, 255, 255, .12); color: #fff; }
.float-card .fc-bar .btn:hover { background: rgba(255, 255, 255, .2); }

.ctrl-stack { position: absolute; display: flex; flex-direction: column; gap: 8px; z-index: 10; }
.ctrl { width: 44px; height: 44px; border-radius: 14px; border: none; background: rgba(255, 255, 255, .95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); transition: background .15s, transform .15s; }
.ctrl:hover { background: #fff; transform: translateY(-1px); }
.ctrl svg { width: 20px; height: 20px; }
.ctrl.is-on { background: var(--black); color: #fff; }
.ctrl-group { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.ctrl-group .ctrl { border-radius: 0; box-shadow: none; }
.ctrl-group .ctrl + .ctrl { border-top: 1px solid var(--line); }

/* VR karton gözlük modu: ekran ikiye bölünür, arayüz gizlenir */
.pano.karton-acik { position: fixed !important; inset: 0 !important; z-index: 1000; cursor: none; }
.pano.karton-acik .pins, .pano.karton-acik .float-card { display: none !important; }
.karton-ayrac { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(0, 0, 0, .9); z-index: 20; pointer-events: none; }
.karton-cik { position: absolute; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 21; height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: rgba(17, 19, 24, .78); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }

/* ---------- herkese açık sayfa üst çubuğu ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav.is-scrolled { border-bottom-color: var(--line); }
.site-nav .in { max-width: 1200px; margin: 0 auto; height: 72px; padding: 0 20px; display: flex; align-items: center; gap: 28px; }
.site-nav nav { display: flex; gap: 4px; }
.site-nav nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.site-nav nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav .actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-nav .burger { display: none; }
@media (max-width: 880px) {
  .site-nav nav { display: none; }
  .site-nav .burger { display: inline-flex; }
  .site-nav .actions .hide-sm { display: none; }
  .site-nav.is-open nav { display: flex; flex-direction: column; position: absolute; left: 12px; right: 12px; top: 68px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--sh-3); }
  .site-nav.is-open nav a { padding: 12px 14px; font-size: 16px; }
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap-sm { max-width: 820px; margin: 0 auto; padding: 0 20px; }

.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 40px; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-foot h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-foot a { color: var(--ink-2); font-size: 14.5px; }
.site-foot a:hover { color: var(--ink); }
.site-foot .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } .site-foot .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- metin sayfaları (gizlilik, koşullar, yardım) ---------- */
.prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.prose h1 { font-size: clamp(30px, 4vw, 42px); color: var(--ink); margin-bottom: 12px; }
.prose h2 { font-size: 22px; color: var(--ink); margin: 34px 0 10px; }
.prose h3 { font-size: 17px; color: var(--ink); margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
/* iyzico logo bandı (alt bilgi ve ödeme penceresi) */
.belge-metin { white-space: pre-wrap; overflow-wrap: anywhere; max-height: min(60vh, 560px); overflow: auto; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.belge-metin:focus-visible { outline: 2px solid var(--blue, #2B00E8); outline-offset: 2px; }
.odeme-bandi img { display: block; height: 26px; width: auto; max-width: 100%; }
.site-foot .bottom { align-items: center; }
.odeme-guven { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
/* yasal metinlerde henüz girilmemiş şirket bilgisi */
.eksik { color: var(--ink-3); font-style: italic; border-bottom: 1px dashed var(--line-2, #CBD0D8); }

/* ---------- küçük ekran yardımcıları ---------- */
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .card-pad { padding: 18px; }
}
@media (min-width: 641px) { .show-sm { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- bot koruması ---------- */
.tt-kutu { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 400; }
.tt-kutu.acik { padding: 10px; border-radius: 16px; background: var(--surface); box-shadow: var(--sh-3); }
.tuzak { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- kat planı mini haritası ---------------- */
.kp { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #F4F5F7; user-select: none; -webkit-user-select: none; touch-action: none; }
.kp-sahne { position: relative; flex: none; opacity: 0; transition: opacity .2s; }
.kp.hazir .kp-sahne { opacity: 1; }
.kp-img { display: block; width: 100%; height: 100%; pointer-events: none; }
.kp-noktalar { position: absolute; inset: 0; pointer-events: none; }
.kp-koni { position: absolute; left: 0; top: 0; width: 92px; height: 92px; color: var(--blue); pointer-events: none; overflow: visible; transition: transform .08s linear; }
.kp.donuyor .kp-koni { transition: none; }
.kp-tutamak { fill: #fff; stroke: var(--blue); stroke-width: 2.5; cursor: grab; pointer-events: auto; }
.kp.donuyor .kp-tutamak { cursor: grabbing; }
.kp-nokta { position: absolute; pointer-events: auto; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: none; background: none; display: grid; place-items: center; cursor: pointer; z-index: 1; }
.kp-nokta i { display: block; width: 12px; height: 12px; border-radius: 99px; background: #fff; border: 2.5px solid var(--ink-2); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .15s var(--ease), background .15s, border-color .15s; }
.kp-nokta:hover i, .kp-nokta:focus-visible i { transform: scale(1.3); border-color: var(--blue); }
.kp-nokta.aktif { z-index: 2; }
.kp-nokta.aktif i { width: 14px; height: 14px; background: var(--blue); border-color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 30%, transparent), 0 2px 8px rgba(0, 0, 0, .35); }
.kp-nokta.tasinir { cursor: move; touch-action: none; }
.kp-ad { position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translateX(-50%); padding: 3px 8px; border-radius: 7px; background: rgba(17, 19, 24, .86); color: #fff; font-size: 11.5px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.kp-nokta:hover .kp-ad, .kp-nokta:focus-visible .kp-ad { opacity: 1; }
.kp-duzenle .kp-sahne { cursor: crosshair; }
.kp-duzenle .kp-koni path { pointer-events: auto; cursor: grab; }
