/* ==========================================================================
   GuestCam Style System - Düğün Fotoğraf & Video Deneyimi
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Prata&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-serif-title: 'Cormorant Garamond', Georgia, serif;
  --font-serif-sub: 'Playfair Display', Georgia, serif;

  /* TEMA Doğa & Davetiye Renk Paleti */
  --tema-green: #2B7A38;
  --tema-forest: #1F4D27;
  --tema-dark: #172118;
  --sage-light: #E7EFE6;
  --sage-border: rgba(43, 122, 56, 0.2);
  --border-card: rgba(31, 77, 39, 0.12);
  --bg-nature: #EFECE6;

  /* Temel ve türetilmiş renk token'ları */
  --gold: #2B7A38;
  --gold-dark: #1F4D27;
  --gold-light: #E7EFE6;
  --cream: #FAFBF9;
  --ink: #1E281F;
  --ink-soft: #4F6350;
  --muted: #6B7D6C;
  --card: #ffffff;
  --border: rgba(43, 122, 56, 0.18);
  --border-light: rgba(31, 77, 39, 0.08);
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(28, 45, 30, 0.04);
  --shadow-md: 0 10px 30px rgba(28, 45, 30, 0.08);
  --shadow-lg: 0 20px 45px -10px rgba(28, 45, 30, 0.14);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* ── Tipografi Ayarları (Dinamik Yazı Boyutu & Kalınlığı) ── */
:root {
  --hero-title-size: 2.85rem;
  --hero-sub-size: 1.15rem;
  --card-title-size: 1.45rem;
  --body-font-size: 1.05rem;

  --hero-title-weight: 800;
  --hero-sub-weight: 600;
  --card-title-weight: 800;
  --body-weight: 500;
  --btn-weight: 800;
}

body[data-font-size="normal"] {
  --hero-title-size: 2.3rem;
  --hero-sub-size: 0.96rem;
  --card-title-size: 1.22rem;
  --body-font-size: 1rem;
}

body[data-font-size="large"] {
  --hero-title-size: 2.85rem;
  --hero-sub-size: 1.15rem;
  --card-title-size: 1.48rem;
  --body-font-size: 1.06rem;
}

body[data-font-size="xlarge"] {
  --hero-title-size: 3.35rem;
  --hero-sub-size: 1.28rem;
  --card-title-size: 1.7rem;
  --body-font-size: 1.14rem;
}

body[data-font-weight="normal"] {
  --hero-title-weight: 600;
  --hero-sub-weight: 500;
  --card-title-weight: 600;
  --body-weight: 400;
  --btn-weight: 600;
}

body[data-font-weight="medium"] {
  --hero-title-weight: 700;
  --hero-sub-weight: 600;
  --card-title-weight: 700;
  --body-weight: 500;
  --btn-weight: 700;
}

body[data-font-weight="bold"] {
  --hero-title-weight: 800;
  --hero-sub-weight: 700;
  --card-title-weight: 800;
  --body-weight: 600;
  --btn-weight: 800;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-nature, #EFECE6);
  background-image: radial-gradient(circle at 50% 0%, rgba(240, 245, 238, 0.85) 0%, rgba(235, 230, 222, 0.85) 100%);
  color: var(--ink);
  min-height: 100vh;
  transition: background 0.4s ease;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: var(--body-font-size, 1.05rem);
  font-weight: var(--body-weight, 500);
}

.wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 18px 70px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.wrap.content-loaded {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero & Header ── */
.hero {
  text-align: center;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
}

.hero-plate {
  background: rgba(255, 255, 255, var(--hero-plate-opacity, 0.88));
  border: 1px solid rgba(43, 122, 56, 0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(28, 45, 30, 0.08);
  margin-bottom: 8px;
  width: 100%;
}

.invitation-pill-wrap {
  display: flex;
  justify-content: center;
  margin: 6px auto 14px;
}

.btn-invitation-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(43, 122, 56, 0.28);
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1F4D27;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(28, 45, 30, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-invitation-pill:hover {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: #2B7A38;
  color: #172118;
  box-shadow: 0 6px 20px rgba(31, 77, 39, 0.12);
}

.hero-logo {
  max-height: 95px;
  max-width: 220px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.hero-cover-img {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  display: block;
  margin: 0 auto 4px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--hero-title-size, 2.85rem);
  font-weight: var(--hero-title-weight, 700);
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.hero-subtitle {
  color: var(--ink-soft);
  margin: 0;
  font-size: var(--hero-sub-size, 1.15rem);
  font-weight: var(--hero-sub-weight, 600);
  max-width: 440px;
  line-height: 1.5;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem !important;
  color: #1F4D27 !important;
  font-weight: 700;
  margin-bottom: 8px;
  background: #E7EFE6;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(43, 122, 56, 0.2);
}



/* ── Selected Files Chip & List (Oynatıcı yok, hafif thumbnail listesi) ── */
.selected-files-wrap {
  margin-top: 6px;
  background: #f7faf6;
  border: 1.5px solid rgba(43, 122, 56, 0.22);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  animation: fadeIn 0.25s ease;
}

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

.selected-files-badge {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1F4D27;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-clear-selection {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: #c62828;
  background: #ffebee;
  border: 1px solid #ffcdd2;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-clear-selection:hover {
  background: #ffcdd2;
}

.selected-thumbs-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 10px;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.selected-thumb-chip {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(43, 122, 56, 0.25);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(28, 45, 30, 0.08);
}

.selected-thumb-video {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #172118;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ── Inputs ── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #334234;
  letter-spacing: 0.2px;
}

input[type="text"],
input[type="password"],
textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1.5px solid rgba(43, 122, 56, 0.18);
  border-radius: var(--radius-sm);
  background: #fcfdfc;
  color: var(--ink);
  transition: all 0.2s ease;
  outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: #2B7A38;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(43, 122, 56, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #8c9c8e;
  font-weight: 400;
}

/* ── Submit Button ── */
.btn-submit {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #1F4D27, #2B7A38);
  border: none;
  padding: 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(31, 77, 39, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 77, 39, 0.42);
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Status Message & Feedback ── */
.status {
  text-align: center;
  min-height: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  transition: all 0.2s ease;
}

.status.ok {
  color: #2e7d32;
  background: #e8f5e9;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #c8e6c9;
}

.status.err {
  color: #c62828;
  background: #ffebee;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #ffcdd2;
}

/* ── Celebratory Success Banner ── */
.success-card {
  text-align: center;
  padding: 24px 16px;
  background: #f4faf5;
  border: 1.5px solid #c8e6c9;
  border-radius: var(--radius);
  margin-top: 10px;
  animation: fadeIn 0.3s ease;
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.success-title {
  font-weight: 800;
  color: #2e7d32;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.success-desc {
  font-size: 0.9rem;
  color: #4a5d4e;
  margin: 0;
}

/* ── Closed State & Event List (GuestCam Style) ── */
.closed-banner {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-light);
  margin-top: 16px;
}

.closed-icon {
  font-size: 2.8rem;
  margin-bottom: 8px;
  display: inline-block;
}

.closed-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.closed-desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Events Grid / List ── */
.events-section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 700;
  color: #1F4D27;
  margin: 32px 0 14px;
  text-align: center;
  letter-spacing: 0.2px;
}

.events-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 14px;
}

/* ==========================================================================
   Davetiye Tarzı Etkinlik Kartları (Stationery Invitation Event Cards)
   ========================================================================== */
.font-prata {
  font-family: 'Cormorant Garamond', serif !important;
}

.font-playfair {
  font-family: 'Playfair Display', serif !important;
}

/* Lüks Doğa Temalı Davetiye Kartı */
.event-card {
  background-color: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(43, 122, 56, 0.12);
  box-shadow:
    0 4px 6px -1px rgba(28, 45, 30, 0.04),
    0 20px 40px -12px rgba(28, 45, 30, 0.12);
  position: relative;
  overflow: hidden;
  padding: 24px 20px 22px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 16px -2px rgba(28, 45, 30, 0.06),
    0 24px 48px -12px rgba(31, 77, 39, 0.18);
}

/* Davetiye İmzası: İç Zarif Doğa Çerçevesi */
.event-card-inner-border {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(43, 122, 56, 0.22);
  border-radius: 18px;
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.25s ease;
}

.event-card:hover .event-card-inner-border {
  border-color: rgba(43, 122, 56, 0.45);
}

.event-card-open {
  border-color: rgba(43, 122, 56, 0.28);
}

.event-card-open .event-card-inner-border {
  border-color: rgba(43, 122, 56, 0.35);
}

.event-card-closed {
  background-color: #fafbf9;
  opacity: 0.94;
}

/* Kart Gövdesi */
.event-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Üst Başlık & Çift Adı */
.davetiye-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 6px;
}

.davetiye-header-line {
  height: 1px;
  width: 32px;
  background-color: rgba(43, 122, 56, 0.35);
}

.davetiye-couple-tag {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Varsa Kapak Fotoğrafı (Zarif Lüks Çerçeve) */
.davetiye-cover-box {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin: 6px auto 10px;
  position: relative;
  box-shadow: 0 4px 12px rgba(28, 45, 30, 0.08);
  border: 1px solid rgba(43, 122, 56, 0.2);
  background: #fff;
}

.davetiye-cover-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Etkinlik Adı (Cormorant Garamond İtalik) */
.davetiye-event-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic;
  font-size: 1.65rem;
  font-weight: 600;
  color: #172118;
  margin: 2px 0 2px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* Açıklama / Söz (Cormorant Garamond İtalik) */
.davetiye-event-desc {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic;
  font-size: 0.95rem;
  color: #2C3E2D;
  line-height: 1.45;
  margin: 0 auto 8px;
  max-width: 92%;
}

/* Ayraç Çizgisi */
.davetiye-divider {
  height: 1px;
  background: radial-gradient(circle, rgba(43, 122, 56, 0.35) 0%, rgba(43, 122, 56, 0.05) 80%, transparent 100%);
  margin: 6px auto 8px;
  width: 75%;
}

/* Tarih & Saat Bölümü */
.davetiye-date-block {
  margin: 6px 0 8px;
}

.davetiye-date-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #172118;
  letter-spacing: 0.02em;
}

.davetiye-date-time {
  font-size: 0.78rem;
  color: #4F6350;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* Mekan & Konum */
.davetiye-location-block {
  margin: 6px 0 12px;
  max-width: 90%;
}

.davetiye-loc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1F4D27;
  display: block;
}

.davetiye-loc-sub {
  font-size: 0.8rem;
  color: #4F6350;
  display: block;
  margin-top: 2px;
  line-height: 1.35;
}

.davetiye-map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1F4D27;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 4px;
  border-bottom: 1px dotted rgba(43, 122, 56, 0.6);
  transition: color 0.2s;
}

.davetiye-map-link:hover {
  color: #2B7A38;
}

/* Geri Sayım Şeridi (Davetiye Tarzı) */
.davetiye-countdown {
  width: 100%;
  border-top: 1px solid rgba(43, 122, 56, 0.12);
  border-bottom: 1px solid rgba(43, 122, 56, 0.12);
  padding: 10px 0;
  margin: 10px 0 14px;
}

.davetiye-cd-label {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #4F6350;
  font-weight: 700;
  margin-bottom: 6px;
}

.davetiye-cd-digits {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

.davetiye-cd-unit {
  text-align: center;
  min-width: 38px;
}

.davetiye-cd-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #1F4D27;
  line-height: 1;
}

.davetiye-cd-lbl {
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B7D6C;
  margin-top: 2px;
  font-weight: 600;
}

.davetiye-cd-sep {
  color: rgba(43, 122, 56, 0.25);
  font-size: 0.95rem;
}

/* Aksiyon Butonları */
.davetiye-actions-wrap {
  width: 100%;
  margin-top: 6px;
}

.davetiye-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(28, 25, 30, 0.06);
}

