:root {
  --mb-black: #050505;
  --mb-panel: rgba(15, 11, 16, .82);
  --mb-pink: #ff18d2;
  --mb-cyan: #69f8e5;
  --mb-violet: #6b21ff;
  --mb-line: rgba(255, 255, 255, .13);
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 82% 8%, rgba(107, 33, 255, .16), transparent 26%),
    radial-gradient(circle at 10% 36%, rgba(255, 24, 210, .1), transparent 28%),
    var(--mb-black) !important;
  background-attachment: fixed !important;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .25;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

nav {
  border-bottom: 1px solid var(--mb-line) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.28) !important;
}
.mb-logo {
  letter-spacing: -.08em !important;
  filter: drop-shadow(0 0 18px rgba(255,24,210,.18));
}
.mb-logo::before {
  content: "MB";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 9px;
  border-radius: 50%;
  color: #050505;
  background: var(--mb-pink);
  font: 900 10px/1 monospace;
  letter-spacing: -.08em;
  transform: rotate(-10deg);
  box-shadow: 10px 0 0 -6px #050505, 11px 0 0 -5px var(--mb-pink);
}
.navlink { font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; }
.navlink:hover { color: var(--mb-cyan) !important; }

main, body > section { position: relative; }
h1, h2, h3 { letter-spacing: -.045em !important; }
h1 {
  text-shadow: 0 0 42px rgba(255, 24, 210, .12);
}
h1::after {
  content: "_";
  color: var(--mb-pink);
  animation: mbBlink 1.1s step-end infinite;
}
@keyframes mbBlink { 50% { opacity: 0; } }

.news-card,
[class*="rounded-2xl"],
[class*="rounded-3xl"] {
  border-color: var(--mb-line) !important;
  border-radius: 0 !important;
}
.news-card {
  background: linear-gradient(145deg, rgba(18,14,19,.94), rgba(7,7,7,.92)) !important;
  position: relative;
  overflow: hidden;
}
.news-card::before {
  content: "DATA_FEED";
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  padding: 5px 7px;
  color: #050505;
  background: var(--mb-pink);
  font: 800 7px/1 monospace;
  letter-spacing: .12em;
}
.news-card:hover {
  border-color: rgba(255,24,210,.72) !important;
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0,0,0,.38), 0 0 35px rgba(255,24,210,.08);
}
.news-card a, a.text-\[\#ff00ff\] { color: var(--mb-cyan) !important; }

#featured,
#news-container,
#mb-articles,
#repairGrid,
#tips-container {
  gap: 1px !important;
  background: var(--mb-line);
  border: 1px solid var(--mb-line);
}
#featured > *,
#news-container > *,
#mb-articles > *,
#repairGrid > *,
#tips-container > * { background-color: #090709 !important; }

button, input, textarea, select { border-radius: 0 !important; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--mb-cyan) !important;
  outline-offset: 3px;
}
.bg-\[\#ff00ff\] { background-color: var(--mb-pink) !important; }
.text-\[\#ff00ff\] { color: var(--mb-pink) !important; }
.border-\[\#ff00ff\] { border-color: var(--mb-pink) !important; }

footer {
  border-top: 1px solid var(--mb-line) !important;
  background: rgba(0,0,0,.72) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
}

.mb-support-launcher {
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mb-support-panel {
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.mb-support-head {
  background: linear-gradient(110deg, var(--mb-pink), var(--mb-violet)) !important;
}
.mb-support-tabs button,
.mb-msg,
.mb-ticket-form input,
.mb-ticket-form textarea,
.mb-row input,
.mb-row textarea,
.mb-row button,
.mb-ticket-form button,
.mb-quick button { border-radius: 0 !important; }

@media (max-width: 760px) {
  body::before { background-size: 25px 25px; }
  .mb-logo::before { width: 28px; height: 28px; }
  h1::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h1::after { animation: none; }
  * { transition-duration: .01ms !important; }
}
