/* E-Belediye — mobil uygulama arayüzü */
:root {
  --eb-navy: #1a2b5c;
  --eb-navy-dark: #152347;
  --eb-blue: #2563eb;
  --eb-blue-soft: #dbeafe;
  --eb-blue-banner: #e8f2ff;
  --eb-bg: #eef1f7;
  --eb-card: #fff;
  --eb-border: #e8ecf3;
  --eb-text: #1e293b;
  --eb-muted: #64748b;
  --eb-green: #15803d;
  --eb-green-soft: #dcfce7;
  --eb-radius: 16px;
  --eb-radius-lg: 20px;
}

.eb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(8, 14, 28, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
}
.eb-modal-overlay.open { display: flex; }

.eb-modal {
  flex: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100dvh;
  background: var(--eb-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ebSlideUp .26s ease;
}
@keyframes ebSlideUp {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Header */
.eb-modal-head {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: max(14px, env(safe-area-inset-top)) 14px 14px;
  background: var(--eb-navy);
  color: #fff;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 6px 24px rgba(21, 35, 71, 0.22);
}
.eb-modal-head-left {
  display: flex;
  align-items: center;
  min-width: 40px;
}
.eb-modal-brand {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.eb-modal-head.is-inner .eb-modal-brand { display: none; }
.eb-modal-head.is-inner .eb-modal-back { display: inline-flex; }
.eb-modal-head.is-home {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) 16px 8px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  pointer-events: none;
}
.eb-modal-head.is-home .eb-modal-title-wrap,
.eb-modal-head.is-home .eb-modal-brand { display: none; }
.eb-modal-head.is-home .eb-modal-head-left,
.eb-modal-head.is-home .eb-modal-close { pointer-events: auto; }
.eb-modal-head.is-home .eb-modal-head-left {
  min-width: 0;
  flex-shrink: 0;
}
.eb-modal-head.is-home .eb-modal-back {
  display: inline-flex;
}
.eb-modal-head.is-home .eb-modal-back,
.eb-modal-head.is-home .eb-modal-close {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  flex-shrink: 0;
}
.eb-modal-back {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.eb-modal-back:active { background: rgba(255, 255, 255, 0.24); }
.eb-modal-title-wrap { min-width: 0; text-align: center; padding: 0 4px; }
.eb-modal-title {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eb-modal-sub {
  font-size: .7rem;
  opacity: 0.82;
  margin-top: 2px;
  font-weight: 500;
}
.eb-modal-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}
.eb-modal-close i {
  display: block;
  line-height: 1;
  pointer-events: none;
}
.eb-modal-back i {
  display: block;
  line-height: 1;
  pointer-events: none;
}
.eb-modal-close:active { background: rgba(255, 255, 255, 0.2); }

/* Body */
.eb-modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 14px max(18px, env(safe-area-inset-bottom));
  background: var(--eb-bg);
}
.eb-modal-body--flush { padding: 0; }
.eb-modal-body--home { padding: 0; background: var(--eb-card); }

/* Search */
.eb-search-wrap { margin-bottom: 12px; }
.eb-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--eb-card);
  border: 1px solid var(--eb-border);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.eb-search i { color: #94a3b8; font-size: .9rem; flex-shrink: 0; }
.eb-search input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  font-size: .88rem;
  color: var(--eb-text);
  background: transparent;
  min-width: 0;
}
.eb-search input::placeholder { color: #94a3b8; }

/* Lists — belediye banner kartları */
.eb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.eb-muni-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--eb-border);
  border-radius: 14px;
  background: var(--eb-card);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform .13s, box-shadow .13s, border-color .13s;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  box-sizing: border-box;
}
.eb-muni-card:active { transform: scale(.995); }
.eb-muni-card--banner:hover {
  transform: translateY(-1px);
  border-color: #c7ddfc;
  box-shadow: 0 8px 22px rgba(21, 35, 71, 0.08);
}
.eb-muni-brand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  flex-shrink: 0;
  width: 96px;
  align-self: flex-start;
}
.eb-muni-thumb {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #eef1f6, #e8ecf3);
  position: relative;
  flex-shrink: 0;
  display: block;
}
.eb-muni-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eb-muni-thumb img.is-logo {
  object-fit: contain;
  padding: 10px;
  background: #fff;
}
.eb-muni-thumb-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.eb-muni-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  border-radius: 11px;
  background: var(--eb-navy);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 4px 14px rgba(21, 35, 71, 0.22);
}
.eb-muni-cta i {
  font-size: .62rem;
  opacity: .95;
}
.eb-muni-panel {
  flex: 1;
  min-width: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  min-height: 132px;
}
.eb-muni-panel--kapak {
  background-color: #e8ecf3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
.eb-muni-panel--kapak::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(104deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 34%, rgba(238, 241, 247, 0.55) 62%, rgba(238, 241, 247, 0.2) 100%);
}
.eb-muni-fg {
  position: relative;
  z-index: 1;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 100%;
  min-width: 0;
}
.eb-muni-name {
  display: block;
  font-size: .88rem;
  font-weight: 900;
  color: var(--eb-navy);
  line-height: 1.25;
  margin: 0 0 4px;
  word-break: break-word;
}
.eb-muni-panel--kapak .eb-muni-name {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 2px 10px rgba(255, 255, 255, 0.85);
}
.eb-muni-mayor-line {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--eb-muted);
  margin: 0 0 6px;
  line-height: 1.35;
}
.eb-muni-mayor-line i {
  color: var(--eb-blue);
  font-size: .68rem;
  flex-shrink: 0;
}
.eb-muni-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
}
.eb-muni-parti {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--eb-border);
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.eb-muni-parti img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.eb-muni-parti-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--eb-blue-soft);
  color: var(--eb-navy);
  font-size: .64rem;
  font-weight: 800;
}
.eb-muni-web-line {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--eb-blue);
  margin-top: auto;
  padding-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.eb-muni-web-line i {
  font-size: .66rem;
  flex-shrink: 0;
}

