@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bp-bg: hsl(150, 20%, 97%);
  --bp-fg: hsl(160, 10%, 15%);
  --bp-card: hsl(0, 0%, 100%);
  --bp-card-fg: hsl(160, 10%, 15%);
  --bp-primary: hsl(145, 72%, 40%);
  --bp-primary-fg: hsl(0, 0%, 100%);
  --bp-secondary: hsl(150, 15%, 93%);
  --bp-secondary-fg: hsl(160, 10%, 15%);
  --bp-muted: hsl(150, 10%, 94%);
  --bp-muted-fg: hsl(160, 5%, 50%);
  --bp-border: hsl(150, 15%, 88%);
  --bp-success: hsl(145, 72%, 40%);
  --bp-success-light: hsl(145, 60%, 92%);
  --bp-warning: hsl(38, 92%, 50%);
  --bp-warning-light: hsl(38, 80%, 92%);
  --bp-info: hsl(210, 80%, 55%);
  --bp-info-light: hsl(210, 60%, 92%);
  --bp-destructive: hsl(0, 84%, 60%);
  --bp-radius: 1rem;
  --bp-shadow-card: 0 2px 12px -2px hsla(145, 30%, 30%, 0.08);
  --bp-shadow-elevated: 0 8px 30px -6px hsla(145, 30%, 30%, 0.12);
  --bp-gradient-primary: linear-gradient(135deg, hsl(145, 72%, 40%), hsl(160, 65%, 35%));
  --bp-gradient-hero: linear-gradient(135deg, hsl(145, 72%, 40%), hsl(155, 80%, 30%));
}

[data-theme="dark"] {
  --bp-bg: hsl(160, 15%, 8%);
  --bp-fg: hsl(150, 10%, 92%);
  --bp-card: hsl(160, 12%, 12%);
  --bp-card-fg: hsl(150, 10%, 92%);
  --bp-primary: hsl(145, 72%, 45%);
  --bp-primary-fg: hsl(160, 15%, 5%);
  --bp-secondary: hsl(160, 10%, 16%);
  --bp-secondary-fg: hsl(150, 10%, 92%);
  --bp-muted: hsl(160, 10%, 18%);
  --bp-muted-fg: hsl(150, 8%, 55%);
  --bp-border: hsl(160, 10%, 18%);
  --bp-success-light: hsl(145, 40%, 15%);
  --bp-warning-light: hsl(38, 40%, 15%);
  --bp-info-light: hsl(210, 40%, 15%);
  --bp-shadow-card: 0 2px 12px -2px hsla(0, 0%, 0%, 0.3);
  --bp-shadow-elevated: 0 8px 30px -6px hsla(0, 0%, 0%, 0.4);
  --bp-gradient-primary: linear-gradient(135deg, hsl(145, 72%, 45%), hsl(160, 65%, 40%));
  --bp-gradient-hero: linear-gradient(135deg, hsl(145, 72%, 45%), hsl(155, 80%, 35%));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bp-bg);
  color: var(--bp-fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Sabit kutu içindeki görseller (avatar): global height:auto düzeni bozmasın */
.bp-telegram-avatar img,
.bp-tg-single-avatar img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

/* ===== LAYOUT ===== */
.bp-container {
  width: 100%;
  max-width: min(30rem, calc(100vw - 2rem));
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  padding-left: max(0px, env(safe-area-inset-left));
  padding-right: max(0px, env(safe-area-inset-right));
}

.bp-main {
  padding: 1rem;
  padding-bottom: 6rem;
}

.bp-main > * + * { margin-top: 1rem; }

/* ===== GLASS CARD ===== */
.bp-glass {
  background: color-mix(in srgb, var(--bp-card) 80%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid color-mix(in srgb, var(--bp-border) 50%, transparent);
  box-shadow: var(--bp-shadow-card);
  border-radius: var(--bp-radius);
}

.bp-glass-elevated {
  background: color-mix(in srgb, var(--bp-card) 90%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid color-mix(in srgb, var(--bp-border) 50%, transparent);
  box-shadow: var(--bp-shadow-elevated);
}

/* ===== HEADER ===== */
.bp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 1rem;
  border-radius: 0;
}

.bp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bp-header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-header-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--bp-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  text-decoration: none;
  color: inherit;
}

.bp-header-brand-link {
  text-decoration: none;
  color: inherit;
}

.bp-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bp-fg);
  line-height: 1.2;
}

