/* =========================================================
   Hipa Dating App — Application CSS
   Mobile-First with Desktop Layout Adaptations
   ========================================================= */

.app-root {
  position: relative;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: rgba(18, 12, 38, 0.45);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.6);
  z-index: 1;
  overflow: hidden;
}

@media (min-width: 900px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
  }
  .app-root {
    height: 94vh;
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
  }
}

/* Top App Bar */
.top-nav {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 20;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ff4d7e 0%, #ff758c 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(255, 77, 126, 0.5);
  transform: rotate(-4deg);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #ffc0cb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.admin-link-badge {
  background: rgba(124, 92, 255, 0.25);
  border: 1px solid rgba(124, 92, 255, 0.5);
  color: #c4b5fd;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
}

/* Main Viewport Container */
.main-viewport {
  flex: 1;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 84px; /* clearance for bottom nav */
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: rgba(22, 14, 45, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 12px;
  z-index: 30;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-bounce);
  padding: 8px 12px;
  border-radius: 16px;
  position: relative;
}

.nav-item svg, .nav-item .nav-icon {
  font-size: 1.45rem;
  transition: var(--transition-bounce);
}

.nav-item.active {
  color: var(--accent-pink);
}

.nav-item.active .nav-icon {
  transform: translateY(-2px) scale(1.15);
  filter: drop-shadow(0 4px 10px var(--accent-pink-glow));
}

.nav-badge {
  position: absolute;
  top: 4px;
  right: 12px;
  background: var(--accent-pink);
  color: white;
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 800;
}

/* =========================================================
   DISCOVER VIEW & SWIPE DECK
   ========================================================= */
.discover-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  position: relative;
}

.card-deck {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 490px;
  margin-bottom: 12px;
}

.swipe-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  user-select: none;
  cursor: grab;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease;
  will-change: transform, opacity;
  background: #1f1435;
}

.swipe-card.dragging {
  cursor: grabbing;
  transition: none !important;
}

.card-img-container {
  width: 100%;
  height: 100%;
  position: relative;
}

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

.card-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(14, 8, 30, 0.96) 0%, rgba(14, 8, 30, 0.65) 50%, transparent 100%);
  pointer-events: none;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.card-header-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.card-name {
  font-size: 1.7rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.card-age {
  font-size: 1.45rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-bio {
  font-size: 0.92rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.card-tag {
  font-size: 0.76rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.card-carousel-dots {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.dot {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  transition: background 0.2s;
}

.dot.active {
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* Swipe Indicator Stamps */
.swipe-stamp {
  position: absolute;
  top: 40px;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 4px solid;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
  z-index: 10;
}

.stamp-like {
  right: 25px;
  color: #2ee6a6;
  border-color: #2ee6a6;
  transform: rotate(15deg);
}

.stamp-pass {
  left: 25px;
  color: #ff4d7e;
  border-color: #ff4d7e;
  transform: rotate(-15deg);
}

.stamp-superlike {
  top: 70px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  color: #ffd166;
  border-color: #ffd166;
}

/* Swipe Floating Action Buttons */
.swipe-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 0 10px 0;
  z-index: 15;
}

.btn-action-sm {
  width: 44px;
  height: 44px;
  font-size: 1.15rem;
}

.btn-action-lg {
  width: 62px;
  height: 62px;
  font-size: 1.7rem;
}

.btn-pass {
  color: #ff4d7e;
  border-color: rgba(255, 77, 126, 0.4);
}
.btn-pass:hover {
  background: rgba(255, 77, 126, 0.2);
  border-color: #ff4d7e;
  box-shadow: 0 0 20px var(--accent-pink-glow);
}

.btn-like {
  color: #2ee6a6;
  border-color: rgba(46, 230, 166, 0.4);
}
.btn-like:hover {
  background: rgba(46, 230, 166, 0.2);
  border-color: #2ee6a6;
  box-shadow: 0 0 20px var(--accent-green-glow);
}

.btn-superlike {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.4);
}
.btn-superlike:hover {
  background: rgba(255, 209, 102, 0.2);
  box-shadow: 0 0 20px var(--accent-gold-glow);
}

.btn-boost {
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.4);
}

.btn-undo {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}

/* Empty State / Radar */
.deck-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 40px 20px;
}

.radar-spinner {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid rgba(255, 77, 126, 0.2);
  position: relative;
  margin-bottom: 24px;
}

.radar-spinner::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--accent-pink);
  animation: spin 1.4s linear infinite;
}

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

/* =========================================================
   MATCH OVERLAY CELEBRATION
   ========================================================= */
.match-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 8, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.match-title {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff4d7e, #ffd166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.match-subtext {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.match-avatars-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
}

