/* ==========================================================================
   Aksarasa Self Photo Studio - Link-in-Bio & 3D Interactive Theme
   ========================================================================== */

:root {
  --bg-dark: #12141a;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-dark: rgba(20, 22, 28, 0.82);
  --text-main: #181b22;
  --text-muted: #5e6573;
  --text-light: #f8fafc;
  --primary: #181a20;
  --primary-hover: #2d313a;
  --accent: #d97706;
  --accent-light: #fef3c7;
  --accent-blue: #2563eb;
  --success: #10b981;
  --danger: #ef4444;
  --border: rgba(226, 232, 240, 0.8);
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.15), 0 12px 18px -8px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --blur: blur(16px);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  user-select: none;
}

/* 3D WebGL Canvas Layer */
#webgl-canvas-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: grab;
  background-color: #12141a;
  overflow: hidden;
}

#webgl-canvas-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

#webgl-canvas-container:active {
  cursor: grabbing;
}

/* ==========================================================================
   UI Icon Pack Design System (Ref: Free Icon Pack 1800+ icons)
   ========================================================================== */
.app-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.app-icon.xs { width: 12px; height: 12px; stroke-width: 2.5; }
.app-icon.sm { width: 16px; height: 16px; }
.app-icon.md { width: 20px; height: 20px; }
.app-icon.lg { width: 24px; height: 24px; }

/* Overlay UI Container - Left-aligned Horizontally, Centered Vertically */
#ui-root {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center; /* Center vertikal (atas-bawah) */
  justify-content: flex-start; /* Tetap berada di posisi kiri */
  padding: 20px 24px 20px 36px;
  overflow: hidden;
}

/* Enable pointer events only on interactive panels */
.interactive-panel {
  pointer-events: auto;
}

/* Floating Action Controls Bar (Desktop: Kanan Pojok Bawah) */
.control-bar, .top-bar {
  position: absolute;
  bottom: 24px;
  right: 28px;
  top: auto;
  left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 30;
  pointer-events: none;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.control-actions, .top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.action-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  color: var(--accent-blue);
}

.action-btn.icon-only {
  width: 38px;
  padding: 0;
}

.action-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   Main Link-In-Bio Card Floating Container (Slimmer 360px, Left & Vertically Centered)
   ========================================================================== */
.bio-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  max-height: min(88vh, 740px);
  height: auto;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 0;
  margin-right: 0;
  z-index: 20;
  pointer-events: auto;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  display: flex;
  flex-direction: column;
}

/* Collapsed mode when user toggles "Lihat Ruangan" */
.bio-wrapper.collapsed {
  transform: translateX(-50px) scale(0.95);
  opacity: 0;
  pointer-events: none;
}

.bio-card {
  width: 100%;
  height: 100%;
  max-height: inherit;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  box-shadow: 0 24px 45px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8) inset, 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Card Header & Studio Profile */
.bio-header {
  flex-shrink: 0;
  padding: 18px 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.65);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.2) 100%);
  position: relative;
}

.avatar-container {
  position: relative;
  width: 68px;
  height: 68px;
  margin-bottom: 8px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  background-color: var(--primary);
}

.verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background-color: #2563eb;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.studio-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #0f172a;
  margin-bottom: 2px;
}

.studio-handle {
  font-size: 12px;
  font-weight: 600;
  color: #d97706;
  margin-bottom: 6px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(254, 243, 199, 0.85);
  color: #92400e;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 8px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.studio-tagline {
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
  max-width: 275px;
  margin-bottom: 8px;
}

/* Quick Social Connect Chips with Community Icon Pack Design */
.social-chips {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.social-chip:hover {
  transform: translateY(-2px);
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Link Cards Scrollable List */
.bio-links-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

.bio-links-scroll::-webkit-scrollbar {
  width: 4px;
}

.bio-links-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 4px;
}

/* Link Item Card */
.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  text-decoration: none;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.025);
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.link-card.featured {
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.9) 100%);
}

.link-icon-box {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: all 0.2s ease;
}

.link-card:hover .link-icon-box {
  transform: scale(1.06);
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

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

.link-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.link-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.15);
  white-space: nowrap;
}

.link-desc {
  font-size: 10.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-actions-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.link-arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.link-card:hover .link-arrow {
  color: #0f172a;
  transform: translateX(3px);
}

.link-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-spot-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  border: none;
  color: #475569;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  title: "Lihat di 3D Room";
}

.btn-spot-3d:hover {
  background: #0284c7;
  color: #ffffff;
}