.davetiye-action-open {
  background: linear-gradient(135deg, #1F4D27, #2B7A38);
  color: #ffffff;
  border: 1px solid #1F4D27;
  box-shadow: 0 4px 14px rgba(31, 77, 39, 0.25);
}

.davetiye-action-open:hover {
  background: linear-gradient(135deg, #173B1E, #23632E);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(31, 77, 39, 0.35);
}

.davetiye-action-disabled {
  background: #f5f5f4;
  color: #a8a29e;
  border: 1px solid #e7e5e4;
  cursor: not-allowed;
  box-shadow: none;
}

/* Durum Rozeti */
.davetiye-status-wrap {
  margin-top: 10px;
}

.davetiye-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.davetiye-badge-open {
  background: #e8f5e9;
  color: #1F4D27;
  border: 1px solid #c8e6c9;
}

.davetiye-badge-countdown {
  background: #f4f8f4;
  color: #2B7A38;
  border: 1px solid #cce3ce;
}

.davetiye-badge-closed {
  background: #f5f5f4;
  color: #57534e;
  border: 1px solid #e7e5e4;
}

/* ── Kart İçi Ziyaretçi & Paylaşım Sayacı (Alt Alta) ── */
.card-visitor-counter {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  margin: 12px auto 2px !important;
  padding-top: 10px;
  border-top: 1px dashed rgba(43, 122, 56, 0.25);
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.card-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  font-size: 0.82rem;
  color: #4F6350;
  line-height: 1.35;
}

.card-stat-row strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F4D27;
}

.card-stat-row span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  color: #4F6350;
  font-weight: 500;
}

