/* Screen-Specific Styles for MyPortfolio */

/* ==========================================================================
   1. Splash Screen
   ========================================================================== */
.screen-splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 32px;
  text-align: center;
  background: radial-gradient(circle at 50% 40%, #1E1B4B 0%, #0B0F17 70%);
  position: absolute;
  inset: 0;
  z-index: 100;
  transition: opacity 0.5s ease;
}

.splash-logo-container {
  position: relative;
  margin-bottom: 24px;
}

.splash-logo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
  filter: blur(20px);
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

.splash-logo {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: linear-gradient(135deg, #4F46E5, #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(79, 70, 229, 0.45);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.splash-logo svg {
  width: 48px;
  height: 48px;
  color: #FFFFFF;
}

.splash-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.splash-subtitle {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A5B4FC;
}

.splash-loader {
  margin-top: 50px;
  display: flex;
  gap: 8px;
}

.splash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: splash-dot-bounce 1.4s infinite ease-in-out both;
}

.splash-dot:nth-child(1) { animation-delay: -0.32s; }
.splash-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes splash-dot-bounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   2. Onboarding Screens
   ========================================================================== */
.screen-onboarding {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 24px;
  height: 100%;
}

.onboarding-top-bar {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

.onboarding-slider-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.onboarding-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.onboarding-slide.active-slide {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.onboarding-visual {
  width: 260px;
  height: 240px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.onboarding-card-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: left;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.onboarding-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.onboarding-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 280px;
}

.onboarding-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 10px;
}

.onboarding-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.onboarding-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.onboarding-dot.active {
  width: 24px;
  background: var(--accent-primary);
}

.onboarding-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.onboarding-login-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   3. Authentication Screens
   ========================================================================== */
.screen-auth {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.auth-header {
  margin-bottom: 28px;
  text-align: center;
}

.auth-badge-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4F46E5, #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.auth-badge-logo svg {
  width: 28px;
  height: 28px;
}

.auth-tabs {
  display: flex;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.auth-tab-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab-btn.active {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.auth-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
  padding: 0 12px;
}

.auth-google-btn {
  width: 100%;
  background: #FFFFFF;
  color: #1F2937;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-google-btn:hover {
  background: #F3F4F6;
}

.auth-demo-shortcut {
  margin-top: 18px;
  padding: 10px;
  background: var(--accent-subtle);
  border: 1px dashed var(--accent-border);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--accent-primary);
  font-weight: 600;
}

/* ==========================================================================
   4. Home Screen (Dashboard)
   ========================================================================== */
.home-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-user-greeting h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-user-greeting p {
  font-size: 13px;
  color: var(--text-secondary);
}

.home-header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
  cursor: pointer;
}

/* Portfolio Completion Card */
.completion-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.completion-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.completion-badge {
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-primary);
}

.completion-message {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.4;
}

/* User's Portfolio Preview Card */
.portfolio-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.showcase-header {
  padding: 16px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.showcase-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
}

.showcase-name {
  font-size: 16px;
  font-weight: 700;
}

.showcase-role {
  font-size: 12px;
  color: var(--text-secondary);
}

.showcase-preview-frame {
  margin: 0 16px;
  border-radius: var(--radius-md);
  background: #0D1117;
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.showcase-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-preview-frame:hover .showcase-preview-img {
  transform: scale(1.04);
}

.showcase-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
}

.showcase-live-url {
  font-size: 11px;
  color: #A5B4FC;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-actions {
  padding: 14px 16px;
  display: flex;
  gap: 8px;
}

/* Quick Actions 2x2 Grid */
.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quick-action-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-action-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.quick-action-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-action-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
}

.section-link {
  font-size: 13px;
  color: var(--accent-primary);
  font-weight: 600;
}

/* Projects Cards in Home & Screens */
.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 14px;
  transition: all var(--transition-normal);
}

.project-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.project-cover-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: #161B22;
}

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