.link-arrow {
  color: #94a3b8;
  font-size: 13px;
  transition: transform 0.2s ease;
}

.link-card:hover .link-arrow {
  transform: translateX(3px);
  color: var(--text-main);
}

/* Card Bottom Micro-Bar */
.bio-footer {
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Bottom Floating Exploration Bar
   ========================================================================== */
.bottom-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 15;
}

.dock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(20, 22, 28, 0.88);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dock-btn:hover {
  color: #ffffff;
}

.dock-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.dock-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
}

/* Floating 3D Tooltip / Hotspot Preview Pill */
#hotspot-tooltip {
  position: absolute;
  top: 75px;
  right: 24px;
  padding: 10px 18px;
  background: rgba(20, 22, 28, 0.88);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  z-index: 15;
  pointer-events: auto;
  display: none;
  animation: fadeIn 0.25s ease;
}

#hotspot-tooltip.visible {
  display: block;
}

.tooltip-title {
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tooltip-sub {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

/* ==========================================================================
   Modals & Popups (Interactive Link Previews, Pricelist, Booking)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-sheet {
  transform: translateY(0) scale(1);
}

.modal-sheet.modal-lg {
  max-width: 820px;
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.15s ease;
}

.btn-close-modal:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   Pricelist Cards Inside Modal
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.price-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.price-card.featured-plan {
  border-color: #2563eb;
  background: #f0f7ff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.price-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-tag {
  font-size: 22px;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 12px;
}

.price-tag span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.price-features {
  list-style: none;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-features li i {
  color: var(--success);
  font-size: 11px;
}

.btn-book-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-book-plan:hover {
  background: var(--accent-blue);
}

/* ==========================================================================
   Admin Dashboard Modal & Forms
   ========================================================================== */
.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  background: #f8fafc;
}

.admin-tab-btn {
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-tab-btn.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  color: var(--text-main);
  background: #ffffff;
  transition: border-color 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

/* Admin Links Table / List */
.admin-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.admin-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-link-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-icon-admin {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.15s ease;
}

.btn-icon-admin:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.btn-icon-admin.danger:hover {
  background: #fef2f2;
  color: var(--danger);
  border-color: #fca5a5;
}

/* ==========================================================================
   Responsive Adaptations (Mobile & Small Tablets)
   ========================================================================== */
@media (max-width: 768px) {
  #ui-root {
    padding: 10px 10px 68px 10px;
    justify-content: center;
  }

  /* Versi Mobile: Action Bar Center di Posisi Bawah */
  .control-bar, .top-bar {
    position: absolute;
    bottom: 14px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 40;
    pointer-events: none;
  }

  .control-actions, .top-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    pointer-events: auto;
  }

  .action-btn {
    height: 35px;
    padding: 0 11px;
    font-size: 11.5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }

  .action-btn.icon-only {
    width: 35px;
    padding: 0;
  }

  /* On mobile: Bio card stays slim, vertically and horizontally centered with space above bottom controls */
  .bio-wrapper {
    width: 100%;
    max-width: min(350px, calc(100vw - 20px));
    max-height: calc(100dvh - 84px);
    margin: auto;
  }

  .bio-card {
    border-radius: 24px;
  }

  .bio-header {
    padding: 16px 14px 10px;
  }

  .avatar-container {
    width: 68px;
    height: 68px;
    margin-bottom: 6px;
  }

  .studio-title {
    font-size: 17px;
  }

  .studio-handle {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .status-badge {
    padding: 3px 10px;
    font-size: 10.5px;
    margin-bottom: 8px;
  }

  .studio-tagline {
    font-size: 11.5px;
    margin-bottom: 8px;
    max-width: 290px;
  }

  .social-chip {
    width: 32px;
    height: 32px;
  }

  .bio-links-scroll {
    padding: 10px 12px 16px;
    gap: 8px;
  }

  .link-card {
    padding: 10px 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .link-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .link-title {
    font-size: 13px;
  }

  .link-desc {
    font-size: 11px;
  }
}

/* Micro-animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: var(--blur);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.toast.show {
  opacity: 1;
}

/* Highlighted link card */
.link-card.highlighted {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.4), var(--shadow-md) !important;
  background: rgba(239, 246, 255, 0.95) !important;
}

/* Collapsed Bio State for full 3D room viewing (Desktop: slides slightly left, Mobile: slides down) */
.bio-wrapper.collapsed {
  transform: translateX(-60px) scale(0.95);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .bio-wrapper.collapsed {
    transform: translateY(30px) scale(0.92);
  }
}


