html {
  background: #050505;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.90), #050505 44%),
    url('https://images.unsplash.com/photo-1517457373958-b7bdd4587205?auto=format&fit=crop&w=1800&q=82') center top / cover fixed;
  color: #ffffff;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 104px 104px,
    linear-gradient(180deg, rgba(212, 175, 55, 0.09), transparent 28%, transparent);
  opacity: 0.38;
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
}

body > div {
  position: relative;
  z-index: 1;
}

body.welcome-modal-open {
  overflow: hidden;
}

.glass {
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.88), rgba(5, 5, 5, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(212, 175, 55, 0.06);
}

.panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 28%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.97), rgba(7, 7, 7, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 55px rgba(0, 0, 0, 0.48);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.panel:hover {
  border-color: rgba(212, 175, 55, 0.25);
}

.fine-border {
  border-color: rgba(255, 255, 255, 0.12);
}

img {
  filter: grayscale(0.78) contrast(1.08) brightness(0.92);
}

.gold-sheen {
  background: linear-gradient(135deg, #fff0a8 0%, #d4af37 46%, #8e6b17 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 12px 30px rgba(212, 175, 55, 0.18);
}

.bg-gold {
  background-image: linear-gradient(135deg, #f6df8e 0%, #d4af37 48%, #a47a1f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.text-gold {
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.18);
}

.text-balance {
  text-wrap: balance;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  scrollbar-width: none;
}

header {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.72)),
    rgba(5, 5, 5, 0.6);
}

.header-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(212, 175, 55, 0.35);
}

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

.header-icon-badge {
  position: absolute;
  top: 0.15rem;
  right: 0.15rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #d4af37;
  color: #050505;
  font-size: 0.625rem;
  font-weight: 900;
  line-height: 1rem;
  text-align: center;
  pointer-events: none;
}

.header-avatar-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-avatar-link {
  display: inline-flex;
  border-radius: 999px;
}

.header-avatar-change {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  z-index: 2;
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border: 2px solid #0f0f0f;
  border-radius: 999px;
  background: #d4af37;
  color: #050505;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, background 180ms ease;
}

.header-avatar-change:hover {
  transform: scale(1.06);
  background: #f0d98b;
}

.header-avatar-form {
  display: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(217, 217, 217, 0.78);
  position: relative;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav-link.is-active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.04));
  color: #ffffff;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.22);
}

.nav-link.is-active::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6df8e, #d4af37);
}

/* Sidebar · bloc géant soirées à venir */
.sidebar-events-giant {
  margin: 0.55rem 0 0.75rem;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(212, 175, 55, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.sidebar-events-giant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.8rem 0.85rem 0.65rem;
}

.sidebar-events-giant-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.sidebar-events-giant-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.18);
  color: #f6df8e;
}

.sidebar-events-giant-kicker {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.82);
}

.sidebar-events-giant-title {
  margin: 0.08rem 0 0;
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.sidebar-events-giant-count {
  display: inline-flex;
  min-width: 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4af37, #f0d98b);
  font-size: 0.72rem;
  font-weight: 900;
  color: #0a0a0a;
}

.sidebar-events-giant-empty {
  padding: 0.65rem 0.85rem 0.9rem;
}

.sidebar-events-giant-empty p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(217, 217, 217, 0.68);
}

.sidebar-events-giant-cta,
.sidebar-events-giant-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #d4af37;
  transition: color 180ms ease;
}

.sidebar-events-giant-cta {
  margin-top: 0.65rem;
}

.sidebar-events-giant-cta:hover,
.sidebar-events-giant-all:hover {
  color: #f0d98b;
}

.sidebar-events-giant-featured {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease;
}

.sidebar-events-giant-featured:hover {
  transform: translateY(-1px);
}

.sidebar-events-giant-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sidebar-events-giant-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.sidebar-events-giant-featured:hover .sidebar-events-giant-cover img {
  transform: scale(1.04);
}

.sidebar-events-giant-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.82));
}

.sidebar-events-giant-date {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  display: grid;
  place-items: center;
  min-width: 2.35rem;
  padding: 0.25rem 0.35rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(8px);
  text-align: center;
}

.sidebar-events-giant-day {
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}

.sidebar-events-giant-month {
  margin-top: 0.1rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
}

.sidebar-events-giant-time {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  font-size: 0.62rem;
  font-weight: 800;
  color: #f5f5f5;
}

.sidebar-events-giant-body {
  padding: 0.7rem 0.85rem 0.75rem;
}

.sidebar-events-giant-meta {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.88);
}

.sidebar-events-giant-event-title {
  margin: 0.28rem 0 0;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
}

.sidebar-events-giant-guests {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.45rem;
  font-size: 0.66rem;
  font-weight: 700;
  color: rgba(217, 217, 217, 0.72);
}

.sidebar-events-giant-list {
  margin: 0;
  padding: 0 0.55rem;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-events-giant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.55rem 0.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.sidebar-events-giant-item:last-child {
  border-bottom: none;
}

.sidebar-events-giant-item:hover {
  color: #ffffff;
}

.sidebar-events-giant-item-main {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.sidebar-events-giant-item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(245, 245, 245, 0.92);
}

.sidebar-events-giant-item-meta {
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(217, 217, 217, 0.58);
}

.sidebar-events-giant-all {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 0.85rem 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link-badge {
  margin-left: auto;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: #f6df8e;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.profile-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.18), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.10), transparent 50%);
  pointer-events: none;
}

.profile-banner > * {
  position: relative;
}

.profile-manage-spotlight {
  position: relative;
  border-color: rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.10), rgba(255, 255, 255, 0.02) 42%, rgba(8, 8, 8, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.38);
}

.profile-manage-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.16), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(143, 188, 143, 0.08), transparent 48%);
  pointer-events: none;
}

.profile-manage-spotlight > * {
  position: relative;
}

.profile-manage-progress {
  min-width: 7rem;
}

.profile-quick-bar {
  border-color: rgba(212, 175, 55, 0.18);
}

.profile-quick-bar-progress {
  display: block;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 2px solid rgba(212, 175, 55, 0.22);
  position: relative;
  overflow: hidden;
}

.profile-quick-bar-progress span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(246, 223, 142, 0.85), rgba(212, 175, 55, 0.6));
  transition: height 600ms ease;
  height: 0%;
}

.profile-manage-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.95rem 1rem;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.profile-manage-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.profile-manage-tile-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.12);
  color: #f6df8e;
  flex-shrink: 0;
}

.profile-manage-tile-icon.is-public {
  border-color: rgba(143, 188, 143, 0.28);
  background: rgba(143, 188, 143, 0.12);
  color: #b8d9b8;
}

.profile-manage-tile-icon.is-private {
  border-color: rgba(212, 175, 55, 0.34);
  background: rgba(212, 175, 55, 0.16);
  color: #f6df8e;
}

:where(a, button, input, textarea) {
  transition-property: color, background-color, border-color, opacity, box-shadow, transform, filter;
  transition-duration: 180ms;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea {
  color-scheme: dark;
}

textarea {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

textarea:focus {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(212, 175, 55, 0.12);
}

:where(button, a):focus-visible,
:where(input, textarea):focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.72);
  outline-offset: 2px;
}

button:hover,
a:hover {
  filter: brightness(1.04);
}

[data-engage].is-active {
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.20), rgba(212, 175, 55, 0.07));
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(212, 175, 55, 0.12);
}

.lift {
  transform: translateY(-2px);
}

.delight-tap {
  animation: delight-tap 260ms ease-out;
}

@keyframes delight-tap {
  0% {
    transform: scale(1);
  }
  48% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}

.reveal-soft {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 460ms ease, transform 460ms ease;
}

.reveal-soft.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 5.75rem;
  z-index: 70;
  max-width: min(24rem, calc(100vw - 2rem));
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.16), transparent 38%),
    rgba(7, 7, 7, 0.94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
  color: #ffffff;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(18px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pulse-dot {
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  right: -0.18rem;
  top: -0.18rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

.avatar-ring {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(212, 175, 55, 0.12);
}

.profile-card-overlay {
  background:
    linear-gradient(180deg, transparent 35%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent 42%);
}

.profile-discovery-card {
  border-radius: 14px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.profile-discovery-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 45px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(212, 175, 55, 0.18);
}

.event-card:hover {
  transform: translateY(-1px);
}

.discovery-hub-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.discovery-tablist {
  display: flex;
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem;
}

.discovery-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.5rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: rgba(217, 217, 217, 0.72);
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.discovery-tab-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.discovery-tab-icon {
  flex-shrink: 0;
}

.discovery-live-badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 212, 168, 0.3);
  background: rgba(88, 212, 168, 0.1);
  padding: 0.35rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7ef0c8;
}

