/*
 * Unlayered CSS - Tailwind v4 puts generated classes inside @layer utilities
 * which causes them to lose to unlayered user-agent defaults (form elements, etc.)
 * and also makes certain responsive utilities not override correctly.
 * These rules stay outside the Tailwind build pipeline so they remain unlayered.
 */

/* === Responsive Layout Utilities === */
@media (min-width: 64rem) {
  .lg\:flex { display: flex; }
  .lg\:flex-col { flex-direction: column; }
  .lg\:flex-1 { flex: 1; }
  .lg\:min-w-0 { min-width: 0; }
  .lg\:w-56 { width: 14rem; }
  .lg\:w-80 { width: 20rem; }
  .lg\:ml-56 { margin-left: 14rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:static { position: static; }
  .lg\:translate-x-0 { translate: 0; }
  .lg\:hidden { display: none; }
}

/* === Dark Mode - override base Tailwind utility classes so `dark:` variants aren't needed === */

.dark .text-text-muted { color: var(--color-text-muted-dark); }
.dark .text-text { color: var(--color-text-dark); }
.dark .bg-surface { background-color: var(--color-surface-dark); }
.dark .bg-surface-hover { background-color: var(--color-surface-hover-dark); }
.dark .border-border { border-color: var(--color-border-dark); }

/* === Form Elements === */

.pf\:input, .pf\:textarea, .pf\:select {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.875rem;
  outline: none;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.pf\:input::placeholder, .pf\:textarea::placeholder {
  color: color-mix(in srgb, var(--color-text-muted) 40%, transparent);
}

.pf\:input:focus, .pf\:textarea:focus, .pf\:select:focus {
  border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.dark .pf\:input, .dark .pf\:textarea, .dark .pf\:select {
  border-color: var(--color-border-dark);
  background: var(--color-surface-dark);
  color: var(--color-text-dark);
}

.dark .pf\:input::placeholder, .dark .pf\:textarea::placeholder {
  color: color-mix(in srgb, var(--color-text-muted-dark) 40%, transparent);
}

.pf\:textarea {
  min-height: 6rem;
  resize: vertical;
}

.pf\:select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.dark .pf\:select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.pf\:select option {
  background: var(--color-surface);
  color: var(--color-text);
}

.dark .pf\:select option {
  background: var(--color-surface-dark);
  color: var(--color-text-dark);
}

.pf\:label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.dark .pf\:label {
  color: var(--color-text-dark);
}

.pf\:checkbox, .pf\:radio {
  accent-color: var(--color-primary);
}

.pf\:checkbox {
  border-radius: 0.25rem;
}

.pf\:file {
  width: 100%;
  font-size: 0.875rem;
  color: var(--color-text);
  cursor: pointer;
}

.pf\:file::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s;
}

.pf\:file::file-selector-button:hover {
  background: var(--color-primary-hover);
}

.dark .pf\:file {
  color: var(--color-text-dark);
}

.pf\:hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.dark .pf\:hint {
  color: var(--color-text-muted-dark);
}

.pf\:btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all .15s;
  border: none;
}

.pf\:btn:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  scale: 1.02;
}

.pf\:btn:active {
  scale: 0.98;
}

.pf\:btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  scale: 1;
  box-shadow: none;
}

/* Error state for fields inside field_with_errors wrapper */
.field_with_errors .pf\:input,
.field_with_errors .pf\:textarea,
.field_with_errors .pf\:select {
  border-color: #ef4444;
}

.field_with_errors .pf\:input:focus,
.field_with_errors .pf\:textarea:focus,
.field_with_errors .pf\:select:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px color-mix(in srgb, #ef4444 25%, transparent);
}

/* Disabled state */
.pf\:input:disabled, .pf\:textarea:disabled, .pf\:select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Live room (TikTok-style full-bleed) — unlayered to beat UA defaults.
   inset:0 alone sizes the box; an extra 100svh/100dvh height fights bottom
   and leaves a dead black band under the dock on mobile browsers. */
.pf\:live-room {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  max-height: none;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.pf\:live-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.pf\:live-video.is-mirrored {
  transform: scaleX(-1);
}
@media (max-width: 639px) {
  .pf\:live-video {
    object-fit: cover;
  }
}
.pf\:live-hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 0.75rem 0.75rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent);
}
.pf\:live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pf\:live-viewers {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  border: 0;
  cursor: pointer;
}
.pf\:live-viewers:hover,
.pf\:live-viewers[aria-expanded="true"] {
  background: rgba(0, 0, 0, 0.65);
}
.pf\:live-viewers-popover {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 40;
  width: min(18rem, calc(100vw - 1.5rem));
  max-height: 18rem;
  overflow: auto;
  border-radius: 1rem;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  padding: 0.75rem;
  color: #fff;
  transform-origin: top right;
  transform: translate3d(0, -0.35rem, 0) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.36s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.36s;
  will-change: transform, opacity;
}
.pf\:live-viewers-popover.is-open {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.36s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}
.pf\:live-viewers-popover-head {
  margin-bottom: 0.65rem;
}
.pf\:live-viewers-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.pf\:live-viewers-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.pf\:live-viewers-rank {
  width: 1.1rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}