.bp-header-subtitle {
  font-size: 0.625rem;
  color: var(--bp-muted-fg);
}

.bp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--bp-secondary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bp-muted-fg);
  cursor: pointer;
  transition: all 0.2s;
}

.bp-icon-btn:hover {
  background: var(--bp-muted);
  color: var(--bp-fg);
}

.bp-icon-btn svg { width: 18px; height: 18px; }

/* ===== BOTTOM NAV ===== */
.bp-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-top: 1px solid color-mix(in srgb, var(--bp-border) 50%, transparent);
}

.bp-bottom-nav-inner {
  max-width: min(30rem, calc(100vw - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom, 0px));
}

.bp-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.25rem 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.bp-nav-item svg { width: 20px; height: 20px; }
.bp-nav-item span { font-size: 0.625rem; font-weight: 500; }
.bp-nav-item--active svg { color: var(--bp-primary); }
.bp-nav-item--active span { color: var(--bp-primary); }
.bp-nav-item:not(.bp-nav-item--active) svg { color: var(--bp-muted-fg); }
.bp-nav-item:not(.bp-nav-item--active) span { color: var(--bp-muted-fg); }

.bp-nav-indicator {
  position: absolute;
  top: -0.5rem;
  width: 2rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: var(--bp-gradient-primary);
}

/* ===== LIVE BANNER ===== */
.bp-banner {
  background: var(--bp-gradient-hero);
  border-radius: var(--bp-radius);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

a.bp-banner--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a.bp-banner--link:focus-visible {
  outline: 2px solid hsla(0, 0%, 100%, 0.9);
  outline-offset: 2px;
}

.bp-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, 0.05);
}

.bp-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -25%;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, 0.05);
}

.bp-banner-content { position: relative; z-index: 1; }

.bp-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: hsla(0, 0%, 100%, 0.2);
  border-radius: 9999px;
  padding: 0.25rem 0.625rem;
  margin-bottom: 0.5rem;
}

.bp-live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: white;
  animation: bpPulse 2s ease-in-out infinite;
}

@keyframes bpPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.bp-live-badge span {
  font-size: 0.6875rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}

.bp-banner h2 {
  font-size: 1.125rem;
  color: white;
  line-height: 1.2;
}

.bp-banner p {
  font-size: 0.75rem;
  color: hsla(0, 0%, 100%, 0.8);
  margin-top: 0.25rem;
}

/* ===== STATS ===== */
.bp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.bp-stat {
  padding: 0.75rem;
  text-align: center;
  border-radius: var(--bp-radius);
}

.bp-stat-icon {
  width: 18px;
  height: 18px;
  margin: 0 auto 0.25rem;
}

.bp-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--bp-fg);
}

.bp-stat-label {
  font-size: 0.5625rem;
  color: var(--bp-muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bp-stat--success .bp-stat-icon { color: var(--bp-success); }
.bp-stat--info .bp-stat-icon { color: var(--bp-info); }
.bp-stat--warning .bp-stat-icon { color: var(--bp-warning); }
.bp-stat--primary .bp-stat-icon { color: var(--bp-primary); }

/* ===== SECTION HEADER ===== */
.bp-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bp-section-title {
  font-size: 1rem;
  color: var(--bp-fg);
}

.bp-section-count {
  font-size: 0.75rem;
  color: var(--bp-muted-fg);
}

/* Tahmin arşivi — gün sekmeleri */
.bp-prediction-archive-head {
  margin-bottom: 0.25rem;
}

.bp-prediction-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: var(--bp-radius);
  margin-bottom: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bp-prediction-tabs::-webkit-scrollbar { display: none; }

.bp-prediction-tab {
  flex: 1 1 0;
  min-width: 4.5rem;
  text-align: center;
  padding: 0.5rem 0.625rem;
  border-radius: calc(var(--bp-radius) - 2px);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bp-muted-fg);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.bp-prediction-tab:hover {
  color: var(--bp-fg);
  background: color-mix(in srgb, var(--bp-primary) 8%, transparent);
}

.bp-prediction-tab--active {
  color: var(--bp-primary-fg, #fff);
  background: var(--bp-gradient-primary);
  box-shadow: 0 1px 4px color-mix(in srgb, var(--bp-primary) 35%, transparent);
}

.bp-prediction-tab--active:hover {
  color: var(--bp-primary-fg, #fff);
  filter: brightness(1.03);
}

.bp-archive-empty {
  margin: 0;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--bp-muted-fg);
  border-radius: var(--bp-radius);
  background: color-mix(in srgb, var(--bp-card) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--bp-border) 45%, transparent);
}

.bp-main .navigation.pagination,
.bp-main nav.navigation {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.bp-main .navigation.pagination a,
.bp-main .navigation.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--bp-fg);
  background: color-mix(in srgb, var(--bp-card) 75%, transparent);
  border: 1px solid color-mix(in srgb, var(--bp-border) 50%, transparent);
}

.bp-main .navigation.pagination a:hover {
  border-color: color-mix(in srgb, var(--bp-primary) 40%, var(--bp-border));
  color: var(--bp-primary);
}

.bp-main .navigation.pagination .current {
  background: var(--bp-gradient-primary);
  color: var(--bp-primary-fg, #fff);
  border-color: transparent;
}

/* ===== TELEGRAM CARD ===== */
.bp-telegram-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--bp-radius);
}

