/* The overview fits in one screen; all content clears the fixed navigation. */
html:has(body[data-page=overview]),
body[data-page=overview] { height: 100%; overflow: hidden; overscroll-behavior: none; }
body[data-page=overview] .topbar { display: none; }
body[data-page=overview] #main.content {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  height: var(--app-viewport-height, 100dvh);
  min-height: 0;
  max-height: var(--app-viewport-height, 100dvh);
  padding: calc(var(--app-safe-top) + 28px) calc(var(--app-safe-right) + 44px) calc(var(--app-nav-reserve) + 12px) calc(var(--app-safe-left) + 44px);
  margin: 0;
  overflow: hidden;
  animation: none;
  transform: none;
}
body[data-page=overview] .source-overview.overview-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: 'heading product' 'map product' 'status status';
  gap: 22px 48px;
  width: 100%;
  max-width: 1140px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}
.overview-compact .overview-backdrop { inset: calc(-1 * var(--app-safe-top) - 32px) -180px calc(-1 * var(--app-nav-reserve) - 20px); }
body[data-page=overview] .source-overview.overview-compact .device-welcome {
  grid-area: heading;
  position: relative;
  z-index: 15;
  align-self: start;
  min-width: 0;
  padding: 0;
}
body[data-page=overview] .source-overview.overview-compact .device-welcome h1 {
  margin: 0;
  max-width: none;
  color: #fff;
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.12;
  letter-spacing: -1.1px;
  font-weight: 450;
  text-wrap: initial;
}
body[data-page=overview] .source-overview.overview-compact .device-identity {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 16px;
  max-width: none;
  width: 100%;
  margin: 12px 0 0;
  padding: 0;
}
body[data-page=overview] .source-overview.overview-compact .device-picker { position: relative; min-width: 0; flex: 1; z-index: 20; }
body[data-page=overview] .source-overview.overview-compact .owned-device {
  margin: 0;
  min-height: 44px;
  width: max-content;
  justify-content: flex-start;
  text-align: left;
  max-width: 100%;
  padding: 0;
  gap: 8px;
}
body[data-page=overview] .source-overview.overview-compact .owned-device .device-label { min-width: 0; }
body[data-page=overview] .source-overview.overview-compact .owned-device strong { font-size: 16px; line-height: 1.3; max-width: none; }
body[data-page=overview] .source-overview.overview-compact .owned-device > .icon { margin: 0; width: 13px; height: 13px; align-self: center; }
body[data-page=overview] .source-overview.overview-compact .device-identity .device-connection {
  position: static;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 0 0 4px;
  gap: 8px;
  flex: none;
  font-size: 13px;
  line-height: 1.3;
}
body[data-page=overview] .source-overview.overview-compact .device-options {
  top: calc(100% + 6px);
  bottom: auto;
  left: 0;
  width: 320px;
  max-width: calc(100vw - 44px - var(--app-safe-left) - var(--app-safe-right));
  max-height: min(360px, calc(var(--app-viewport-height, 100dvh) * .58));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #07376de8;
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}
body[data-page=overview] .source-overview.overview-compact .device-option { min-height: 56px; }
body[data-page=overview] .source-overview.overview-compact .product-stage {
  grid-area: product;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  width: 100%;
  inset: auto;
  padding: 0;
  overflow: hidden;
  clip-path: none;
  z-index: 1;
}
body[data-page=overview] .source-overview.overview-compact .product-figure.heroshot-product:not(.custom-device-photo) {
  position: relative;
  inset: auto;
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 550 / 900;
  transform: none;
  overflow: visible;
  mask-image: linear-gradient(#000 90%, transparent 100%);
}
body[data-page=overview] .source-overview.overview-compact .product-figure .hero-source { width: 100%; height: 100%; max-height: 100%; }
body[data-page=overview] .source-overview.overview-compact .product-aura { inset: 0; }
body[data-page=overview] .source-overview.overview-compact .device-location-block {
  grid-area: map;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 9px;
  align-self: end;
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  height: min(100%, 245px);
  min-height: 0;
  margin: 0;
  z-index: 2;
}
body[data-page=overview] .source-overview.overview-compact .device-location-label {
  position: static;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.3;
  color: #bfdcf2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-page=overview] .source-overview.overview-compact .device-location-card.minimal-map {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 16px;
}
body[data-page=overview] .source-overview.overview-compact .minimal-map .device-map-viewport { height: 100%; min-height: 0; }
body[data-page=overview] .source-overview.overview-compact .minimap-expand,
body[data-page=overview] .source-overview.overview-compact .minimap-info { width: 44px; height: 44px; opacity: .8; }
body[data-page=overview] .source-overview.overview-compact .minimap-expand { top: 0; right: 0; }
body[data-page=overview] .source-overview.overview-compact .minimap-info { right: 0; bottom: 0; }
body[data-page=overview] .source-overview.overview-compact .status-panel {
  grid-area: status;
  min-height: 0;
  margin: 0;
  padding: 14px 0 12px;
  border-radius: 18px;
  background: linear-gradient(115deg, #ffffff12, #91d8ff0b);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}
body[data-page=overview] .source-overview.overview-compact .status-heading {
  margin: 0;
  padding: 0 22px 10px;
  gap: 10px;
}
body[data-page=overview] .source-overview.overview-compact .status-heading h2 { font-size: 11px; line-height: 1.2; }
body[data-page=overview] .source-overview.overview-compact .demo-note { font-size: 9px; line-height: 1.2; }
body[data-page=overview] .source-overview.overview-compact .device-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  gap: 0;
}
body[data-page=overview] .source-overview.overview-compact .device-stat { min-width: 0; padding: 0 22px; border-bottom: 0; border-right: 1px solid #b3d5ff25; }
body[data-page=overview] .source-overview.overview-compact .device-stat:last-child { border-right: 0; }
body[data-page=overview] .source-overview.overview-compact .stat-label { display: block; white-space: nowrap; font-size: 12px; line-height: 1.25; letter-spacing: -.2px; }
body[data-page=overview] .source-overview.overview-compact .device-stat p { margin: 8px 0 0; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.7px; }
body[data-page=overview] .source-overview.overview-compact .device-stat p small { margin-left: 4px; font-size: 13px; }
body[data-page=overview] .source-overview.overview-compact .overview-data-note { font-size: 9px; line-height: 1.2; color: #aecfe7; padding: 0 22px; margin: 10px 0 0; text-align: right; }

@media (max-width: 600px) and (orientation: portrait) {
  body[data-page=overview] #main.content {
    padding: calc(var(--app-safe-top) + 18px) calc(var(--app-safe-right) + 18px) calc(var(--app-nav-reserve) + 5px) calc(var(--app-safe-left) + 18px);
  }
  body[data-page=overview] .source-overview.overview-compact {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) clamp(96px, 13vh, 118px) auto;
    grid-template-areas: 'heading' 'product' 'map' 'status';
    gap: 12px;
  }
  body[data-page=overview] .source-overview.overview-compact .device-welcome h1 { font-size: 27px; line-height: 1.15; letter-spacing: -.8px; }
  body[data-page=overview] .source-overview.overview-compact .device-identity { margin-top: 5px; gap: 10px; }
  body[data-page=overview] .source-overview.overview-compact .owned-device strong { font-size: 14px; }
  body[data-page=overview] .source-overview.overview-compact .device-identity .device-connection { font-size: 12px; }
  body[data-page=overview] .source-overview.overview-compact .device-location-block { align-self: stretch; height: 100%; gap: 7px; }
  body[data-page=overview] .source-overview.overview-compact .device-location-label { font-size: 11px; }
  body[data-page=overview] .source-overview.overview-compact .device-location-card.minimal-map { border-radius: 14px; }
  body[data-page=overview] .source-overview.overview-compact .status-panel { padding: 11px 0 10px; border-radius: 16px; }
  body[data-page=overview] .source-overview.overview-compact .status-heading { padding: 0 12px 9px; }
  body[data-page=overview] .source-overview.overview-compact .device-stat { padding: 0 12px; }
  body[data-page=overview] .source-overview.overview-compact .stat-label { font-size: 10px; letter-spacing: -.25px; }
  body[data-page=overview] .source-overview.overview-compact .device-stat p { margin-top: 6px; font-size: 25px; }
  body[data-page=overview] .source-overview.overview-compact .overview-data-note { margin-top: 7px; padding-inline: 12px; font-size: 8px; }
}

@media (max-width: 600px) and (max-height: 700px) and (orientation: portrait) {
  body[data-page=overview] #main.content { padding-top: calc(var(--app-safe-top) + 10px); }
  body[data-page=overview] .source-overview.overview-compact { grid-template-rows: auto minmax(0, 1fr) 91px auto; gap: 8px; }
  body[data-page=overview] .source-overview.overview-compact .device-welcome h1 { font-size: 24px; }
  body[data-page=overview] .source-overview.overview-compact .device-identity { margin-top: 1px; }
  body[data-page=overview] .source-overview.overview-compact .status-panel { padding-block: 9px 8px; }
  body[data-page=overview] .source-overview.overview-compact .status-heading { padding-bottom: 7px; }
  body[data-page=overview] .source-overview.overview-compact .device-stat p { font-size: 21px; margin-top: 5px; }
  body[data-page=overview] .source-overview.overview-compact .overview-data-note { margin-top: 6px; }
}

@media (max-width: 350px) {
  body[data-page=overview] #main.content { padding-inline: calc(var(--app-safe-left) + 14px) calc(var(--app-safe-right) + 14px); }
  body[data-page=overview] .source-overview.overview-compact .device-stat { padding-inline: 9px; }
  body[data-page=overview] .source-overview.overview-compact .stat-label { font-size: 9px; }
  body[data-page=overview] .source-overview.overview-compact .owned-device strong { font-size: 13px; }
}

@media (orientation: landscape) and (max-height: 600px) {
  body[data-page=overview] #main.content {
    padding: calc(var(--app-safe-top) + 12px) calc(var(--app-safe-right) + 24px) calc(var(--app-nav-reserve) - 2px) calc(var(--app-safe-left) + 24px);
  }
  body[data-page=overview] .source-overview.overview-compact {
    grid-template-columns: minmax(0, 1fr) minmax(140px, .75fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas: 'heading product status' 'map product status';
    gap: 8px 20px;
  }
  body[data-page=overview] .source-overview.overview-compact .device-welcome h1 { font-size: 22px; letter-spacing: -.6px; }
  body[data-page=overview] .source-overview.overview-compact .device-identity { margin-top: 1px; display: block; }
  body[data-page=overview] .source-overview.overview-compact .owned-device { min-height: 44px; }
  body[data-page=overview] .source-overview.overview-compact .owned-device strong { font-size: 13px; }
  body[data-page=overview] .source-overview.overview-compact .device-identity .device-connection { font-size: 11px; }
  body[data-page=overview] .source-overview.overview-compact .device-location-block { height: 100%; min-height: 0; gap: 5px; }
  body[data-page=overview] .source-overview.overview-compact .device-location-label { font-size: 10px; }
  body[data-page=overview] .source-overview.overview-compact .status-panel { align-self: center; padding: 14px 0; }
  body[data-page=overview] .source-overview.overview-compact .status-heading { padding: 0 12px 14px; }
  body[data-page=overview] .source-overview.overview-compact .device-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-page=overview] .source-overview.overview-compact .device-stat { padding-inline: 7px; }
  body[data-page=overview] .source-overview.overview-compact .stat-label { white-space: normal; font-size: 9px; min-height: 25px; }
  body[data-page=overview] .source-overview.overview-compact .device-stat p { font-size: 19px; margin-top: 7px; }
  body[data-page=overview] .source-overview.overview-compact .device-stat p small { display: block; margin: 3px 0 0; font-size: 11px; }
  body[data-page=overview] .source-overview.overview-compact .overview-data-note { padding-inline: 10px; font-size: 8px; }
}

/* Build 4: Ayarlar dişlisi sağ üstte (Muslook panelindeki profil ayar düğmesi gibi). */
body[data-page=overview] .source-overview.overview-compact .overview-settings {
  position: absolute;
  top: -2px;
  right: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff12;
  border: 1px solid #c9e9ff40;
  color: #dbeeff;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px #00245626, inset 0 1px 0 #ffffff30;
}
body[data-page=overview] .source-overview.overview-compact .overview-settings .icon { width: 20px; height: 20px; }
body[data-page=overview] .source-overview.overview-compact .overview-settings:hover { background: #ffffff22; color: #fff; }
@media (max-width: 600px) and (orientation: portrait) {
  body[data-page=overview] .source-overview.overview-compact .overview-settings { top: -8px; width: 40px; height: 40px; }
  body[data-page=overview] .source-overview.overview-compact .device-welcome h1 { padding-right: 52px; }
}

/* Build 5: canlı dolum ışığı ve anlık göstergesi */
body[data-page=overview] .source-overview.overview-compact .live-note { display: flex; align-items: center; gap: 6px; font-size: 9px; color: #adceea; letter-spacing: .04em; }
body[data-page=overview] .source-overview.overview-compact .live-note i { width: 6px; height: 6px; border-radius: 50%; background: #7ce7c4; box-shadow: 0 0 0 3px #75e8c51a, 0 0 10px #7ce7c466; animation: dot-pulse 2.2s ease-in-out infinite; }
body[data-page=overview] .source-overview.overview-compact .status-panel { position: relative; overflow: hidden; transition: box-shadow .5s, border-color .5s; border: 1px solid #a3d4ff2b; }
body[data-page=overview] .source-overview.overview-compact .status-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at 50% 110%, #5ad1ffb0, #2b8fe84d 45%, transparent 70%); transition: opacity .4s; }
/* Canlı dolum parlaması: öğenin kendi `animation` özelliğine dokunmaz. Dokunsaydı sınıf kalkınca sayfa girişindeki
   kayarak gelme animasyonu yeniden oynar, panel kapanıp açılmış gibi görünürdü. Parlama gölge geçişiyle gelir ve söner. */
body[data-page=overview] .source-overview.overview-compact .status-panel.is-filling { border-color: #8fd9ff99; box-shadow: 0 0 0 4px #5ad1ff40, 0 0 40px 6px #5ad1ff66, 0 18px 54px #001d491a; transition: box-shadow .25s ease-out, border-color .25s; }
body[data-page=overview] .source-overview.overview-compact .status-panel.is-filling::before { animation: panel-flash 1.6s ease-out; }
@keyframes panel-glow { 0% { box-shadow: 0 0 0 0 #5ad1ff00, 0 18px 54px #001d491a; } 18% { box-shadow: 0 0 0 6px #5ad1ff55, 0 0 42px 8px #5ad1ff88, 0 18px 54px #001d491a; } 100% { box-shadow: 0 0 0 0 #5ad1ff00, 0 18px 54px #001d491a; } }
@keyframes panel-flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
body[data-page=overview] .source-overview.overview-compact .device-stat.bump p { animation: stat-bump .7s cubic-bezier(.34,1.56,.64,1); }
@keyframes stat-bump { 0% { transform: scale(1); } 35% { transform: scale(1.12); color: #c8ecff; } 100% { transform: scale(1); } }

/* Alpha 1.0 · build 30 (30 Ekim 2026): durum yazıları ve masaüstü yerleşimi.
   Başlığın altındaki durum (Online · Bakım bekliyor · Arıza · Kapalı) ve Anlık durum panelindeki etiket arızanın rengini alır;
   masaüstünde durum yazısı büyür ve Genel Bakış başlığının hemen altına iner (cihaz seçici onun altında), "Anlık" etiketi büyür.
   Komut tuşlarının masaüstü yerleşimi src/device-commands.css içinde. */
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-stop { color: #ffb3b3; }
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-run { color: #ffd39a; }
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-off { color: #c9d6e2; }
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-busy { color: #ffd39a; }
body[data-page=overview] .source-overview.overview-compact .live-note { max-width: 62%; min-width: 0; }
body[data-page=overview] .source-overview.overview-compact .live-note > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body[data-page=overview] .source-overview.overview-compact .live-note i { flex: none; }
body[data-page=overview] .source-overview.overview-compact .live-note.is-stop { color: #ffb3b3; }
body[data-page=overview] .source-overview.overview-compact .live-note.is-stop i { background: #ff5d5d; box-shadow: 0 0 0 3px #ff5d5d22, 0 0 10px #ff5d5d66; }
body[data-page=overview] .source-overview.overview-compact .live-note.is-run { color: #ffd39a; }
body[data-page=overview] .source-overview.overview-compact .live-note.is-run i { background: #f5c46b; box-shadow: 0 0 0 3px #f5c46b22, 0 0 10px #f5c46b66; }
@media (min-width: 601px) {
  body[data-page=overview] .source-overview.overview-compact .device-identity { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 10px; } /* build 32: DOM sırası durum → seçici, ters çevirmeye gerek yok */
  body[data-page=overview] .source-overview.overview-compact .device-identity .device-connection { font-size: 15px; gap: 10px; padding-left: 2px; }
  body[data-page=overview] .source-overview.overview-compact .device-identity .connection-dot { width: 9px; height: 9px; }
  body[data-page=overview] .source-overview.overview-compact .live-note { font-size: 12.5px; gap: 8px; letter-spacing: .02em; }
  body[data-page=overview] .source-overview.overview-compact .live-note i { width: 8px; height: 8px; }
  body[data-page=overview] .source-overview.overview-compact .status-heading h2 { font-size: 12.5px; }
}
/* Yatay telefon: başlık satırı dar; durum yazısı cihaz seçicinin yanında kalır */
@media (orientation: landscape) and (max-height: 600px) {
  body[data-page=overview] .source-overview.overview-compact .device-identity { display: flex; flex-direction: row; align-items: center; gap: 14px; margin-top: 4px; }
  body[data-page=overview] .source-overview.overview-compact .device-identity .device-connection { font-size: 12px; gap: 7px; }
  body[data-page=overview] .source-overview.overview-compact .device-identity .connection-dot { width: 7px; height: 7px; }
  body[data-page=overview] .source-overview.overview-compact .live-note { font-size: 10.5px; }
}

/* Build 31 (31 Ekim 2026): cihaz kapatılınca arka plan da kararır — simsiyah değil, koyu lacivert gece gradyanı; filigran üstte
   hafifçe görünür kalır. Perde sayfa gradyanıyla aynı katmanda (z-index -1), filigranın ALTINDA (overview.js'te backdrop'tan önce),
   tüm ekranı kaplar; kapanışta 0,2 sn sonra 1,2 sn'de dolar (kapanış dizisiyle biter), açılışta 0,6 sn bekleyip 1,4 sn'de açılır
   (ışık yandığında biter). Ürün ışıltısı (.product-aura) kapalıyken söner, filigran biraz belirginleşir. Sınıfı overview.js verir. */
body[data-page=overview] .source-overview.overview-compact .overview-blackout { position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 76% 30%, #0a2a57 0, transparent 46%), linear-gradient(132deg, #061228 12%, #07193a 61%, #040c1e); opacity: 0; pointer-events: none; animation: none; transition: opacity 1.4s ease .6s; }
body[data-page=overview] .source-overview.overview-compact.is-power-off .overview-blackout { opacity: 1; transition: opacity 1.2s ease .2s; }
body[data-page=overview] .source-overview.overview-compact .hero-watermark { transition: opacity 1.2s ease; }
body[data-page=overview] .source-overview.overview-compact.is-power-off .hero-watermark { opacity: .018; }
body[data-page=overview] .source-overview.overview-compact .product-aura { transition: opacity 1s ease; }
body[data-page=overview] .source-overview.overview-compact.is-power-off .product-aura { animation: none; opacity: 0; }
.reduce-motion .overview-compact .overview-blackout, .reduce-motion .overview-compact .product-aura, .reduce-motion .overview-compact .hero-watermark { transition: none; }

/* Build 32 (31 Ekim 2026, öğleden sonra) — başlık satırı, durum yazısı, cihaz seçici, mini harita.
   Durum solda, cihaz seçici sağda (DOM sırası overview.js'te); açılır liste sağa dayalı. Harita (z-index 2) uzayan ürün kaidesinin üstünde. */
body[data-page=overview] .source-overview.overview-compact .device-identity .device-connection { padding-left: 2px; }
body[data-page=overview] .source-overview.overview-compact .device-picker { flex: none; max-width: 62%; }
body[data-page=overview] .source-overview.overview-compact .owned-device { justify-content: flex-end; text-align: right; margin-left: auto; }
body[data-page=overview] .source-overview.overview-compact .device-options { left: auto; right: 0; }
body[data-page=overview] .source-overview.overview-compact .device-location-block { z-index: 2; }
/* Durum yazısı tonları: ok yeşil (Online) · active mavi (kapak, seçim, hazırlık, tamamlandı) · fill mavi + nabız (Dolum yapılıyor) ·
   warn sarı (bakım bekleniyor / arızalı ama çalışan cihazda etkinlik) · stop kırmızı ARIZALI · off / busy güç durumları. */
body[data-page=overview] .source-overview.overview-compact .device-connection { transition: color .4s ease; }
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-active,
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-fill { color: #9fdcff; }
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-fill > span:last-child { display: inline-block; transform-origin: left center; text-shadow: 0 0 14px #5ad1ff99; animation: status-pulse 1.5s ease-in-out infinite; }
@keyframes status-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-warn { color: #ffd39a; }
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-stop { color: #ff9b9b; font-weight: 700; letter-spacing: .06em; }
body[data-page=overview] .source-overview.overview-compact .connection-dot.is-active { background: #5ad1ff; box-shadow: 0 0 0 4px #5ad1ff1f, 0 0 12px #5ad1ff77; }
body[data-page=overview] .source-overview.overview-compact .connection-dot.is-active::before,
body[data-page=overview] .source-overview.overview-compact .connection-dot.is-active::after { border-color: #8fdcff; }
body[data-page=overview] .source-overview.overview-compact .live-note.is-warn { color: #ffd39a; }
body[data-page=overview] .source-overview.overview-compact .live-note.is-warn i { background: #f5c46b; box-shadow: 0 0 0 3px #f5c46b22, 0 0 10px #f5c46b66; }
.reduce-motion .overview-compact .device-connection.tone-fill > span:last-child { animation: none; }
/* Cihaz seçici: Genel Bakış tipografisi — başlık satırı 11 px büyük harf 600 + sayı, satırlar durum ışığı · ad 15 px 600 · konum 12,5 px 400;
   seçili satır açık zemin koyu yazı (komut menüsü diliyle aynı cam panel). */
body[data-page=overview] .source-overview.overview-compact .device-options { width: 304px; padding: 8px; border-radius: 18px; border: 1px solid #c9e9ff40; box-shadow: 0 18px 44px #00122f66; }
body[data-page=overview] .source-overview.overview-compact .device-options > p { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 10px 10px; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #cfe6fb; }
body[data-page=overview] .source-overview.overview-compact .device-options > p > span { font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #9fc3e4; }
body[data-page=overview] .source-overview.overview-compact .device-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; margin-top: 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid #ffffff1a; background: #ffffff12; color: #eaf4ff; text-align: left; box-shadow: inset 0 1px 0 #ffffff12; }
body[data-page=overview] .source-overview.overview-compact .device-option:hover,
body[data-page=overview] .source-overview.overview-compact .device-option:focus-visible { background: #ffffff1f; }
body[data-page=overview] .source-overview.overview-compact .device-option[aria-pressed=true] { background: #e2f0fa; border-color: #e2f0fa; color: #0f2e52; }
body[data-page=overview] .source-overview.overview-compact .device-option .dv-text { flex: 1; min-width: 0; }
body[data-page=overview] .source-overview.overview-compact .device-option strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body[data-page=overview] .source-overview.overview-compact .device-option small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 400; line-height: 1.25; color: #a9c9e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body[data-page=overview] .source-overview.overview-compact .device-option[aria-pressed=true] small { color: #3f6a92; }
body[data-page=overview] .source-overview.overview-compact .device-option .dv-light { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #7ce7c4; box-shadow: 0 0 0 3px #7ce7c41f, 0 0 10px #7ce7c466; }
body[data-page=overview] .source-overview.overview-compact .device-option .dv-light.is-warn { background: #f5c46b; box-shadow: 0 0 0 3px #f5c46b22, 0 0 10px #f5c46b66; }
body[data-page=overview] .source-overview.overview-compact .device-option .dv-light.is-stop { background: #ff5d5d; box-shadow: 0 0 0 3px #ff5d5d22, 0 0 10px #ff5d5d66; }
body[data-page=overview] .source-overview.overview-compact .device-option .dv-light.is-off { background: #8da4ba; box-shadow: none; }
body[data-page=overview] .source-overview.overview-compact .device-option > .icon { flex: none; width: 16px; height: 16px; color: #0f2e52; }
/* Mini harita: sağ alttaki bilgi tuşu yerine cihaza odaklama; harita sürüklenir ve yakınlaştırılır (device-map.js interactive). */
body[data-page=overview] .source-overview.overview-compact .minimap-recenter { position: absolute; z-index: 5; right: 0; bottom: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 7px; color: #b5d6ec; background: #082f50a3; opacity: .8; cursor: pointer; transition: opacity .2s, background .2s; }
body[data-page=overview] .source-overview.overview-compact .minimap-recenter .icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
body[data-page=overview] .source-overview.overview-compact .minimap-recenter:hover,
body[data-page=overview] .source-overview.overview-compact .minimap-recenter:focus-visible { opacity: 1; background: #164568; }
body[data-page=overview] .source-overview.overview-compact .device-map-viewport { touch-action: none; }

/* Giriş animasyonu (build 32, 31 Ekim öğleden sonra): sayfa açılırken başlık / harita / durum paneli kademeli yükselir (motion.css),
   dört komut tuşu 0,42 sn'den başlayıp 120 ms arayla tek tek büyüyerek gelir, ürün aşağıdan büyüyüp netleşerek yerleşir (0,95 sn,
   sonra nefes alma sürer), ışıltı bir kez parlar. Hareket azaltmada styles.css hepsini kapatır. */
.page-enter .overview-compact > .device-commands { animation: none; }
.page-enter .overview-compact .dc-btn { animation: dc-enter .55s cubic-bezier(.22,1,.36,1) backwards; }
.page-enter .overview-compact .dc-btn:nth-child(1) { animation-delay: .42s; }
.page-enter .overview-compact .dc-btn:nth-child(2) { animation-delay: .54s; }
.page-enter .overview-compact .dc-btn:nth-child(3) { animation-delay: .66s; }
.page-enter .overview-compact .dc-btn:nth-child(4) { animation-delay: .78s; }
@keyframes dc-enter { from { opacity: 0; transform: translateY(18px) scale(.82); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
body[data-page=overview] .page-enter .source-overview.overview-compact .has-commands .product-figure.neo-figure { animation: neo-enter .95s cubic-bezier(.2,.9,.3,1.12) both, product-float 7s ease-in-out .95s infinite; }
@keyframes neo-enter { from { opacity: 0; transform: translateY(36px) scale(.92); filter: blur(8px); } 70% { filter: blur(0); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
body[data-page=overview] .page-enter .source-overview.overview-compact .product-aura { animation: aura-enter 1.4s ease-out both, aura-breathe 7s ease-in-out 1.4s infinite; }
@keyframes aura-enter { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.12); } 100% { opacity: .85; transform: scale(1); } }


/* Build 34 (31 Ekim 2026) — durum yazısı renkleri ve durum paneli başlığı.
   Başlıktaki durum: yeşil Satışa Hazır · sarı Seçim / Ödeme / Dolum Başlıyor / Kapak Kapanıyor / Beklemede · mavi Dolum Yapılıyor (nabız)
   · beyaz Dolum Tamamlandı · kırmızı Arıza. Durum paneli: "Anlık durum" başlığı kalktı; yerinde biraz büyük arıza bildirgesi
   (arıza yoksa yeşil "Çevrimiçi"). */
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-ready { color: #7fe8a8; }
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-wait { color: #ffd39a; }
body[data-page=overview] .source-overview.overview-compact .device-connection.tone-done { color: #ffffff; }
body[data-page=overview] .source-overview.overview-compact .connection-dot.is-done { background: #ffffff; box-shadow: 0 0 0 4px #ffffff1f, 0 0 12px #ffffff77; }
body[data-page=overview] .source-overview.overview-compact .connection-dot.is-done::before,
body[data-page=overview] .source-overview.overview-compact .connection-dot.is-done::after { border-color: #ffffff; }
body[data-page=overview] .source-overview.overview-compact .status-heading { justify-content: flex-start; }
body[data-page=overview] .source-overview.overview-compact .live-note { max-width: 100%; font-size: 12px; font-weight: 600; gap: 8px; letter-spacing: .02em; }
body[data-page=overview] .source-overview.overview-compact .live-note i { width: 8px; height: 8px; }
body[data-page=overview] .source-overview.overview-compact .live-note.is-ok { color: #a6f0c4; }
body[data-page=overview] .source-overview.overview-compact .live-note.is-off { color: #c9d6e2; }
body[data-page=overview] .source-overview.overview-compact .live-note.is-off i { background: #b1bdc8; box-shadow: none; animation: none; }
@media (min-width: 601px) {
  body[data-page=overview] .source-overview.overview-compact .live-note { font-size: 15px; gap: 9px; }
  body[data-page=overview] .source-overview.overview-compact .live-note i { width: 9px; height: 9px; }
}
@media (orientation: landscape) and (max-height: 600px) {
  body[data-page=overview] .source-overview.overview-compact .live-note { font-size: 12.5px; }
}

/* Build 35 (31 Ekim 2026 gece) — başlık = ürün adı (açılır cihaz seçici), ayarların altında fiyat tuşu, tam sayfa filigran, fiyat penceresi. */
body[data-page=overview] .source-overview.overview-compact .title-picker { position: relative; z-index: 20; flex: none; max-width: calc(100% - 56px); }
body[data-page=overview] .source-overview.overview-compact .title-device { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; list-style: none; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
body[data-page=overview] .source-overview.overview-compact .title-device::-webkit-details-marker { display: none; }
body[data-page=overview] .source-overview.overview-compact .title-device::marker { content: ''; }
body[data-page=overview] .source-overview.overview-compact .title-device h1 { min-width: 0; padding-right: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-page=overview] .source-overview.overview-compact .title-device > .icon { flex: none; width: .62em; height: .62em; font-size: clamp(26px, 3.1vw, 40px); color: #b9dcf5; transition: transform .25s ease, color .2s; }
body[data-page=overview] .source-overview.overview-compact .title-device:hover > .icon { color: #fff; }
body[data-page=overview] .source-overview.overview-compact .title-picker[open] .title-device > .icon { transform: rotate(180deg); }
body[data-page=overview] .source-overview.overview-compact .title-device:focus-visible { outline: 2px solid #c6edff; outline-offset: 6px; border-radius: 8px; }
body[data-page=overview] .source-overview.overview-compact .title-picker .device-options { left: 0; right: auto; top: calc(100% + 10px); }
body[data-page=overview] .source-overview.overview-compact .device-identity { justify-content: flex-start; }
body[data-page=overview] .source-overview.overview-compact .overview-price { top: 52px; }
@media (max-width: 600px) and (orientation: portrait) {
  body[data-page=overview] .source-overview.overview-compact .overview-price { top: 42px; }
  body[data-page=overview] .source-overview.overview-compact .title-device h1 { font-size: 27px; }
  body[data-page=overview] .source-overview.overview-compact .title-device > .icon { font-size: 27px; }
}
@media (orientation: landscape) and (max-height: 600px) {
  body[data-page=overview] .source-overview.overview-compact .overview-price { top: auto; right: 54px; }
}
/* Filigran tam sayfa: perde gibi pencereye sabit, maske yok (masaüstünde kapsayıcının kenarında kırpılıyordu). */
body[data-page=overview] .source-overview.overview-compact .overview-backdrop { position: fixed; inset: 0; mask-image: none; -webkit-mask-image: none; }
body[data-page=overview] .source-overview.overview-compact .hero-watermark { top: 50%; left: 50%; width: 3400px; transform: translate(-50%, -50%) rotate(-24deg); }
/* Fiyat penceresi: gece mavisi cam, iki alan + Kaydet. */
.price-dialog { width: min(380px, calc(100vw - 32px)); padding: 0; border: 1px solid #c9e9ff40; border-radius: 24px; background: #072f62f2; color: #eaf4ff; box-shadow: 0 24px 60px #000d2a99, inset 0 1px 0 #ffffff26; -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); }
.price-dialog::backdrop { background: #020c22a6; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.price-dialog[open] { animation: pd-in .32s cubic-bezier(.2,.9,.3,1.15); }
@keyframes pd-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.pd-form { display: grid; gap: 12px; padding: 20px; }
.pd-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.pd-head > div { flex: 1; min-width: 0; }
.pd-head h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.4px; color: #fff; }
.pd-head p { margin: 2px 0 0; font-size: 13px; color: #a9c9e6; }
.pd-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ffffff14; border: 1px solid #c9e9ff40; color: #dbeeff; }
.pd-icon .icon { width: 20px; height: 20px; }
.pd-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #ffffff12; color: #cfe6fb; cursor: pointer; }
.pd-close .icon { width: 16px; height: 16px; }
.pd-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #ffffff10; border: 1px solid #ffffff1a; }
.pd-label strong { display: block; font-size: 17px; font-weight: 600; color: #fff; }
.pd-label small { display: block; margin-top: 2px; font-size: 12.5px; color: #a9c9e6; }
.pd-input { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 46px; border-radius: 12px; background: #021f47; border: 1px solid #9fdcff4d; }
.pd-input:focus-within { border-color: #9fdcff; box-shadow: 0 0 0 3px #5ad1ff33; }
.pd-input input { width: 84px; border: 0; outline: 0; background: none; color: #fff; font-size: 22px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.pd-input input::-webkit-outer-spin-button, .pd-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-input b { font-size: 17px; font-weight: 500; color: #9fc3e4; }
.pd-note { margin: 0 2px; font-size: 12.5px; color: #9fc3e4; }
.pd-save { height: 50px; border: 0; border-radius: 99px; background: #e2f0fa; color: #0f2e52; font-size: 16px; font-weight: 600; cursor: pointer; }
.pd-save:hover { background: #fff; }
.reduce-motion .price-dialog[open] { animation: none; }

/* Build 36 (1 Kasım 2026) — kapalı cihazda ürün salınımı durur (açılınca kaldığı yerden sürer); kaydırarak cihaz değiştirme. */
/* Yalnız salınım (product-float) durur: giriş ya da kaydırma animasyonu varsa o (ilk ad) oynamaya devam eder — aksi hâlde kapalı cihaza
   gelindiğinde ürün girişin saydam ilk karesinde donup görünmez kalıyordu. */
body[data-page=overview] .source-overview.overview-compact.is-power-off .product-figure.neo-figure { animation-play-state: paused !important; }
body[data-page=overview] .page-enter .source-overview.overview-compact.is-power-off .has-commands .product-figure.neo-figure,
body[data-page=overview] .source-overview.overview-compact.is-power-off:is(.swipe-in-right,.swipe-in-left) .has-commands .product-figure.neo-figure { animation-play-state: running, paused !important; }
body[data-page=overview] .source-overview.overview-compact .product-stage { touch-action: pan-y; }
body[data-page=overview] .source-overview.overview-compact .product-figure.neo-figure { translate: var(--swipe-x, 0px) 0; }
body[data-page=overview] .source-overview.overview-compact .title-picker { translate: calc(var(--swipe-x, 0px) * .25) 0; }
body[data-page=overview] .source-overview.overview-compact.is-dragging .product-figure.neo-figure { cursor: grabbing; }
body[data-page=overview] .source-overview.overview-compact.is-settling .product-figure.neo-figure,
body[data-page=overview] .source-overview.overview-compact.is-settling .title-picker { transition: translate .32s cubic-bezier(.2,.9,.3,1.2); }
body[data-page=overview] .source-overview.overview-compact.swipe-out-left .product-figure.neo-figure { translate: -120% 0; opacity: 0; transition: translate .26s cubic-bezier(.5,0,.9,.4), opacity .26s ease-in; }
body[data-page=overview] .source-overview.overview-compact.swipe-out-right .product-figure.neo-figure { translate: 120% 0; opacity: 0; transition: translate .26s cubic-bezier(.5,0,.9,.4), opacity .26s ease-in; }
body[data-page=overview] .source-overview.overview-compact.swipe-out-left .title-picker { translate: -40px 0; opacity: 0; transition: translate .22s ease-in, opacity .22s ease-in; }
body[data-page=overview] .source-overview.overview-compact.swipe-out-right .title-picker { translate: 40px 0; opacity: 0; transition: translate .22s ease-in, opacity .22s ease-in; }
body[data-page=overview] .source-overview.overview-compact.swipe-in-right .product-figure.neo-figure { animation: ov-swipe-in-r .56s cubic-bezier(.2,.9,.3,1.06) both, product-float 7s ease-in-out .56s infinite; }
body[data-page=overview] .source-overview.overview-compact.swipe-in-left .product-figure.neo-figure { animation: ov-swipe-in-l .56s cubic-bezier(.2,.9,.3,1.06) both, product-float 7s ease-in-out .56s infinite; }
body[data-page=overview] .source-overview.overview-compact.swipe-in-right .title-picker { animation: ov-title-in-r .45s cubic-bezier(.2,.9,.3,1) both; }
body[data-page=overview] .source-overview.overview-compact.swipe-in-left .title-picker { animation: ov-title-in-l .45s cubic-bezier(.2,.9,.3,1) both; }
body[data-page=overview] .source-overview.overview-compact:is(.swipe-in-right,.swipe-in-left) :is(.device-identity,.device-location-block,.status-panel) { animation: ov-swipe-fade .45s ease both; }
@keyframes ov-swipe-in-r { from { translate: 120% 0; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes ov-swipe-in-l { from { translate: -120% 0; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes ov-title-in-r { from { translate: 40px 0; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes ov-title-in-l { from { translate: -40px 0; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes ov-swipe-fade { from { opacity: .35; } to { opacity: 1; } }
.reduce-motion .overview-compact:is(.swipe-in-right,.swipe-in-left) :is(.product-figure,.title-picker,.device-identity,.device-location-block,.status-panel) { animation: none; }