.discovery-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.discovery-tab.is-active {
  color: #050505;
  background: linear-gradient(135deg, #f6df8e 0%, #d4af37 48%, #a47a1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 10px 24px rgba(212, 175, 55, 0.16);
}

.discovery-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.18);
  color: inherit;
  font-size: 0.65rem;
  font-weight: 900;
}

.discovery-tab:not(.is-active) .discovery-tab-count {
  background: rgba(212, 175, 55, 0.18);
  color: #f6df8e;
}

.discovery-tab-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.22);
  color: #f6df8e;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discovery-tab.is-active .discovery-tab-badge {
  background: rgba(5, 5, 5, 0.22);
  color: #f8e7a3;
}

@media (max-width: 767px) {
  .discovery-hub-head {
    gap: 0.35rem;
  }

  .discovery-tablist {
    padding: 0.12rem;
  }

  .discovery-tab {
    gap: 0.28rem;
    padding: 0.38rem 0.45rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: -0.01em;
  }

  .discovery-tab.is-active {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.38),
      0 4px 10px rgba(212, 175, 55, 0.12);
  }

  .discovery-tab-icon {
    width: 0.875rem !important;
    height: 0.875rem !important;
  }

  .discovery-tab-count {
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.28rem;
    font-size: 0.5625rem;
  }

  .discovery-live-badge {
    padding: 0.28rem 0.45rem;
    font-size: 0.5625rem;
    letter-spacing: 0.06em;
  }

  .discovery-live-badge .live-dot {
    width: 0.35rem;
    height: 0.35rem;
  }

  .discovery-live-badge-text {
    display: none;
  }

}

@media (min-width: 768px) {
  .discovery-tablist {
    flex: none;
    display: inline-flex;
  }

  .discovery-tab {
    flex: none;
    padding: 0.55rem 0.95rem;
  }

  .discovery-live-badge {
    padding: 0.4rem 0.65rem;
    font-size: 0.6875rem;
  }
}

.discovery-pane {
  animation: discovery-fade 220ms ease;
}

.fb-composer {
  position: relative;
}

.fb-composer-trigger {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.78rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(217, 217, 217, 0.72);
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.fb-composer-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.32);
  color: rgba(255, 255, 255, 0.92);
}

.fb-composer-divider {
  height: 1px;
  margin: 0 0.85rem;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.fb-composer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 10px;
  padding: 0.72rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(217, 217, 217, 0.82);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.fb-composer-action:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.fb-composer-action:active {
  transform: scale(0.97);
}

.fb-composer-action-featured {
  position: relative;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.05));
  color: #f5e6b8;
}

.fb-composer-action-featured:hover {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.24), rgba(212, 175, 55, 0.1));
  color: #fff8e8;
}

.fb-composer-action-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(5, 5, 5, 0.55);
  padding: 0.1rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
}

.fb-composer-action-label {
  font-weight: 800;
}

.composer-format-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.composer-format-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.14);
  padding: 0.12rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4af37;
}

.composer-actions-secondary {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.15rem;
  padding-top: 0.35rem;
}

.fb-composer-action-link {
  justify-content: flex-start;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

.composer-type-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.composer-type-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.composer-type-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(10px);
}

.composer-type-modal-panel {
  position: relative;
  width: min(100%, 28rem);
  max-height: min(90vh, 42rem);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 32%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(8, 8, 8, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 80px rgba(0, 0, 0, 0.62);
  padding: 1.35rem 1.25rem 1.15rem;
  transform: translateY(12px) scale(0.98);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.composer-type-modal.is-visible .composer-type-modal-panel {
  transform: translateY(0) scale(1);
}

.composer-type-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  transition: background 180ms ease, border-color 180ms ease;
}

.composer-type-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
}

.composer-type-modal-header {
  padding-right: 2rem;
  margin-bottom: 1rem;
}

.composer-type-modal-kicker {
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.88);
}

.composer-type-modal-title {
  margin-top: 0.35rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.composer-type-modal-sub {
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(217, 217, 217, 0.68);
}

.composer-type-grid {
  display: grid;
  gap: 0.55rem;
}

.composer-type-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.85rem 0.9rem;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.composer-type-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 175, 55, 0.28);
}

.composer-type-card:active {
  transform: scale(0.985);
}

.composer-type-card-featured {
  border-color: rgba(212, 175, 55, 0.42);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06));
}

.composer-type-card-featured:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.26), rgba(212, 175, 55, 0.1));
}

.composer-type-card-link {
  text-decoration: none;
  color: inherit;
}

.composer-type-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
}

.composer-type-card-icon-gold {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.14);
  color: #f0d98b;
}

.composer-type-card-icon-sage {
  border-color: rgba(122, 155, 118, 0.45);
  background: rgba(122, 155, 118, 0.14);
  color: #b8d4b4;
}

.composer-type-card-icon-petal {
  border-color: rgba(232, 180, 184, 0.35);
  background: rgba(232, 180, 184, 0.1);
  color: #f0c8cc;
}

.composer-type-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.composer-type-card-label {
  font-size: 0.9375rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.94);
}

.composer-type-card-desc {
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(217, 217, 217, 0.62);
}

.composer-type-card-tag {
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(5, 5, 5, 0.55);
  padding: 0.12rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
}

.composer-type-card-arrow {
  flex-shrink: 0;
  color: rgba(217, 217, 217, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .composer-type-modal,
  .composer-type-modal-panel,
  .composer-type-card {
    transition: none;
  }

  .composer-type-modal-panel {
    transform: none;
  }
}

.composer-audio-attach {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  width: 100%;
  justify-content: center;
  border-radius: 10px;
  border: 1px dashed rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f0d98b;
  transition: background 180ms ease, border-color 180ms ease;
}

.composer-audio-attach:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.62);
}

.composer-audio-attach.hidden {
  display: none;
}

.composer-voice {
  margin-top: 0.75rem;
}

.composer-voice.hidden {
  display: none;
}

.composer-voice-idle.hidden,
.composer-voice-live.hidden,
.composer-voice-done.hidden {
  display: none;
}

.composer-voice-record {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06));
  padding: 0.8rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: #f5e6b8;
  transition: background 180ms ease, border-color 180ms ease, transform 160ms ease;
}

.composer-voice-record:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.26), rgba(212, 175, 55, 0.1));
  border-color: rgba(212, 175, 55, 0.62);
}

.composer-voice-record:active {
  transform: scale(0.985);
}

.composer-voice-record-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.22);
  color: #f0d98b;
}

.composer-voice-help {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.6875rem;
  color: rgba(217, 217, 217, 0.55);
}

.composer-voice-live {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 91, 106, 0.32);
  background: rgba(255, 91, 106, 0.08);
  padding: 0.75rem 0.9rem;
}

.composer-voice-pulse {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: #ff5b6a;
  animation: messenger-rec-pulse 1.3s ease-out infinite;
}

.composer-voice-live-label {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.composer-voice-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #ff8a96;
}

.composer-voice-stop {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 91, 106, 0.45);
  background: rgba(255, 91, 106, 0.16);
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffd9dd;
  transition: background 180ms ease;
}

.composer-voice-stop:hover {
  background: rgba(255, 91, 106, 0.26);
}

.composer-voice-done {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.7rem 0.85rem;
}

.composer-voice-play {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: #d4af37;
  color: #050505;
  transition: transform 160ms ease, background 180ms ease;
}

.composer-voice-play:hover {
  background: #f0d98b;
}

.composer-voice-play:active {
  transform: scale(0.94);
}

.composer-voice-done-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
}

.composer-voice-done-label {
  font-size: 0.8125rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.composer-voice-done-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(217, 217, 217, 0.62);
}

.composer-voice-redo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  transition: background 180ms ease, color 180ms ease;
}

.composer-voice-redo:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.wall-post-voice {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 1rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.03));
  padding: 0.85rem 1rem;
}

.wall-post-voice-play {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  background: #d4af37;
  color: #050505;
  transition: transform 160ms ease, background 180ms ease;
}

.wall-post-voice-play:hover {
  background: #f0d98b;
}

.wall-post-voice-play:active {
  transform: scale(0.94);
}