.bp-telegram-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.bp-telegram-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}

.bp-telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.6rem;
  border-radius: calc(var(--bp-radius) * 0.75);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: filter 0.15s, transform 0.1s, background 0.15s;
  box-sizing: border-box;
}

a.bp-telegram-btn:active {
  transform: scale(0.98);
}

.bp-telegram-btn--secondary {
  background: var(--bp-secondary);
  color: var(--bp-fg);
  border: 1px solid color-mix(in srgb, var(--bp-border) 55%, transparent);
}

.bp-telegram-btn--secondary:hover {
  background: var(--bp-muted);
  color: var(--bp-fg);
}

.bp-telegram-btn--primary {
  background: var(--bp-gradient-primary);
  color: var(--bp-primary-fg);
  box-shadow: var(--bp-shadow-card);
}

.bp-telegram-btn--primary:hover {
  filter: brightness(1.05);
  color: var(--bp-primary-fg);
}

.bp-telegram-btn--muted {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--bp-muted);
  color: var(--bp-muted-fg);
  border: 1px solid color-mix(in srgb, var(--bp-border) 40%, transparent);
}

.bp-telegram-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--bp-radius);
  background: color-mix(in srgb, var(--bp-primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.bp-telegram-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--bp-primary) 12%, transparent);
  box-shadow: 0 2px 8px -2px hsla(145, 40%, 20%, 0.15);
}

.bp-telegram-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-telegram-avatar__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: color-mix(in srgb, var(--bp-primary) 10%, transparent);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Android Emoji", "EmojiSymbols", sans-serif;
  line-height: 1;
}

.bp-telegram-info { flex: 1; min-width: 0; }

.bp-telegram-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-telegram-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--bp-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-telegram-desc {
  font-size: 0.6875rem;
  color: var(--bp-muted-fg);
  margin-top: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-telegram-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.375rem;
  flex-wrap: wrap;
}

.bp-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 600;
}

.bp-tag--success { background: var(--bp-success-light); color: var(--bp-success); }

.bp-tag svg { width: 10px; height: 10px; }

.bp-telegram-members {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  color: var(--bp-muted-fg);
}

.bp-telegram-members svg { width: 10px; height: 10px; }

/* ===== PREDICTION CARD ===== */
.bp-prediction {
  padding: 1rem;
  border-radius: var(--bp-radius);
}

.bp-prediction-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.bp-prediction-league {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--bp-muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bp-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 500;
}

.bp-status svg { width: 12px; height: 12px; }
.bp-status--pending { background: var(--bp-warning-light); color: var(--bp-warning); }
.bp-status--won { background: var(--bp-success-light); color: var(--bp-success); }
.bp-status--lost { background: color-mix(in srgb, var(--bp-destructive) 10%, transparent); color: var(--bp-destructive); }

.bp-prediction-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bp-prediction-teams {
  flex: 1;
}

.bp-team-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--bp-fg);
}

.bp-prediction-right { text-align: right; }

