:root {
  color-scheme: dark;
  --mp-bg: hsl(224, 71%, 4%);
  --mp-bg-alt: hsl(224, 60%, 6%);
  --mp-text: hsl(213, 31%, 91%);
  --mp-muted: hsl(217, 12%, 65%);
  --mp-border: hsl(215, 28%, 17%);
  --mp-glow-blue: rgba(59, 130, 246, 0.18);
  --mp-glow-teal: rgba(20, 184, 166, 0.16);
  --mp-glow-purple: rgba(168, 85, 247, 0.2);
  --mp-accent: hsl(250, 95%, 60%);
  --mp-radius: 18px;
  --mp-font-heading: ui-sans-serif, system-ui, sans-serif;
  --mp-font-body: ui-sans-serif, system-ui, sans-serif;
  --gh-font-body: var(--mp-font-body);
  --gh-font-heading: var(--mp-font-heading);
  --mp-cat-3d: #f97316;
  --mp-cat-games: #a855f7;
  --mp-cat-tools: #3b82f6;
  --mp-cat-workflows: #22c55e;
  --mp-cat-projects: #ef4444;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--mp-font-body);
  background: var(--mp-bg);
  color: var(--mp-text);
}

.mp-background {
  min-height: 100vh;
  background: var(--mp-bg);
  position: relative;
  overflow: hidden;
}

.mp-starfield {
  position: absolute;
  inset: 0;
  background: none;
  opacity: 0;
  pointer-events: none;
}

.mp-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.mp-particles canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.mp-glow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

.mp-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
}

.mp-glow-blue-1 {
  width: 384px;
  height: 384px;
  top: 12%;
  left: 12%;
  background: rgba(59, 130, 246, 0.15);
}

.mp-glow-teal-1 {
  width: 320px;
  height: 320px;
  top: 45%;
  right: 12%;
  background: rgba(20, 184, 166, 0.12);
}

.mp-glow-purple-1 {
  width: 288px;
  height: 288px;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(168, 85, 247, 0.15);
}

.mp-glow-blue-2 {
  width: 256px;
  height: 256px;
  top: 72%;
  left: 22%;
  background: rgba(96, 165, 250, 0.1);
}

.mp-glow-teal-2 {
  width: 352px;
  height: 352px;
  top: 35%;
  right: 32%;
  background: rgba(45, 212, 191, 0.08);
}

.mp-glow-purple-2 {
  width: 224px;
  height: 224px;
  bottom: 15%;
  right: 20%;
  background: rgba(192, 132, 252, 0.12);
}

.mp-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  background: rgba(2, 6, 23, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.mp-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mp-brand {
  font-family: var(--mp-font-heading);
  font-weight: 700;
  letter-spacing: 0;
  font-size: 24px;
  text-transform: none;
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms ease;
}

.mp-brand:hover {
  opacity: 0.8;
}

.mp-brand-text {
  background: linear-gradient(90deg, var(--mp-accent), rgba(192, 132, 252, 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mp-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.mp-nav-links {
  display: flex;
  gap: 24px;
  font-size: 16px;
  color: var(--mp-muted);
}

.mp-nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.mp-nav-links a:hover {
  color: var(--mp-text);
}

.mp-nav-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.mp-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mp-lang-icon {
  width: 16px;
  height: 16px;
  color: var(--mp-muted);
  display: inline-flex;
}

.mp-lang-icon svg {
  width: 100%;
  height: 100%;
}

.mp-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--mp-muted);
  padding: 0 8px;
  height: 32px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  transition: background 200ms ease, color 200ms ease;
}

.mp-lang:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--mp-text);
}

.mp-lang.is-active {
  background: var(--mp-text);
  color: #0b1120;
}

.mp-cta {
  background: #f96854;
  color: #fff;
  padding: 8px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 200ms ease;
}

.mp-cta-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.mp-cta-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.mp-cta:hover {
  background: #e85a47;
}

