/* Üst kontrol barı, tarih kapsülü, anı ızgarası, lightbox, hediye kartı modalı ve admin panel bileşenleri */
.timeline-wrapper {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: env(safe-area-inset-top, 0px) 24px 0;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: opacity, transform;
  transition:
    opacity 0.65s var(--smooth-easing),
    transform 0.65s var(--smooth-easing);
}

.timeline-dock {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(740px, 92vw);
}

.timeline-glass {
  max-width: min(520px, calc(92vw - 168px));
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 21, 38, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.timeline-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 4px;
}

.timeline-track::-webkit-scrollbar {
  display: none;
}

.timeline-dot {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  padding: 0;
  transition:
    transform 0.3s var(--spring-easing),
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.timeline-dot.locked {
  background: transparent;
  color: rgba(255, 255, 255, 0.25);
  cursor: default;
  pointer-events: none;
}

.timeline-dot.unlocked {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
}

.timeline-dot.unlocked:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
}

.timeline-dot.active,
.timeline-dot.selected {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0a0f1a !important;
  font-weight: 600;
  transform: scale(1.06);
  box-shadow:
    0 4px 16px rgba(255, 255, 255, 0.45),
    0 0 12px var(--star-glow);
}

.dock-action-btn {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 25, 44, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition:
    transform 0.35s var(--spring-easing),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.dock-action-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  transform: translateY(-1px) scale(1.08);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.44),
    0 0 16px rgba(255, 255, 255, 0.16);
}

.dock-action-btn:active {
  transform: scale(0.94);
}

.dock-action-btn.is-open {
  background: rgba(255, 255, 255, 0.94);
  border-color: #ffffff;
  color: #0a0f1a;
  box-shadow:
    0 8px 24px rgba(255, 255, 255, 0.35),
    0 0 16px var(--star-glow);
}

.stage-play-btn {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 23, 40, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--star-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition:
    transform 0.35s var(--spring-easing),
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.stage-play-btn:hover {
  background: rgba(255, 228, 132, 0.22);
  border-color: rgba(255, 228, 132, 0.5);
  transform: scale(1.1);
  box-shadow: 0 0 22px rgba(255, 228, 132, 0.45);
}

.stage-play-btn:active {
  transform: scale(0.94);
}

/* Apple tarzı canlı tarih barı */
.date-info-bar {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  width: min(740px, 92vw);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(16, 21, 38, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.date-info-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.date-info-start {
  justify-self: start;
}

.date-info-now {
  justify-self: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.date-info-end {
  justify-self: end;
  text-align: right;
}

.date-info-badge {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--star-gold);
}

.date-info-badge-live {
  width: 8px;
  height: 8px;
  background: #34d399;
  border: none;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.85);
}

.date-info-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.date-info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.date-info-value {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.date-info-now-value {
  color: var(--star-gold);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Sütlü & Kahve Anı Izgarası ve Lightbox Modalı */
.feature-panel {
  position: absolute;
  top: 146px;
  left: 50%;
  transform: translate3d(-50%, 0, 0) scale(1);
  z-index: 9999;
  pointer-events: auto;
  width: min(740px, calc(100% - 32px));
  max-height: calc(90vh - 172px);
  overflow-y: auto;
  scrollbar-width: none;
  border-radius: 28px;
  padding: 22px 24px 24px;
  background: rgba(14, 19, 34, 0.86);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 1;
  will-change: transform, opacity;
  transition:
    transform 0.42s var(--spring-easing),
    opacity 0.3s var(--smooth-easing);
}

.feature-panel::-webkit-scrollbar {
  display: none;
}

.feature-panel.hidden {
  display: block !important;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -10px, 0) scale(0.95);
}

.feature-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.feature-panel-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--star-gold);
  margin-bottom: 4px;
}

.feature-panel-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.feature-panel-close {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.feature-panel-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.memories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.memory-card {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition:
    transform 0.32s var(--spring-easing),
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.memory-card:hover {
  transform: translate3d(0, -3px, 0) scale(1.015);
  border-color: rgba(255, 228, 132, 0.48);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(255, 228, 132, 0.18);
}

.memory-card:active {
  transform: scale(0.97);
}

.memory-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(28, 39, 72, 0.92) 0%, rgba(16, 22, 42, 0.96) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.memory-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--smooth-easing);
}

.memory-card:hover .memory-card-thumb img {
  transform: scale(1.05);
}

.memory-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 28px;
  color: rgba(255, 228, 132, 0.85);
  background: radial-gradient(circle at 50% 40%, rgba(255, 228, 132, 0.14), rgba(14, 19, 36, 0.92));
}

.memory-photo-placeholder.hidden,
.memory-card-thumb img.hidden,
.memory-lightbox-media img.hidden {
  display: none !important;
}