.match-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.match-avatar:first-child {
  transform: translateX(18px) rotate(-6deg);
}
.match-avatar:last-child {
  transform: translateX(-18px) rotate(6deg);
}

.match-heart-badge {
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--accent-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 18px var(--accent-pink-glow);
  z-index: 2;
  animation: bounceHeart 1s infinite alternate;
}

@keyframes bounceHeart {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

.match-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

/* =========================================================
   LIKES ("WHO LIKED ME") VIEW
   ========================================================= */
.likes-view {
  padding: 18px;
}

.likes-header-banner {
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(255, 209, 102, 0.4);
}

.likes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.like-card {
  position: relative;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border-subtle);
}

.like-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.like-card.blurred .like-card-img {
  filter: blur(14px) brightness(0.8);
  transform: scale(1.1);
}

.like-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(14, 8, 30, 0.95), transparent);
}

.unlock-overlay-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  z-index: 2;
}

/* =========================================================
   CHATS LIST & ACTIVE CHAT ROOM
   ========================================================= */
.chats-view {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.matches-rail {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rail-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.matches-horizontal-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.match-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.match-bubble-img-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-gold));
}

.match-bubble-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1f1435;
}

.match-bubble-name {
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 68px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversations-list {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.conv-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.conv-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.conv-avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.conv-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.conv-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
}

.conv-content {
  flex: 1;
  min-width: 0;
}

.conv-top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.conv-name {
  font-size: 0.98rem;
  font-weight: 700;
}

.conv-time {
  font-size: 0.75rem;
  color: var(--text-faint);
}

.conv-preview {
  font-size: 0.86rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Chat Room Screen */
.chat-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #140d28;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .chat-screen {
    height: 94vh;
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.2);
  }
}

.chat-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.chat-partner-info {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.chat-partner-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-call-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-call-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.chat-call-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.chat-call-btn.video:hover {
  background: var(--accent-pink);
}

.chat-call-btn.audio:hover {
  background: var(--accent-purple);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 0.94rem;
  line-height: 1.4;
  position: relative;
  word-break: break-word;
}

.msg-me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent-pink) 0%, #e11d48 100%);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px var(--accent-pink-glow);
}

.msg-them {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  border-bottom-left-radius: 4px;
}

.msg-time {
  font-size: 0.68rem;
  margin-top: 4px;
  opacity: 0.75;
  text-align: right;
}

.icebreakers-bar {
  padding: 8px 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.icebreaker-chip {
  white-space: nowrap;
  font-size: 0.78rem;
  background: rgba(124, 92, 255, 0.2);
  border: 1px solid rgba(124, 92, 255, 0.4);
  color: #ddd6fe;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.icebreaker-chip:hover {
  background: rgba(124, 92, 255, 0.4);
}

.chat-input-bar {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================================
   WEBRTC AUDIO & VIDEO CALL OVERLAY
   ========================================================= */
.call-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #0f0a20;
  z-index: 150;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 900px) {
  .call-modal {
    height: 94vh;
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.25);
  }
}

.video-container-remote {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #0d061c;
  overflow: hidden;
}

.remote-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pip-local-video {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 110px;
  height: 160px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  z-index: 10;
  cursor: grab;
  background: #1e1338;
}

.local-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.call-header-overlay {
  position: absolute;
  top: 24px;
  left: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.call-timer-badge {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.call-quality-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ee6a6;
  box-shadow: 0 0 10px #2ee6a6;
}

.call-controls-bar {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 10;
}

.btn-call-end {
  background: #ef4444 !important;
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.5);
}

.btn-call-end:hover {
  background: #dc2626 !important;
  transform: scale(1.1);
}

/* Audio Call Center Stage */
.audio-call-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.audio-pulse-avatar-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-pink);
  animation: pulseRipple 2s ease-out infinite;
}

.pulse-ring:nth-child(2) {
  animation-delay: 0.6s;
}

@keyframes pulseRipple {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

.audio-call-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* =========================================================
   PROFILE & SETTINGS
   ========================================================= */
.profile-view {
  padding: 20px 18px;
}

.profile-card-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  margin-bottom: 20px;
}

.profile-avatar-large-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 14px;
}

.profile-avatar-large {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-pink);
  box-shadow: 0 6px 20px var(--accent-pink-glow);
}

.meter-container {
  width: 100%;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-gold));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.settings-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* Modal Bottom Sheets */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 8, 30, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.bottom-sheet {
  width: 100%;
  max-width: 480px;
  background: #1d1238;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  padding: 24px 20px;
  max-height: 85vh;
  overflow-y: auto;
}

.sheet-handle {
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 18px auto;
}