.mp-nav .mp-cta {
  background: linear-gradient(135deg, #0b0b0d, #232327);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.mp-nav .mp-cta:hover {
  background: linear-gradient(135deg, #0f1013, #2c2c33);
}

.mp-cta.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.mp-user[hidden] {
  display: none !important;
}

.mp-auth {
  display: inline-flex;
  align-items: center;
}

.mp-user {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: opacity 200ms ease;
}

.mp-avatar:hover {
  opacity: 0.8;
}

.mp-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  display: none;
}

.mp-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mp-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.mp-user.is-image .mp-avatar-img {
  display: block;
}

.mp-user.is-image .mp-avatar-fallback {
  display: none;
}

.mp-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 30;
}

.mp-user.is-open .mp-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mp-dropdown-label {
  padding: 8px 10px;
}

.mp-dropdown-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--mp-text);
}

.mp-dropdown-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

.mp-dropdown-item {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--mp-text);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
  text-align: left;
}

.mp-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mp-dropdown-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.mp-dropdown-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  margin-left: auto;
}

.mp-nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--mp-text);
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.mp-nav.is-open .mp-nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mp-nav.is-open .mp-nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.mp-nav.is-open .mp-nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mp-nav-mobile {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(12px);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 240ms ease, opacity 240ms ease;
}

.mp-nav.is-open .mp-nav-mobile {
  max-height: 360px;
  opacity: 1;
  overflow: visible;
}

.mp-nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0 8px;
}

.mp-nav-mobile-links a {
  color: var(--mp-muted);
  text-decoration: none;
  font-size: 16px;
  transition: color 160ms ease;
}

.mp-nav-mobile-links a:hover {
  color: var(--mp-accent);
}

.mp-nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mp-main {
  position: relative;
  z-index: 2;
  padding: 120px 24px 120px;
}

.mp-container {
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .mp-nav-links,
  .mp-nav-actions {
    display: none;
  }

  .mp-nav-toggle {
    display: inline-flex;
  }

  .mp-nav-mobile {
    display: block;
  }

  .mp-filter-bar {
    width: 100%;
    justify-content: center;
  }
}

.mp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.mp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mp-main::before {
  content: "";
  position: absolute;
  inset: -120px 0 0;
  background: none;
  pointer-events: none;
  z-index: -1;
  filter: blur(12px);
  opacity: 0;
}

.mp-hero {
  text-align: center;
  margin-top: 0;
  margin-bottom: 56px;
}

.mp-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(226, 232, 240, 0.55);
  margin-bottom: 10px;
}

.mp-title {
  font-family: var(--mp-font-heading);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.mp-subtitle {
  color: rgba(226, 232, 240, 0.65);
  max-width: 640px;
  font-size: 20px;
  line-height: 1.55;
  margin: 0 auto;
}

.mp-section {
  margin-top: 64px;
}

.mp-section-featured {
  margin-bottom: 128px;
}

.mp-section-header h2 {
  font-family: var(--mp-font-heading);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 18px;
}

.mp-section-header.is-centered {
  text-align: center;
}

.mp-grid {
  display: grid;
  gap: 32px;
}

.mp-grid-featured {
  grid-template-columns: 1fr;
  max-width: 1152px;
  margin: 0 auto;
}

.mp-grid-featured .mp-card {
  min-height: 280px;
}

.mp-grid-featured .mp-card-title {
  font-size: 18px;
}

.mp-grid-featured .mp-card-text {
  font-size: 12px;
  -webkit-line-clamp: 5;
}

.mp-grid-all {
  grid-template-columns: 1fr;
}

.mp-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--mp-card-border, rgba(255, 255, 255, 0.12));
  padding: 24px;
  background-color: rgba(2, 6, 23, 0.4);
  background-image: var(--mp-card-bg, linear-gradient(135deg, rgba(2, 6, 23, 0.5), rgba(2, 6, 23, 0.5), transparent));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  min-height: 280px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.mp-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mp-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mp-card::before {
  content: "";
  position: absolute;
  inset: -60% 10% auto;
  height: 80%;
  background: radial-gradient(circle at 20% 20%, var(--mp-card-glow, rgba(255, 255, 255, 0.2)) 0%, transparent 75%);
  opacity: 0.55;
  filter: blur(18px);
  pointer-events: none;
}

.mp-card::after {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--mp-card-cloud, rgba(255, 255, 255, 0.08)), transparent 65%);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.mp-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.mp-card:hover::after {
  opacity: 0.75;
}

.mp-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mp-card-badges {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-end;
}