.bp-prediction-pick {
  display: inline-block;
  background: var(--bp-gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.bp-prediction-time {
  font-size: 0.6875rem;
  color: var(--bp-muted-fg);
  margin-top: 0.25rem;
}

.bp-prediction-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--bp-border) 50%, transparent);
}

.bp-prediction-footer-start {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}

/* Oran + tahminci tek satır; tema ile aynı çizgi ikonları (emoji yok) */
.bp-prediction-odds-inline {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
}

.bp-odds-tipster-sep {
  width: 1px;
  height: 0.75rem;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--bp-border) 70%, transparent);
}

.bp-tipster {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--bp-muted-fg);
  white-space: nowrap;
}

.bp-tipster-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  color: var(--bp-muted-fg);
  opacity: 0.88;
}

.bp-tipster-label {
  letter-spacing: 0.01em;
}

.bp-tipster-suffix {
  font-weight: 500;
  opacity: 0.92;
}

.bp-odds {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bp-fg);
}

.bp-odds svg { width: 13px; height: 13px; color: var(--bp-primary); }

.bp-confidence {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.bp-confidence-bar {
  width: 4rem;
  height: 0.375rem;
  background: var(--bp-secondary);
  border-radius: 9999px;
  overflow: hidden;
}

.bp-confidence-fill {
  height: 100%;
  background: var(--bp-gradient-primary);
  border-radius: 9999px;
  transition: width 0.6s ease;
}

.bp-confidence-text {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--bp-primary);
}

/* ===== PROFILE ===== */
.bp-profile-card {
  padding: 1.25rem;
  text-align: center;
  border-radius: var(--bp-radius);
}

.bp-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--bp-gradient-primary);
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
}

.bp-profile-name {
  font-size: 1.125rem;
  color: var(--bp-fg);
}

.bp-profile-meta {
  font-size: 0.75rem;
  color: var(--bp-muted-fg);
  margin-top: 0.25rem;
}

.bp-profile-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.bp-profile-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--bp-fg);
}

.bp-profile-stat-value--success { color: var(--bp-success); }

.bp-profile-stat-label {
  font-size: 0.625rem;
  color: var(--bp-muted-fg);
}

.bp-profile-divider {
  width: 1px;
  height: 2rem;
  background: var(--bp-border);
}

.bp-menu-list { margin-top: 1rem; }
.bp-menu-list > * + * { margin-top: 0.375rem; }

.bp-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: 0.75rem;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}

.bp-menu-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--bp-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bp-menu-icon svg { width: 18px; height: 18px; color: var(--bp-primary); }

.bp-menu-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--bp-fg);
}

.bp-menu-desc {
  font-size: 0.6875rem;
  color: var(--bp-muted-fg);
}

.bp-menu-arrow {
  margin-left: auto;
  color: var(--bp-muted-fg);
  flex-shrink: 0;
}

.bp-menu-arrow svg { width: 16px; height: 16px; }

/* ===== UTILITIES ===== */
.bp-space-y > * + * { margin-top: 0.75rem; }

/* ===== ANIMATION ===== */
@keyframes bpSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bp-animate { animation: bpSlideUp 0.4s ease-out both; }
.bp-animate-1 { animation-delay: 0.08s; }
.bp-animate-2 { animation-delay: 0.16s; }
.bp-animate-3 { animation-delay: 0.24s; }
.bp-animate-4 { animation-delay: 0.32s; }
.bp-animate-5 { animation-delay: 0.40s; }
.bp-animate-6 { animation-delay: 0.48s; }

/* ===== TELEGRAM SINGLE ===== */
.bp-tg-single-page .bp-tg-single-nav { margin-bottom: 0.5rem; }

.bp-tg-single-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--bp-muted-fg);
  transition: color 0.15s;
}

.bp-tg-single-back:hover { color: var(--bp-primary); }

/* Tekil CPT: WP çekirdek / blok stilleri header/flex ile üst kartı bozmasın */
article.bp-tg-single {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  max-width: none;
}

article.bp-tg-single .bp-tg-single-hero {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  max-width: none;
}

.bp-tg-single-hero--pro {
  position: relative;
  border-radius: var(--bp-radius);
  overflow: hidden;
  isolation: isolate;
}

.bp-tg-single-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: blur(28px) saturate(1.15);
  opacity: 0.65;
  z-index: 0;
}