.memory-card-caption {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.memory-card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.memory-card-sub {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.memory-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10005;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 1;
  transition: opacity 0.3s var(--smooth-easing);
}

.memory-lightbox.hidden {
  display: flex !important;
  opacity: 0;
  pointer-events: none;
}

.memory-lightbox-card {
  position: relative;
  z-index: 10006;
  width: min(680px, 100%);
  max-height: 88dvh;
  overflow-y: auto;
  scrollbar-width: none;
  border-radius: 30px;
  background: rgba(15, 20, 30, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: scale(1) translate3d(0, 0, 0);
  transition: transform 0.38s var(--spring-easing), opacity 0.28s var(--smooth-easing);
}

.memory-lightbox-card::-webkit-scrollbar {
  display: none;
}

.memory-lightbox.hidden .memory-lightbox-card {
  transform: scale(0.92) translate3d(0, 18px, 0);
}

.memory-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10007;
  pointer-events: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 20, 32, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s var(--spring-easing), background 0.25s ease;
}

.memory-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.1) rotate(90deg);
}

.memory-lightbox-media {
  width: 100%;
  max-height: 58dvh;
  min-height: 220px;
  background: rgba(8, 12, 22, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.memory-lightbox-media img {
  width: 100%;
  max-height: 58dvh;
  object-fit: contain;
  display: block;
}

.memory-lightbox-body {
  padding: 20px 26px 24px;
}

.memory-lightbox-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.memory-lightbox-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Yönetici kontrol barı (sol alt) */
.dev-control-panel {
  position: fixed;
  bottom: 24px;
  left: 28px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 25, 44, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s var(--smooth-easing),
    transform 0.65s var(--smooth-easing);
}

.dev-panel-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--star-gold);
  padding: 0 6px;
}

.dev-panel-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--spring-easing), background 0.2s ease, border-color 0.2s ease;
}

.dev-panel-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.dev-panel-btn:active {
  transform: scale(0.94);
}

.dev-panel-btn-accent {
  background: rgba(255, 228, 132, 0.18);
  border-color: rgba(255, 228, 132, 0.42);
  color: var(--star-gold);
}

.dev-panel-btn-accent:hover {
  background: rgba(255, 228, 132, 0.28);
}

.admin-panel-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.admin-timer-label {
  font-size: 11px;
  color: var(--text-secondary);
}

#countdown {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--star-gold);
}

/* Günlük hediye kartı modalı ve yıldız geçişi */
.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 10000;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.65);
  opacity: 1;
  transition: opacity 0.4s var(--smooth-easing);
}

.admin-canvas .card-overlay {
  position: fixed;
  width: 95%;
  max-width: 1400px;
  height: 90vh;
  top: 5vh;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 30px;
}

.card-overlay.hidden {
  display: flex !important;
  opacity: 0;
  pointer-events: none;
}

.gift-card-modal {
  position: relative;
  z-index: 10001;
  width: 100%;
  max-width: 420px;
  max-height: 80dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 34px;
  background: rgba(15, 20, 30, 0.88);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transform: scale(1) translateY(0);
  opacity: 1;
  transition:
    transform 0.58s var(--spring-easing),
    opacity 0.38s var(--smooth-easing);
}

.gift-card-modal::-webkit-scrollbar {
  display: none;
}

.card-overlay.hidden .gift-card-modal {
  transform: scale(0.72) translateY(36px);
  opacity: 0;
}

.gift-card-modal.morph-to-star {
  transform: scale(0.06) translateY(-40px);
  border-radius: 50%;
  background: var(--star-gold);
  box-shadow: 0 0 60px 25px var(--star-glow);
  opacity: 0;
  transition:
    transform 0.48s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.3s ease,
    background 0.25s ease,
    opacity 0.45s ease;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10002;
  pointer-events: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 24, 40, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08);
}

.card-body {
  padding: 42px 34px 36px;
}

.card-day-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--star-gold);
  margin-bottom: 18px;
}

.card-heading {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.card-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.card-footer-note {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--text-tertiary);
}

.card-image-header {
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  position: relative;
  background: rgba(10, 15, 28, 0.4);
}

.card-image-header img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.card-image-header video.modal-video {
  width: 100%;
  max-height: 260px;
  display: block;
  background: #000;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.card-image-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 25, 44, 0.95) 100%);
  pointer-events: none;
}

.song-link-btn {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 228, 132, 0.22) 0%, rgba(255, 255, 255, 0.12) 100%);
  border: 1px solid rgba(255, 228, 132, 0.48);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: var(--star-gold);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.35s var(--spring-easing),
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.song-link-btn:hover {
  background: linear-gradient(135deg, rgba(255, 228, 132, 0.35) 0%, rgba(255, 255, 255, 0.2) 100%);
  border-color: rgba(255, 228, 132, 0.8);
  color: #fff9db;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 20px rgba(255, 224, 116, 0.35);
}

.song-link-btn:active {
  transform: scale(0.97);
}

.shooting-star {
  position: absolute;
  z-index: 40;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fffef2;
  box-shadow:
    0 0 20px 6px var(--star-gold),
    0 0 44px 14px var(--star-glow);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition:
    left 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s ease,
    opacity 0.95s ease;
}

.shooting-star.hidden {
  display: block !important;
  opacity: 0;
}