.wall-post-voice-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}

.wall-post-voice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.12);
  padding: 0.12rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f0d98b;
}

.wall-post-voice-progress {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 1.8rem;
  overflow: hidden;
}

.wall-post-voice-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  color: rgba(240, 217, 139, 0.55);
}

.wall-post-voice-bars i {
  flex: 1;
  height: 30%;
  border-radius: 999px;
  background: currentColor;
}

.wall-post-voice-bars i:nth-child(2n) {
  height: 60%;
}

.wall-post-voice-bars i:nth-child(3n) {
  height: 95%;
}

.wall-post-voice-bars i:nth-child(4n) {
  height: 45%;
}

.wall-post-voice-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0.22rem;
  width: 0;
  border-radius: 999px;
  background: #f0d98b;
}

.wall-post-voice-time {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(217, 217, 217, 0.7);
}

.wall-post-voice.is-playing .wall-post-voice-bars {
  animation: messenger-voice-eq 0.9s ease-in-out infinite;
}

.fb-composer-body {
  animation: discovery-fade 180ms ease;
}

.fb-composer-input {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.composer-media-preview {
  margin-top: 0.85rem;
}

.composer-media-preview-inner {
  position: relative;
  overflow: hidden;
  width: min(100%, var(--wall-post-square-size, 560px));
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.composer-media-preview-image,
.composer-media-preview-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  background: #050505;
}

.composer-media-preview-video {
  object-fit: contain;
}

.composer-media-remove {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 5, 5, 0.78);
  color: #ffffff;
}

.composer-media-remove:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.45);
}

/* Composer · chip audio (Photo Audio) */
.composer-audio-chip {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(255, 255, 255, 0.03));
}

.composer-audio-chip-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.2);
  color: #f6df8e;
}

.composer-audio-chip-body {
  min-width: 0;
  flex: 1;
}

.composer-audio-chip-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #f6df8e;
}

.composer-audio-chip-name {
  display: block;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(217, 217, 217, 0.78);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.composer-audio-chip-remove {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 5, 5, 0.6);
  color: #ffffff;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.composer-audio-chip-remove:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
}

.composer-audio-hint {
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(246, 223, 142, 0.85);
}

.post-media-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.post-media {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  background: #050505;
}

.post-media-video {
  max-height: 420px;
  background: #000000;
}

@keyframes discovery-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


::selection {
  background: rgba(212, 175, 55, 0.34);
  color: #ffffff;
}

.logo-float {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.92), rgba(7, 7, 7, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 45px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(212, 175, 55, 0.14);
  backdrop-filter: blur(16px);
  animation: logo-float 4s ease-in-out infinite;
}

.logo-float__img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  filter: none !important;
}

.feed-header {
  position: relative;
}

.wall-rail {
  min-height: 0;
}

.wall-rail-scroll {
  scroll-behavior: smooth;
  mask-image: linear-gradient(180deg, #000 0%, #000 92%, transparent 100%);
}

.wall-rail-scroll::-webkit-scrollbar {
  width: 6px;
}

.wall-rail-scroll::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.18);
  border-radius: 999px;
}

.wall-rail-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-nav {
  /* Safe-area for iPhone X+ notch / home indicator */
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mobile-nav-link {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.2rem;
  padding: 0.55rem 0.25rem;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(217, 217, 217, 0.62);
  letter-spacing: 0.02em;
  transition: color 200ms ease, background 200ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

button.mobile-nav-link {
  border: 0;
  background: transparent;
  width: 100%;
  cursor: pointer;
}

.mobile-nav-link span {
  font-size: 0.66rem;
}

.mobile-nav-link i {
  transition: transform 200ms ease, color 200ms ease;
}

.mobile-nav-link:hover {
  color: #ffffff;
}

.mobile-nav-link.is-active {
  color: #ffffff;
  background: rgba(212, 175, 55, 0.14);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.24);
}

.mobile-nav-link.is-active i {
  transform: scale(1.12) translateY(-1px);
  color: rgba(246, 223, 142, 0.96);
}

.mobile-nav-link:active {
  transform: scale(0.93);
}

.mobile-nav-link:active i {
  transform: scale(0.9);
}

.mobile-nav-badge {
  position: absolute;
  top: 0.28rem;
  right: calc(50% - 1.55rem);
  min-width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  border: 1.5px solid rgba(8, 8, 8, 0.9);
  background: linear-gradient(135deg, #f87171, #ef4444);
  padding-inline: 0.25rem;
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1.05rem;
  text-align: center;
  pointer-events: none;
}

.mobile-nav-create {
  position: relative;
}

.mobile-nav-create-bubble {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6df8e 0%, #d4af37 48%, #a47a1f 100%);
  color: #050505;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 10px 22px rgba(212, 175, 55, 0.28);
  transform: translateY(-12px);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.mobile-nav-create:active .mobile-nav-create-bubble {
  transform: translateY(-10px) scale(0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 6px 14px rgba(212, 175, 55, 0.22);
}

.mobile-nav-create span:not(.mobile-nav-create-bubble) {
  margin-top: -8px;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-link,
  .mobile-nav-link i,
  .mobile-nav-create-bubble {
    transition: none;
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.welcome-glass-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.welcome-glass-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.welcome-glass-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.12), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(88, 212, 168, 0.08), transparent 36%),
    rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(10px);
}

.welcome-glass-modal {
  position: relative;
  width: min(100%, 34rem);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 38%, rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, rgba(18, 18, 18, 0.55), rgba(8, 8, 8, 0.42));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -18px 42px rgba(255, 255, 255, 0.03),
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(28px) saturate(160%);
  transform: translateY(18px) scale(0.96);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.welcome-glass-overlay.is-visible .welcome-glass-modal {
  transform: translateY(0) scale(1);
}

.welcome-glass-liquid {
  position: absolute;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.55;
  pointer-events: none;
}

.welcome-glass-liquid-a {
  top: -3rem;
  left: -2rem;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.55), rgba(212, 175, 55, 0.05) 70%);
  animation: welcome-liquid-a 9s ease-in-out infinite;
}

.welcome-glass-liquid-b {
  right: -2.5rem;
  bottom: -3rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(88, 212, 168, 0.35), rgba(88, 212, 168, 0.04) 72%);
  animation: welcome-liquid-b 11s ease-in-out infinite;
}

.welcome-glass-shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.16) 46%, transparent 62%);
  opacity: 0.45;
  pointer-events: none;
  animation: welcome-shine 6s ease-in-out infinite;
}

.welcome-glass-content {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.5rem 1.5rem;
}

@media (min-width: 640px) {
  .welcome-glass-content {
    padding: 2rem 1.85rem 1.65rem;
  }
}

.welcome-glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.12);
  padding: 0.45rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f6df8e;
}

.welcome-glass-title {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  text-wrap: balance;
}

.welcome-glass-lead,
.welcome-glass-text {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(217, 217, 217, 0.86);
}

.welcome-glass-lead strong,
.welcome-glass-text strong {
  color: #ffffff;
  font-weight: 800;
}

.welcome-glass-values {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding: 0.95rem 1rem;
  list-style: none;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.welcome-glass-values li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.welcome-glass-cta {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 900;
  color: #050505;
  background: linear-gradient(135deg, #fff0a8 0%, #d4af37 48%, #a47a1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 16px 36px rgba(212, 175, 55, 0.24);
}

.welcome-glass-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.welcome-glass-footnote {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(217, 217, 217, 0.58);
}

@keyframes welcome-liquid-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, 12px) scale(1.08);
  }
}

@keyframes welcome-liquid-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-16px, -10px) scale(1.06);
  }
}

@keyframes welcome-shine {
  0%,
  100% {
    transform: translateX(-8%);
    opacity: 0.18;
  }
  50% {
    transform: translateX(8%);
    opacity: 0.42;
  }
}

/* ----- Fil du mur — design v2 ----- */
.wall-feed-header {
  position: sticky;
  top: 4.75rem;
  z-index: 20;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.82), rgba(7, 7, 7, 0.62));
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

@media (max-width: 767px) {
  .wall-feed-header {
    top: 4.5rem;
  }
}

.wall-feed-header-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.1);
  color: #f6df8e;
}

.wall-feed-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.35rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.12);
  color: #f6df8e;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.wall-feed-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.wall-feed-action:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(212, 175, 55, 0.35);
  color: #ffffff;
}

.wall-feed-action:active {
  transform: scale(0.96);
}