.pf\:live-viewers-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}
.pf\:live-viewers-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}
.pf\:live-viewers-empty {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0.15rem 0.15rem;
}
.pf\:live-muted-banner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.pf\:live-rail {
  position: absolute;
  right: 0.5rem;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.pf\:live-rail-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.pf\:live-rail-btn[aria-pressed="true"] {
  background: rgba(225, 29, 72, 0.85);
}
.pf\:live-chat-stack {
  position: absolute;
  left: 0.75rem;
  right: 4.25rem;
  bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  max-height: 28dvh;
  overflow-y: auto;
  mask-image: linear-gradient(to bottom, transparent, #000 18%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
  scrollbar-width: none;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.22s ease;
  will-change: transform, opacity;
}
.pf\:live-chat-stack::-webkit-scrollbar { display: none; }
.pf\:live-chat-stack.is-hidden {
  transform: translate3d(110%, 0, 0);
  opacity: 0;
  pointer-events: none;
}
.pf\:live-chat-peek {
  position: absolute;
  left: 0;
  bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
  z-index: 21;
  width: 1.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 0 0.75rem 0.75rem 0;
  background: rgba(10, 10, 10, 0.55);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  cursor: pointer;
  padding: 0;
}
.pf\:live-chat-peek.is-visible {
  display: inline-flex;
}
.pf\:live-gifts {
  position: absolute;
  left: 0.75rem;
  right: 4.25rem;
  bottom: calc(32dvh + 4.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 21;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0.35rem;
  pointer-events: none;
}
.pf\:live-joins {
  position: absolute;
  left: 0.75rem;
  top: calc(4.75rem + env(safe-area-inset-top, 0px));
  z-index: 22;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: min(16rem, calc(100vw - 5.5rem));
  pointer-events: none;
}
.pf\:live-join-toast {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translate3d(-120%, 0, 0);
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.pf\:live-join-toast.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.pf\:live-join-toast.is-leaving {
  transform: translate3d(-120%, 0, 0);
  opacity: 0;
  transition:
    transform 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.26s ease;
}
.pf\:live-join-avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}
.pf\:live-join-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}
.pf\:live-join-name {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
}
.pf\:live-join-meta {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.1;
}
.pf\:studio-go-live {
  background: linear-gradient(135deg, #e11d48, #f59e0b);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.pf\:studio-go-live:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.pf\:studio-go-live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pf-studio-live-pulse 1.6s ease-out infinite;
}
@keyframes pf-studio-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65); }
  70% { box-shadow: 0 0 0 0.45rem rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.pf\:live-compose-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.pf\:live-compose {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.pf\:live-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  outline: none;
  backdrop-filter: blur(10px);
}
.pf\:live-input::placeholder {
  color: rgba(255,255,255,0.55);
}
.pf\:live-send,
.pf\:live-compose-btn {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pf\:live-send {
  background: #e11d48;
}
.pf\:live-comment {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.2rem 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.65);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.pf\:live-comment-avatar {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.pf\:live-comment-avatar:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.pf\:live-comment-body {
  font-size: 0.875rem;
  line-height: 1.25;
  word-break: break-word;
}
.pf\:live-comment-name {
  font-weight: 700;
  margin-right: 0.3rem;
  color: inherit;
  text-decoration: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.pf\:live-comment-name:hover {
  text-decoration: underline;
}
.pf\:live-comment-context {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.pf\:live-comment-context.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.pf\:live-comment-context-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.pf\:live-comment-context-card {
  position: relative;
  z-index: 1;
  width: min(22rem, calc(100% - 1.5rem));
  margin-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  border-radius: 1rem;
  background: rgba(22, 22, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  padding: 1rem;
  transform: translate3d(0, 1rem, 0);
  transition: transform 0.24s cubic-bezier(0.32, 0.72, 0, 1);
}
.pf\:live-comment-context.is-open .pf\:live-comment-context-card {
  transform: translate3d(0, 0, 0);
}
.pf\:live-comment-context-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.75rem;
}
.pf\:live-comment-context-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.pf\:live-comment-context-actions form {
  margin: 0;
}
.pf\:live-comment-context-btn {
  width: 100%;
  border: none;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
  text-align: center;
}
.pf\:live-comment-context-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.pf\:live-comment-context-btn-danger {
  background: rgba(225, 29, 72, 0.22);
  color: #fecdd3;
}
.pf\:live-comment-context-btn-danger:hover {
  background: rgba(225, 29, 72, 0.34);
}
.pf\:live-comment-context-cancel {
  width: 100%;
  margin-top: 0.65rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem;
  cursor: pointer;
}
.pf\:live-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  max-height: 70dvh;
  overflow-y: auto;
  border-radius: 1.25rem 1.25rem 0 0;
  background: rgba(16, 16, 16, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #f3f4f6;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  transform: translate3d(0, 110%, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.42s;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  will-change: transform, opacity;
}
.pf\:live-sheet.is-open {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}
.pf\:live-sheet-effects {
  max-height: min(52dvh, 28rem);
  background: rgba(12, 12, 12, 0.48);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}
.pf\:live-sheet-share {
  max-height: min(78dvh, 36rem);
}
.pf\:live-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border: none;
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: #e11d48;
  text-decoration: none;
}
.pf\:live-share-btn:hover {
  opacity: 0.92;
}
.pf\:live-share-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pf\:live-share-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: #f3f4f6;
  background: rgba(255, 255, 255, 0.12);
}
.pf\:live-share-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}
.pf\:live-share-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #f3f4f6;
  padding: 0.5rem;
  text-decoration: none;
  font-size: 0.625rem;
  font-weight: 500;
}
.pf\:live-share-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.pf\:live-share-input {
  width: 100%;
  min-width: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  color: #f3f4f6;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.pf\:live-share-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.pf\:live-share-input-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.6875rem;
}
.pf\:live-sheet-backdrop {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
.pf\:live-sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.pf\:live-sheet-backdrop.is-effects {
  background: transparent;
}
.pf\:live-toolbar {
  position: absolute;
  left: 0.75rem;
  right: 4.25rem;
  bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 22;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pf\:live-tool {
  border: none;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.pf\:live-tool[aria-pressed="true"] {
  background: rgba(225, 29, 72, 0.9);
}
.pf\:live-filter-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pf\:live-filter-row::-webkit-scrollbar {
  display: none;
}
.pf\:live-filter-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  min-width: 4.25rem;
  text-align: center;
}
.pf\:live-filter-chip.has-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.85rem;
  padding: 0.4rem 0.45rem 0.5rem;
  min-width: 4.5rem;
  background: transparent;
  border-color: transparent;
}
.pf\:live-filter-chip-thumb {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}
.pf\:live-filter-chip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf\:live-filter-chip.has-card [data-filter-label] {
  font-size: 0.65rem;
  line-height: 1.1;
  max-width: 4.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf\:live-filter-chip[aria-pressed="true"],
.pf\:live-filter-chip.is-selected {
  background: rgba(225, 29, 72, 0.92);
  border-color: transparent;
}
.pf\:live-filter-chip.has-card[aria-pressed="true"],
.pf\:live-filter-chip.has-card.is-selected {
  background: rgba(225, 29, 72, 0.22);
}
.pf\:live-filter-chip.has-card[aria-pressed="true"] .pf\:live-filter-chip-thumb,
.pf\:live-filter-chip.has-card.is-selected .pf\:live-filter-chip-thumb {
  border-color: #e11d48;
}
.pf\:live-filter-chip.is-loading {
  opacity: 0.85;
  background: rgba(225, 29, 72, 0.45);
}
.pf\:live-filter-chip.is-error {
  border-color: #f87171;
}
.pf\:live-beauty-advanced summary {
  list-style: none;
}
.pf\:live-beauty-advanced summary::-webkit-details-marker {
  display: none;
}
.pf\:live-bg-thumb.is-selected,
.pf\:live-bg-thumb[aria-pressed="true"] {
  outline: 2px solid #e11d48;
  outline-offset: 2px;
  border-color: transparent;
}
.pf\:live-hud-top form {
  display: inline-flex;
  margin: 0;
}
.pf\:live-gift-toast {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  animation: pf-live-gift-enter 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.75rem;
  backdrop-filter: blur(8px);
  width: fit-content;
  max-width: 100%;
}
.pf\:video-stage {
  position: fixed;
  inset: 0;
  z-index: 40;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(225, 29, 72, 0.22), transparent 62%),
    #0a0a0a;
  color: #f3f4f6;
  overflow: hidden;
}
.pf\:video-remote, .pf\:video-local {
  position: absolute;
  background: #111;
  object-fit: cover;
}
.pf\:video-remote {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}
.pf\:video-stage.is-live .pf\:video-remote { opacity: 1; }
.pf\:video-local {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: scaleX(-1);
}
.pf\:video-local.is-processed { transform: none; }
.pf\:video-local.is-hidden-source {
  width: 16px;
  height: 16px;
  opacity: 0;
  pointer-events: none;
}
.pf\:video-canvas {
  position: absolute;
  width: 2px;
  height: 2px;
  opacity: 0;
  pointer-events: none;
}
.pf\:video-canvas.is-preview {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  object-fit: cover;
}
.pf\:video-stage.is-live .pf\:video-canvas.is-preview,
.pf\:video-stage.is-live .pf\:video-local {
  inset: auto;
  top: calc(4.5rem + env(safe-area-inset-top, 0px));
  right: 0.85rem;
  width: 7.25rem;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  z-index: 4;
}
.pf\:video-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 22%),
    linear-gradient(to top, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.35) 28%, transparent 52%);
}
.pf\:video-stage.is-live .pf\:video-shade {
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 18%), linear-gradient(to top, rgba(0,0,0,0.72), transparent 34%);
}
.pf\:video-top, .pf\:video-sheet, .pf\:video-dock, .pf\:video-error, .pf\:video-gifts, .pf\:video-burst, .pf\:video-effects {
  position: absolute;
  z-index: 5;
}
.pf\:video-top {
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 0.85rem 0.7rem;
  pointer-events: none;
}
.pf\:video-top a, .pf\:video-top button, .pf\:video-balance, .pf\:video-earned { pointer-events: auto; }
.pf\:video-coins {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.28rem;
  pointer-events: none;
}
.pf\:video-earned {
  margin: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(245,158,11,0.16);
  border: 1px solid rgba(245,158,11,0.75);
  color: #f59e0b;
  font-size: 0.78rem;
  font-weight: 800;
}
.pf\:video-top-copy { flex: 1; min-width: 0; }
.pf\:video-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f59e0b;
}
.pf\:video-status { margin: 0; font-weight: 700; font-size: 1rem; }
.pf\:video-status.is-name { font-size: 1.45rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.pf\:one-on-one-nav { color: #f59e0b; font-weight: 800; }
a.pf\:one-on-one-card { display: block; text-decoration: none; }
a.pf\:one-on-one-card:hover { border-color: rgba(245, 158, 11, 0.8); }
.pf\:video-balance {
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(22,22,22,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  font-weight: 700;
}
.pf\:video-sheet {
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 1.25rem 1.25rem calc(7.5rem + env(safe-area-inset-bottom, 0px));
}
.pf\:video-sheet[hidden], .pf\:video-dock[hidden], .pf\:video-error[hidden], .pf\:video-burst[hidden] { display: none; }
.pf\:video-sheet h1 { margin: 0; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; }
.pf\:video-sheet p, .pf\:video-paypal { margin: 0; max-width: 26rem; color: rgba(243,244,246,0.82); font-size: 0.95rem; line-height: 1.45; }
.pf\:video-paypal a { color: #f59e0b; }
.pf\:video-people {
  width: min(100%, 24rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.55rem;
  border-radius: 1rem;
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}
.pf\:video-people-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.pf\:video-people-title { margin: 0; font-size: 0.78rem; font-weight: 700; color: #f3f4f6; }
.pf\:video-people-search {
  width: 7.5rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(22,22,22,0.9);
  color: #f3f4f6;
  font: inherit;
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
}
.pf\:video-people-list { display: flex; flex-direction: column; max-height: 9.5rem; overflow: auto; }
.pf\:video-people-empty { margin: 0.35rem 0.2rem; font-size: 0.8rem; color: rgba(243,244,246,0.7); }
.pf\:video-person {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.15rem;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.pf\:video-person:first-child { border-top: 0; }
.pf\:video-person-face {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2a161c;
  color: #f59e0b;
  font-size: 0.75rem;
  font-weight: 700;
}
.pf\:video-person-face img { width: 100%; height: 100%; object-fit: cover; }
.pf\:video-person-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pf\:video-person-name { font-size: 0.82rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf\:video-person-meta { font-size: 0.68rem; color: rgba(243,244,246,0.55); }
.pf\:video-person-call { font-size: 0.72rem; font-weight: 700; color: #f59e0b; }
.pf\:video-paypal.is-hidden { display: none; }
.pf\:video-pulse { display: flex; gap: 0.4rem; height: 0.7rem; align-items: flex-end; }
.pf\:video-pulse span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #e11d48;
  animation: video-pulse 1s ease-in-out infinite;
}
.pf\:video-pulse span:nth-child(2) { animation-delay: 0.15s; }
.pf\:video-pulse span:nth-child(3) { animation-delay: 0.3s; }
.pf\:video-dock {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem calc(6.5rem + env(safe-area-inset-bottom, 0px));
}
.pf\:video-gifts-dock, .pf\:video-actions, .pf\:video-dialog-actions { display: flex; gap: 0.45rem; justify-content: center; flex-wrap: wrap; }
.pf\:video-primary, .pf\:video-secondary, .pf\:video-gift, .pf\:video-icon-btn, .pf\:video-ghost {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
}
.pf\:video-primary { background: #e11d48; min-width: 14rem; padding: 0.9rem 1.4rem; }
.pf\:video-secondary { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.16); padding: 0.75rem 1.2rem; }
.pf\:video-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.2); padding: 0.75rem 1rem; }
.pf\:video-icon-btn {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22,22,22,0.7);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}
.pf\:video-icon-btn svg { width: 1.15rem; height: 1.15rem; }
.pf\:video-gift {
  min-width: 4.2rem;
  padding: 0.35rem 0.55rem 0.4rem;
  background: rgba(22,22,22,0.72);
  border: 1px solid rgba(245,158,11,0.45);
  font-size: 0.85rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  border-radius: 1rem;
}
.pf\:gift-sticker {
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  min-width: 3.4rem;
  min-height: 3.4rem;
  border-radius: 0.9rem;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
  background-color: #2a161c;
  background-size: 280%;
  background-position: center;
  background-repeat: no-repeat;
}
.pf\:gift-sticker img {
  position: absolute;
  left: -90%;
  top: -90%;
  width: 280%;
  height: 280%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.pf\:gift-sticker.is-burst {
  width: 9.5rem;
  height: 9.5rem;
  min-width: 9.5rem;
  min-height: 9.5rem;
  border-radius: 1.6rem;
  box-shadow: 0 18px 48px rgba(0,0,0,0.4);
}
.pf\:video-audio { position: relative; }
.pf\:video-audio-menu {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.45rem);
  transform: translateX(-50%);
  min-width: 9.5rem;
  max-width: 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem;
  border-radius: 0.9rem;
  background: rgba(16, 16, 16, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 6;
}
.pf\:video-audio-menu[hidden] { display: none; }
.pf\:video-audio-choice {
  border: 0;
  background: transparent;
  color: #f3f4f6;
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.pf\:video-audio-choice.is-on { background: rgba(245, 158, 11, 0.18); color: #f59e0b; }
.pf\:video-tool {
  border: 0;
  background: transparent;
  color: #f3f4f6;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  min-width: 3.2rem;
}
.pf\:video-tool-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22,22,22,0.78);
  border: 1px solid rgba(255,255,255,0.14);
}
.pf\:video-tool-icon svg { width: 1.1rem; height: 1.1rem; }
.pf\:video-tool.is-off .pf\:video-tool-icon,
.pf\:video-tool.is-end .pf\:video-tool-icon { background: #e11d48; border-color: transparent; }
.pf\:video-sheet[hidden],
.pf\:video-dock[hidden],
.pf\:video-error[hidden],
.pf\:video-burst[hidden] { display: none; }
.pf\:video-error {
  left: 50%;
  top: calc(4.4rem + env(safe-area-inset-top, 0px));
  transform: translateX(-50%);
  background: rgba(185,28,28,0.92);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  max-width: 90vw;
}
.pf\:video-gifts {
  left: 0.85rem;
  right: 5.5rem;
  bottom: calc(15.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 7;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  pointer-events: none;
}
.pf\:video-gift-toast {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: rgba(10,10,10,0.78);
  border: 1px solid rgba(245,158,11,0.65);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  font-weight: 700;
}
.pf\:video-gift-toast.is-small { animation: video-gift-hold 7.5s ease forwards; }
.pf\:video-gift-toast.is-medium { animation: video-gift-hold 9s ease forwards; }
.pf\:video-gift-toast.is-large {
  animation: video-gift-hold 12s ease forwards;
  background: rgba(245,158,11,0.94);
  color: #111;
  border-color: transparent;
}
.pf\:video-burst {
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pf\:video-burst[hidden] { display: none; }
.pf\:video-burst.is-large { animation: video-burst 4.2s ease forwards; }
.pf\:video-burst.is-medium, .pf\:video-burst.is-small { animation: video-burst 3.2s ease forwards; }
.pf\:video-effects {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  display: block;
  max-height: min(72vh, 34rem);
  overflow: auto;
  padding: 0.9rem 0.9rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10,10,10,0.94);
  border-radius: 1.25rem 1.25rem 0 0;
  color: #f3f4f6;
}
.pf\:video-effects[hidden] { display: none; }
.pf\:video-effects-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.pf\:video-effects-bar h2 { margin: 0; font-size: 1rem; }
.pf\:video-dialog {
  border: 0;
  border-radius: 16px;
  padding: 1rem;
  max-width: 24rem;
  width: calc(100% - 2rem);
  background: #161616;
  color: #f3f4f6;
}
.pf\:video-dialog::backdrop { background: rgba(0,0,0,0.55); }
.pf\:video-stage.is-locked .pf\:video-remote { visibility: hidden; }
.pf\:video-dock .pf\:video-gifts-dock {
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-inline: 0.25rem;
  mask-image: linear-gradient(to right, transparent 0, #000 0.75rem, #000 calc(100% - 0.75rem), transparent 100%);
}
.pf\:video-dock .pf\:video-gifts-dock::-webkit-scrollbar { display: none; }
.pf\:video-dock .pf\:video-gifts-dock .pf\:video-gift { flex: 0 0 auto; scroll-snap-align: start; }
.pf\:video-lock-gifts { max-height: 16rem; overflow-y: auto; }
.pf\:video-ring-ask { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.75rem; }
.pf\:video-ring-gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr)); gap: 0.5rem; }
.pf\:video-ring-gift {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.5rem 0.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: inherit;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}
.pf\:video-ring-gift:hover { border-color: #e11d48; }
.pf\:video-ring-gift img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.pf\:video-ring-gift small { color: #f59e0b; font-weight: 700; }
.pf\:video-paywall {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: min(22rem, calc(100% - 2rem));
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(10,10,10,0.82);
  color: #f3f4f6;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.pf\:video-paywall h2 { margin: 0; font-size: 1.1rem; }
.pf\:video-paywall p { margin: 0; color: #d1d5db; }
.pf\:video-lock-hint { margin: 0.25rem 0 0.75rem; color: #9ca3af; font-size: 0.9rem; }
.pf\:video-lock-gifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 0.75rem; }
.pf\:video-lock-gift {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer;
  font-size: 0.85rem;
}
.pf\:video-lock-gift:has(input:checked) { border-color: #e11d48; background: rgba(225,29,72,0.14); }
.pf\:video-lock-gift input { position: absolute; opacity: 0; pointer-events: none; }
.pf\:video-lock-gift .pf\:gift-sticker { width: 2rem; height: 2rem; }
.pf\:video-ring {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(24rem, calc(100% - 1.5rem));
  padding: 1rem;
  border-radius: 16px;
  background: #161616;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.pf\:video-ring-kicker { font-size: 0.75rem; color: #f59e0b; letter-spacing: 0.04em; text-transform: uppercase; }
.pf\:video-ring-name { font-size: 1.1rem; font-weight: 700; margin: 0.25rem 0 0.75rem; }
@keyframes video-gift-hold {
  0% { transform: translateY(14px) scale(0.96); opacity: 0; }
  8% { transform: none; opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translateY(-18px); opacity: 0; }
}
@keyframes video-burst {
  0% { transform: scale(0.55); opacity: 0; }
  12% { transform: scale(1); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: scale(1.08); opacity: 0; }
}
.pf\:live-go-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  min-height: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  padding: 0 0.75rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 70%);
}
.pf\:live-go-start {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 1;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.pf\:live-go-start > * {
  pointer-events: auto;
}
.pf\:live-go .pf\:live-rail {
  right: 0.5rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  pointer-events: auto;
}
.pf\:live-go:has(.pf\:live-sheet.is-open) .pf\:live-go-start {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.pf\:live-go-settings {
  max-height: min(78dvh, 40rem);
  display: flex;
  flex-direction: column;
}
.pf\:live-go-settings-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 0.5rem;
}
.pf\:live-go-settings-footer {
  flex: 0 0 auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.pf\:live-go-settings .pf\:label {
  color: #f3f4f6;
}
.pf\:live-go-settings .pf\:hint {
  color: rgba(255, 255, 255, 0.5);
}

/* Live discover — friends rail + cards */
.pf\:live-friends-rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.15rem 0.15rem 0.35rem;
  -webkit-overflow-scrolling: touch;
}
.pf\:live-friends-rail::-webkit-scrollbar { display: none; }
.pf\:live-friend-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 4.5rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.pf\:live-avatar-ring {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(135deg, #e11d48, #f59e0b, #e11d48);
  background-size: 200% 200%;
  animation: pf-live-ring 2.4s ease infinite;
}
.pf\:live-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--color-bg);
}
.dark .pf\:live-avatar-img {
  border-color: var(--color-bg-dark);
}
.pf\:live-avatar-badge {
  position: absolute;
  left: 50%;
  bottom: -0.2rem;
  transform: translateX(-50%);
  background: #e11d48;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  border: 2px solid var(--color-bg);
}
.dark .pf\:live-avatar-badge {
  border-color: var(--color-bg-dark);
}
.pf\:live-friend-name {
  font-size: 0.7rem;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
@keyframes pf-live-ring {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.pf\:live-card {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #111;
}
.pf\:live-card-media {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
}
.pf\:live-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease;
}
.pf\:live-card:hover .pf\:live-card-bg,
.pf\:live-card:focus-visible .pf\:live-card-bg {
  transform: scale(1.06);
}
.pf\:live-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.2) 100%);
}
.pf\:live-card-live {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  background: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
}
.pf\:live-card-friend {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.pf\:live-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem;
}
.pf\:live-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pf\:live-card-user {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  opacity: 0.85;
}
.pf\:live-share-msg {
  display: block;
  width: 11.5rem;
  max-width: 70vw;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.pf\:live-share-msg-media {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
}
.pf\:live-share-msg-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease;
}
.pf\:live-share-msg:hover .pf\:live-share-msg-bg,
.pf\:live-share-msg:focus-visible .pf\:live-share-msg-bg {
  transform: scale(1.06);
}
.pf\:live-share-msg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 42%, rgba(0,0,0,0.28) 100%);
}
.pf\:live-share-msg-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  background: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.45rem;
  border-radius: 0.35rem;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.55);
  animation: pf-live-share-pulse 1.6s ease-out infinite;
}
.pf\:live-share-msg-badge.is-ended,
.pf\:live-share-msg.is-ended .pf\:live-share-msg-badge {
  background: rgba(0, 0, 0, 0.65);
  animation: none;
  box-shadow: none;
}
.pf\:live-share-msg-meta {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.7rem;
}
.pf\:live-share-msg-title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pf\:live-share-msg-user {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  opacity: 0.88;
}
.pf\:live-share-msg-cta {
  margin: 0.45rem 0 0;
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
.pf\:live-share-msg.is-ended {
  filter: grayscale(0.35);
  opacity: 0.9;
}
@keyframes pf-live-share-pulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}
.pf\:live-profile-avatar {
  position: relative;
}
.pf\:live-profile-avatar::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid #ef4444;
  pointer-events: none;
  animation: pf-live-ring 1.6s ease-out infinite;
}
.pf\:live-profile-badge {
  position: absolute;
  left: 50%;
  bottom: -0.15rem;
  transform: translateX(-50%);
  z-index: 2;
  background: #ef4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  border-radius: 9999px;
  border: 2px solid var(--color-surface, #fff);
  text-decoration: none;
}
@keyframes pf-live-ring {
  0% { opacity: 0.9; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}
.pf\:live-profile-sheet {
  z-index: 55;
  max-height: min(58dvh, 26rem);
  padding-top: 0.75rem;
}
.pf\:live-profile-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 2;
}
.pf\:live-profile-loading {
  margin: 2rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
}
.pf\:live-profile-card {
  padding: 0.25rem 0.15rem 0.5rem;
}
.pf\:live-profile-handle {
  width: 2.5rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  margin: 0 auto 1rem;
}
.pf\:live-profile-hero {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.pf\:live-profile-avatar-lg {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.pf\:live-profile-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.pf\:live-profile-username {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
.pf\:live-profile-meta {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.pf\:live-profile-bio {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}
.pf\:live-profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 1.1rem;
}
.pf\:live-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: #e11d48;
}
.pf\:live-profile-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.pf\:live-profile-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: default;
}

/* Live gifting: catalog tray, quick gift, toasts, center-stage bursts, goal bar */
.pf\:live-gift-toast-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}
.pf\:live-gift-toast.tier-medium { background: rgba(225, 29, 72, 0.45); }
.pf\:live-gift-toast.tier-large,
.pf\:live-gift-toast.tier-epic {
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.75), rgba(168, 85, 247, 0.6));
  box-shadow: 0 0 18px rgba(225, 29, 72, 0.45);
}
.pf\:live-gift-toast.is-combo .text-accent {
  display: inline-block;
  font-weight: 800;
  animation: pf-live-combo-pop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.pf\:live-gift-toast.is-alert { outline: 2px solid rgba(253, 224, 71, 0.7); }
.pf\:live-gift-toast.is-leaving {
  opacity: 0;
  transform: translate3d(-1.5rem, 0, 0);
}
@keyframes pf-live-gift-enter {
  0% { opacity: 0; transform: translate3d(-1.5rem, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes pf-live-combo-pop {
  0% { transform: scale(1.8); }
  100% { transform: scale(1); }
}

.pf\:live-top-gifters {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.pf\:live-top-gifters:not(:has(*)) { display: none; }
.pf\:live-top-gifter {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  overflow: hidden;
  margin-left: -0.4rem;
  border: 2px solid #a16207;
  background: #111;
}
.pf\:live-top-gifter:first-child { margin-left: 0; }
.pf\:live-top-gifter.rank-1 { border-color: #fde047; z-index: 3; }
.pf\:live-top-gifter.rank-2 { border-color: #d1d5db; z-index: 2; }
.pf\:live-top-gifter.rank-3 { border-color: #d97706; z-index: 1; }
.pf\:live-top-gifter img,
.pf\:live-top-gifter-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}
@media (max-width: 380px) {
  .pf\:live-top-gifter:nth-child(n + 3) { display: none; }
}

.pf\:live-goal {
  position: absolute;
  left: 0.75rem;
  top: calc(4rem + env(safe-area-inset-top, 0px));
  z-index: 21;
  width: min(15rem, calc(100vw - 5.5rem));
  padding: 0.45rem 0.6rem 0.5rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  display: none;
}
.pf\:live-goal.is-active { display: block; }
.pf\:live-room:has(.pf\:live-goal.is-active) .pf\:live-joins {
  top: calc(7.6rem + env(safe-area-inset-top, 0px));
}
.pf\:live-goal-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.7rem;
  margin-bottom: 0.3rem;
}
.pf\:live-goal-title {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf\:live-goal-count {
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.pf\:live-goal-track {
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.pf\:live-goal-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e11d48, #fb7185, #fde047);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.pf\:live-goal.is-reached { border-color: rgba(253, 224, 71, 0.6); }
.pf\:live-goal-sub {
  margin-top: 0.25rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pf\:live-quick-gift {
  position: relative;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.pf\:live-quick-gift img { width: 1.6rem; height: 1.6rem; }
.pf\:live-quick-gift.is-sent img { animation: pf-live-gift-tap 0.3s ease-out; }
.pf\:live-quick-gift-combo {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fde047;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
}
.pf\:live-quick-gift-combo.is-visible { opacity: 1; }
@keyframes pf-live-gift-tap {
  0% { transform: scale(1); }
  40% { transform: scale(1.35) rotate(-8deg); }
  100% { transform: scale(1); }
}

.pf\:live-gift-tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.pf\:live-gift-tray-balance {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.pf\:live-gift-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.pf\:live-gift-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.55rem 0.25rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  min-width: 0;
}
.pf\:live-gift-item:hover { border-color: rgba(225, 29, 72, 0.6); }
.pf\:live-gift-item.tier-epic { background: linear-gradient(160deg, rgba(225, 29, 72, 0.2), rgba(168, 85, 247, 0.2)); }
.pf\:live-gift-item.is-armed { border-color: #fde047; box-shadow: 0 0 0 2px rgba(253, 224, 71, 0.35); }
.pf\:live-gift-item.is-sent .pf\:live-gift-item-icon { animation: pf-live-gift-tap 0.3s ease-out; }
.pf\:live-gift-item-icon { width: 2.4rem; height: 2.4rem; }
.pf\:live-gift-item-name {
  font-size: 0.7rem;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf\:live-gift-item-price {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.65);
}
.pf\:live-gift-tray-error {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #fda4af;
  text-align: center;
}
.pf\:live-gift-tray-foot {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.pf\:live-gift-tray-foot > * { flex: 1; justify-content: center; }
.pf\:live-gift-tray-foot .is-highlighted { background: #e11d48; color: #fff; }

.pf\:live-gift-stage {
  position: absolute;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pf\:live-gift-burst {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: pf-live-burst 2.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pf\:live-gift-burst.tier-medium { animation-duration: 1.8s; }
.pf\:live-gift-burst.tier-epic { animation-duration: 4.2s; }
.pf\:live-gift-burst-art {
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 24px rgba(225, 29, 72, 0.65));
}
.pf\:live-gift-burst.tier-medium .pf\:live-gift-burst-art { width: 5rem; height: 5rem; }
.pf\:live-gift-burst.tier-epic .pf\:live-gift-burst-art {
  width: 12rem;
  height: 12rem;
  filter: drop-shadow(0 0 36px rgba(253, 224, 71, 0.7));
}
.pf\:live-gift-burst-art img { width: 100%; height: 100%; }
.pf\:live-gift-burst.tier-epic::before {
  content: "";
  position: absolute;
  inset: -40vmax;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.22), rgba(225, 29, 72, 0.12) 30%, transparent 60%);
  animation: pf-live-burst-glow 4.2s ease-out forwards;
  z-index: -1;
}
.pf\:live-gift-burst-caption {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  max-width: 80vw;
}
.pf\:live-gift-burst-caption span { color: #fde047; font-weight: 800; }
.pf\:live-gift-burst.is-publisher .pf\:live-gift-burst-caption { font-size: 1rem; background: rgba(225, 29, 72, 0.85); }
@keyframes pf-live-burst {
  0% { transform: scale(0.3) translateY(20px); opacity: 0; }
  15% { transform: scale(1.12); opacity: 1; }
  25% { transform: scale(1); }
  80% { transform: scale(1) translateY(0); opacity: 1; }
  100% { transform: scale(0.95) translateY(-40px); opacity: 0; }
}
@keyframes pf-live-burst-glow {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}
.pf\:live-confetti {
  position: absolute;
  inset: 0;
}
.pf\:live-confetti span {
  position: absolute;
  top: -1rem;
  left: var(--x);
  width: 0.5rem;
  height: 0.8rem;
  border-radius: 2px;
  animation: pf-live-confetti 3.4s linear var(--delay) forwards;
}
.pf\:live-confetti-label {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #e11d48, #a855f7);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  animation: pf-live-burst 3.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes pf-live-confetti {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--drift), 105dvh) rotate(540deg); opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .pf\:live-gift-burst,
  .pf\:live-gift-burst.tier-epic::before,
  .pf\:live-confetti-label { animation-duration: 0.01s; animation-delay: 2s; }
}

/* Live touch-ups and green-screen controls */
.pf\:live-touchups { margin-top: 0.25rem; }
.pf\:live-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pf\:live-swatch {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: var(--swatch, transparent);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.pf\:live-swatch.is-none {
  background: linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.7) 45%, rgba(255, 255, 255, 0.7) 55%, transparent 55%);
}
.pf\:live-swatch[aria-pressed="true"] {
  border-color: #fff;
  box-shadow: 0 0 0 2px #e11d48;
}
.pf\:live-color-input {
  width: 1.4rem;
  height: 1.4rem;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

/* Live gift messages, highlights and gifter badges */
.pf\:live-gift-toast { flex-wrap: wrap; }
.pf\:live-gift-toast-message {
  flex-basis: 100%;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf\:live-gift-message { display: block; margin-top: 0.75rem; }
.pf\:live-gift-message input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
}
.pf\:live-highlight {
  position: absolute;
  left: 0.75rem;
  right: 4.25rem;
  bottom: calc(32dvh + 10.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 22;
  display: none;
  max-width: 20rem;
  padding: 0.55rem 0.7rem 0.6rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.88), rgba(168, 85, 247, 0.82));
  box-shadow: 0 6px 24px rgba(225, 29, 72, 0.35);
  color: #fff;
  overflow: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease;
  animation: pf-live-gift-enter 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.pf\:live-highlight.is-active { display: block; }
.pf\:live-highlight.is-leaving { opacity: 0; transform: translate3d(-1rem, 0, 0); }
.pf\:live-highlight-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
}
.pf\:live-highlight-icon { width: 1.25rem; height: 1.25rem; }
.pf\:live-highlight-head .text-accent { color: #fde047; margin-left: auto; display: inline-flex; align-items: center; gap: 0.2rem; }
.pf\:live-highlight-close {
  border: none;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border-radius: 999px;
  width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}
.pf\:live-highlight-body {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.pf\:live-highlight-timer {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  transform-origin: left;
  animation-name: pf-live-highlight-timer;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes pf-live-highlight-timer {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
.pf\:live-gifter-badge { margin-left: 0.2rem; font-size: 0.75rem; }
.pf\:live-join-toast.is-big-gifter {
  background: linear-gradient(90deg, rgba(253, 224, 71, 0.9), rgba(225, 29, 72, 0.85));
  color: #111;
  box-shadow: 0 0 20px rgba(253, 224, 71, 0.45);
}
.pf\:live-join-toast.is-big-gifter .pf\:live-join-meta { color: #1f1f1f; font-weight: 700; }
