/* Main Container */
.app-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  max-width: 100%;
  margin: 0;
}

/* Floating Canvas Stats Overlay */
.floating-stats {
  display: flex;
  gap: 8px;
  align-items: center;
}

.studio-stat-capsule {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-theme);
  border-radius: 20px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(74, 62, 61, 0.05);
  transition: all 0.3s ease;
}

.studio-stat-capsule:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-pink);
  transform: translateY(-1px);
}

.studio-stat-capsule .stat-icon {
  font-size: 14px;
  filter: drop-shadow(0 1px 2px rgba(74, 62, 61, 0.1));
}

.studio-stat-capsule .stat-value {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

#total-followers-bubble {
  color: var(--accent-pink);
}

#total-followers-bubble:hover {
  transform: translateY(-2px);
}

#total-followers-bubble .stat-value {
  color: var(--accent-pink);
  font-weight: 800;
  font-size: 16px;
}

#total-followers-bubble .stat-icon {
  color: var(--accent-pink);
}

/* Layout Grid (Flexbox layout to allow collapsible sidebar) */
.game-layout {
  flex-grow: 1;
  display: flex;
  gap: 0;
  height: 100vh;
  min-height: 0; /* Important for scrollable areas inside grid */
}

.items-sidebar {
  width: 380px;
  flex-shrink: 0;
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-left: var(--border-theme);
  padding: 0 !important;
  background: transparent;
  box-shadow: inset 6px 0 12px -4px rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
}

.items-sidebar.grid-cols-3 {
  width: 550px;
}

.studio-panel {
  flex-grow: 1;
  min-width: 0;
}

/* Sidebars (Glass Panels) */
.sidebar {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: none;
  border-radius: 0;
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow: hidden;
}

.panel-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.panel-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
  border-radius: 2px;
}

