:root {
  --mbs-accent: #E85D04; /* Lobster Red */
  --mbs-accent-hover: #F48C06; /* Deep Orange */
  --mbs-accent-soft: #FAA307; /* Soft Orange */
  --mbs-link: #1A365D; /* Navy Blue */
  --mbs-gold: #D4AF37;
}

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; max-width: 800px; margin: 0 auto; padding: 20px; background: #FEFAE0; }
header { border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 30px; }
footer { margin-top: 50px; border-top: 1px solid #eee; padding-top: 20px; font-size: 0.8em; color: #0F172A; }
h1 { color: #1A365D; }
.hero { text-align: center; padding: 50px 0; }
.cta { margin-top: 30px; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; margin: 0 10px; }
.primary { background: var(--mbs-accent); color: #fff; }
.primary:hover { background: var(--mbs-accent-hover); }
.secondary { background: var(--mbs-accent-soft); color: #111; }
.secondary:hover { background: var(--mbs-accent-hover); color: #111; }
a { color: var(--mbs-link); }
a:hover { color: var(--mbs-gold); }
nav a { text-decoration: none; color: #111; margin-right: 10px; }
#owner-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #444; float: right; }
#owner-badge img, #owner-badge .avatar-fallback { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #ddd; }
#owner-badge .avatar-fallback { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: #f2f2f2; color: #333; }

.stack { display: grid; gap: 12px; max-width: 620px; }
.card-grid { display: grid; gap: 12px; }
input, textarea, select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; }
.card { padding: 14px; border: 1px solid #eee; border-radius: 8px; background: #fff; }

/* Responsive breakpoints */
@media (max-width: 768px) {
  body { padding: 15px; }
  .hero { padding: 30px 0; }
  .btn { display: block; width: 100%; margin: 10px 0; text-align: center; }
  #owner-badge { float: none; display: flex; margin-top: 10px; }
  .stack, .card-grid { max-width: 100%; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  body { max-width: 720px; }
  .card-grid { max-width: 680px; grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
  .card-grid { max-width: 800px; grid-template-columns: repeat(3, 1fr); }
}
code { background: #f2f2f2; padding: 2px 6px; border-radius: 4px; }
.error-msg { color: #b91c1c; min-height: 1.2em; font-size: 14px; }
