/* ==========================================================
   Ankara Akıllı Ev — site stilleri
   Marka değişkenleri kaynağı: marka/renkler-fontlar/tokens.css
   ========================================================== */
:root {
  --gece: #1F2A44;
  --gece-koyu: #131A2E;
  --nane: #34C3A0;
  --nane-koyu: #1F9E82;
  --nane-acik: #D6F3EA;
  --amber: #FFC86B;
  --amber-koyu: #F0A93B;
  --krem: #FBF6EE;
  --mercan: #FF7A6B;
  --gok: #5AB8F0;
  --lavanta: #9C95F2;
  --metin-ikincil: #5B6478;
  --font: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --ios: -apple-system, 'SF Pro Text', 'Nunito', system-ui, sans-serif;

  /* sahne renkleri (gündüz) */
  --page-bg: var(--krem);
  --page-fg: var(--gece);
  --page-fg-2: var(--metin-ikincil);
  --pill-bg: rgba(31, 42, 68, .06);
  --pill-bd: rgba(31, 42, 68, .10);
  --win-sky: #BFE6F7;
  --c-shell: #E4D3BD;
  --c-slab: #CDB596;
  --c-roof: #D9776A;
  --c-roof-edge: #B95C50;
  --c-attic: #CFBCA3;
  --c-chimney: #B79F85;
  --c-found: #A99079;
  --c-hill-back: #B8E0C2;
  --c-hill-front: #9FD3AA;
  --c-grass: #8CCB7E;
  --c-grass-edge: #7DBE70;
  --c-path: #E8DCC6;
  --c-leaf: #6CC08F;
  --c-leaf-2: #5BB17F;
  --c-trunk: #8A6A4F;
  --c-pole: #3B4256;
  --c-solar: #2C3E66;
  --c-out-grass: #8CCB7E;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-soft: cubic-bezier(.45, .05, .25, 1);
}

