/* Material Params Manager pages: the editor's neutral grey and the plugin's green index. Layout pieces come from wine-fox.css, fox-shot.css and fox-board.css. */

html.theme-mpm {
  --bg-deep: #121212;
  --bg: #181818;
  --card: #202020;
  --raised: #2f2f2f;
  --line: rgba(236, 236, 236, 0.1);
  --line-2: rgba(236, 236, 236, 0.16);
  --text: #ececec;
  --text-2: #b4b4b4;
  --text-3: #949494;
  --accent: #00ffad;
  --accent-hover: #66ffce;
  --accent-ink: #06140f;
}
.theme-mpm ::selection { background: rgba(0, 255, 173, 0.26); }
.theme-mpm .nav-bar { background: rgba(24, 24, 24, 0.88); }
.theme-mpm .btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.theme-mpm .btn-primary:hover { background: var(--accent-hover); }
.theme-mpm .docs-nav a.active { box-shadow: inset 2px 0 0 var(--accent); }
.theme-mpm .docs-content p, .theme-mpm .docs-content li, .theme-mpm .docs-content td { color: #c8c8c8; }
/* Screenshots are small: shown at their own size, never stretched. */
.theme-mpm .docs-content figure img { width: auto; max-width: 100%; height: auto; }
.theme-mpm .docs-content pre.cli { overflow-x: auto; }

.mpm-rows { display: grid; gap: 56px; }
.mpm-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.mpm-row h3 { font-size: 22px; line-height: 30px; margin-bottom: 8px; }
.mpm-row p { color: var(--text-2); max-width: 30rem; }
.mpm-row figure, .mpm-tall { margin: 0; }
.mpm-row img, .mpm-tall img { border: 1px solid var(--line-2); border-radius: 12px; height: auto; }
.mpm-row img { width: 100%; max-width: 785px; }
.mpm-tall { margin-top: 32px; max-width: 460px; }
.mpm-tall img { width: 100%; }
.mpm-link { color: var(--accent); }
.mpm-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.mpm-tm { margin-top: 24px; max-width: 46rem; font-size: 14px; line-height: 21px; }
@media (max-width: 860px) {
  .mpm-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Video: a poster link that turns into the YouTube player on click. */
.mpm-video { position: relative; display: block; width: 100%; max-width: 960px; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #000; }
.mpm-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpm-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); transition: transform 140ms ease, background-color 140ms ease; }
.mpm-play svg { width: 32px; height: 32px; margin-left: 4px; }
.mpm-video:hover .mpm-play, .mpm-video:focus-visible .mpm-play { transform: scale(1.08); background: var(--accent-hover); }