/* Service cards */
.eb-svc-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  background: var(--eb-card);
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.eb-svc-card:active { transform: scale(.995); }
.eb-svc-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.eb-svc-copy { flex: 1; min-width: 0; padding-top: 2px; }
.eb-svc-title {
  display: block;
  font-size: .88rem;
  font-weight: 800;
  color: var(--eb-navy);
  line-height: 1.25;
}
.eb-svc-desc {
  display: block;
  font-size: .72rem;
  color: var(--eb-muted);
  margin-top: 4px;
  line-height: 1.4;
}
.eb-svc-ext {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--eb-blue-soft);
  color: var(--eb-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Banners */
.eb-info-banner {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--eb-radius-lg);
  background: var(--eb-blue-banner);
  border: 1px solid #c7ddfc;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eb-info-banner__art {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #93c5fd, #3b82f6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.eb-info-banner__text {
  flex: 1;
  font-size: .74rem;
  line-height: 1.45;
  color: #334155;
}
.eb-info-banner__text strong {
  display: block;
  font-size: .8rem;
  color: var(--eb-navy);
  margin-bottom: 3px;
}
.eb-info-banner__shield {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--eb-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.eb-cta-banner {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--eb-radius-lg);
  background: var(--eb-blue-banner);
  border: 1px solid #c7ddfc;
}
.eb-cta-banner__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.eb-cta-banner__ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  color: var(--eb-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eb-cta-banner__text {
  flex: 1;
  font-size: .74rem;
  line-height: 1.45;
  color: #334155;
}
.eb-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background: var(--eb-navy);
  color: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(21, 35, 71, 0.2);
}
.eb-cta-btn:active { opacity: 0.92; }