/* ── Sabit Arka Plan Görseli Katmanı (Mobil Uyumlu) ── */
.bg-image-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@media (max-width: 768px) {
  .bg-image-layer {
    /* Mobilde dikey portre çekimlerin üst kısmı (yüzler ve duruş) kusursuz kadrajlansın */
    background-position: center 20%;
  }
}

/* ── Arka Plan Karartma Katmanı ── */
.bg-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wrap,
header,
form,
section {
  position: relative;
  z-index: 2;
}

#noteInput::placeholder {
  color: #8c827a;
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.95;
}

/* ── Lightbox (For Admin/Official) ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  max-width: 92vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Yükleme İlerleme Çubuğu (Upload Progress Bar) ── */
.upload-progress-wrap {
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md, 14px);
  border: 1px solid rgba(43, 122, 56, 0.25);
  box-shadow: 0 6px 20px rgba(28, 45, 30, 0.06);
  animation: fadeIn 0.25s ease;
}

.upload-progress-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1F4D27, #2B7A38);
  border-radius: 10px;
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(43, 122, 56, 0.4);
}

.upload-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

#uploadProgressLabel {
  color: #1F4D27;
}

#uploadProgressSub {
  color: #4F6350;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   Sağ Alttaki "Tüm Etkinlikler" Yüzen Balon (Floating Bubble)
   ========================================================================== */
.floating-events-bubble {
  position: fixed;
  bottom: 22px;
  right: 18px;
  z-index: 1000;
  background: linear-gradient(135deg, #1F4D27 0%, #2B7A38 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 10px 25px -4px rgba(28, 45, 30, 0.35),
    0 4px 12px rgba(43, 122, 56, 0.3);
  border-radius: 9999px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: bounceBubble 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -webkit-tap-highlight-color: transparent;
}

.floating-events-bubble:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: #ffffff;
  box-shadow:
    0 14px 30px -4px rgba(28, 45, 30, 0.45),
    0 6px 16px rgba(43, 122, 56, 0.4);
}

.floating-events-bubble:active {
  transform: scale(0.97);
}

.floating-events-bubble .bubble-icon {
  font-size: 1.1rem;
}

.floating-events-bubble .bubble-text {
  letter-spacing: 0.02em;
}

.floating-events-bubble .bubble-count-badge {
  background: #ffffff;
  color: #1F4D27;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

@keyframes bounceBubble {
  0% {
    transform: translateY(20px) scale(0.8);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .floating-events-bubble {
    bottom: 14px;
    right: 12px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
      0 8px 24px -2px rgba(0, 0, 0, 0.4),
      0 2px 8px rgba(43, 122, 56, 0.35);
  }

  .floating-events-bubble .bubble-text {
    display: none;
  }

  .floating-events-bubble .bubble-icon {
    font-size: 1.25rem;
    line-height: 1;
    margin: 0;
  }

  .floating-events-bubble .bubble-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1c1917;
    box-sizing: border-box;
  }
}

#inputCameraDirect,
#inputVideoDirect,
#inputGalleryDirect,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── Diğer Etkinlikler Bottom Sheet / Modal (GuestCam Stili) ── */
.other-events-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.other-events-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 20, 15, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeInModal 0.25s ease-out;
}

.other-events-sheet {
  position: relative;
  z-index: 2001;
  background: var(--bg-nature, #EFECE6);
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  border-radius: 28px 28px 0 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px rgba(28, 45, 30, 0.25);
  animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid rgba(43, 122, 56, 0.25);
  overflow: hidden;
}

@media (min-width: 640px) {
  .other-events-modal {
    align-items: center;
    padding: 20px;
  }

  .other-events-sheet {
    border-radius: 28px;
    max-height: 85vh;
    border: 1px solid rgba(43, 122, 56, 0.25);
    box-shadow: 0 20px 60px rgba(28, 45, 30, 0.3);
  }
}

.sheet-drag-bar {
  width: 42px;
  height: 4px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  margin: 10px auto 4px;
  flex-shrink: 0;
}

.sheet-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(43, 122, 56, 0.14);
  background: #ffffff;
  flex-shrink: 0;
}

