/* Bridal Your Dream — Live overlay */
.byd-live-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(5, 5, 5, 0.98);
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; color: #fff;
  opacity: 0; transition: opacity .35s ease;
}
.byd-live-overlay.byd-open { opacity: 1; }
.byd-live-stage {
  position: relative;
  width: min(100vw, 56.25dvh);   /* 9:16 from height */
  height: min(100dvh, 177.78vw); /* 9:16 from width */
  background: #0a0a0a; overflow: hidden;
  display: flex; flex-direction: column;
}

.byd-live-close {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 30;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.byd-live-close:hover { background: rgba(255,255,255,.2); }

.byd-live-badge {
  position: absolute; top: 20px; inset-inline-start: 16px; z-index: 30;
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
}
.byd-live-badge.byd-on { background: #e11d48; border-color: #e11d48; color: #fff; }
.byd-live-badge .byd-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.byd-live-badge.byd-on .byd-dot { animation: byd-blink 1.1s infinite; }
@keyframes byd-blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.byd-live-body {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 74px 18px 12px;
  display: flex; flex-direction: column; gap: 16px;
  scrollbar-width: none;
}
.byd-live-body::-webkit-scrollbar { display: none; }

.byd-live-hero { text-align: center; padding: 26px 6px 6px; }
.byd-live-hero svg { width: 74px; height: 74px; opacity: .9; }
.byd-live-hero h2 { margin: 14px 0 6px; font-size: 19px; font-weight: 700; }
.byd-live-hero p { margin: 0; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }

.byd-live-countdown {
  display: flex; justify-content: center; gap: 10px; margin-top: 16px;
}
.byd-cd-cell {
  min-width: 58px; padding: 9px 6px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  text-align: center;
}
.byd-cd-cell b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; }
.byd-cd-cell span { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.45); }

.byd-live-section { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.4); margin: 4px 2px -6px; }

.byd-sched-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 13px 14px;
}
.byd-sched-date {
  flex-shrink: 0; width: 52px; text-align: center;
  background: rgba(225,29,72,.12); border: 1px solid rgba(225,29,72,.3);
  border-radius: 12px; padding: 7px 4px;
}
.byd-sched-date b { display: block; font-size: 17px; color: #fb7185; }
.byd-sched-date span { font-size: 9px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.byd-sched-info { flex: 1; min-width: 0; }
.byd-sched-info b { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; }
.byd-sched-info span { font-size: 11px; color: rgba(255,255,255,.45); }
.byd-bell {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6); cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.byd-bell.byd-set { background: #e11d48; border-color: #e11d48; color: #fff; }

.byd-wait-card {
  background: linear-gradient(135deg, rgba(242,140,40,.10), rgba(225,29,72,.08));
  border: 1px solid rgba(242,140,40,.25);
  border-radius: 16px; padding: 15px 14px;
}
.byd-wait-card b { font-size: 14px; display: block; margin-bottom: 3px; }
.byd-wait-card p { margin: 0 0 10px; font-size: 11.5px; color: rgba(255,255,255,.55); line-height: 1.45; }
.byd-wait-row { display: flex; gap: 8px; }
.byd-wait-row input {
  flex: 1; min-width: 0; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14);
  border-radius: 11px; padding: 10px 12px; color: #fff; font-size: 13px; outline: none;
}
.byd-wait-row input:focus { border-color: rgba(242,140,40,.6); }
.byd-btn {
  background: #e11d48; color: #fff; border: none; border-radius: 11px;
  padding: 10px 15px; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: filter .2s; white-space: nowrap;
}
.byd-btn:hover { filter: brightness(1.15); }
.byd-btn:disabled { opacity: .5; cursor: default; }
.byd-wait-ok { font-size: 12px; color: #4ade80; margin-top: 8px; display: none; }
.byd-wait-err { font-size: 12px; color: #fb7185; margin-top: 8px; display: none; }

.byd-video-wrap { position: absolute; inset: 0; background: #000; }
.byd-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.byd-live-title-overlay {
  position: absolute; top: 60px; left: 0; right: 0; z-index: 20;
  text-align: center; font-size: 15px; font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,.8); pointer-events: none; padding: 0 50px;
}

.byd-chat {
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(8,8,8,.92);
  display: flex; flex-direction: column; flex-shrink: 0;
  max-height: 42%;
}
.byd-chat-list {
  overflow-y: auto; padding: 10px 14px 4px; display: flex; flex-direction: column; gap: 7px;
  min-height: 84px; max-height: 180px; scrollbar-width: none;
}
.byd-chat-list::-webkit-scrollbar { display: none; }
.byd-chat-item { font-size: 12.5px; line-height: 1.4; animation: byd-msg .25s ease; }
@keyframes byd-msg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }
.byd-chat-item b { color: #fb7185; margin-inline-end: 6px; font-weight: 700; }
.byd-chat-item span { color: rgba(255,255,255,.85); word-break: break-word; }
.byd-chat-empty { font-size: 12px; color: rgba(255,255,255,.3); text-align: center; padding: 12px 0; }
.byd-chat-row { display: flex; gap: 8px; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); align-items: center; }
.byd-chat-row input {
  flex: 1; min-width: 0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding: 10px 15px; color: #fff; font-size: 13px; outline: none;
}
.byd-chat-row input:focus { border-color: rgba(225,29,72,.55); }
.byd-send {
  width: 40px; height: 40px; border-radius: 50%; border: none; flex-shrink: 0;
  background: #e11d48; color: #fff; cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.byd-like-wrap { position: relative; flex-shrink: 0; }
.byd-like {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07); cursor: pointer; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .12s;
}
.byd-like:active { transform: scale(1.25); }
.byd-like-count {
  position: absolute; top: -7px; inset-inline-end: -4px;
  background: #e11d48; border-radius: 999px; font-size: 9px; font-weight: 800;
  padding: 2px 6px; min-width: 18px; text-align: center;
}
.byd-heart-fly {
  position: fixed; z-index: 100000; font-size: 22px; pointer-events: none;
  animation: byd-fly 1.3s ease-out forwards;
}
@keyframes byd-fly {
  0% { opacity: 1; transform: translateY(0) scale(.6) rotate(0deg); }
  100% { opacity: 0; transform: translateY(-140px) scale(1.4) rotate(18deg); }
}

.byd-toast {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%) translateY(-80px);
  z-index: 100001; background: #e11d48; color: #fff; font-size: 13px; font-weight: 700;
  padding: 11px 20px; border-radius: 999px; transition: transform .4s cubic-bezier(.2,.9,.3,1.2);
  box-shadow: 0 8px 30px rgba(225,29,72,.4);
}
.byd-toast.byd-show { transform: translateX(-50%) translateY(0); }

/* pulsing red ring for the LIVE circle in the collections tab row */
div:has(> img[alt="LIVE"]) {
  border: 2px solid #e11d48 !important;
  animation: byd-ring 2s infinite;
}
@keyframes byd-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,29,72,.45); }
  50% { box-shadow: 0 0 0 7px rgba(225,29,72,0); }
}

/* scroll chevrons for the collections tab row */
.byd-tabs-chev {
  position: fixed; z-index: 60;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(20,20,20,.82); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 17px; line-height: 1;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; padding: 0 0 2px;
  box-shadow: 0 2px 12px rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  transition: opacity .2s, transform .15s;
}
.byd-tabs-chev:hover { transform: scale(1.12); }
.byd-tabs-chev-r { right: 7px; }
.byd-tabs-chev-l { left: 7px; }