/* Yönetici paneli kart ve ızgara düzeni */
.admin-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 28px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.admin-header {
  border-radius: 28px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-top-split {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.admin-title-group {
  flex: 1 1 460px;
}

.admin-countdown-card {
  flex: 0 0 290px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.admin-countdown-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.admin-countdown-day {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 228, 132, 0.16);
  border: 1px solid rgba(255, 228, 132, 0.38);
  color: var(--star-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.admin-badge {
  margin-bottom: 10px;
}

.admin-heading {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.admin-subtitle {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 720px;
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.stat-box {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
}

.stat-value {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.stat-opened .stat-value {
  color: var(--apple-green);
}

.stat-missed .stat-value {
  color: var(--apple-red);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.opened {
  background: var(--apple-green);
  box-shadow: 0 0 10px rgba(48, 209, 88, 0.7);
}

.legend-dot.missed {
  background: var(--apple-red);
  box-shadow: 0 0 10px rgba(255, 69, 58, 0.7);
}

.legend-dot.pending {
  background: rgba(255, 255, 255, 0.25);
}

.admin-grid-section {
  border-radius: 28px;
  padding: 28px;
}

.admin-days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
}

.admin-day-tile {
  position: relative;
  padding: 16px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.3s var(--spring-easing), background 0.25s ease, border-color 0.25s ease;
}

.admin-day-tile:hover {
  transform: translateY(-3px) scale(1.03);
}

.admin-day-number {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.admin-day-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
}

.admin-day-tile.status-opened {
  background: rgba(48, 209, 88, 0.16);
  border-color: rgba(48, 209, 88, 0.48);
  box-shadow: inset 0 0 18px rgba(48, 209, 88, 0.12);
}

.admin-day-tile.status-opened .admin-day-badge {
  background: rgba(48, 209, 88, 0.24);
  color: #79ff9c;
}

.admin-day-tile.status-missed {
  background: rgba(255, 69, 58, 0.16);
  border-color: rgba(255, 69, 58, 0.5);
  box-shadow: inset 0 0 18px rgba(255, 69, 58, 0.14);
}

.admin-day-tile.status-missed .admin-day-badge {
  background: rgba(255, 69, 58, 0.26);
  color: #ff948d;
}

.admin-day-tile.status-pending {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.admin-day-tile.status-pending .admin-day-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-tertiary);
}

.admin-day-tile.is-today {
  outline: 2px solid var(--star-gold);
  outline-offset: 2px;
}

/* Bileşenlerin mobil uyumluluğu */
@media (max-width: 768px) {
  .timeline-wrapper {
    top: 22px;
    gap: 6px;
    padding: env(safe-area-inset-top, 10px) 12px 0;
  }

  .timeline-dock {
    width: 100%;
    max-width: 100%;
    gap: 8px;
    justify-content: center;
  }

  .timeline-glass {
    flex: 1 1 auto;
    max-width: calc(100% - 156px);
    padding: 6px 10px;
  }

  .dock-action-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  .date-info-bar {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    padding: 8px 12px;
    border-radius: 18px;
  }

  .date-info-now {
    grid-column: 1 / -1;
    order: -1;
    justify-self: center;
    padding: 3px 10px;
  }

  .date-info-start {
    justify-self: start;
  }

  .date-info-end {
    justify-self: end;
  }

  .date-info-badge {
    width: 20px;
    height: 20px;
  }

  .date-info-label {
    display: none;
  }

  .date-info-value {
    font-size: 11px;
  }

  .feature-panel {
    top: 158px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 180px);
    padding: 18px 16px 18px;
  }

  .memories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .memory-card {
    border-radius: 16px;
  }

  .memory-card-caption {
    padding: 10px 10px 12px;
  }

  .memory-card-title {
    font-size: 12px;
  }

  .memory-lightbox {
    padding: 14px;
  }

  .memory-lightbox-body {
    padding: 16px 18px 20px;
  }

  .memory-lightbox-title {
    font-size: 18px;
  }

  .timeline-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    padding: 4px 4px;
  }

  .timeline-track::-webkit-scrollbar {
    display: none;
  }

  .timeline-dot {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 13px;
    scroll-snap-align: center;
  }

  .timeline-dot.active,
  .timeline-dot.selected {
    width: 34px;
  }

  .stage-play-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  .dev-control-panel {
    bottom: 18px;
    left: 14px;
    top: auto;
    max-width: calc(100% - 28px);
    flex-wrap: wrap;
    padding: 5px 9px;
    gap: 6px;
    transform: scale(0.92);
    transform-origin: bottom left;
  }

  .dev-panel-label {
    font-size: 9px;
    padding: 0 4px;
  }

  .dev-panel-btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  .card-overlay {
    padding: 16px;
  }

  .gift-card-modal {
    max-width: 100%;
    max-height: 80dvh;
    overflow-y: auto;
    border-radius: 28px;
  }

  .card-body {
    padding: 32px 24px 28px;
  }

  .card-heading {
    font-size: 22px;
  }

  .card-text {
    font-size: 15px;
  }

  .admin-container {
    padding: 20px 14px 36px;
  }

  .admin-header,
  .admin-grid-section {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .admin-countdown-card {
    flex: 1 1 100%;
  }
}