.sheet-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.sheet-header-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 122, 56, 0.28), transparent);
}

.sheet-calendar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1F4D27;
  padding: 6px 16px;
  background: rgba(43, 122, 56, 0.08);
  border: 1px solid rgba(43, 122, 56, 0.22);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(31, 77, 39, 0.05);
  white-space: nowrap;
}

.btn-close-sheet {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28, 45, 30, 0.05);
  border: 1px solid rgba(43, 122, 56, 0.15);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #334234;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-close-sheet:hover {
  background: rgba(43, 122, 56, 0.12);
  border-color: #2B7A38;
  color: #1F4D27;
  transform: translateY(-50%) scale(1.08);
}

.btn-close-sheet:active {
  transform: translateY(-50%) scale(0.94);
}

@media (max-width: 400px) {
  .sheet-header {
    padding: 12px 14px;
  }
  .sheet-calendar-badge {
    font-size: 0.76rem;
    padding: 5px 12px;
    letter-spacing: 0.1em;
  }
  .sheet-header-center {
    gap: 8px;
  }
}

.sheet-content {
  overflow-y: auto;
  padding: 16px 18px 30px;
  -webkit-overflow-scrolling: touch;
}

@keyframes slideUpSheet {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes fadeInModal {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ── Bizimle Paylaştıkların Şeridi (My Shared Entries) ── */
.my-entries-section {
  background: var(--bg-card, #ffffff);
  border: 1px solid rgba(43, 122, 56, 0.2);
  box-shadow: 0 10px 30px rgba(28, 45, 30, 0.07);
  border-radius: var(--radius-lg, 20px);
  padding: 22px 20px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.4s ease-out;
}

.my-entries-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(43, 122, 56, 0.1), #2B7A38, rgba(43, 122, 56, 0.1));
}

.my-entries-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(43, 122, 56, 0.2);
}

.my-entries-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.my-entries-badge {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  color: #1F4D27;
}

.my-entries-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 700;
  color: #172118;
  margin: 0;
  line-height: 1.25;
}

.my-entries-subtitle {
  font-size: 0.8rem;
  color: #4F6350;
  margin: 2px 0 0;
}

.my-entries-count-badge {
  background: #E7EFE6;
  color: #1F4D27;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(43, 122, 56, 0.25);
}

/* Izgara & Kartlar */
.my-entries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 12px;
}

@media (min-width: 480px) {
  .my-entries-grid {
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 14px;
  }
}

.my-entry-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm, 12px);
  overflow: hidden;
  background: #edf4ec;
  border: 1px solid rgba(43, 122, 56, 0.18);
  box-shadow: 0 4px 12px rgba(28, 45, 30, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.my-entry-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(31, 77, 39, 0.2);
  border-color: #2B7A38;
}

.my-entry-card:active {
  transform: scale(0.98);
}

.my-entry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.my-entry-video-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 1.3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: background 0.2s;
}

.my-entry-card:hover .my-entry-video-badge {
  background: rgba(0, 0, 0, 0.15);
}