[data-theme="dark"] .bp-tg-single-hero-bg {
  opacity: 0.45;
}

.bp-tg-single-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--bp-bg) 55%, transparent) 0%,
    var(--bp-bg) 100%
  );
  pointer-events: none;
}

.bp-tg-single-hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.35rem 1.4rem;
  margin: 0;
  border-radius: var(--bp-radius);
  border: 1px solid color-mix(in srgb, var(--bp-border) 40%, transparent);
  box-sizing: border-box;
}

.bp-tg-single-identity {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.bp-tg-single-avatar {
  width: 4.5rem;
  height: 4.5rem;
  min-width: 4.5rem;
  min-height: 4.5rem;
  flex: 0 0 4.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px -2px hsla(145, 40%, 20%, 0.15);
  background: color-mix(in srgb, var(--bp-primary) 12%, transparent);
  box-sizing: border-box;
}

.bp-tg-single-avatar--emoji {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-tg-single-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-tg-single-avatar__emoji {
  font-size: 2.35rem;
  line-height: 1;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Android Emoji", "EmojiSymbols", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bp-tg-single-identity-main {
  min-width: 0;
  flex: 1 1 auto;
  box-sizing: border-box;
}

.bp-tg-single-name-row.bp-telegram-name-row {
  align-items: flex-start;
  flex-wrap: wrap;
}

.bp-tg-single-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bp-fg);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

/* ul/li yerine div: WP çekirdek liste stilleri (madde işareti, padding) devre dışı */
.bp-tg-single-stats {
  margin: 0.65rem 0 0;
  padding: 0.45rem 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  background: color-mix(in srgb, var(--bp-muted) 72%, transparent);
  border-radius: calc(var(--bp-radius) * 0.65);
  border: 1px solid color-mix(in srgb, var(--bp-border) 35%, transparent);
  box-sizing: border-box;
}

.bp-tg-single-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.bp-tg-single-stat-label {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bp-muted-fg);
  white-space: nowrap;
}

.bp-tg-single-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bp-fg);
}

.bp-tg-single-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bp-tg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8125rem 1rem;
  border-radius: calc(var(--bp-radius) * 0.85);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bp-primary-fg);
  background: var(--bp-gradient-primary);
  box-shadow: var(--bp-shadow-elevated);
  transition: transform 0.15s, filter 0.15s;
}

.bp-tg-cta:hover { filter: brightness(1.06); color: var(--bp-primary-fg); }
.bp-tg-cta:active { transform: scale(0.98); }

.bp-tg-cta-hint {
  margin: 0;
  padding: 0 0.25rem;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--bp-muted-fg);
  text-align: center;
}

.bp-tg-cta--inactive {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--bp-radius) * 0.85);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  color: var(--bp-muted-fg);
  background: var(--bp-muted);
}

.bp-tg-single-body {
  margin-top: 1rem;
  padding: 1.125rem 1.125rem 1.25rem;
}

.bp-tg-single-body-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bp-muted-fg);
  margin: 0 0 0.75rem;
}

.bp-entry {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--bp-card-fg);
}

.bp-entry > * + * { margin-top: 0.75rem; }

.bp-entry h2, .bp-entry h3 {
  font-size: 1rem;
  margin-top: 1rem;
}

.bp-entry h2:first-child, .bp-entry h3:first-child { margin-top: 0; }

.bp-tg-single-body.bp-entry .bp-tg-single-body-title + * { margin-top: 0; }

.bp-entry a { color: var(--bp-primary); text-decoration: underline; text-underline-offset: 2px; }

.bp-entry ul, .bp-entry ol { padding-left: 1.25rem; }

.bp-entry img { border-radius: calc(var(--bp-radius) * 0.75); }

/* ===== WORDPRESS SPECIFIC ===== */
.bp-main .alignwide,
.bp-main .alignfull,
.bp-entry .alignwide,
.bp-entry .alignfull {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.bp-entry .wp-block-image,
.bp-entry figure {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.bp-entry .wp-block-image img {
  height: auto;
}

.wp-block-embed,
.bp-entry iframe {
  max-width: 100%;
}

.wp-admin-bar-fix { margin-top: 32px !important; }
@media screen and (max-width: 782px) {
  .wp-admin-bar-fix { margin-top: 46px !important; }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