/* Home */
.eb-modal.eb-modal--home {
  position: relative;
}
.eb-modal.eb-modal--home .eb-modal-head.is-home {
  display: flex;
}
.eb-home-hero {
  position: relative;
  width: 100%;
  height: min(200px, 32vh);
  min-height: 168px;
  overflow: hidden;
  background: linear-gradient(160deg, #4b6cb7 0%, #182848 100%);
}
.eb-home-hero.is-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(255, 255, 255, 0.95) 100%);
}
.eb-home-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.eb-home-hero.has-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 30%, rgba(255, 255, 255, 0.92) 100%);
}
.eb-home-hero.is-placeholder {
  height: min(220px, 34vh);
  min-height: 180px;
  background: #fff;
  border-bottom: 1px solid var(--eb-border);
  padding-top: calc(max(12px, env(safe-area-inset-top)) + 48px);
  box-sizing: border-box;
}
.eb-home-hero.is-placeholder::after {
  display: none;
}
.eb-home-hero-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px 40px;
  box-sizing: border-box;
}
.eb-home-hero-logo-wrap {
  width: min(200px, 70vw);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eb-home-hero-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.eb-home-hero-tagline {
  margin: 0;
  max-width: 280px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--eb-muted);
  text-align: center;
}
.eb-home-profile {
  position: relative;
  margin-top: -52px;
  padding: 0 16px 16px;
  text-align: center;
  z-index: 1;
}
.eb-home-profile--mayor { margin-top: -44px; }
.eb-home-profile--compact {
  margin-top: 0;
  padding-top: 4px;
}
.eb-home-avatar-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 10px;
}
.eb-home-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.eb-home-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eb-home-mayor {
  margin: 0 auto 8px;
  max-width: 280px;
}
.eb-home-mayor-label {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  color: var(--eb-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
.eb-home-mayor-name {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  color: var(--eb-navy);
  line-height: 1.3;
}
.eb-home-mayor-parti {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--eb-blue-soft);
  color: var(--eb-navy);
  font-size: .68rem;
  font-weight: 700;
}
.eb-home-mayor-parti--logo {
  padding: 5px 10px;
  background: #fff;
  border: 1px solid var(--eb-border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.eb-home-mayor-parti--logo img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
}
.eb-home-profile--mayor .eb-home-name {
  font-size: .92rem;
}
.eb-home-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.eb-home-logo img { width: 100%; height: 100%; object-fit: contain; }
.eb-home-logo i { font-size: 2rem; color: var(--eb-navy); }
.eb-home-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--eb-navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.eb-home-verified { color: var(--eb-blue); font-size: .85rem; }
.eb-home-web {
  display: block;
  font-size: .76rem;
  color: var(--eb-blue);
  margin-top: 4px;
}
.eb-home-slogan {
  font-size: .74rem;
  color: var(--eb-muted);
  margin-top: 6px;
  line-height: 1.4;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.eb-home-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 14px 16px;
}
.eb-home-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border: none;
  border-radius: 14px;
  background: transparent;
  font: inherit;
  font-size: .62rem;
  font-weight: 700;
  color: var(--eb-text);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.eb-home-act-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}
.eb-home-act-ico--web { background: #3b82f6; }
.eb-home-act-ico--call { background: #f97316; }
.eb-home-act-ico--map { background: #22c55e; }
.eb-home-act-ico--share { background: #a855f7; }

.eb-home-section {
  padding: 0 14px 14px;
  background: var(--eb-bg);
}
.eb-home-section h3 {
  font-size: .88rem;
  font-weight: 800;
  color: var(--eb-navy);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eb-home-section h3 button {
  border: none;
  background: none;
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  color: var(--eb-blue);
  cursor: pointer;
  padding: 0;
}
.eb-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.eb-quick-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border: 1px solid var(--eb-border);
  border-radius: 14px;
  background: var(--eb-card);
  text-decoration: none !important;
  color: inherit;
  font: inherit;
  font-size: .62rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  -webkit-tap-highlight-color: transparent;
}
.eb-quick-tile:active { transform: scale(.98); }
.eb-quick-tile-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.eb-duyuru-bar {
  margin: 0 14px 14px;
  padding: 12px 14px;
  border-radius: var(--eb-radius);
  background: var(--eb-blue-banner);
  border: 1px solid #c7ddfc;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eb-duyuru-bar i.eb-duyuru-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  color: var(--eb-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eb-duyuru-copy { flex: 1; min-width: 0; }
.eb-duyuru-copy p {
  margin: 0;
  font-size: .7rem;
  color: #475569;
  line-height: 1.35;
}
.eb-duyuru-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--eb-blue);
  text-decoration: none;
}

/* Online ödeme */
.eb-odeme-intro {
  padding: 14px;
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  background: var(--eb-card);
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}
.eb-odeme-intro-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--eb-green-soft);
  color: var(--eb-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.eb-odeme-panel {
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  background: var(--eb-card);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}
.eb-odeme-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: none;
  border-bottom: 1px solid var(--eb-border);
  background: var(--eb-card);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.eb-odeme-row:last-child { border-bottom: none; }
.eb-odeme-row-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--eb-green-soft);
  color: var(--eb-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}
.eb-odeme-row-copy { flex: 1; min-width: 0; }
.eb-odeme-row-title { display: block; font-size: .86rem; font-weight: 800; color: var(--eb-navy); }
.eb-odeme-row-desc { display: block; font-size: .7rem; color: var(--eb-muted); margin-top: 2px; }
.eb-odeme-row-go { color: #94a3b8; font-size: .72rem; }

.eb-secure-banner {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--eb-radius);
  background: var(--eb-green-soft);
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eb-secure-banner strong {
  display: block;
  font-size: .82rem;
  color: var(--eb-green);
  margin-bottom: 4px;
}
.eb-secure-banner p {
  margin: 0;
  font-size: .72rem;
  color: #166534;
  line-height: 1.4;
}
.eb-secure-lock {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--eb-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.eb-odeme-foot {
  position: sticky;
  bottom: 0;
  padding: 12px 0 0;
  background: linear-gradient(180deg, transparent, var(--eb-bg) 24%);
}
.eb-odeme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  background: var(--eb-green);
  color: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.28);
}
.eb-odeme-btn:active { opacity: 0.92; }

/* States */
.eb-loading,
.eb-empty,
.eb-error {
  text-align: center;
  padding: 40px 16px;
  color: var(--eb-muted);
  font-size: .86rem;
}
.eb-error { color: #b91c1c; }
.eb-loading i { font-size: 1.4rem; color: var(--eb-blue); }
.eb-hidden { display: none !important; }

@media (min-width: 900px) {
  .eb-modal-overlay {
    padding: 20px;
    align-items: center;
    justify-content: center;
  }
  .eb-modal:not(.eb-modal--desk-list):not(.eb-modal--desk-detail) {
    max-width: 420px;
    max-height: min(90vh, 820px);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(8, 18, 36, 0.28);
    overflow: hidden;
  }
  .eb-modal:not(.eb-modal--desk-list):not(.eb-modal--desk-detail) .eb-modal-head { border-radius: 24px 24px 22px 22px; }
}

/* Masaüstü — belediye seçim (mockup) */
@media (min-width: 1024px) {
  .eb-modal-overlay:has(.eb-modal--desk-list),
  .eb-modal-overlay:has(.eb-modal--desk-detail) {
    padding: 24px;
    align-items: center;
    justify-content: center;
  }

  .eb-modal.eb-modal--desk-list {
    flex: none;
    width: min(1120px, 96vw);
    max-width: min(1120px, 96vw);
    height: auto;
    max-height: min(92dvh, 860px);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(8, 18, 36, 0.32);
    overflow: hidden;
    background: #fff;
    animation: ebDeskIn .28s ease;
  }
  @keyframes ebDeskIn {
    from { transform: scale(.97); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

  .eb-modal.eb-modal--desk-list .eb-modal-head { display: none; }

  .eb-modal-body.eb-modal-body--desk-list {
    padding: 0;
    overflow: hidden;
    background: #fff;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .eb-desk-pick {
    display: flex;
    flex: 1;
    min-height: 0;
    height: min(92dvh, 860px);
    max-height: min(92dvh, 860px);
  }

  .eb-desk-sidebar {
    flex: 0 0 320px;
    width: 320px;
    background: linear-gradient(180deg, var(--eb-navy) 0%, var(--eb-navy-dark) 100%);
    color: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }

  .eb-desk-sidebar-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 28px 24px 12px;
  }

  .eb-desk-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
  }
  .eb-desk-brand-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1;
  }
  .eb-desk-brand-ico i {
    display: block;
    line-height: 1;
  }
  .eb-desk-brand-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }
  .eb-desk-brand-sub {
    margin: 4px 0 0;
    font-size: .82rem;
    opacity: .82;
    font-weight: 500;
  }
  .eb-desk-intro {
    margin: 0 0 16px;
    font-size: .84rem;
    line-height: 1.55;
    opacity: .88;
  }
  .eb-desk-hero {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    background: rgba(255, 255, 255, 0.06);
  }
  .eb-desk-hero img {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
  }
  .eb-desk-hero--contain img {
    object-fit: contain;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
  }
  .eb-desk-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .eb-desk-features li {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .eb-desk-feat-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
  }
  .eb-desk-feat-ico i {
    display: block;
    font-size: .88rem;
    line-height: 1;
    width: 1em;
    height: 1em;
    text-align: center;
  }
  .eb-desk-feat-copy {
    flex: 1;
    min-width: 0;
  }
  .eb-desk-feat-copy strong {
    display: block;
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.25;
  }
  .eb-desk-feat-copy span {
    display: block;
    font-size: .74rem;
    opacity: .78;
    line-height: 1.45;
  }

  .eb-desk-sidebar-foot {
    flex-shrink: 0;
    margin-top: auto;
    padding: 8px 24px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    position: relative;
    z-index: 1;
  }
  .eb-desk-kp-logo-wrap {
    width: min(210px, 88%);
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .eb-desk-kp-logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: .98;
  }
  .eb-desk-tagline {
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 4px;
  }
  .eb-desk-tagline-text {
    display: block;
    margin: 0;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    transition: opacity .38s ease, transform .38s ease;
  }
  .eb-desk-tagline.is-changing .eb-desk-tagline-text {
    opacity: 0;
    transform: translateY(6px);
  }
  .eb-desk-tagline-text em {
    font-style: normal;
    font-weight: 800;
    background: linear-gradient(90deg, #93c5fd 0%, #c4b5fd 55%, #f9a8d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .eb-desk-skyline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 72' fill='none'%3E%3Cpath d='M0 72V48l24-8 20 12 28-20 32 16 24-28 36 12 28-16 20 24 32-8 16 20 40-12 20 20V72H0z' fill='rgba(255,255,255,0.08)'/%3E%3Cpath d='M0 72V56l16-6 12 8 20-14 18 10 16-18 22 8 14-10 16 14 24-6 12 12 28-8 14 14V72H0z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") bottom center / cover no-repeat;
    pointer-events: none;
    z-index: 0;
  }

  .eb-desk-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
  }
  .eb-desk-main-top {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 22px 12px;
    background: #fff;
    border-bottom: 1px solid var(--eb-border);
  }
  .eb-search--desk {
    flex: 1;
    margin: 0;
    padding: 13px 16px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  }
  .eb-desk-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--eb-border);
    border-radius: 50%;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    transition: background .15s, color .15s;
  }
  .eb-desk-close:hover {
    background: #f1f5f9;
    color: #1e293b;
  }

  .eb-desk-main-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 22px 22px;
  }

  .eb-desk-section { margin-bottom: 22px; }
  .eb-desk-sec-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  .eb-desk-sec-hd h3 {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
    color: var(--eb-text);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .eb-desk-sec-hd h3 i {
    color: #f59e0b;
    font-size: .88rem;
  }
  .eb-desk-sec-hd h3 .fa-list { color: var(--eb-blue); }

  .eb-desk-feat-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .eb-desk-feat-scroll::-webkit-scrollbar { height: 6px; }
  .eb-desk-feat-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 99px;
  }

  .eb-muni-card--feat {
    flex-direction: column;
    align-items: stretch;
    min-width: 248px;
    max-width: 248px;
    flex-shrink: 0;
    padding: 0;
    border-radius: 18px;
    scroll-snap-align: start;
    overflow: hidden;
  }
  .eb-muni-card--feat:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
  }
  .eb-feat-visual {
    position: relative;
    min-height: 88px;
    background: linear-gradient(135deg, #e8f2ff, #dbeafe);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
  }
  .eb-feat-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,.75) 100%);
    pointer-events: none;
  }
  .eb-feat-avatar {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
    margin-bottom: -34px;
    background: #fff;
  }
  .eb-feat-avatar img,
  .eb-feat-avatar .eb-muni-thumb-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .eb-feat-avatar img.is-logo { object-fit: contain; padding: 8px; }
  .eb-feat-body {
    padding: 42px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    flex: 1;
  }
  .eb-feat-name {
    font-size: .88rem;
    font-weight: 800;
    color: var(--eb-text);
    line-height: 1.25;
  }
  .eb-feat-mayor {
    font-size: .72rem;
    color: var(--eb-muted);
    font-weight: 600;
  }
  .eb-feat-mayor i { margin-right: 3px; opacity: .7; }
  .eb-feat-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
  }
  .eb-feat-meta img {
    height: 18px;
    width: auto;
    object-fit: contain;
  }
  .eb-feat-meta span {
    font-size: .68rem;
    font-weight: 700;
    color: var(--eb-muted);
  }
  .eb-feat-web {
    font-size: .68rem;
    color: #94a3b8;
    margin-top: 2px;
  }
  .eb-feat-web i { margin-right: 3px; }
  .eb-feat-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    background: var(--eb-navy);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .eb-desk-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .eb-desk-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--eb-border);
    border-radius: 14px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    transition: border-color .15s, box-shadow .15s, transform .15s;
  }
  .eb-desk-row:hover {
    border-color: #bfdbfe;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
  }
  .eb-desk-row > .fa-chevron-right {
    margin-left: auto;
    color: #cbd5e1;
    font-size: .78rem;
    flex-shrink: 0;
  }
  .eb-desk-row-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .eb-desk-row-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .eb-desk-row-logo img.is-logo { object-fit: contain; padding: 6px; background: #fff; }
  .eb-desk-row-logo .eb-muni-thumb-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  .eb-desk-row-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .eb-desk-row-copy strong {
    font-size: .84rem;
    font-weight: 700;
    color: var(--eb-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .eb-desk-row-copy span {
    font-size: .72rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .eb-desk-request {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    margin-top: 4px;
  }
  .eb-desk-request-copy strong {
    display: block;
    font-size: .88rem;
    color: var(--eb-text);
    margin-bottom: 4px;
  }
  .eb-desk-request-copy p {
    margin: 0;
    font-size: .78rem;
    color: var(--eb-muted);
    line-height: 1.45;
    max-width: 36em;
  }
  .eb-desk-request-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
    color: var(--eb-blue);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #bfdbfe;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    transition: box-shadow .15s, transform .15s;
  }
  .eb-desk-request-btn:hover {
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
  }

  /* Belediye detay — masaüstü */
  .eb-modal.eb-modal--desk-detail {
    flex: none;
    width: min(1140px, 96vw);
    max-width: min(1140px, 96vw);
    height: auto;
    max-height: min(92dvh, 820px);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(8, 18, 36, 0.32);
    overflow: hidden;
    background: #fff;
    animation: ebDeskIn .28s ease;
  }

  .eb-modal.eb-modal--desk-detail .eb-modal-head { display: none; }

  .eb-modal-body.eb-modal-body--desk-detail {
    padding: 0;
    overflow: hidden;
    background: #fff;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .eb-desk-home {
    display: flex;
    flex: 1;
    min-height: 0;
    height: min(92dvh, 820px);
    max-height: min(92dvh, 820px);
  }

  .eb-desk-home-sidebar {
    flex: 0 0 340px;
    width: 340px;
    background: #fff;
    border-right: 1px solid var(--eb-border);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .eb-desk-home-cover {
    position: relative;
    flex-shrink: 0;
    min-height: 148px;
    background: linear-gradient(160deg, #4b6cb7 0%, #182848 100%);
    overflow: hidden;
  }
  .eb-desk-home-cover.has-photo img {
    display: block;
    width: 100%;
    height: 148px;
    object-fit: cover;
    object-position: center;
  }
  .eb-desk-home-cover.is-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 20px 36px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    min-height: 168px;
  }
  .eb-desk-home-cover-logo {
    max-width: min(200px, 88%);
    max-height: 72px;
    object-fit: contain;
  }
  .eb-desk-home-cover-slogan {
    margin: 0;
    font-size: .78rem;
    font-weight: 600;
    color: var(--eb-muted);
    text-align: center;
    line-height: 1.4;
    max-width: 240px;
  }
  .eb-desk-home-cover.is-gradient {
    min-height: 148px;
  }

  .eb-desk-home-side-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 22px 20px;
    margin-top: -46px;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .eb-desk-home-avatar {
    width: 92px;
    height: 92px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .eb-desk-home-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .eb-desk-home-avatar.is-logo img { object-fit: contain; padding: 10px; }
  .eb-desk-home-avatar.is-fallback { font-size: 1.6rem; }

  .eb-desk-home-mayor { margin-bottom: 10px; }
  .eb-desk-home-mayor-label {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    color: var(--eb-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
  }
  .eb-desk-home-mayor-name {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--eb-navy);
    line-height: 1.25;
  }
  .eb-desk-home-parti {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--eb-blue-soft);
    color: var(--eb-navy);
    font-size: .68rem;
    font-weight: 700;
  }
  .eb-desk-home-parti--logo {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--eb-border);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  }
  .eb-desk-home-parti--logo img {
    display: block;
    height: 24px;
    width: auto;
    max-width: 88px;
    object-fit: contain;
  }

  .eb-desk-home-name {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--eb-navy);
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
  }
  .eb-desk-home-verified { color: var(--eb-blue); font-size: .88rem; }
  .eb-desk-home-web {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--eb-blue);
    text-decoration: none;
    margin-bottom: 4px;
  }
  .eb-desk-home-web:hover { text-decoration: underline; }
  .eb-desk-home-slogan {
    margin: 6px auto 14px;
    font-size: .76rem;
    color: var(--eb-muted);
    line-height: 1.45;
    max-width: 260px;
  }

  .eb-desk-home-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
  }
  .eb-desk-home-act {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 12px 8px;
    border: 1px solid var(--eb-border);
    border-radius: 14px;
    background: #f8fafc;
    font: inherit;
    font-size: .68rem;
    font-weight: 700;
    color: var(--eb-text);
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .15s;
  }
  .eb-desk-home-act:hover {
    border-color: #bfdbfe;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
  }
  .eb-desk-home-act .eb-home-act-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .eb-desk-home-act span:last-child {
    line-height: 1.25;
    text-align: center;
  }

  .eb-desk-home-kp {
    padding-top: 4px;
    border-top: 1px solid var(--eb-border);
    display: flex;
    justify-content: center;
  }
  .eb-desk-home-kp img {
    display: block;
    width: min(170px, 90%);
    height: auto;
    max-height: 38px;
    object-fit: contain;
    opacity: .92;
  }

  .eb-desk-home-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
  }
  .eb-desk-home-main-top {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 22px;
    background: #fff;
    border-bottom: 1px solid var(--eb-border);
  }
  .eb-desk-home-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--eb-border);
    border-radius: 12px;
    background: #fff;
    color: var(--eb-text);
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, border-color .15s;
  }
  .eb-desk-home-back:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
  }
  .eb-desk-home-back i { font-size: .78rem; opacity: .75; }

  .eb-desk-home-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 22px 22px;
  }

  .eb-desk-home-section { margin-bottom: 16px; }
  .eb-desk-sec-link {
    border: none;
    background: none;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    color: var(--eb-blue);
    cursor: pointer;
    padding: 0;
  }
  .eb-desk-sec-link:hover { text-decoration: underline; }

  .eb-desk-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .eb-desk-quick-grid .eb-quick-tile {
    padding: 16px 10px;
    font-size: .72rem;
    border-radius: 16px;
    transition: transform .15s, box-shadow .15s, border-color .15s;
  }
  .eb-desk-quick-grid .eb-quick-tile:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
  }
  .eb-desk-quick-grid .eb-quick-tile-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .eb-duyuru-bar--desk {
    margin: 0 0 14px;
    padding: 16px 18px;
    border-radius: 16px;
  }
  .eb-duyuru-bar--desk + .eb-cta-banner {
    margin: 0;
  }
  .eb-desk-home-scroll .eb-cta-banner {
    margin: 0;
  }
}

@media (min-width: 1280px) {
  .eb-desk-sidebar { flex: 0 0 340px; width: 340px; }
  .eb-desk-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eb-desk-home-sidebar { flex: 0 0 360px; width: 360px; }
  .eb-desk-quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
