/* Machview: charcoal, warm stone, and projection-white controls. Artwork carries the color. */
:root {
  color-scheme: dark;
  --font-sans: "Geist", "Segoe UI", system-ui, sans-serif;
  --font-geist: "Geist", "Segoe UI", system-ui, sans-serif;
  --mv-background: #101010;
  --mv-surface: #181817;
  --mv-raised: #242423;
  --mv-border: #ffffff12;
  --mv-text: #f0efeb;
  --mv-secondary: #b5b3ad;
  --mv-muted: #92918b;
  --mv-accent: #e5e1d8;
  --color-brand-background: #101010;
  /* The recovered utilities use these names across catalog, account, and player controls. */
  --color-gray-200: #e5e1d8;
  --color-gray-300: #d1cec6;
  --color-gray-400: #b5b3ad;
  --color-gray-500: #92918b;
  --color-gray-600: #77766f;
  --color-gray-700: #4c4b46;
  --color-gray-800: #30302d;
  --color-gray-900: #1c1c1b;
  --color-gray-950: #141413;
  --color-zinc-500: #92918b;
  --color-blue-400: #d8d5cd;
  --color-blue-500: #c9c5bb;
  --color-blue-600: #dedbd2;
  --color-purple-600: #aaa69c;
  --color-red-400: #ebe8df;
  --color-red-500: #e5e1d8;
  --color-red-600: #d2cec4;
  --color-red-700: #bdb9ae;
  --color-red-800: #868177;
  --color-red-900: #4c4943;
  --color-red-950: #292824;
  --background: #101010;
  --foreground: #f0efeb;
  --card: #181817;
  --card-foreground: #f0efeb;
  --popover: #20201e;
  --popover-foreground: #f0efeb;
  --primary: #e5e1d8;
  --primary-foreground: #171716;
  --secondary: #242423;
  --secondary-foreground: #f0efeb;
  --muted: #242423;
  --muted-foreground: #b5b3ad;
  --accent: #242423;
  --accent-foreground: #f0efeb;
  --border: #ffffff12;
  --input: #ffffff17;
  --ring: #e5e1d8;
  --radius: 0.75rem;
}
html, body, #root { min-height: 100%; background: var(--mv-background); }
body { color: var(--mv-text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
::selection { background: #e5e1d833; color: #f0efeb; }
:focus-visible { outline: 2px solid var(--mv-accent); outline-offset: 4px; }
header { background: #101010f5 !important; border-bottom: 1px solid var(--mv-border); }
header > div { min-height: 72px; max-width: 1600px; margin-inline: auto; }
header img[alt="Machview"] { height: 32px; width: 180px; object-position: left center; }
header nav a { color: var(--mv-secondary); font-size: 14px; font-weight: 500; }
header nav a:hover, header nav a.font-semibold { color: var(--mv-text); }
header nav a.font-semibold::after { content: ""; width: 4px; height: 4px; background: var(--mv-accent); border-radius: 50%; }
h1, h2, h3 { font-weight: 500 !important; color: var(--mv-text); -webkit-text-fill-color: currentColor; }
h1 { letter-spacing: -0.03em; background-image: none !important; }
h2 { letter-spacing: -0.015em; }
p { line-height: 1.65; }
main { max-width: 1600px; margin-inline: auto; }
button, select, input, textarea { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease; }
input, textarea, select { border-color: #ffffff17 !important; background-color: var(--mv-surface) !important; border-radius: 8px !important; }
input::placeholder, textarea::placeholder { color: var(--mv-muted); }
input:focus, textarea:focus, select:focus { border-color: #e5e1d880 !important; }
button:not(.rounded-full):not([role="switch"]), a.rounded-sm { border-radius: 8px; }
.bg-brand-background { background-color: var(--mv-background); }
.bg-red-600, .hover\:bg-red-700:hover, .bg-blue-500, .bg-blue-600, .hover\:bg-blue-500:hover, .hover\:bg-blue-600:hover, .hover\:\!bg-blue-600:hover { background-color: var(--mv-accent) !important; color: var(--primary-foreground) !important; }
.bg-red-600 :is(span, svg), .hover\:bg-red-700:hover :is(span, svg), .bg-blue-500 :is(span, svg), .bg-blue-600 :is(span, svg) { color: inherit !important; }
[class*="bg-red-600/"] { color: var(--mv-accent); }
button[class*="bg-red-600/90"] { color: var(--primary-foreground); background-color: var(--mv-accent) !important; box-shadow: none !important; }
[class*="shadow-red-"], [class*="shadow-rose-"], [class*="shadow-blue-"], [class*="shadow-purple-"] { --tw-shadow-color: transparent !important; box-shadow: none !important; }
[class*="bg-gradient-to-r"][class*="from-red-"] { background: var(--mv-surface) !important; border-color: var(--mv-border) !important; }
[class*="bg-clip-text"] { background-image: none !important; color: var(--mv-text) !important; -webkit-text-fill-color: currentColor; }
[class*="hover:scale"]:hover { scale: 1; }
footer { border-top: 1px solid var(--mv-border); background: var(--mv-background); color: var(--mv-muted); }
footer a:hover { color: var(--mv-accent); }
.mv-player-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-basis: 100%; padding: 12px 0; color: var(--mv-secondary); font-size: 13px; }
.mv-player-status p { margin: 0; }
.mv-player-status button { flex-shrink: 0; padding: 8px 12px; border: 1px solid var(--mv-border); background: var(--mv-raised); color: var(--mv-text); font-size: 12px; }
.mv-player-status button:hover { border-color: #ffffff40; }
@media (max-width: 600px) { .mv-player-status { align-items: flex-start; } .mv-player-status p { max-width: 28ch; } }
@media (max-width: 767px) {
  header > div { min-height: 64px; gap: 16px; }
  header img[alt="Machview"] { width: 148px; height: 28px; }
  h1 { letter-spacing: -0.025em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