.wall-feed-action-primary {
  background: linear-gradient(135deg, #f6df8e 0%, #d4af37 50%, #a47a1f 100%);
  border-color: transparent;
  color: #050505;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.wall-feed-action-primary:hover {
  filter: brightness(1.05);
  color: #050505;
}

.wall-feed-action[data-feed-refresh].is-spinning i {
  animation: wall-refresh-spin 700ms linear;
}

@keyframes wall-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ----- Post card ----- */
.wall-post {
  position: relative;
  border-radius: 16px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.wall-post:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(212, 175, 55, 0.18);
}

.wall-post-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem 0.75rem;
}

.wall-post-avatar-link {
  position: relative;
  display: inline-block;
}

.wall-post-avatar {
  display: block;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.wall-post-avatar-link:hover .wall-post-avatar {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.45);
  transform: scale(1.03);
}

.wall-post-avatar-check {
  position: absolute;
  right: -0.18rem;
  bottom: -0.18rem;
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7ef0c8, #58d4a8);
  color: #062417;
  border: 2px solid #0c0c0c;
}

.wall-post-pseudo {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
}

.wall-post-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.12);
  color: #f6df8e;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wall-post-meta {
  margin-top: 0.18rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(217, 217, 217, 0.6);
}

.wall-post-dot {
  color: rgba(217, 217, 217, 0.32);
}

.wall-post-menu {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: rgba(217, 217, 217, 0.7);
  transition: background 180ms ease, color 180ms ease;
}

.wall-post-menu:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.wall-post-content {
  position: relative;
  padding: 0 1rem 0.85rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(232, 232, 232, 0.92);
}

.wall-post-content p {
  margin: 0;
}

.wall-post-content.is-clamped p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wall-post-content.is-expanded p {
  display: block;
  -webkit-line-clamp: unset;
}

.wall-post-readmore {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #f6df8e;
}

.wall-post-readmore:hover {
  color: #ffffff;
}

.wall-post-media {
  position: relative;
  margin: 0.35rem auto 0.5rem;
  isolation: isolate;
}

.wall-post-media--square,
.wall-post-media--video {
  width: min(100%, var(--wall-post-square-size, 560px));
  max-width: 100%;
  background: transparent;
  border: 0;
  overflow: visible;
}

.wall-post-media-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

.wall-post-media-image,
.wall-post-media-video {
  display: block;
  background: #050505;
  transition: transform 380ms ease;
}

.wall-post-media-frame .wall-post-media-image,
.photoaudio-stage .photoaudio-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.wall-post-media-image {
  cursor: zoom-in;
}

.wall-post-media--video .wall-post-media-frame {
  aspect-ratio: auto;
  height: auto;
}

.wall-post-media-video {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: cover;
  object-position: center;
}

.wall-post-media:hover .wall-post-media-image {
  transform: scale(1.015);
}

.wall-post-photoaudio.wall-post-media--square {
  width: min(100%, var(--wall-post-square-size, 560px));
  max-width: 100%;
}

.wall-post-photoaudio.wall-post-media--square .photoaudio-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

:root {
  --wall-post-square-size: 560px;
}

@media (max-width: 639px) {
  :root {
    --wall-post-square-size: 100%;
  }
}

.wall-post-media-zoom {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 5, 5, 0.72);
  color: #ffffff;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 220ms ease, transform 220ms ease, background 180ms ease;
  z-index: 3;
}

.wall-post-media--square .wall-post-media-frame {
  z-index: 0;
}

.wall-post-media:hover .wall-post-media-zoom {
  opacity: 1;
  transform: translateY(0);
}

.wall-post-media-zoom:hover {
  background: rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.6);
}

/* -------------------------------------------------------------------------- */
/* Photo Audio · lecteur immersif                                             */
/* -------------------------------------------------------------------------- */

.wall-post-photoaudio {
  --audio-level: 0;
  display: block;
  margin-block: 0;
  margin-inline: auto;
  position: relative;
}

.photoaudio-stage {
  position: relative;
  overflow: hidden;
  background: #050505;
}

.photoaudio-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #050505;
  transform-origin: center;
  transition: filter 320ms ease, transform 320ms ease;
  will-change: filter, transform;
}

/* Pendant la lecture : la photo "respire" et se teinte au rythme de la voix */
.wall-post-photoaudio.is-playing .photoaudio-img {
  animation: photoaudio-breathe 7s ease-in-out infinite;
  filter:
    sepia(calc(0.12 + var(--audio-level) * 0.5))
    saturate(calc(1 + var(--audio-level) * 0.5))
    contrast(calc(1.02 + var(--audio-level) * 0.35))
    brightness(calc(0.96 + var(--audio-level) * 0.22));
  transform: scale(calc(1 + var(--audio-level) * 0.05));
}

@keyframes photoaudio-breathe {
  0%, 100% { transform: scale(1.005); }
  50% { transform: scale(1.03); }
}

.photoaudio-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(212, 175, 55, 0.28), transparent 60%),
    radial-gradient(120% 90% at 50% 100%, rgba(126, 240, 200, 0.18), transparent 55%);
  mix-blend-mode: screen;
  transition: opacity 320ms ease;
}

.wall-post-photoaudio.is-playing .photoaudio-veil {
  opacity: calc(0.25 + var(--audio-level) * 0.75);
}

/* Vagues lumineuses qui pulsent depuis le bouton */
.photoaudio-waves {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.5rem;
  height: 4.5rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
}

.wall-post-photoaudio.is-playing .photoaudio-waves {
  opacity: calc(0.35 + var(--audio-level) * 0.65);
}

.photoaudio-waves i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(246, 223, 142, 0.55);
  animation: photoaudio-wave 2.6s ease-out infinite;
}

.photoaudio-waves i:nth-child(2) { animation-delay: 0.65s; }
.photoaudio-waves i:nth-child(3) { animation-delay: 1.3s; }
.photoaudio-waves i:nth-child(4) { animation-delay: 1.95s; }

@keyframes photoaudio-wave {
  0% { transform: scale(0.65); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

.photoaudio-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid rgba(246, 223, 142, 0.6);
  background: linear-gradient(135deg, rgba(248, 231, 163, 0.95), rgba(212, 175, 55, 0.92));
  color: #1a1406;
  cursor: pointer;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 0 0 6px rgba(212, 175, 55, 0.12);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.photoaudio-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.photoaudio-play:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.wall-post-photoaudio.is-playing .photoaudio-play {
  width: 3.2rem;
  height: 3.2rem;
  background: rgba(8, 8, 8, 0.62);
  color: #f6df8e;
  border-color: rgba(246, 223, 142, 0.5);
  opacity: 0;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.wall-post-photoaudio.is-playing .photoaudio-stage:hover .photoaudio-play {
  opacity: 1;
}

.photoaudio-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(180deg, rgba(14, 13, 9, 0.96), rgba(7, 7, 7, 0.96));
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.photoaudio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f6df8e;
}

.photoaudio-progress {
  position: relative;
  flex: 1;
  height: 0.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  overflow: hidden;
}

.photoaudio-progress-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8e7a3, #d4af37);
  transition: width 120ms linear;
}

.photoaudio-time {
  flex-shrink: 0;
  min-width: 2.4rem;
  text-align: right;
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(217, 217, 217, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .wall-post-photoaudio.is-playing .photoaudio-img {
    animation: none;
  }

  .photoaudio-waves i {
    animation: none;
  }
}

.wall-post-media-heart {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ff6b8a;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(255, 107, 138, 0.4));
}

.wall-post-media-heart.is-burst {
  animation: wall-heart-burst 700ms ease forwards;
}

@keyframes wall-heart-burst {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  35% {
    opacity: 1;
    transform: scale(1.15);
  }
  70% {
    opacity: 1;
    transform: scale(0.96);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

.wall-post-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 0.25rem;
  padding: 0.45rem 0.55rem 0.6rem;
  margin-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wall-post-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.4rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(217, 217, 217, 0.78);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.wall-post-action:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.wall-post-action:active {
  transform: scale(0.96);
}

.wall-post-action.is-active {
  color: #ff6b8a;
  background: rgba(255, 107, 138, 0.1);
}

.wall-post-action.is-active i {
  fill: currentColor;
}

.wall-post-like-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: rgba(255, 107, 138, 0.14);
  font-size: 0.62rem;
  font-weight: 900;
  color: #ff6b8a;
}

.wall-post-like-count:empty {
  display: none;
}

.wall-post-action-bookmark {
  width: 2.5rem;
  padding: 0.55rem;
}

.wall-post-action-bookmark.is-active {
  color: #f6df8e;
  background: rgba(212, 175, 55, 0.12);
}

.wall-post-action.is-comments-open {
  color: #58d4a8;
  background: rgba(88, 212, 168, 0.1);
}

.wall-post-comment-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: rgba(88, 212, 168, 0.16);
  font-size: 0.62rem;
  font-weight: 900;
  color: #58d4a8;
}

.wall-post-comment-count[hidden] {
  display: none !important;
}

.wall-post-comments {
  padding: 0 0.85rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}

.wall-post-comments[hidden] {
  display: none !important;
}

.wall-post-comments-list {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.75rem;
}

.wall-post-comments-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(217, 217, 217, 0.62);
}