.project-tag-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.project-body {
  padding: 16px;
}

.project-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-short-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.project-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.project-tool-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   5. Dedicated Portfolio Builder (Create Screen)
   ========================================================================== */
.builder-stepper {
  position: sticky;
  top: 0;
  background: var(--bg-app);
  padding: 10px 0 16px;
  z-index: 50;
  border-bottom: 1px solid var(--border-color);
}

.step-indicator-scroll {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.step-indicator-scroll::-webkit-scrollbar {
  display: none;
}

.step-bubble {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.step-bubble.active {
  background: var(--accent-subtle);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.step-bubble.completed {
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.3);
}

.step-bubble-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.step-bubble.active .step-bubble-num {
  background: var(--accent-primary);
  color: white;
}

.step-bubble.completed .step-bubble-num {
  background: var(--success);
  color: white;
}

.builder-step-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.builder-step-pane.active-pane {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title-block {
  margin-bottom: 20px;
}

.step-title-block h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.step-title-block p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Builder Avatar Upload Field */
.avatar-upload-area {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.builder-avatar-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
}

.builder-nav-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Template Selection Cards
   ========================================================================== */
.template-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.template-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.template-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
}

.template-card.selected {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary), 0 8px 24px rgba(var(--accent-primary-rgb), 0.3);
}

.template-badge-selected {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-primary);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  display: none;
}

.template-card.selected .template-badge-selected {
  display: block;
}

.template-visual-thumb {
  height: 120px;
  background: #131722;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.template-mock-mini {
  width: 90%;
  height: 100%;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.template-info {
  padding: 14px 16px;
}

.template-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.template-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Live Customization Controls
   ========================================================================== */
.customization-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
}

.color-palette-picker {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform var(--transition-fast);
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  border-color: #FFFFFF;
  box-shadow: 0 0 0 2px var(--border-color);
}

/* ==========================================================================
   6. Discover Screen (Directory)
   ========================================================================== */
.discover-search-bar {
  position: relative;
}

.filter-pills-row {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-pills-row::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill.active {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
}

.discover-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-normal);
}

.discover-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.discover-user-header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.discover-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
}

.discover-info h3 {
  font-size: 16px;
  font-weight: 700;
}

.discover-role {
  font-size: 13px;
  color: var(--accent-primary);
  font-weight: 500;
}

.discover-location {
  font-size: 11px;
  color: var(--text-muted);
}

.discover-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.discover-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   7. My Portfolio Screen & Analytics
   ========================================================================== */
.status-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.public-link-box {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #A5B4FC;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.analytic-metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-delta {
  font-size: 10px;
  color: var(--success);
  font-weight: 600;
}

/* Analytics Chart */
.chart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chart-bars-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  padding-top: 10px;
  border-bottom: 1px solid var(--border-color);
  gap: 8px;
}

.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 6px;
}

.chart-bar {
  width: 100%;
  max-width: 22px;
  background: var(--accent-primary);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.chart-bar:hover {
  background: #818CF8;
}

.chart-bar-label {
  font-size: 10px;
  color: var(--text-muted);
}

/* ==========================================================================
   8. Profile Screen
   ========================================================================== */
.profile-user-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.profile-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
  margin-bottom: 12px;
}

.menu-list-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: var(--bg-surface-elevated);
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.menu-item-left svg {
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   9. Publish Success Modal (Celebration)
   ========================================================================== */
.publish-success-content {
  text-align: center;
  padding: 24px 10px;
}

.confetti-icon {
  font-size: 48px;
  margin-bottom: 12px;
  animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.publish-url-card {
  background: var(--bg-input);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.publish-url-text {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #A5B4FC;
}

.username-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.username-prefix {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

/* Public link box: long usernames must not push the Copy button off-screen */
.public-link-box { gap: 8px; min-width: 0; }
.public-link-box > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.public-link-box > button { flex-shrink: 0; }