.mp-card.is-3d-printables {
  --mp-card-border: rgba(249, 115, 22, 0.4);
  --mp-card-glow: rgba(249, 115, 22, 0.45);
  --mp-card-cloud: rgba(249, 115, 22, 0.25);
  --mp-card-accent: var(--mp-cat-3d);
  --mp-card-bg: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.08), transparent);
}

.mp-card.is-games {
  --mp-card-border: rgba(168, 85, 247, 0.4);
  --mp-card-glow: rgba(168, 85, 247, 0.45);
  --mp-card-cloud: rgba(168, 85, 247, 0.25);
  --mp-card-accent: var(--mp-cat-games);
  --mp-card-bg: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(147, 51, 234, 0.08), transparent);
}

.mp-card.is-tools {
  --mp-card-border: rgba(59, 130, 246, 0.4);
  --mp-card-glow: rgba(59, 130, 246, 0.45);
  --mp-card-cloud: rgba(59, 130, 246, 0.25);
  --mp-card-accent: var(--mp-cat-tools);
  --mp-card-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.08), transparent);
}

.mp-card.is-workflows {
  --mp-card-border: rgba(20, 184, 166, 0.4);
  --mp-card-glow: rgba(20, 184, 166, 0.45);
  --mp-card-cloud: rgba(20, 184, 166, 0.25);
  --mp-card-accent: #14b8a6;
  --mp-card-bg: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(13, 148, 136, 0.08), transparent);
}

.mp-card.is-projects {
  --mp-card-border: rgba(239, 68, 68, 0.4);
  --mp-card-glow: rgba(239, 68, 68, 0.45);
  --mp-card-cloud: rgba(239, 68, 68, 0.25);
  --mp-card-accent: var(--mp-cat-projects);
  --mp-card-bg: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.08), transparent);
}

.mp-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mp-text);
}

.mp-badge-featured {
  background: rgba(255, 193, 7, 0.15);
  color: #ffcc67;
}

.mp-badge-live {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.mp-card-title {
  margin: 0;
  font-family: var(--mp-font-heading);
  font-size: 16px;
  font-weight: 600;
}

.mp-card-text {
  color: var(--mp-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mp-card-media {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.5);
  margin: 10px 0 12px;
}

.mp-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-card-body {
  position: relative;
  margin-top: 12px;
}

.mp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mp-chip {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(226, 232, 240, 0.7);
  background: rgba(2, 6, 23, 0.35);
}

.mp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  position: relative;
  font-size: 12px;
}

.mp-button {
  background: var(--mp-card-accent, var(--mp-accent));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mp-button-icon {
  width: 16px;
  height: 16px;
  display: none;
  filter: brightness(0) invert(1);
}

.mp-button-icon.is-visible {
  display: inline-block;
}

.mp-price {
  font-size: 12px;
  color: var(--mp-muted);
}

.mp-filter-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  padding: 8px 10px;
  background: rgba(2, 6, 23, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: fit-content;
  margin: 0 auto;
}

.mp-filter {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  min-height: 32px;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.mp-filter.is-active {
  background: var(--mp-accent);
  color: #fff;
  border-color: transparent;
}

.mp-load-more-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.mp-load-more {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.mp-load-more:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.mp-load-more:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}

.mp-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 30;
}

.mp-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mp-outage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 80;
  --mp-outage-bg: oklch(0.145 0 0);
  --mp-outage-fg: oklch(0.985 0 0);
  --mp-outage-muted: oklch(0.269 0 0);
  --mp-outage-muted-fg: oklch(0.708 0 0);
  --mp-outage-border: oklch(0.269 0 0);
  --mp-outage-primary: oklch(0.985 0 0);
  --mp-outage-primary-fg: oklch(0.205 0 0);
}

.mp-outage[hidden] {
  display: none;
}

.mp-outage-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.mp-outage-card {
  position: relative;
  z-index: 1;
  width: min(576px, 100%);
  background: var(--mp-outage-bg);
  border: 1px solid var(--mp-outage-border);
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  color: var(--mp-outage-fg);
  text-align: center;
  overflow: hidden;
}

.mp-outage-header {
  padding: 24px 24px 16px;
}

.mp-outage-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.mp-outage-title-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.mp-outage-icon {
  width: 24px;
  height: 24px;
}

.mp-outage-icon-db {
  color: #f97316;
}

.mp-outage-icon-brain {
  position: absolute;
  right: -4px;
  top: -4px;
  width: 12px;
  height: 12px;
  color: #3b82f6;
  animation: mp-outage-pulse 1.5s infinite;
}

.mp-outage-subtitle {
  margin: 12px 0 0;
  color: var(--mp-outage-muted-fg);
  font-size: 14px;
}

.mp-outage-body {
  padding: 0 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.mp-outage-animation {
  padding: 12px 0 4px;
}

.mp-outage-svg {
  width: 120px;
  height: 120px;
}

.mp-outage-brain {
  color: #3b82f6;
}

.mp-outage-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mp-outage-muted-fg);
}