.wall-post-comments-empty {
  padding-top: 0.75rem;
  font-size: 0.78rem;
  color: rgba(217, 217, 217, 0.58);
}

.wall-post-comment {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.wall-post-comment-avatar-link {
  display: block;
  flex-shrink: 0;
}

.wall-post-comment-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wall-post-comment-bubble {
  min-width: 0;
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.wall-post-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
}

.wall-post-comment-author {
  font-size: 0.78rem;
  font-weight: 900;
  color: #ffffff;
  transition: color 180ms ease;
}

.wall-post-comment-author:hover {
  color: #f6df8e;
}

.wall-post-comment-head time {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(217, 217, 217, 0.48);
}

.wall-post-comment-text {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(217, 217, 217, 0.86);
  word-break: break-word;
}

.wall-post-comment-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wall-post-comment-like {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(217, 217, 217, 0.62);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.wall-post-comment-like:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.wall-post-comment-like.is-active {
  color: #ff6b8a;
  background: rgba(255, 107, 138, 0.12);
}

.wall-post-comment-like.is-active i {
  fill: currentColor;
}

.wall-post-comment-like:active {
  transform: scale(0.96);
}

.wall-post-comment-like [data-count]:empty {
  display: none;
}

.wall-post-comment-form {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wall-post-comment-form-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.wall-post-comment-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
  padding: 0.35rem 0.35rem 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background 180ms ease;
}

.wall-post-comment-field:focus-within {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.wall-post-comment-input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 0.82rem;
  color: #ffffff;
  outline: none;
}

.wall-post-comment-input::placeholder {
  color: rgba(217, 217, 217, 0.42);
}

.wall-post-comment-submit {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #f6df8e 0%, #d4af37 100%);
  color: #050505;
  transition: transform 180ms ease, filter 180ms ease;
}

.wall-post-comment-submit:hover {
  filter: brightness(1.05);
}

.wall-post-comment-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wall-post-comment-submit.is-loading {
  pointer-events: none;
}

/* ----- Empty state ----- */
.wall-empty {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.wall-empty-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.16), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(255, 107, 138, 0.08), transparent 60%);
  pointer-events: none;
}

.wall-empty-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: rgba(212, 175, 55, 0.12);
  color: #f6df8e;
}

.wall-empty-title {
  position: relative;
  margin-top: 0.85rem;
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
}

.wall-empty-text {
  position: relative;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(217, 217, 217, 0.7);
}

.wall-empty-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6df8e 0%, #d4af37 50%, #a47a1f 100%);
  color: #050505;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 24px rgba(212, 175, 55, 0.2);
}

.wall-empty-cta:hover {
  filter: brightness(1.05);
}

/* ----- Back-to-top ----- */
.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 5.5rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.95), rgba(7, 7, 7, 0.95));
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  transition: opacity 200ms ease, transform 200ms ease, border-color 180ms ease, background 180ms ease;
}

@media (min-width: 768px) {
  .back-to-top {
    bottom: 2rem;
  }
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: linear-gradient(180deg, rgba(40, 30, 12, 0.95), rgba(7, 7, 7, 0.95));
}

/* ----- Lightbox média ----- */
.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.media-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 2, 0.86);
  backdrop-filter: blur(16px);
}

.media-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 5, 5, 0.78);
  color: #ffffff;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.media-lightbox-close:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.5);
}

.media-lightbox-stage {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1100px);
  max-height: 88vh;
}

.media-lightbox-image,
.media-lightbox-video {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.7);
}

.media-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 5, 5, 0.78);
  color: #ffffff;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.media-lightbox-nav:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.5);
}

.media-lightbox-prev {
  left: 1rem;
}

.media-lightbox-next {
  right: 1rem;
}

.media-lightbox-meta {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  max-width: min(92vw, 680px);
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.media-lightbox-counter {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 5, 5, 0.72);
  padding: 0.35rem 0.7rem;
  color: rgba(245, 245, 245, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.media-lightbox-caption {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(5, 5, 5, 0.72);
  padding: 0.45rem 0.75rem;
  color: rgba(245, 245, 245, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .media-lightbox-nav {
    width: 2.35rem;
    height: 2.35rem;
  }

  .media-lightbox-prev {
    left: 0.55rem;
  }

  .media-lightbox-next {
    right: 0.55rem;
  }
}

/* ----- Page profil ----- */
.profile-sidebar-card {
  border-radius: 18px;
  overflow: hidden;
}

.profile-cover {
  position: relative;
  height: 7.5rem;
  overflow: hidden;
}

.profile-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  filter: blur(26px) saturate(140%) brightness(0.68);
  opacity: 0.95;
}

.profile-cover-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.15) 0%, rgba(7, 7, 7, 0.55) 55%, rgba(7, 7, 7, 1) 100%);
}

.profile-cover-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 115%, rgba(212, 175, 55, 0.22), transparent 58%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.profile-sidebar-body {
  position: relative;
  padding: 0 1.15rem 1.35rem;
  text-align: center;
}

.profile-avatar-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin-top: -4.1rem;
}

.profile-avatar-ring {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: conic-gradient(from 145deg, #f6df8e 0deg, #d4af37 130deg, #a47a1f 230deg, #f6df8e 360deg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 38px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(212, 175, 55, 0.16);
}

.profile-avatar-ring.is-verified {
  background: conic-gradient(from 120deg, #7ef0c8 0deg, #d4af37 120deg, #58d4a8 240deg, #7ef0c8 360deg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 18px 38px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(88, 212, 168, 0.14);
}

.profile-avatar-ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 68%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

.profile-avatar-frame {
  display: block;
  padding: 3px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(5, 5, 5, 1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.profile-avatar {
  display: block;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 999px;
  object-fit: cover;
  background: #0c0c0c;
}

.profile-avatar-status {
  position: absolute;
  left: 0.35rem;
  bottom: 0.55rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 2.5px solid #0a0a0a;
  background: rgba(5, 5, 5, 0.92);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.profile-avatar-status .live-dot {
  width: 0.5rem;
  height: 0.5rem;
}

.profile-avatar-check {
  position: absolute;
  right: -0.05rem;
  bottom: 0.45rem;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  border: 2.5px solid #0a0a0a;
  background: linear-gradient(135deg, #7ef0c8, #58d4a8);
  color: #062417;
  box-shadow: 0 8px 18px rgba(88, 212, 168, 0.28);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  padding: 0.85rem 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.profile-stats > div {
  padding: 0 0.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.profile-stats > div:last-child {
  border-right: none;
}

.profile-stat-value {
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.profile-stat-label {
  margin-top: 0.18rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(217, 217, 217, 0.55);
}

.profile-cta-primary,
.profile-cta-secondary {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease, border-color 180ms ease;
}

.profile-cta-primary {
  color: #050505;
  background: linear-gradient(135deg, #f6df8e 0%, #d4af37 48%, #a47a1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 12px 28px rgba(212, 175, 55, 0.22);
}

.profile-cta-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.profile-cta-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.profile-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
}

.profile-view-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(217, 217, 217, 0.72);
}

.profile-intro-panel {
  position: relative;
  overflow: hidden;
}

.profile-intro-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.12), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(88, 212, 168, 0.08), transparent 38%);
}

.profile-intro-content {
  position: relative;
}

.profile-intro-lead {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(217, 217, 217, 0.82);
}

.profile-intro-lead strong {
  color: #f6df8e;
  font-weight: 800;
}

.profile-affinity-ring {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  border: 3px solid rgba(212, 175, 55, 0.35);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.08);
}

.profile-affinity-value {
  font-size: 1.05rem;
  font-weight: 900;
  color: #f6df8e;
  line-height: 1;
}

.profile-affinity-label {
  margin-top: 0.15rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(217, 217, 217, 0.55);
}

.profile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .profile-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.profile-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  aspect-ratio: 1;
  cursor: zoom-in;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.profile-gallery-item:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.profile-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.profile-gallery-item:hover img {
  transform: scale(1.04);
}

.profile-gallery-zoom {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 5, 5, 0.72);
  color: #ffffff;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.profile-gallery-item:hover .profile-gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.profile-gallery-item:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.65);
  outline-offset: 2px;
}

.profile-gallery-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 35%, rgba(5, 5, 5, 0.72) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.profile-gallery-item:hover .profile-gallery-shade,
.profile-gallery-item:focus-visible .profile-gallery-shade {
  opacity: 1;
}

.profile-gallery-item:hover .profile-gallery-caption,
.profile-gallery-item:focus-visible .profile-gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.profile-gallery-grid.is-single {
  max-width: 28rem;
}

.profile-gallery-grid.is-single .profile-gallery-item {
  aspect-ratio: 4 / 5;
}

.profile-section-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
}

.profile-section-sub {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: rgba(217, 217, 217, 0.62);
}

.profile-about-layout {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.profile-about-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.03) 42%, transparent 100%),
    linear-gradient(180deg, rgba(22, 20, 14, 0.96), rgba(8, 8, 8, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 36px rgba(0, 0, 0, 0.38);
}

.profile-about-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  pointer-events: none;
}

.profile-about-frame-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(212, 175, 55, 0.45);
  border-style: solid;
  pointer-events: none;
}