.my-entry-note-chip {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(23, 33, 24, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Sadece Not Paylaşılmışsa */
.my-entry-card.my-entry-textonly {
  background: linear-gradient(135deg, #f9fbf8 0%, #edf5eb 100%);
  border: 1px dashed rgba(43, 122, 56, 0.35);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.my-entry-textonly .my-entry-text-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.my-entry-textonly .my-entry-text-body {
  font-size: 0.72rem;
  color: #334234;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.my-entry-textonly .my-entry-text-author {
  font-size: 0.65rem;
  color: #1F4D27;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lightbox Note Card (Sadece not modalı) */
.my-lb-notecard {
  background: #ffffff;
  border: 1px solid rgba(43, 122, 56, 0.25);
  border-radius: 20px;
  padding: 28px 24px;
  max-width: 90vw;
  width: 380px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.my-lb-note-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.my-lb-note-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #2b251e;
  line-height: 1.5;
  margin: 0 0 16px;
  font-style: italic;
}

.my-lb-note-meta {
  font-size: 0.8rem;
  color: #1F4D27;
  font-weight: 600;
  border-top: 1px dashed rgba(43, 122, 56, 0.25);
  padding-top: 10px;
}

.my-lb-caption {
  margin-top: 14px;
  max-width: 90vw;
  color: #f7f3ec;
  font-size: 0.95rem;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.4;
  padding: 0 12px;
}

/* ── Davetiye Formatında Etkinlik Form Kartı ── */
.davetiye-form-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid rgba(43, 122, 56, 0.16);
  box-shadow:
    0 4px 6px -1px rgba(28, 45, 30, 0.04),
    0 24px 48px -12px rgba(28, 45, 30, 0.14);
  border-radius: 22px;
  padding: 22px 18px;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .davetiye-form-card {
    padding: 28px 24px;
    border-radius: 26px;
  }
}

.davetiye-form-card .event-card-inner-border {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(43, 122, 56, 0.22);
  border-radius: 16px;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 480px) {
  .davetiye-form-card .event-card-inner-border {
    inset: 12px;
    border-radius: 18px;
  }
}

.davetiye-form-card .event-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ── Tek Paylaşma Butonu (Özlü sözün altındaki buton) ── */
.shutter-zone-single {
  width: 100%;
  max-width: 360px;
  margin: 6px auto 4px;
}

.btn-shutter-single {
  width: 100%;
  min-height: 48px;
  background: linear-gradient(135deg, #1F4D27 0%, #2B7A38 100%);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 6px 20px -2px rgba(28, 45, 30, 0.28),
    0 2px 8px rgba(43, 122, 56, 0.2);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.btn-shutter-single:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px -3px rgba(28, 45, 30, 0.35),
    0 4px 12px rgba(43, 122, 56, 0.3);
  border-color: #ffffff;
  background: linear-gradient(135deg, #173B1E 0%, #23632E 100%);
}

.btn-shutter-single:active {
  transform: scale(0.98);
}

.shutter-single-icon {
  font-size: 1.45rem;
  line-height: 1;
  flex-shrink: 0;
}

.shutter-single-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.shutter-single-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  line-height: 1.2;
}

.shutter-single-sub {
  font-size: 0.72rem;
  color: #d6d3d1;
  margin-top: 1px;
  font-weight: 400;
  line-height: 1.15;
}

/* İsim & Not Alanları Grubu */
.davetiye-fields-group {
  width: 100%;
  max-width: 360px;
  margin: 6px auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  box-sizing: border-box;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 3px;
}

.btn-inspire {
  background: rgba(43, 122, 56, 0.1);
  color: #1F4D27;
  border: 1px solid rgba(43, 122, 56, 0.3);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.btn-inspire:hover {
  background: rgba(43, 122, 56, 0.2);
  border-color: #2B7A38;
  transform: translateY(-1px);
}

.btn-inspire:active {
  transform: scale(0.96);
}

.davetiye-submit-btn {
  width: 100%;
  max-width: 360px;
  margin: 10px auto 0;
  padding: 11px 20px;
  font-size: 0.94rem;
}

/* Kartın Altındaki Online Davetiye Butonu */
.invitation-pill-bottom {
  margin: 14px auto 4px !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.invitation-pill-bottom .btn-invitation-pill {
  padding: 11px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(43, 122, 56, 0.3);
  color: #1F4D27;
  box-shadow: 0 4px 16px rgba(28, 45, 30, 0.08);
}

.invitation-pill-bottom .btn-invitation-pill:hover {
  background: #ffffff;
  border-color: #2B7A38;
  color: #172118;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31, 77, 39, 0.15);
}

/* Ziyaretçi & Paylaşım Sayacı Stili */
.stat-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stat-badge-group strong {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 1.05rem;
}

.stat-badge-sep {
  color: #a8a29e;
  margin: 0 4px;
  font-weight: 400;
}

/* ── iPhone 13 Mini ve Küçük Ekranlar İçin Kompakt Yerleşim ── */
@media (max-width: 480px) {
  .wrap {
    padding: 12px 10px 44px;
  }

  .davetiye-form-card {
    padding: 16px 14px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
  }

  .davetiye-form-card .event-card-inner-border {
    inset: 7px;
    border-radius: 14px;
  }

  .davetiye-event-title {
    font-size: 1.35rem;
    margin: 2px 0 2px;
  }

  .davetiye-event-desc {
    font-size: 0.78rem;
    margin: 0 auto 6px;
    line-height: 1.4;
  }

  .shutter-zone-single {
    margin: 4px auto 3px;
  }

  .btn-shutter-single {
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 12px;
    gap: 10px;
  }

  .shutter-single-icon {
    font-size: 1.35rem;
  }

  .shutter-single-title {
    font-size: 0.88rem;
  }

  .shutter-single-sub {
    font-size: 0.68rem;
  }

  .davetiye-divider {
    margin: 4px auto 6px;
  }

  .davetiye-fields-group {
    margin: 4px auto;
    gap: 6px;
  }

  .field-label {
    font-size: 0.74rem;
  }

  .field input,
  .field textarea {
    padding: 7px 11px;
    font-size: 0.86rem;
    border-radius: 10px;
  }

  .davetiye-submit-btn {
    margin: 8px auto 0;
    padding: 9px 16px;
    font-size: 0.9rem;
  }

  .card-visitor-counter {
    margin: 8px auto 0 !important;
    padding-top: 8px;
    gap: 2px !important;
  }

  .card-stat-row {
    font-size: 0.78rem;
    gap: 4px;
  }

  .card-stat-row strong {
    font-size: 0.98rem;
  }

  .card-stat-row span {
    font-size: 0.76rem;
  }

  .invitation-pill-bottom {
    margin: 10px auto 4px !important;
  }

  .invitation-pill-bottom .btn-invitation-pill {
    padding: 8px 18px;
    font-size: 0.82rem;
  }
}

/* ── Medya Seçim Aksiyon Menüsü (Kamera vs Galeri Seçim Sayfası) ── */
.media-choice-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 640px) {
  .media-choice-modal {
    align-items: center;
    padding: 20px;
  }
}

.media-choice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeInModal 0.22s ease;
}

.media-choice-sheet {
  position: relative;
  z-index: 2501;
  background: #FAFBF9;
  width: 100%;
  max-width: 440px;
  border-radius: 26px 26px 0 0;
  padding: 16px 20px 24px;
  box-shadow: 0 -10px 40px rgba(28, 45, 30, 0.25);
  animation: slideUpSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid rgba(43, 122, 56, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .media-choice-sheet {
    border-radius: 26px;
    border: 1px solid rgba(43, 122, 56, 0.25);
    box-shadow: 0 20px 60px rgba(28, 45, 30, 0.3);
  }
}

.media-choice-header {
  text-align: center;
  margin-bottom: 16px;
  width: 100%;
}

.media-choice-title {
  font-family: 'Prata', serif;
  font-size: 1.25rem;
  color: #1c1917;
  margin: 10px 0 4px;
}

.media-choice-sub {
  font-size: 0.82rem;
  color: #78716c;
  margin: 0;
}

.media-choice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.media-choice-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(43, 122, 56, 0.2);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 8px rgba(28, 45, 30, 0.04);
}

.media-choice-btn:hover {
  background: #f8faf7;
  border-color: #2B7A38;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31, 77, 39, 0.14);
}

.media-choice-btn:active {
  transform: scale(0.98);
}

.media-choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.media-choice-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.media-choice-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #1c1917;
}

.media-choice-desc {
  font-size: 0.74rem;
  color: #78716c;
  line-height: 1.25;
}

.media-choice-arrow {
  color: #2B7A38;
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-media-cancel {
  margin-top: 14px;
  width: 100%;
  padding: 11px;
  border-radius: 14px;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  color: #57534e;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-media-cancel:hover {
  background: #e7e5e4;
  color: #292524;
}

/* ── Canlı Paylaşım Balonları (yeni paylaşımlar sağdan çıkıp patlar) ── */
#shareBubbleLayer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 55;
  overflow: hidden;
}

.share-bubble {
  position: absolute;
  right: -40px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 12px rgba(28, 45, 30, 0.28);
  opacity: 0;
  animation: shareBubbleIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes shareBubbleIn {
  from { right: -40px; opacity: 0; transform: scale(0.4); }
  to   { right: 16px;  opacity: 1; transform: scale(1); }
}

.share-bubble.share-bubble-pop {
  animation: shareBubblePop 0.42s ease-out forwards;
}

@keyframes shareBubblePop {
  0%   { transform: scale(1);   opacity: 1; }
  55%  { transform: scale(1.7); opacity: 0.55; box-shadow: 0 0 0 8px rgba(43, 122, 56, 0.12); }
  100% { transform: scale(2.3); opacity: 0;    box-shadow: 0 0 0 16px rgba(43, 122, 56, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .share-bubble { animation: none; right: 16px; opacity: 1; }
  .share-bubble.share-bubble-pop { animation: none; display: none; }
}