/*
  Faceless Animal Studios Mobile Builder App CSS
  Premium, dark, glassy, neon, mobile-first
*/
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #181828 0%, #1a1333 100%);
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.mb-app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: radial-gradient(ellipse at 60% 0%, #2a1a44 0%, #181828 80%);
  position: relative;
}
.mb-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(30,30,47,0.92);
  box-shadow: 0 4px 24px #0008, 0 1.5px 0 #b48cff44;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  padding: 2.2rem 1rem 1.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.mb-header h1 {
  margin: 0 0 0.3rem;
  font-size: 2.1rem;
  color: #b48cff;
  letter-spacing: 0.01em;
  font-weight: 800;
  text-shadow: 0 2px 12px #b48cff33;
}
.mb-header p {
  margin: 0 0 0.7rem;
  color: #b9aaff;
  font-size: 1.08rem;
  font-weight: 500;
}
.mb-status-chip {
  display: inline-block;
  background: linear-gradient(90deg, #b48cff 60%, #6e4cff 100%);
  color: #181828;
  font-weight: bold;
  font-size: 0.98rem;
  border-radius: 999px;
  padding: 0.18rem 1.1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px #b48cff33;
  letter-spacing: 0.01em;
}
.mb-encourage {
  color: #b48cff;
  font-size: 1.01rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.mb-app-shell .mb-card {
  background: rgba(35,35,58,0.92);
  border-radius: 18px;
  box-shadow: 0 6px 32px #0007, 0 0 0 2px #b48cff22;
  margin: 1.2rem 0;
  padding: 1.5rem 1rem 1.2rem;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.mb-app-shell .mb-card:hover, .mb-app-shell .mb-card:focus-within {
  box-shadow: 0 10px 40px #b48cff33, 0 0 0 2.5px #b48cff55;
  transform: translateY(-2px) scale(1.01);
}
.mb-section-title {
  color: #b48cff;
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.mb-section-title .mb-icon {
  font-size: 1.2em;
  opacity: 0.7;
}
.mb-templates {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  padding-bottom: 0.2rem;
}
.mb-template-btn {
  flex: 1 0 130px;
  background: rgba(35,35,58,0.85);
  border: 2.5px solid #444;
  border-radius: 14px;
  color: #fff;
  padding: 1.1rem 0.5rem 0.7rem;
  text-align: center;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s, transform 0.18s;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 12px #0004;
  position: relative;
  min-width: 130px;
  max-width: 170px;
  outline: none;
}
.mb-template-btn.selected, .mb-template-btn:focus {
  border: 2.5px solid #b48cff;
  box-shadow: 0 0 0 3px #b48cff55, 0 2px 12px #b48cff33;
  transform: scale(1.04);
  z-index: 2;
}
.mb-template-btn .mb-template-icon {
  display: block;
  font-size: 2.1em;
  margin-bottom: 0.3em;
  color: #b48cff;
  text-shadow: 0 2px 8px #b48cff33;
}
.mb-template-btn .mb-template-title {
  font-weight: 700;
  font-size: 1.08em;
  margin-bottom: 0.1em;
}
.mb-template-btn .mb-template-desc {
  font-size: 0.98em;
  color: #b9aaff;
  opacity: 0.85;
}
.mb-form-group {
  margin-bottom: 1.1rem;
}
.mb-form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #b9aaff;
  font-size: 1.01em;
}
.mb-form-input, .mb-form-textarea {
  width: 100%;
  padding: 0.85rem;
  border-radius: 9px;
  border: 1.5px solid #333;
  background: rgba(24,24,40,0.98);
  color: #fff;
  font-size: 1.08em;
  font-family: inherit;
  margin-bottom: 0.1rem;
  box-shadow: 0 1px 4px #0002;
  transition: border 0.18s, box-shadow 0.18s;
}
.mb-form-input:focus, .mb-form-textarea:focus {
  border: 1.5px solid #b48cff;
  box-shadow: 0 0 0 2px #b48cff33;
  outline: none;
}
.mb-form-textarea {
  min-height: 70px;
  resize: vertical;
}
.mb-links-list {
  margin: 0; padding: 0; list-style: none;
}
.mb-link-row {
  display: flex; gap: 0.5rem; margin-bottom: 0.5rem;
}
.mb-link-row input { flex: 1; }
.mb-link-remove {
  background: #b48cff; color: #181828; border: none; border-radius: 5px; padding: 0.2rem 0.7rem; cursor: pointer; font-weight: bold;
  box-shadow: 0 1px 4px #b48cff33;
  transition: background 0.18s;
}
.mb-link-remove:hover, .mb-link-remove:focus { background: #6e4cff; color: #fff; }
.mb-add-link {
  background: rgba(35,35,58,0.85); color: #b48cff; border: 1.5px solid #b48cff; border-radius: 9px; padding: 0.5rem 1.2rem; cursor: pointer; margin-top: 0.5rem; font-weight: 600; font-size: 1.05em; transition: background 0.18s, color 0.18s;
}
.mb-add-link:hover, .mb-add-link:focus { background: #b48cff; color: #181828; }
.mb-toggle-group {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
}
.mb-toggle-card {
  flex: 1 0 120px; background: rgba(35,35,58,0.85); border: 2px solid #444; border-radius: 10px; color: #fff; padding: 0.7rem 0.5rem; text-align: center; cursor: pointer; transition: border 0.2s, box-shadow 0.2s, background 0.18s;
  font-weight: 600; font-size: 1.01em;
}
.mb-toggle-card.selected {
  border: 2px solid #b48cff; box-shadow: 0 0 0 2px #b48cff44; background: #2a1a44;
}
.mb-preview-card {
  background: rgba(24,24,40,0.98); border: 2.5px solid #b48cff; border-radius: 22px; box-shadow: 0 6px 32px #b48cff33, 0 2px 8px #0005; margin: 1.2rem auto; max-width: 390px; min-height: 420px; padding: 1.2rem 0.7rem; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.mb-phone-frame {
  background: linear-gradient(135deg, #23233a 60%, #181828 100%);
  border: 3.5px solid #b48cff;
  border-radius: 32px;
  box-shadow: 0 8px 40px #b48cff22, 0 2px 8px #0005;
  width: 320px; max-width: 100vw; min-height: 600px; margin: 0 auto; padding: 1.2rem 0.7rem; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.mb-btn-row {
  display: flex; gap: 1.2rem; justify-content: center; margin-top: 2rem;
}
.mb-btn {
  background: linear-gradient(90deg, #b48cff 60%, #6e4cff 100%);
  color: #181828;
  border: none;
  border-radius: 12px;
  padding: 1rem 2.1rem;
  font-size: 1.18rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 12px #b48cff33;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.mb-btn.secondary {
  background: rgba(35,35,58,0.85); color: #b48cff; border: 1.5px solid #b48cff; }
.mb-btn:active, .mb-btn.secondary:active { transform: scale(0.97); }
.mb-advanced-link {
  display: block; text-align: center; margin: 2.5rem 0 0.7rem; color: #b48cff; text-decoration: underline; font-size: 1.08rem; font-weight: 600; letter-spacing: 0.01em;
}
@media (min-width: 600px) { .mb-app-shell .mb-card, .mb-preview-card { padding: 2.2rem 2.2rem; } }