.profile-about-frame-corner-tl {
  top: 0.65rem;
  left: 0.65rem;
  border-width: 1px 0 0 1px;
}

.profile-about-frame-corner-tr {
  top: 0.65rem;
  right: 0.65rem;
  border-width: 1px 1px 0 0;
}

.profile-about-frame-corner-bl {
  bottom: 0.65rem;
  left: 0.65rem;
  border-width: 0 0 1px 1px;
}

.profile-about-frame-corner-br {
  right: 0.65rem;
  bottom: 0.65rem;
  border-width: 0 1px 1px 0;
}

.profile-about-frame-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
}

.profile-about-frame-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.24), rgba(212, 175, 55, 0.08));
  color: #f0d98b;
}

.profile-about-frame-copy {
  min-width: 0;
  flex: 1;
}

.profile-about-frame-title {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4af37;
}

.profile-about-frame-text {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(244, 241, 232, 0.88);
}

.profile-about-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .profile-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .profile-about-frame-inner {
    flex-direction: column;
    gap: 0.85rem;
  }
}

.profile-about-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  transition: border-color 180ms ease, background 180ms ease;
}

.profile-about-card:hover {
  border-color: rgba(212, 175, 55, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.profile-about-card.is-accent {
  border-color: rgba(212, 175, 55, 0.24);
  background: rgba(212, 175, 55, 0.07);
}

.profile-mobile-affinity {
  border-radius: 16px;
}

.profile-album-card {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.profile-album-card.is-private {
  border-color: rgba(212, 175, 55, 0.24);
  background: rgba(212, 175, 55, 0.06);
}

.presence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, background 180ms ease;
}

.presence-row:hover {
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.05);
}

.presence-value {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f6df8e;
}

.profile-circle-actions {
  display: grid;
  gap: 0.5rem;
}

.profile-circle-btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.profile-circle-btn.is-friends,
.profile-circle-btn.is-pending {
  justify-content: center;
}

.profile-circle-btn.is-friends {
  border-color: rgba(88, 212, 168, 0.35);
  color: #9beccc;
}

.circle-page .circle-hero {
  border-color: rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.10), rgba(8, 8, 8, 0.96));
}

.circle-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 10rem;
}

.circle-hero-stat-value {
  font-size: 1.35rem;
  font-weight: 900;
  color: #f6df8e;
  line-height: 1;
}

.circle-hero-stat-label {
  margin-top: 0.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(217, 217, 217, 0.58);
}

.circle-member-row,
.circle-friend-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, background 180ms ease;
}

.circle-member-row {
  padding: 0.65rem 0.75rem;
}

.circle-member-row-link {
  text-decoration: none;
}

.circle-friend-card {
  padding: 0.85rem;
  text-decoration: none;
}

.circle-member-row:hover,
.circle-friend-card:hover {
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.05);
}

.circle-request-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.circle-request-card.is-sent {
  border-color: rgba(212, 175, 55, 0.18);
}

.circle-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.circle-request-actions .profile-cta-primary,
.circle-request-actions .profile-cta-secondary {
  flex: 1 1 8rem;
}

.circle-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.02);
}

.notification-bell-wrap {
  position: relative;
}

.notification-count-badge {
  position: absolute;
  right: -0.15rem;
  top: -0.15rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #d4af37;
  color: #050505;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1rem;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(5, 5, 5, 0.92);
}

.notification-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  z-index: 60;
  width: min(22rem, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.98), rgba(8, 8, 8, 0.99));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.notification-panel-head,
.notification-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

.notification-panel-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-panel-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-panel-title {
  font-size: 0.82rem;
  font-weight: 900;
  color: #ffffff;
}

.notification-mark-all {
  border: 0;
  background: transparent;
  color: #9beccc;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.notification-panel-body {
  max-height: 18rem;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background 180ms ease;
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.notification-item.is-unread {
  background: rgba(212, 175, 55, 0.06);
}

.notification-item-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.notification-item-body {
  min-width: 0;
  flex: 1;
}

.notification-item-message {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.notification-item-time {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(217, 217, 217, 0.52);
}

.notification-item-dot {
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: #d4af37;
  flex-shrink: 0;
}

.notification-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(217, 217, 217, 0.62);
}

.notification-panel-link {
  font-size: 0.75rem;
  font-weight: 800;
  color: #f6df8e;
  text-decoration: none;
}

.notification-panel-link:hover {
  color: #ffffff;
}

/* -------------------------------------------------------------------------- */
/* Événements / soirées                                                       */
/* -------------------------------------------------------------------------- */

.event-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(7, 7, 7, 0.94));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.event-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.48);
}

.event-card-compact {
  flex-direction: row;
  align-items: stretch;
}

.event-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.event-card-compact .event-card-cover {
  width: 7.5rem;
  min-width: 7.5rem;
  aspect-ratio: auto;
}

.event-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.event-card-date {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.15);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
}

.event-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
}

.event-card-title {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
}

.event-card-meta {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(217, 217, 217, 0.62);
}

.event-card-desc {
  margin-top: 0.15rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(217, 217, 217, 0.72);
}

.event-card-guests {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #f0d98b;
}

.event-create-form input[type="date"],
.event-create-form input[type="time"] {
  color-scheme: dark;
}

.event-hero-cover {
  filter: none !important;
}

/* -------------------------------------------------------------------------- */
/* Kiosque de luxe des soirées                                                */
/* -------------------------------------------------------------------------- */

.event-eyebrow {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4af37;
}

/* Hero kiosk */
.kiosk-hero {
  position: relative;
}

.kiosk-hero-frame {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
  padding: 2.1rem 1.6rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(212, 175, 55, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(20, 17, 10, 0.96), rgba(6, 6, 6, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.55);
}

@media (min-width: 900px) {
  .kiosk-hero-frame {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 2.6rem 2.4rem;
  }
}

.kiosk-hero-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  pointer-events: none;
}

.kiosk-hero-glow {
  position: absolute;
  inset: -40% 30% auto -20%;
  height: 320px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.kiosk-hero-inner {
  position: relative;
  max-width: 38rem;
}

.kiosk-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f0d98b;
}

.kiosk-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
  animation: kioskPulse 2.4s ease-in-out infinite;
}

@keyframes kioskPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.kiosk-hero-title {
  margin-top: 0.9rem;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.02;
  color: #ffffff;
}

.kiosk-hero-title span {
  background: linear-gradient(135deg, #f8e7a3 0%, #d4af37 52%, #9a7320 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kiosk-hero-lead {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(217, 217, 217, 0.78);
}

.kiosk-hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.kiosk-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #f8e7a3 0%, #d4af37 52%, #b8932f 100%);
  color: #1a1406;
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  cursor: pointer;
}

.kiosk-hero-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 38px rgba(212, 175, 55, 0.32);
}

.kiosk-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f1e8;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.kiosk-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(212, 175, 55, 0.4);
}