.mp-outage-safety {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--mp-outage-border);
  background: color-mix(in oklab, var(--mp-outage-muted) 50%, transparent);
  color: var(--mp-outage-muted-fg);
  font-size: 14px;
  line-height: 1.5;
}

.mp-outage-safety p {
  margin: 0;
}

.mp-outage-technical {
  margin: 0;
  font-size: 12px;
  color: var(--mp-outage-muted-fg);
  opacity: 0.75;
}

.mp-outage-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 4px;
}

.mp-outage-close {
  min-width: 96px;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: var(--mp-outage-primary);
  color: var(--mp-outage-primary-fg);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mp-outage-footer {
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--mp-outage-border);
  font-size: 12px;
  color: var(--mp-outage-muted-fg);
}

.mp-outage-cable {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mp-outage-cable.is-active {
  opacity: 1;
}

.mp-outage-cable-line {
  fill: #3b82f6;
  animation: mp-outage-pulse 1.4s infinite;
}

.mp-outage-cable-plug {
  fill: #60a5fa;
}

.mp-outage-cable-spark {
  fill: #93c5fd;
  animation: mp-outage-ping 1.6s infinite;
}

.mp-outage-dot {
  fill: #22d3ee;
  opacity: 0;
  animation: mp-outage-pulse 1.2s infinite;
}

.mp-outage-dot.is-active {
  opacity: 1;
}

@keyframes mp-outage-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes mp-outage-ping {
  0% {
    opacity: 1;
    transform: scale(0.8);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.mp-filter-count {
  margin-left: 6px;
  opacity: 0.7;
  font-size: 11px;
}

.mp-filter.is-active[data-filter="3d-printables"] {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(249, 115, 22, 0.6);
  color: #ffd8b5;
}

.mp-filter.is-active[data-filter="games"] {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.6);
  color: #edd6ff;
}

.mp-filter.is-active[data-filter="tools"] {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.6);
  color: #cfe2ff;
}

.mp-filter.is-active[data-filter="workflows"] {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.6);
  color: #c7f2da;
}

.mp-filter.is-active[data-filter="projects"] {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ffd1d1;
}

.mp-post {
  max-width: 780px;
  margin: 0 auto;
}

.mp-post-header h1 {
  font-family: var(--mp-font-heading);
  margin-bottom: 10px;
}

.mp-post-excerpt {
  color: var(--mp-muted);
}

.mp-post-feature {
  margin: 20px 0 0;
}

.mp-post-feature img {
  width: 100%;
  height: auto;
  border-radius: var(--mp-radius);
  display: block;
}

.mp-post-content {
  margin-top: 24px;
}

.mp-post-content .kg-width-wide {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.mp-post-content .kg-width-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.mp-footer {
  position: relative;
  z-index: 2;
  padding: 36px 48px 48px;
  border-top: none;
  background: transparent;
  backdrop-filter: none;
}

.mp-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.mp-footer-brand {
  font-family: var(--mp-font-heading);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--mp-text);
  margin-bottom: 6px;
}

.mp-footer-note {
  margin: 0;
  color: var(--mp-muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .mp-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .mp-main {
    padding: 60px 20px 80px;
  }
}

@media (max-width: 640px) {
  .mp-hero {
    text-align: left;
  }

  .mp-title {
    font-size: 32px;
  }

  .mp-subtitle {
    margin: 0;
  }

  .mp-filter-bar {
    overflow-x: auto;
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .mp-title {
    font-size: 48px;
  }

  .mp-grid-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .mp-grid-all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .mp-grid-all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .mp-grid-all {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
