.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(0);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.cookie-bar[hidden] {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.cookie-bar p {
  font-size: 14px;
  line-height: 1.55;
  color: #fff;
  margin-bottom: 14px;
}
.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  margin: 0 auto;
}
@media (min-width: 520px) {
  .cookie-actions { flex-direction: row; max-width: none; justify-content: center; }
  .cookie-actions .gate-btn { width: auto; min-width: 140px; }
}
.cookie-sheet {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
}
.cookie-sheet[hidden] { display: none; }
.cookie-sheet-box {
  width: 100%;
  max-width: 480px;
  max-height: 85dvh;
  overflow-y: auto;
  padding: 28px 24px calc(24px + env(safe-area-inset-bottom));
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px 12px 0 0;
  text-align: left;
}
.cookie-sheet-box h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
.cookie-sheet-box .soft { font-size: 13px; margin-bottom: 20px; }
.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}
.cookie-toggle small { display: block; font-size: 13px; color: #fff; margin-top: 4px; font-weight: 400; }
.cookie-toggle input { width: 18px; height: 18px; accent-color: var(--pink); }
.cookie-toggle.locked { opacity: 0.65; }
.cookie-sheet-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