.kiosk-hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

@media (min-width: 900px) {
  .kiosk-hero-stats {
    grid-template-columns: 1fr;
    min-width: 190px;
  }
}

.kiosk-stat {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

@media (min-width: 900px) {
  .kiosk-stat {
    text-align: left;
  }
}

.kiosk-stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  color: #f0d98b;
}

.kiosk-stat-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(217, 217, 217, 0.58);
}

/* Section headings */
.kiosk-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.kiosk-section-title {
  margin-top: 0.2rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
}

.kiosk-section-count {
  flex-shrink: 0;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.12);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0d98b;
}

/* Kiosk grid + invitation cards */
.kiosk-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 560px) {
  .kiosk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .kiosk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.kiosk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(22, 20, 14, 0.97), rgba(7, 7, 7, 0.97));
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.kiosk-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.14);
}

.kiosk-card.is-mine {
  border-color: rgba(212, 175, 55, 0.4);
}

.kiosk-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.kiosk-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 500ms ease;
}

.kiosk-card:hover .kiosk-card-cover img {
  transform: scale(1.06);
}

.kiosk-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(8, 7, 4, 0.85) 100%);
}

.kiosk-card-date {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  display: grid;
  place-items: center;
  width: 3rem;
  padding: 0.4rem 0;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(8, 7, 4, 0.78);
  backdrop-filter: blur(6px);
  line-height: 1;
}

.kiosk-card-day {
  font-size: 1.2rem;
  font-weight: 900;
  color: #f0d98b;
}

.kiosk-card-month {
  margin-top: 0.1rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(217, 217, 217, 0.7);
}

.kiosk-card-flag {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.2);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8e7a3;
}

.kiosk-card-time {
  position: absolute;
  bottom: 0.7rem;
  left: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #f4f1e8;
}

.kiosk-card-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.05rem 1.1rem 1.1rem;
}

.kiosk-card-corner {
  position: absolute;
  top: 0.6rem;
  width: 14px;
  height: 14px;
  border-color: rgba(212, 175, 55, 0.4);
  border-style: solid;
}

.kiosk-card-corner-tl {
  left: 0.6rem;
  border-width: 1px 0 0 1px;
}

.kiosk-card-corner-tr {
  right: 0.6rem;
  border-width: 1px 1px 0 0;
}

.kiosk-card-eyebrow {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4af37;
}

.kiosk-card-title {
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
}

.kiosk-card-desc {
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(217, 217, 217, 0.68);
}

.kiosk-card-foot {
  margin-top: auto;
  padding-top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px dashed rgba(212, 175, 55, 0.22);
}

.kiosk-card-host {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(244, 241, 232, 0.85);
}

.kiosk-card-host img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  object-fit: cover;
  filter: none;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.kiosk-card-guests {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 900;
  color: #f0d98b;
}

.kiosk-empty {
  display: grid;
  place-items: center;
  gap: 0.8rem;
  padding: 2.4rem 1.5rem;
  border-radius: 16px;
  border: 1px dashed rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.kiosk-empty p {
  max-width: 28rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(217, 217, 217, 0.72);
}

/* Detail stat tiles */
.event-stat-tile {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(20, 18, 12, 0.95), rgba(7, 7, 7, 0.95));
}

.event-stat-tile-label {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(217, 217, 217, 0.6);
}

.event-stat-tile-value {
  margin-top: 0.2rem;
  font-size: 1rem;
  font-weight: 900;
  color: #ffffff;
}

/* Create panel */
.event-create-panel {
  padding: 1.5rem;
}

.event-create-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}

.event-create-seal {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.06));
  color: #f0d98b;
}

.event-create-title {
  margin-top: 0.15rem;
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
}

.event-create-close {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(217, 217, 217, 0.78);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.event-create-close:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ffffff;
}

.kiosk-board-add {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #f8e7a3, #d4af37);
  color: #1a1406;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.2);
  transition: transform 150ms ease, filter 150ms ease;
}

.kiosk-board-add:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.event-field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(217, 217, 217, 0.82);
}

.event-field {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: #ffffff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.event-field::placeholder {
  color: rgba(217, 217, 217, 0.42);
}

.event-field:focus {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.event-field[type="date"],
.event-field[type="time"] {
  color-scheme: dark;
}

/* Management / loge */
.event-manage {
  padding: 1.5rem;
}

.event-manage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.event-manage-title {
  margin-top: 0.2rem;
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
}

.event-manage-sub {
  margin-top: 0.35rem;
  max-width: 32rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(217, 217, 217, 0.66);
}

.event-manage-stats {
  display: flex;
  gap: 0.6rem;
}

.event-manage-stat {
  min-width: 5rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.1);
  text-align: center;
}

.event-manage-stat.is-confirmed {
  border-color: rgba(240, 217, 139, 0.3);
  background: rgba(240, 217, 139, 0.08);
}

.event-manage-stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  color: #f0d98b;
}

.event-manage-stat-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(217, 217, 217, 0.6);
}

.event-pending-pill {
  flex-shrink: 0;
  align-self: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.16);
  font-size: 0.72rem;
  font-weight: 900;
  color: #f8e7a3;
}

.event-manage-block {
  margin-top: 1.3rem;
}

.event-manage-block-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.event-manage-block-head h3 {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
}

.event-manage-count {
  margin-left: auto;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.7rem;
  font-weight: 900;
  color: rgba(217, 217, 217, 0.75);
}

.event-manage-empty {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(217, 217, 217, 0.6);
}

.event-guest-list {
  display: grid;
  gap: 0.65rem;
}

.event-guest-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 160ms ease, background 160ms ease;
}

.event-guest-row:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.055);
}

.event-guest-identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
}

.event-guest-avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.event-guest-name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 900;
  color: #ffffff;
}

.event-guest-meta {
  display: block;
  font-size: 0.74rem;
  color: rgba(217, 217, 217, 0.6);
}

.event-guest-actions {
  display: flex;
  gap: 0.5rem;
}

.event-guest-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 140ms ease, filter 140ms ease, background 140ms ease;
}

.event-guest-btn:hover {
  transform: translateY(-1px);
}

.event-guest-btn.is-accept {
  background: linear-gradient(135deg, #f8e7a3, #d4af37);
  color: #1a1406;
}

.event-guest-btn.is-accept:hover {
  filter: brightness(1.05);
}

.event-guest-btn.is-decline {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #f4f1e8;
}

.event-guest-btn.is-decline:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
}

.event-guest-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-guest-badge.tone-sage {
  border: 1px solid rgba(240, 217, 139, 0.4);
  background: rgba(240, 217, 139, 0.12);
  color: #f0d98b;
}

.event-guest-badge.tone-gold {
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.14);
  color: #f8e7a3;
}

.event-guest-badge.tone-muted {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(217, 217, 217, 0.66);
}

/* My events list */
.my-events-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.my-event-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.my-event-row:hover {
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.my-event-row.is-cancelled {
  opacity: 0.6;
}

.my-event-cover {
  width: 3.2rem;
  height: 3.2rem;
  flex-shrink: 0;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.my-event-info {
  min-width: 0;
  flex: 1;
}

.my-event-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 900;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-event-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  color: rgba(217, 217, 217, 0.62);
}

.my-event-counts {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.my-event-chip {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.my-event-chip.tone-gold {
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.16);
  color: #f8e7a3;
}

.my-event-chip.tone-sage {
  border: 1px solid rgba(240, 217, 139, 0.32);
  background: rgba(240, 217, 139, 0.09);
  color: #f0d98b;
}

@media (max-width: 480px) {
  .my-event-chip.tone-sage {
    display: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Messenger · dock style Facebook Web                                        */
/* -------------------------------------------------------------------------- */

.messenger-dock {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 85;
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
}

.messenger-dock > * {
  pointer-events: auto;
}

.messenger-windows {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  max-width: calc(100vw - 2rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.messenger-windows::-webkit-scrollbar {
  display: none;
}

.messenger-fab {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 114, 182, 0.48);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(8, 8, 8, 0.98));
  padding: 0.72rem 1rem 0.72rem 0.82rem;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(236, 72, 153, 0.2);
  color: #f5f5f5;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.messenger-fab::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1px solid rgba(236, 72, 153, 0.7);
  box-shadow:
    0 0 18px rgba(236, 72, 153, 0.38),
    0 0 28px rgba(217, 70, 239, 0.24);
  animation: messenger-fuchsia-border 2.2s ease-in-out infinite;
  pointer-events: none;
}

.messenger-fab:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 114, 182, 0.76);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(236, 72, 153, 0.35);
}

.messenger-fab:hover::before {
  box-shadow:
    0 0 22px rgba(236, 72, 153, 0.5),
    0 0 34px rgba(217, 70, 239, 0.32);
}

@keyframes messenger-fuchsia-border {
  0%, 100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.messenger-fab-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: #f0d98b;
}

.messenger-fab-label {
  font-size: 0.875rem;
  font-weight: 800;
}

.messenger-fab-badge {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #d4af37;
  color: #050505;
  font-size: 0.6875rem;
  font-weight: 900;
  line-height: 1.25rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .messenger-fab::before {
    animation: none;
    opacity: 0.85;
  }
}

.messenger-hub {
  width: min(360px, calc(100vw - 2rem));
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.96);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
}

.messenger-hub.is-open {
  animation: messenger-rise 220ms ease;
}

@keyframes messenger-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.messenger-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.messenger-hub-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.messenger-hub-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.messenger-hub-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #ffffff;
}