body.night {
  --page-bg: var(--gece-koyu);
  --page-fg: #EEF1F8;
  --page-fg-2: #9AA4BD;
  --pill-bg: rgba(255, 255, 255, .07);
  --pill-bd: rgba(255, 255, 255, .12);
  --win-sky: #1F2D57;
  --c-shell: #8C7E72;
  --c-slab: #7A6C61;
  --c-roof: #8E4F4C;
  --c-roof-edge: #74403E;
  --c-attic: #6F635B;
  --c-chimney: #6E6158;
  --c-found: #5B5049;
  --c-hill-back: #263B4A;
  --c-hill-front: #2C4752;
  --c-grass: #2E4A43;
  --c-grass-edge: #2A443D;
  --c-path: #4A4A55;
  --c-leaf: #2F5649;
  --c-leaf-2: #29493F;
  --c-trunk: #4B3C32;
  --c-pole: #22283A;
  --c-solar: #1A2643;
  --c-out-grass: #2E4A43;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--page-fg);
  transition: background-color 1.2s var(--ease), color 1.2s var(--ease);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button { font: inherit; color: inherit; cursor: pointer; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------------- üst çubuk ---------------- */
.topbar {
  height: 68px;
  display: flex; align-items: center; gap: 20px;
  padding: 0 28px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { border-radius: 12px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand-text small { font-size: 10px; font-weight: 700; letter-spacing: .28em; color: var(--page-fg-2); }
.brand-text b { font-size: 22px; font-weight: 900; letter-spacing: -.01em; margin-top: 3px; }
.tagline { margin: 0; color: var(--page-fg-2); font-weight: 600; font-size: 15px; }
.top-actions { margin-left: auto; display: flex; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--pill-bd); background: var(--pill-bg);
  font-weight: 700; font-size: 14px;
  transition: background .3s, transform .15s;
}
.pill .ic { font-size: 18px; }
.pill:hover { background: rgba(52, 195, 160, .16); }
.pill:active { transform: scale(.96); }
.pill.icon-only { width: 40px; padding: 0; justify-content: center; }

/* ---------------- sahne düzeni ---------------- */
.stage {
  height: calc(100dvh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 4px 28px 24px;
  max-width: 1600px; margin: 0 auto;
}
.house-wrap {
  position: relative; min-width: 0; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 32px; overflow: hidden;
}
#house { width: 100%; height: 100%; display: block; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }

.house-tip {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none;
  background: rgba(19, 26, 46, .92); color: #fff;
  padding: 8px 12px; border-radius: 12px;
  font-size: 13px; line-height: 1.25;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transition: opacity .2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  white-space: nowrap;
}
.house-tip.show { opacity: 1; }
.house-tip b { font-weight: 800; }
.house-tip span { color: #B9C2D8; font-weight: 600; }

.house-intro {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .92); color: var(--gece);
  padding: 10px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14px; line-height: 1.25;
  width: max-content; max-width: calc(100% - 24px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transition: opacity .6s, transform .6s var(--ease);
  animation: introBob 2.4s var(--ease-soft) infinite;
}
.house-intro .ic { font-size: 20px; color: var(--nane-koyu); }
.house-intro.hide { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; animation: none; }
@keyframes introBob { 50% { transform: translate(-50%, -4px); } }

/* ==========================================================
   EV SAHNESİ (SVG)
   ========================================================== */
#house .sky-day, #house .sky-night, #house .stars, #house .moon, #house .sun, #house .clouds { transition: opacity 1.6s var(--ease); }
#house .sky-night, #house .stars, #house .moon { opacity: 0; }
.night #house .sky-night, .night #house .stars, .night #house .moon { opacity: 1; }
.night #house .sun, .night #house .clouds { opacity: 0; }
#house .star { fill: #FFF6DC; animation: twinkle 3.6s ease-in-out infinite; }
#house .star.s1 { animation-delay: -.9s; } #house .star.s2 { animation-delay: -1.8s; } #house .star.s3 { animation-delay: -2.7s; }
@keyframes twinkle { 50% { opacity: .35; } }
#house .cloud { fill: #FFFFFF; opacity: .9; }
#house .cloud.c1 { animation: drift 40s linear infinite alternate; }
#house .cloud.c2 { animation: drift 52s linear infinite alternate-reverse; }
@keyframes drift { to { transform: translateX(60px); } }

/* dış renkler: gündüz/gece arasında yumuşak geçiş */
#house .hill, #house .grass, #house .grass-edge, #house .path, #house .trunk, #house .leaf, #house .bush, #house .pole,
#house .shell, #house .slab, #house .roof, #house .roof-edge, #house .attic, #house .chimney, #house .chimney-cap,
#house .foundation, #house .solar, #house .sky-view, #house .out-grass, #house .lamp-head {
  transition: fill 1.6s var(--ease), stroke 1.6s var(--ease);
}
#house .h-back { fill: var(--c-hill-back); }
#house .h-front { fill: var(--c-hill-front); }
#house .grass { fill: var(--c-grass); }
#house .grass-edge { fill: var(--c-grass-edge); }
#house .path { fill: var(--c-path); }
#house .trunk { fill: var(--c-trunk); }
#house .leaf { fill: var(--c-leaf); }
#house .leaf.l2 { fill: var(--c-leaf-2); }
#house .bush { fill: var(--c-leaf-2); }
#house .pole { fill: var(--c-pole); }
#house .lamp-head { fill: var(--c-pole); }
#house .shell { fill: var(--c-shell); }
#house .slab { fill: var(--c-slab); }
#house .roof { fill: var(--c-roof); }
#house .roof-edge { fill: none; stroke: var(--c-roof-edge); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
#house .attic { fill: var(--c-attic); }
#house .attic-frame { stroke: #FFFFFF; stroke-width: 4; opacity: .8; }
#house .chimney { fill: var(--c-chimney); }
#house .chimney-cap { fill: var(--c-roof-edge); }
#house .foundation { fill: var(--c-found); }
#house .solar { fill: var(--c-solar); }
#house .solar-line { stroke: #6C86C0; stroke-width: .8; opacity: .7; fill: none; }
#house .sky-view { fill: var(--win-sky); }
#house .out-grass { fill: var(--c-out-grass); }
#house .out-moon { fill: #FFF3CF; opacity: 0; transition: opacity 1.4s; }
.night #house .out-moon { opacity: 1; }

/* odalar ve ışık */
#house .room-bg { cursor: pointer; }
#house .room-shade { fill: #0A1029; pointer-events: none; transition: opacity 1.2s var(--ease-soft); }
#house .room-light { pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease-soft); }
#house .fx { pointer-events: none; }
#house .lamp { pointer-events: none; }
#house .lamp-cord { stroke: #5B6478; stroke-width: 2; }
#house .lamp-shade { fill: #3B4256; }
#house .bulb { fill: #8E96A8; transition: fill 1s var(--ease-soft); }
#house .room.lit .bulb { fill: #FFF3C6; }

/* pencereler */
#house .win-frame { fill: #FFFFFF; }
#house .win-sill { fill: #EADFD0; }
#house .glass { fill: rgba(255, 255, 255, .22); stroke: #FFFFFF; stroke-width: 3.5; }
#house .glint { stroke: rgba(255, 255, 255, .55); stroke-width: 3; stroke-linecap: round; }
#house .win-stars { fill: #FFF6DC; opacity: 0; transition: opacity 1.4s; }
.night #house .win-stars { opacity: .9; }
#house .wsensor { fill: #F7F9FB; stroke: #D5DCE3; stroke-width: 1; }
#house .sash { transform-box: fill-box; transition: transform 1s var(--ease-soft); }
#house .sash.l { transform-origin: left center; }
#house .sash.r { transform-origin: right center; }
#house .win.open .sash { transform: scaleX(.14); }

/* LED'ler */
#house .led { fill: #34C3A0; transition: fill .4s; }
#house .cled.open { fill: var(--amber); animation: ledBlink 1.2s ease-in-out infinite; }
#house .sled { fill: #34C3A0; opacity: .8; }
#house .sled.alarm { fill: #FF4D3D; opacity: 1; animation: ledBlink .5s steps(2) infinite; }
#house .mled { fill: #8E96A8; }
#house .mled.active { fill: #FF9F43; }
#house .acled { fill: #8E96A8; } #house .acled.on { fill: #5AB8F0; }
#house .wled { fill: #8E96A8; } #house .wled.on { fill: #34C3A0; animation: ledBlink 1s ease-in-out infinite; }
#house .coffee-led { fill: #8E96A8; } #house .coffee-led.on { fill: #FF7A6B; }
#house .hub-led { animation: ledBlink 2.2s ease-in-out infinite; }
#house .hub-led.h2 { fill: #5AB8F0; animation-delay: -.5s; } #house .hub-led.h3 { animation-delay: -1s; } #house .hub-led.h4 { fill: var(--amber); animation-delay: -1.5s; }
#house .keypad.mode-evde { fill: #34C3A0; }
#house .keypad.mode-disarida { fill: #FF7A6B; animation: ledBlink 1.6s ease-in-out infinite; }
#house .keypad.mode-gece { fill: #9C95F2; animation: ledBlink 2.4s ease-in-out infinite; }
#house .keypad.alarm { fill: #FF3B30; animation: ledBlink .4s steps(2) infinite; }
@keyframes ledBlink { 50% { opacity: .25; } }

/* kapı */
#house .door-leaf { transform-box: fill-box; transform-origin: left center; transition: transform 1.1s var(--ease-soft); }
#house .door.open .door-leaf { transform: scaleX(.17); }
#house .lock-dot { fill: #34C3A0; transition: fill .4s; }
#house .lock:not(.locked) .lock-dot { fill: #FFC86B; }

/* perde */
#house .curtain { transform-box: fill-box; transition: transform 1.8s var(--ease-soft); }
#house .curtain.l { transform-origin: left center; }
#house .curtain.r { transform-origin: right center; }
#house .curtains.open .curtain { transform: scaleX(.26); }

/* tv */
#house .tv-fx { opacity: 0; transition: opacity .8s; }
#house .tv-fx.on { opacity: 1; }
#house .tv-screen { fill: #6FA8FF; animation: tvColors 7s ease-in-out infinite; }
#house .tv-scene { fill: rgba(255, 255, 255, .5); }
@keyframes tvColors { 0%, 100% { fill: #6FA8FF; } 33% { fill: #8F7CF0; } 66% { fill: #4FC3B0; } }

/* hoparlör */
#house .notes, #house .spk-ring { opacity: 0; transition: opacity .5s; }
#house .notes.on, #house .spk-ring.on { opacity: 1; }
#house .spk-ring { fill: #5AB8F0; }
#house .note { fill: #FFC86B; }
#house .notes.on .note { animation: noteUp 2.4s ease-out infinite; }
#house .notes.on .note.n2 { animation-delay: -1.2s; fill: #9C95F2; }
@keyframes noteUp { 0% { transform: translate(0, 10px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(8px, -34px); opacity: 0; } }

/* robot süpürge */
#house .vac-led { fill: #8E96A8; }
#house .vac.on .vac-led { fill: #34C3A0; }
#house .vac.on .vac-body { animation: vacMove 12s var(--ease-soft) forwards; }
@keyframes vacMove {
  0% { transform: translateX(0); } 22% { transform: translateX(150px); } 26% { transform: translateX(150px); }
  48% { transform: translateX(316px); } 54% { transform: translateX(316px); } 94% { transform: translateX(0); } 100% { transform: translateX(0); }
}

/* kahve buharı */
#house .steam { opacity: 0; transition: opacity .6s; }
#house .steam.on { opacity: 1; }
#house .st { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 3; stroke-linecap: round; }
#house .steam.on .st { animation: steamUp 2s ease-out infinite; }
#house .steam.on .st.s2 { animation-delay: -1s; }
@keyframes steamUp { 0% { transform: translateY(6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-14px); opacity: 0; } }

/* klima */
#house .ac-air { opacity: 0; transition: opacity .6s; }
#house .ac-air.on { opacity: 1; }
#house .ac-air path { fill: none; stroke: #9ED6F5; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 12; }
#house .ac-air.on path { animation: airFlow 1.4s linear infinite; }
@keyframes airFlow { to { stroke-dashoffset: -44; } }

/* çamaşır makinesi */
#house .drum { transform-box: fill-box; transform-origin: center; }
#house .washer.on .drum { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* kombi ve baca dumanı */
#house .boiler-temp { font: 800 12px var(--font); fill: #6B7690; transition: fill .5s; }
#house .boiler-temp.on { fill: #FFC86B; }
#house .boiler-flame { fill: #FF9F43; opacity: 0; transition: opacity .6s; }
#house .boiler-flame.on { opacity: 1; animation: flicker 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
@keyframes flicker { 50% { transform: scale(.85, 1.1); } }
#house .chimney-smoke { opacity: 0; transition: opacity 1.4s; }
#house .chimney-smoke.on { opacity: 1; }
#house .cs { fill: rgba(235, 235, 240, .7); }
#house .chimney-smoke.on .cs { animation: puff 4.5s ease-out infinite; }
#house .chimney-smoke.on .cs.p2 { animation-delay: -1.5s; }
#house .chimney-smoke.on .cs.p3 { animation-delay: -3s; }
@keyframes puff { 0% { transform: translate(0, 10px) scale(.4); opacity: 0; } 20% { opacity: .9; } 100% { transform: translate(26px, -70px) scale(1.6); opacity: 0; } }

/* monitör */
#house .monitor-screen { fill: #5A7BC8; opacity: .9; }
#house .monitor-ui { stroke: rgba(255, 255, 255, .7); stroke-width: 3; stroke-linecap: round; }

/* su kaçağı */
#house .puddle { transform-box: fill-box; transform-origin: center; transform: scale(.1, .6); opacity: 0; transition: transform 2.2s var(--ease-soft), opacity .8s; fill: #5AB8F0; }
#house .puddle.alarm { transform: scale(1); opacity: .85; }
#house .puddle-hi { fill: rgba(255, 255, 255, .6); }
#house .drips { opacity: 0; }
#house .drips.alarm { opacity: 1; }
#house .drip { fill: #5AB8F0; }
#house .drips.alarm .drip { animation: drip 1s ease-in infinite; }
#house .drips.alarm .drip.d2 { animation-delay: -.5s; }
@keyframes drip { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(42px); opacity: 0; } }

/* gaz ve duman */
#house .gas-cloud, #house .smoke-cloud { opacity: 0; transition: opacity 1.2s; }
#house .gas-cloud.alarm, #house .smoke-cloud.alarm { opacity: 1; }
#house .gc { fill: rgba(170, 222, 110, .45); }
#house .sc { fill: rgba(150, 156, 170, .55); }
#house .gas-cloud.alarm .gc, #house .smoke-cloud.alarm .sc { animation: cloudFloat 3.4s ease-in-out infinite; }
#house .gc.g2, #house .sc.c2 { animation-delay: -.8s !important; }
#house .gc.g3, #house .sc.c3 { animation-delay: -1.6s !important; }
#house .gc.g4, #house .sc.c4 { animation-delay: -2.4s !important; }
#house .sc.c5 { animation-delay: -3s !important; }
@keyframes cloudFloat { 50% { transform: translate(6px, -8px) scale(1.12); } }

/* alarm yanıp sönmesi */
#house .alert-flash { fill: #FF4D3D; opacity: 0; transition: opacity .4s; }
#house .alert-flash.alarm { animation: alertPulse 1.2s ease-in-out infinite; }
@keyframes alertPulse { 50% { opacity: .22; } }
#house .alarm-veil { pointer-events: none; opacity: 0; transition: opacity .6s; }
#house.alarm-on .alarm-veil { animation: veil 1s ease-in-out infinite; }
@keyframes veil { 50% { opacity: 1; } }

/* hareket */
#house .motion-waves { opacity: 0; }
#house .motion-waves path { fill: none; stroke: #FF9F43; stroke-width: 2.5; stroke-linecap: round; }
#house .motion-waves.active { opacity: 1; }
#house .motion-waves.active path { animation: wave 1.2s ease-out infinite; }
#house .motion-waves.active path:nth-child(2) { animation-delay: .2s; }
#house .motion-waves.active path:nth-child(3) { animation-delay: .4s; }
@keyframes wave { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }

/* vana */
#house .valve-handle { transform-box: fill-box; transform-origin: left center; transition: transform .8s var(--ease-soft); }
#house .valve:not(.open) .valve-handle { transform: rotate(90deg); }
#house .valve:not(.open) rect:first-child { fill: #D9534F; }

/* bahçe ışığı */
#house .lamp-glow-big, #house .path-glow { opacity: 0; transition: opacity 1.3s var(--ease-soft); }
#house .lamp-glow-big.on, #house .path-glow.on { opacity: .35; }
.night #house .lamp-glow-big.on, .night #house .path-glow.on { opacity: 1; }
#house .lamp-bulb { fill: #8E96A8; transition: fill 1s; }
#house .lamp-bulb.on { fill: #FFF0C2; }

/* zil ve kargocu */
#house .bell-led { fill: #5AB8F0; opacity: .7; }
#house .bell-led.active { fill: #FFFFFF; opacity: 1; }
#house .bell-rings { opacity: 0; }
#house .bell-rings circle { fill: none; stroke: #5AB8F0; stroke-width: 2.5; }
#house .bell-rings.active { opacity: 1; }
#house .bell-rings.active circle { transform-box: fill-box; transform-origin: center; animation: ring 1.3s ease-out 3; }
#house .bell-rings.active circle:nth-child(2) { animation-delay: .25s; }
@keyframes ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
#house .courier { opacity: 0; transform: translateX(-70px); transition: transform 1.4s var(--ease-soft), opacity .8s; }
#house .courier.active { opacity: 1; transform: translateX(0); }

/* etkileşim */
#house .dev { cursor: pointer; }
#house .dev.bump { animation: bump .35s var(--ease); transform-box: fill-box; transform-origin: center; }
@keyframes bump { 40% { transform: scale(1.06); } }
#house .hint { fill: none; stroke: #FFFFFF; stroke-width: 2.5; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: hint 2.2s ease-out infinite; }
#house .hint.used { display: none; }
@keyframes hint { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

/* ==========================================================
   TELEFON
   ========================================================== */
.phone {
  --pw: 372px;
  width: var(--pw);
  height: min(800px, 100%);
  align-self: center;
  padding: 11px;
  border-radius: 58px;
  background: linear-gradient(145deg, #2A3045, #0D111C);
  box-shadow: 0 0 0 1.5px #3A4157 inset, 0 30px 70px rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .2);
  position: relative;
}
.phone::before, .phone::after { content: ''; position: absolute; width: 4px; border-radius: 3px; background: #2A3045; }
.phone::before { left: -3px; top: 150px; height: 60px; }
.phone::after { right: -3px; top: 190px; height: 90px; }
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 47px;
  background: #000; color: #fff;
  font-family: var(--ios);
  isolation: isolate;
}
.phone-screen.buzz { animation: buzz .45s var(--ease); }
@keyframes buzz { 20% { transform: translateX(-2px); } 40% { transform: translateX(2px); } 60% { transform: translateX(-1px); } 80% { transform: translateX(1px); } }

.status-bar {
  position: absolute; inset: 0 0 auto 0; height: 50px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 30px 0 34px;
  font-weight: 700; font-size: 15.5px; letter-spacing: -.01em;
  pointer-events: none;
}
.island { position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 118px; height: 34px; border-radius: 20px; background: #000; }
.sb-icons { display: flex; gap: 6px; align-items: center; }
.sb-icons svg { height: 11.5px; fill: currentColor; }

.apps { position: absolute; inset: 0; }
.app {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(.96); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.app.active { opacity: 1; transform: none; pointer-events: auto; }
.app-scroll {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 58px 16px 104px;
  scrollbar-width: none;
}
.app-scroll::-webkit-scrollbar { display: none; }

/* -------- Ev (HomeKit) -------- */
.app-home { background: linear-gradient(170deg, #2E3366 0%, #5C4B8C 42%, #C77D7A 78%, #E8A26F 100%); }
.h-kicker { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .75); margin: 4px 4px 0; }
.h-kicker .ic { font-size: 14px; }
.h-title { font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin: 2px 4px 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 10px; border-radius: 14px; border: 0;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  text-align: left; transition: background .3s;
}
.chip .ic { font-size: 20px; color: #FFD27A; }
.chip span { display: flex; flex-direction: column; line-height: 1.15; }
.chip b { font-size: 12.5px; font-weight: 700; }
.chip small { font-size: 11.5px; color: rgba(255, 255, 255, .75); font-weight: 600; }
.chip.alert { background: rgba(255, 59, 48, .85); }
.chip.alert .ic { color: #fff; }
.h-room { font-size: 16px; font-weight: 700; margin: 20px 4px 8px; letter-spacing: -.01em; }
.scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.scene {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px; border: 0;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 13.5px; text-align: left; transition: background .3s, transform .15s;
}
.scene b { font-weight: 700; }
.s-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); font-size: 17px; }
.scene:active { transform: scale(.96); }
.scene.ran { background: #fff; color: #1C1C1E; }
.scene.ran .s-icon { background: #FFC86B; color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile {
  display: flex; align-items: center; gap: 9px; min-height: 62px; padding: 10px 10px;
  border-radius: 16px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  background: rgba(30, 30, 40, .32); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background .45s var(--ease), color .45s var(--ease), transform .15s;
}
.tile:active { transform: scale(.96); }
.t-icon {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 19px;
  background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .9);
  transition: background .45s, color .45s;
}
.t-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.t-text b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-text small { font-size: 12px; color: rgba(255, 255, 255, .62); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.on { background: rgba(255, 255, 255, .94); color: #1C1C1E; }
.tile.on .t-text small { color: #6E6E73; }
.tile.on .t-icon { background: #FFC86B; color: #fff; }
.tile.on.t-contact .t-icon, .tile.on.t-lock .t-icon { background: #FF9F43; }
.tile.on.t-ac .t-icon, .tile.on.t-valve .t-icon { background: #5AB8F0; }
.tile.on.t-thermostat .t-icon { background: #FF8A4C; }
.tile.on.t-tv .t-icon, .tile.on.t-speaker .t-icon { background: #8E7CF0; }
.tile.on.t-vacuum .t-icon, .tile.on.t-washer .t-icon, .tile.on.t-curtain .t-icon { background: #34C3A0; }
.tile.alert { background: #FF3B30; color: #fff; animation: tilePulse 1.4s ease-in-out infinite; }
.tile.alert .t-icon { background: #fff; color: #FF3B30; }
.tile.alert .t-text small { color: rgba(255, 255, 255, .9); font-weight: 700; }
@keyframes tilePulse { 50% { background: #D92D23; } }
.h-foot { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .6); margin: 24px 0 0; }

/* -------- Akıllı Panel (marka uygulaması) -------- */
.app-panel { background: radial-gradient(120% 60% at 100% 0%, #1E3B4B 0%, transparent 60%), #111827; font-family: var(--font); }
.p-top { display: flex; align-items: center; gap: 10px; margin: 0 2px 14px; }
.p-logo { width: 38px; height: 38px; padding: 7px; border-radius: 12px; background: rgba(52, 195, 160, .14); }
.p-top div { display: flex; flex-direction: column; line-height: 1.1; }
.p-top small { font-size: 11px; color: #8D97B0; font-weight: 700; letter-spacing: .04em; }
.p-top h2 { margin: 2px 0 0; font-size: 20px; font-weight: 900; }
.p-online { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #34C3A0; background: rgba(52, 195, 160, .12); padding: 5px 9px; border-radius: 999px; }
.p-online i { width: 7px; height: 7px; border-radius: 50%; background: #34C3A0; box-shadow: 0 0 0 3px rgba(52, 195, 160, .25); }
.p-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); border-radius: 20px; padding: 14px; margin-bottom: 12px; }
.p-card h4 { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: #B9C2D8; letter-spacing: .02em; }

.p-security { transition: background .5s, border-color .5s; }
.p-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.p-sec-head div { display: flex; flex-direction: column; line-height: 1.2; }
.p-sec-head b { font-weight: 800; font-size: 15px; }
.p-sec-head small { font-size: 12px; color: #8D97B0; font-weight: 600; }
.p-sec-ic { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(52, 195, 160, .16); color: #34C3A0; transition: background .5s, color .5s; }
.p-security[data-mode="disarida"] .p-sec-ic { background: rgba(255, 122, 107, .16); color: #FF7A6B; }
.p-security[data-mode="gece"] .p-sec-ic { background: rgba(156, 149, 242, .18); color: #9C95F2; }
.p-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: rgba(0, 0, 0, .25); padding: 4px; border-radius: 14px; }
.p-modes button { border: 0; background: transparent; border-radius: 11px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: #8D97B0; transition: background .3s, color .3s; }
.p-modes button .ic { font-size: 18px; }
.p-modes button.on { background: #34C3A0; color: #0E2A23; }
.p-security[data-mode="disarida"] .p-modes button.on { background: #FF7A6B; color: #3A0F0A; }
.p-security[data-mode="gece"] .p-modes button.on { background: #9C95F2; color: #1C1950; }
.p-silence { display: none; width: 100%; margin-top: 10px; border: 0; border-radius: 12px; padding: 11px; font-weight: 800; background: #fff; color: #D92D23; align-items: center; justify-content: center; gap: 6px; }
.p-security.alarm { background: rgba(255, 59, 48, .22); border-color: rgba(255, 59, 48, .6); animation: secPulse 1.2s ease-in-out infinite; }
.p-security.alarm .p-sec-ic { background: #FF3B30; color: #fff; }
.p-security.alarm .p-silence { display: flex; }
@keyframes secPulse { 50% { background: rgba(255, 59, 48, .34); } }

.p-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.p-stat { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); border-radius: 18px; padding: 12px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; }
.p-stat > span { grid-row: span 2; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; background: rgba(255, 200, 107, .14); color: #FFC86B; }
.p-stat:nth-child(2) > span { background: rgba(90, 184, 240, .14); color: #5AB8F0; }
.p-stat:nth-child(3) > span { background: rgba(255, 200, 107, .14); color: #FFD27A; }
.p-stat:nth-child(4) > span { background: rgba(52, 195, 160, .14); color: #34C3A0; }
.p-stat small { font-size: 11px; color: #8D97B0; font-weight: 700; }
.p-stat b { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }

.p-sensors { display: flex; flex-direction: column; gap: 2px; }
.p-sensor { display: flex; align-items: center; gap: 10px; padding: 8px 2px; font-size: 13.5px; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.p-sensor:last-child { border-bottom: 0; }
.p-sensor .ic { font-size: 18px; color: #8D97B0; }
.p-sensor em { margin-left: auto; font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.p-sensor.ok em { color: #34C3A0; background: rgba(52, 195, 160, .12); }
.p-sensor.warn em { color: #FFC86B; background: rgba(255, 200, 107, .14); }
.p-sensor.bad em { color: #fff; background: #FF3B30; animation: tilePulse 1.4s infinite; }
.p-sensor.bad .ic { color: #FF7A6B; }

.p-tabs { display: flex; gap: 4px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.p-tabs button { flex: 1; white-space: nowrap; border: 0; background: rgba(255, 255, 255, .06); color: #8D97B0; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 800; transition: background .3s, color .3s; }
.p-tabs button.on { background: rgba(52, 195, 160, .18); color: #34C3A0; }
.p-floor { display: none; }
.p-floor.on { display: block; animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }
.p-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); cursor: pointer; }
.p-row:last-child { border-bottom: 0; }
.p-ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 18px; background: rgba(255, 255, 255, .06); color: #8D97B0; transition: background .4s, color .4s; }
.p-row.on .p-ic { background: rgba(255, 200, 107, .16); color: #FFC86B; }
.p-row.alert .p-ic { background: #FF3B30; color: #fff; }
.p-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.p-txt b { font-size: 13.5px; font-weight: 800; }
.p-txt small { font-size: 11.5px; color: #8D97B0; font-weight: 600; }
.p-txt em { font-style: normal; }
.p-row.alert .p-txt em { color: #FF7A6B; font-weight: 800; }
.p-range { width: 100%; margin: 7px 0 0; accent-color: #FFC86B; height: 16px; }
.p-range:disabled { opacity: .3; }
.sw { width: 46px; height: 28px; flex: none; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .14); position: relative; transition: background .3s; padding: 0; }
.sw i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.sw.on { background: #34C3A0; }
.sw.on i { transform: translateX(18px); }
.p-badge { font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.p-badge.ok { color: #34C3A0; background: rgba(52, 195, 160, .12); }
.p-badge.warn { color: #FFC86B; background: rgba(255, 200, 107, .14); }
.p-badge.bad { color: #fff; background: #FF3B30; }

.p-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.p-log li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: start; font-size: 12px; font-weight: 600; color: #C9D0E0; animation: fadeIn .35s var(--ease); }
.p-log li .ic { font-size: 15px; color: #34C3A0; margin-top: 1px; }
.p-log li.critical .ic, .p-log li.critical span { color: #FF7A6B; }
.p-log li.warn .ic { color: #FFC86B; }
.p-log time { font-size: 11px; color: #6B7690; font-variant-numeric: tabular-nums; }

/* -------- dock -------- */
.dock {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 20;
  display: flex; gap: 6px; padding: 6px;
  border-radius: 26px;
  background: rgba(30, 32, 44, .55); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3), 0 0 0 .5px rgba(255, 255, 255, .15) inset;
}
.dock button {
  display: flex; align-items: center; gap: 8px; border: 0; background: transparent;
  padding: 5px 12px 5px 5px; border-radius: 20px; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .7);
  font-family: var(--font); transition: background .3s, color .3s; white-space: nowrap;
}
.dock button.on { background: rgba(255, 255, 255, .16); color: #fff; }
.appicon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.appicon-home { background: linear-gradient(160deg, #FFC86B, #F08A3B); color: #fff; font-size: 20px; }
.appicon-home .ic { stroke-width: 2.4; }
.appicon-panel { background: #1F2A44; }
.appicon-panel img { width: 24px; height: 24px; }
.home-indicator { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); width: 128px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .85); z-index: 40; pointer-events: none; }

/* -------- bildirimler -------- */
.notif-stack { position: absolute; top: 54px; left: 10px; right: 10px; z-index: 35; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.notif {
  pointer-events: auto; cursor: pointer;
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 12px; border-radius: 20px;
  background: rgba(246, 246, 248, .88); color: #1C1C1E;
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  transform: translateY(-120%) scale(.96); opacity: 0;
  transition: transform .55s cubic-bezier(.2, .9, .25, 1.15), opacity .35s;
}
.notif.in { transform: none; opacity: 1; }
.notif.out { transform: translateY(-40%) scale(.92); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.notif .appicon { width: 36px; height: 36px; border-radius: 9px; font-size: 20px; }
.n-body { flex: 1; min-width: 0; }
.n-head { display: flex; justify-content: space-between; font-size: 11.5px; color: #6E6E73; font-weight: 600; letter-spacing: .02em; }
.n-head time { font-weight: 500; letter-spacing: 0; }
.n-crit { font-style: normal; color: #FF3B30; font-weight: 800; }
.n-title { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; margin-top: 1px; }
.n-title .ic { font-size: 15px; color: #6E6E73; }
.notif p { margin: 1px 0 0; font-size: 13.5px; line-height: 1.3; }
.n-img { width: 58px; height: 58px; border-radius: 10px; overflow: hidden; flex: none; align-self: center; }
.n-img svg { width: 100%; height: 100%; display: block; }
.notif.lv-critical { background: rgba(255, 240, 238, .94); box-shadow: 0 0 0 2px #FF3B30 inset, 0 10px 30px rgba(255, 59, 48, .35); }
.notif.lv-critical .n-title, .notif.lv-critical .n-title .ic { color: #D92D23; }
.notif.lv-warn .n-title .ic { color: #F08A3B; }

/* -------- alt sayfa -------- */
.sheet-backdrop { position: absolute; inset: 0; z-index: 25; background: rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .35s; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 26;
  max-height: 82%; overflow-y: auto;
  padding: 10px 20px 44px; border-radius: 30px 30px 0 0;
  background: rgba(28, 30, 42, .92); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  transform: translateY(105%); transition: transform .5s cubic-bezier(.2, .85, .25, 1);
  font-family: var(--font);
}
.sheet-open .sheet { transform: none; }
.sheet-open .sheet-backdrop { opacity: 1; pointer-events: auto; }
.sheet-open .dock { opacity: 0; pointer-events: none; }
.dock { transition: opacity .3s; }
.grab { width: 38px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); margin: 0 auto 10px; }
.sheet-close { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-size: 16px; }
.sh-head { display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; }
.sh-head div { display: flex; flex-direction: column; line-height: 1.2; }
.sh-head b { font-size: 18px; font-weight: 900; }
.sh-head small { font-size: 13px; color: #8D97B0; font-weight: 700; }
.sh-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: rgba(255, 255, 255, .1); color: #C9D0E0; }
.sh-ic.on { background: #FFC86B; color: #fff; }
.sh-ic.bad { background: #FF3B30; color: #fff; }
.sh-ctl { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vslider {
  --v: 50%;
  width: 110px; height: 220px; border-radius: 30px; position: relative; overflow: hidden;
  background: rgba(255, 255, 255, .12); touch-action: none; cursor: ns-resize;
}
.vs-fill { position: absolute; left: 0; right: 0; bottom: 0; height: var(--v); background: linear-gradient(180deg, #FFE2A0, #FFC86B); transition: height .12s; }
.vs-ic { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 30px; color: #fff; mix-blend-mode: difference; }
.vslider.off .vs-ic { color: #8D97B0; mix-blend-mode: normal; }
.sh-val { font-size: 22px; font-weight: 900; }
.sh-btn { border: 0; border-radius: 14px; padding: 12px 18px; display: flex; align-items: center; gap: 8px; font-weight: 800; background: rgba(255, 255, 255, .12); width: 100%; justify-content: center; }
.sh-btn.bad { background: #FF3B30; }
.sh-state { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; padding: 14px 16px; border-radius: 16px; width: 100%; justify-content: center; }
.sh-state .ic { font-size: 20px; }
.sh-state.ok { background: rgba(52, 195, 160, .15); color: #34C3A0; }
.sh-state.warn { background: rgba(255, 200, 107, .15); color: #FFC86B; }
.sh-state.bad { background: rgba(255, 59, 48, .2); color: #FF7A6B; }
.sh-note { margin: 0; font-size: 12.5px; color: #8D97B0; text-align: center; line-height: 1.4; font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 18px; }
.stepper button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); font-size: 22px; display: grid; place-items: center; }
.st-val { width: 150px; height: 150px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: conic-gradient(#FF8A4C, #FFC86B, #FF8A4C); position: relative; }
.st-val::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: #1C1E2A; }
.st-val > * { position: relative; }
.st-val b { font-size: 40px; font-weight: 900; }
.st-val small { font-size: 11.5px; color: #8D97B0; font-weight: 700; }
.st-val.off { background: rgba(255, 255, 255, .12); }
.sh-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.sh-modes button { border: 0; border-radius: 16px; background: rgba(255, 255, 255, .08); padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; }
.sh-modes button .ic { font-size: 22px; }
.sh-modes button.on { background: #34C3A0; color: #0E2A23; }
.cam { width: 100%; border-radius: 16px; overflow: hidden; }
.cam svg { display: block; width: 100%; }

/* ==========================================================
   DUYARLI DÜZEN
   ========================================================== */
@media (max-width: 1180px) {
  .tagline { display: none; }
  .phone { --pw: 340px; }
}

/* tablet ve telefon: dikey yerleşim, ikisi aynı ekranda */
@media (max-width: 860px) {
  body { overflow: hidden; }
  .topbar { height: 54px; padding: 0 12px; gap: 10px; }
  .brand img { width: 34px; height: 34px; border-radius: 10px; }
  .brand-text b { font-size: 18px; }
  .brand-text small { font-size: 9px; }
  .pill { height: 36px; padding: 0 12px; font-size: 13px; }
  .pill span { display: none; }
  .pill { width: 36px; padding: 0; justify-content: center; }
  .top-actions { gap: 6px; }

  .stage {
    height: calc(100dvh - 54px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 40fr) minmax(0, 60fr);
    gap: 8px;
    padding: 0 10px calc(10px + env(safe-area-inset-bottom));
  }
  .house-wrap { border-radius: 22px; }
  .house-intro { font-size: 12px; padding: 8px 12px; bottom: 8px; }
  .house-intro .ic { font-size: 16px; }

  .phone {
    width: 100%; max-width: 480px; height: 100%; justify-self: center;
    padding: 6px; border-radius: 34px;
  }
  .phone::before, .phone::after { display: none; }
  .phone-screen { border-radius: 28px; }
  .status-bar { height: 34px; padding: 0 22px; font-size: 13px; }
  .island { top: 7px; width: 84px; height: 22px; }
  .app-scroll { padding: 40px 12px 86px; }
  .notif-stack { top: 36px; left: 8px; right: 8px; }
  .h-title { font-size: 26px; margin-bottom: 10px; }
  .h-kicker { font-size: 11.5px; }
  .h-room { margin-top: 16px; font-size: 15px; }
  .dock { bottom: 14px; }
  .dock button { font-size: 12px; padding-right: 10px; }
  .appicon { width: 30px; height: 30px; }
  .home-indicator { bottom: 5px; width: 100px; height: 4px; }
  .sheet { padding-bottom: 30px; }
  .vslider { height: 170px; width: 92px; }
  .st-val { width: 124px; height: 124px; }
  .st-val b { font-size: 32px; }
  .notif { padding: 9px 10px; border-radius: 16px; }
  .notif p { font-size: 12.5px; }
  .n-img { width: 48px; height: 48px; }
}

/* yatay telefon: yan yana */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 560px) {
  .topbar { height: 44px; }
  .stage { height: calc(100dvh - 44px); grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); grid-template-rows: minmax(0, 1fr); }
  .phone { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------------- 3D ev sayfası ---------------- */
.house3d-wrap { background: radial-gradient(120% 90% at 50% 0%, #22305E, #0E1734); }
body:not(.night) .house3d-wrap { background: #A8DBF3; }
.house3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: none; cursor: grab; }
.house3d-canvas:active { cursor: grabbing; }
.house3d-wrap .house-intro { z-index: 3; }
.house3d-error { position: absolute; inset: auto 16px 50% 16px; text-align: center; color: #fff; font-weight: 700; }
.house3d-error a { color: var(--nane); }
a.pill { text-decoration: none; color: inherit; }