.messenger-hub-sub {
  margin: 0.12rem 0 0;
  font-size: 0.75rem;
  color: rgba(217, 217, 217, 0.62);
}

.messenger-icon-btn {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  transition: background 180ms ease, color 180ms ease;
}

.messenger-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.messenger-hub-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.75rem 0.85rem 0.35rem;
  padding: 0.62rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(217, 217, 217, 0.72);
}

.messenger-hub-search-input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 0.8125rem;
  color: #ffffff;
  outline: none;
}

.messenger-hub-search-input::placeholder {
  color: rgba(217, 217, 217, 0.45);
}

.messenger-hub-body {
  flex: 1;
  overflow: auto;
  padding: 0.35rem 0.55rem 0.85rem;
}

.messenger-group + .messenger-group {
  margin-top: 0.45rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.messenger-section-label {
  margin: 0.35rem 0.45rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(217, 217, 217, 0.48);
}

.messenger-thread-list,
.messenger-contact-list,
.messenger-directory-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.messenger-thread-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.62rem 0.55rem;
  border-radius: 12px;
  text-align: left;
  transition: background 180ms ease;
}

.messenger-thread-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.messenger-thread-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.messenger-thread-body {
  min-width: 0;
  flex: 1;
}

.messenger-thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.messenger-thread-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
}

.messenger-thread-name-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.messenger-thread-kind {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.1rem 0.38rem;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.messenger-thread-kind.is-contact {
  border: 1px solid rgba(126, 240, 200, 0.36);
  background: rgba(126, 240, 200, 0.16);
  color: #7ef0c8;
}

.messenger-thread-kind.is-member {
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: rgba(212, 175, 55, 0.12);
  color: #f0d98b;
}

.messenger-thread-time {
  flex-shrink: 0;
  font-size: 0.6875rem;
  color: rgba(217, 217, 217, 0.52);
}

.messenger-thread-preview {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.78rem;
  color: rgba(217, 217, 217, 0.66);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.messenger-thread-unread {
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #d4af37;
  color: #050505;
  font-size: 0.6875rem;
  font-weight: 900;
  line-height: 1.2rem;
  text-align: center;
}

.messenger-empty {
  margin: 1rem 0.55rem;
  font-size: 0.8125rem;
  color: rgba(217, 217, 217, 0.58);
  text-align: center;
}

.messenger-window {
  width: min(328px, calc(100vw - 2rem));
  height: 455px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.58);
}

.messenger-window.is-minimized {
  height: auto;
}

.messenger-window.is-minimized .messenger-window-body,
.messenger-window.is-minimized .messenger-compose {
  display: none;
}

.messenger-window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.03));
  cursor: pointer;
}

.messenger-window-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: inherit;
}

.messenger-window-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  object-fit: cover;
}

.messenger-window-meta {
  min-width: 0;
}

.messenger-window-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
}

.messenger-window-status {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.6875rem;
  color: rgba(217, 217, 217, 0.58);
}

.messenger-window-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.messenger-window-body {
  flex: 1;
  overflow: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.05), transparent 42%),
    rgba(5, 5, 5, 0.92);
}

.messenger-bubble {
  max-width: 82%;
  padding: 0.62rem 0.78rem;
  border-radius: 16px;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.messenger-bubble.is-theirs {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 245, 0.94);
  border-bottom-left-radius: 6px;
}

.messenger-bubble.is-mine {
  align-self: flex-end;
  border: 1px solid rgba(212, 175, 55, 0.34);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.24), rgba(212, 175, 55, 0.12));
  color: #fff8e8;
  border-bottom-right-radius: 6px;
}

.messenger-bubble-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.messenger-bubble-time {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.625rem;
  opacity: 0.68;
}

.messenger-compose {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.96);
}

.messenger-compose-input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.68rem 0.9rem;
  font-size: 0.8125rem;
  color: #ffffff;
  outline: none;
}

.messenger-compose-input:focus {
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.messenger-compose-send {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #d4af37;
  color: #050505;
  transition: transform 180ms ease, background 180ms ease;
}

.messenger-compose-send:hover {
  transform: scale(1.04);
  background: #f0d98b;
}

.messenger-compose-mic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms ease;
}

.messenger-compose-mic:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.4);
  color: #f0d98b;
}

.messenger-compose-mic:active {
  transform: scale(0.94);
}

.messenger-compose-mic.is-hidden,
.messenger-compose.is-hidden {
  display: none;
}

.messenger-recording {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.96);
}

.messenger-recording-label {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.messenger-recording-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  font-weight: 800;
  color: #f0d98b;
}

.messenger-recording-pulse {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #ff5b6a;
  box-shadow: 0 0 0 0 rgba(255, 91, 106, 0.6);
  animation: messenger-rec-pulse 1.3s ease-out infinite;
}

@keyframes messenger-rec-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 91, 106, 0.55);
  }
  70% {
    box-shadow: 0 0 0 0.55rem rgba(255, 91, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 91, 106, 0);
  }
}

.messenger-recording-cancel,
.messenger-recording-send {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  transition: transform 160ms ease, background 180ms ease, color 180ms ease;
}

.messenger-recording-cancel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
}

.messenger-recording-cancel:hover {
  color: #ff8a96;
  border-color: rgba(255, 91, 106, 0.4);
}

.messenger-recording-send {
  background: #d4af37;
  color: #050505;
}

.messenger-recording-send:hover {
  transform: scale(1.04);
  background: #f0d98b;
}

.messenger-voice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 11rem;
}

.messenger-voice-play {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transition: transform 160ms ease, background 180ms ease;
}

.messenger-bubble.is-mine .messenger-voice-play {
  background: rgba(5, 5, 5, 0.25);
  color: #050505;
}

.messenger-voice-play:active {
  transform: scale(0.92);
}

.messenger-voice-progress {
  position: relative;
  flex: 1;
  min-width: 4rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.messenger-voice-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  height: 100%;
}

.messenger-voice-bars i {
  flex: 1;
  height: 35%;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.4;
}

.messenger-voice-bars i:nth-child(2n) {
  height: 65%;
}

.messenger-voice-bars i:nth-child(3n) {
  height: 90%;
}

.messenger-voice-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0.18rem;
  width: 0;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.85;
}

.messenger-voice-time {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-size: 0.66rem;
  font-weight: 700;
  opacity: 0.8;
}

.messenger-voice.is-playing .messenger-voice-bars i {
  animation: messenger-voice-eq 0.9s ease-in-out infinite;
}

@keyframes messenger-voice-eq {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.85;
  }
}

@media (max-width: 767px) {
  .messenger-dock {
    right: 0.75rem;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    left: 0.75rem;
    justify-content: flex-end;
  }

  .messenger-fab-label {
    display: none;
  }

  .messenger-hub.is-open {
    position: fixed;
    inset: auto 0.75rem calc(5.5rem + env(safe-area-inset-bottom, 0px)) 0.75rem;
    width: auto;
    max-height: min(62vh, 520px);
  }

  .messenger-window {
    position: fixed;
    inset: auto 0.75rem calc(5.5rem + env(safe-area-inset-bottom, 0px)) 0.75rem;
    width: auto;
    height: min(62vh, 520px);
    z-index: 2;
  }

  .messenger-window.is-minimized {
    position: relative;
    inset: auto;
    width: min(240px, calc(100vw - 2rem));
    height: auto;
  }
}
