/* 魔盘 · 独立样式（不沿用剧盘蓝色短剧风） */

:root {
  --mp-bg: #f6f5f8;
  --mp-surface: #ffffff;
  --mp-text: #18181b;
  --mp-muted: #71717a;
  --mp-border: #e4e4e7;
  --mp-brand: #7c3aed;
  --mp-brand-soft: #ede9fe;
  --mp-brand-deep: #5b21b6;
  --mp-accent: #a78bfa;
  --mp-ok: #059669;
  --mp-ok-bg: #ecfdf5;
  --mp-radius: 14px;
  --mp-shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 8px 24px rgba(91, 33, 182, 0.06);
  --mp-font: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --mp-max: 920px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--mp-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--mp-text);
  background:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(124, 58, 237, 0.09), transparent 55%),
    var(--mp-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.mp-container {
  width: min(var(--mp-max), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.mp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 248, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 228, 231, 0.8);
}

.mp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.mp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mp-brand-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--mp-brand-deep), var(--mp-brand));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
}

.mp-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mp-brand-text strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.mp-brand-text small {
  font-size: 0.72rem;
  color: var(--mp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-nav {
  display: flex;
  gap: 8px;
}

.mp-nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mp-muted);
  transition: background 0.15s, color 0.15s;
}

.mp-nav-link:hover { color: var(--mp-text); background: rgba(0,0,0,0.04); }
.mp-nav-link.is-active {
  color: var(--mp-brand-deep);
  background: var(--mp-brand-soft);
}

/* Main */
.mp-main { padding: 28px 0 48px; }

/* Channel tabs */
.mp-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--mp-border);
}

.mp-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px 10px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mp-muted);
  border: 1px solid transparent;
  border-bottom: none;
  margin-bottom: -1px;
  transition: color 0.15s, background 0.15s;
}

.mp-channel:hover { color: var(--mp-brand-deep); background: rgba(124, 58, 237, 0.06); }

.mp-channel.is-active {
  color: var(--mp-brand-deep);
  background: var(--mp-surface);
  border-color: var(--mp-border);
}

.mp-channel-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--mp-bg);
  color: var(--mp-muted);
}

.mp-channel.is-active .mp-channel-count {
  background: var(--mp-brand-soft);
  color: var(--mp-brand-deep);
}

.mp-tag--read { color: #6d28d9; background: #f5f3ff; }
.mp-tag--github { color: #1f2937; background: #f3f4f6; }
.pill-read { color: #6d28d9; background: #f5f3ff; }
.pill-preview { color: #4338ca; background: #eef2ff; }

.pill-share {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 1px solid rgba(219, 39, 119, 0.35);
  border-radius: 999px;
  background: rgba(219, 39, 119, 0.08);
  color: #db2777;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.pill-share svg { width: 14px; height: 14px; }
.pill-share:hover, .pill-share.is-shared {
  background: rgba(219, 39, 119, 0.14);
  border-color: #db2777;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
  border: none;
  box-shadow: 0 8px 20px rgba(219, 39, 119, 0.2);
}
.btn-share:hover { filter: brightness(1.05); }
.btn-share.is-shared {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}
.cta-panel--share-only { margin-top: 24px; }
.detail-resource-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.mp-toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 1000;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  background: #1e1b4b;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.mp-toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.mp-toast--success { background: #059669; }
.mp-toast--error { background: #dc2626; }

.classic-text {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 0.95rem;
  line-height: 1.85;
  padding: 20px;
  background: #fafafa;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  overflow-x: auto;
}

.classic-text--preview {
  max-height: 420px;
  overflow-y: auto;
}

.detail-tip--preview {
  margin-bottom: 12px;
  color: var(--mp-muted);
  font-size: 0.9rem;
}

/* Hero — compact */
.mp-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 8px;
}

.mp-eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mp-brand);
}

.mp-hero h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.mp-hero-desc {
  margin: 10px 0 0;
  max-width: 36em;
  color: var(--mp-muted);
  font-size: 0.92rem;
}

.mp-hero-stat {
  flex-shrink: 0;
  text-align: right;
  padding: 12px 16px;
  border-radius: var(--mp-radius);
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  box-shadow: var(--mp-shadow);
}

.mp-hero-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--mp-brand-deep);
}

.mp-hero-stat-label {
  font-size: 0.75rem;
  color: var(--mp-muted);
}

/* Search */
.mp-toolbar { margin-bottom: 16px; }

.mp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: 999px;
  box-shadow: var(--mp-shadow);
}

.mp-search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--mp-muted);
}

.mp-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}

.mp-search button {
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--mp-brand-deep), var(--mp-brand));
  cursor: pointer;
}

.mp-search button:hover { filter: brightness(1.05); }

.mp-search-clear {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--mp-muted);
}

/* Categories */
.mp-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.mp-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mp-muted);
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  transition: all 0.15s;
}

.mp-cat span {
  font-size: 0.72rem;
  opacity: 0.65;
}

.mp-cat:hover {
  border-color: var(--mp-accent);
  color: var(--mp-brand-deep);
}

.mp-cat.is-active {
  color: var(--mp-brand-deep);
  background: var(--mp-brand-soft);
  border-color: transparent;
}

.mp-result-hint {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--mp-muted);
}

/* Feed cards */
.mp-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-card {
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  box-shadow: var(--mp-shadow);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.mp-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 4px 20px rgba(91, 33, 182, 0.1);
  transform: translateY(-1px);
}

.mp-card-link {
  display: block;
  padding: 18px 20px;
}

.mp-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.mp-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mp-brand-deep);
  background: var(--mp-brand-soft);
}

.mp-tag--ok {
  color: var(--mp-ok);
  background: var(--mp-ok-bg);
}

.mp-date {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--mp-muted);
}

.mp-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.mp-card-excerpt {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--mp-muted);
  line-height: 1.55;
}

.mp-pan-branches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.mp-pan-branch {
  display: inline-block;
  max-width: 100%;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.75rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-pan-branch--more {
  background: #ede9fe;
  color: #5b21b6;
  font-weight: 600;
}

.mp-pan-branches-panel {
  margin: 24px 0;
  padding: 20px 22px;
  border: 1px solid var(--mp-border);
  border-radius: 14px;
  background: #fafafa;
}

.mp-pan-branches-count {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mp-muted);
}

.mp-pan-branches-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 16px;
}

.mp-pan-branches-list li {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.45;
  padding-left: 14px;
  position: relative;
}

.mp-pan-branches-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--mp-brand);
  font-weight: 700;
}

.mp-card-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mp-brand);
}

.mp-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--mp-muted);
  background: var(--mp-surface);
  border-radius: var(--mp-radius);
  border: 1px dashed var(--mp-border);
}

.mp-empty code {
  font-size: 0.85em;
  background: var(--mp-bg);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Pagination */
.mp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mp-page-btn,
.mp-page-num,
.mp-page-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
}

.mp-page-btn,
.mp-page-num {
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  color: var(--mp-text);
}

.mp-page-btn:hover,
.mp-page-num:hover {
  border-color: var(--mp-brand);
  color: var(--mp-brand-deep);
}

.mp-page-current {
  background: var(--mp-brand);
  color: #fff;
  font-weight: 600;
}

.mp-page-nums { display: flex; gap: 6px; align-items: center; }
.mp-page-gap { color: var(--mp-muted); padding: 0 4px; }

/* Footer */
.mp-footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--mp-border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--mp-muted);
}

.mp-footer p { margin: 0; }

/* Detail page (minimal compat) */
.detail-page { max-width: var(--mp-max); margin: 0 auto; padding: 0 16px; }
.detail-page h1 { font-size: 1.6rem; line-height: 1.3; margin: 0 0 12px; }
.detail-meta { color: var(--mp-muted); font-size: 0.88rem; }
.detail-meta--sub { margin: 4px 0 0; font-size: 0.82rem; opacity: 0.85; }
.detail-resource-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pill { padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; background: var(--mp-brand-soft); color: var(--mp-brand-deep); }
.pill-own { background: var(--mp-ok-bg); color: var(--mp-ok); }
.article-body { margin: 24px 0; line-height: 1.75; color: #27272a; }
.article-body h2, .article-body h3 { margin: 1.25rem 0 0.75rem; color: #18181b; }
.article-body p { margin: 0.75rem 0; }
.article-body a { color: var(--mp-brand-deep); font-weight: 500; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; }
.article-body .mp-pan-hl,
.mp-pan-hl {
  color: #4c1d95;
  font-weight: 800;
  background: linear-gradient(180deg, #f3e8ff 0%, #ede9fe 100%);
  padding: 1px 5px;
  border-radius: 4px;
  border-bottom: 2px solid #7c3aed;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.cta-panel {
  margin-top: 32px;
  padding: 20px;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  box-shadow: var(--mp-shadow);
}
.cta-heading { margin: 0 0 1rem; font-size: 1.05rem; font-weight: 700; color: var(--mp-brand-deep); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn-quark, .btn-primary { color: #fff; background: linear-gradient(135deg, var(--mp-brand-deep), var(--mp-brand)); }
.btn-github { color: #fff; background: #24292f; text-decoration: none; }
.btn-github:hover { background: #1b1f24; }
.cta-panel--github { border-color: #e5e7eb; }
.cta-desc { margin: 0 0 12px; color: var(--mp-muted); font-size: 0.92rem; }
.cta-desc strong { color: var(--mp-text); }
.btn-copy { background: var(--mp-bg); border: 1px solid var(--mp-border); margin-left: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cta-link-preview { font-size: 0.82rem; color: var(--mp-muted); word-break: break-all; }
.qr-block { margin-top: 16px; text-align: center; }
.qr-block p { font-size: 0.82rem; color: var(--mp-muted); }
.related-section { max-width: var(--mp-max); margin: 32px auto; padding: 0 16px; }

/* Drama channel (剧盘索引) */
.mp-hero--drama { border-color: #ddd6fe; background: linear-gradient(135deg, #faf5ff 0%, #fff 100%); }
.mp-drama-tags { margin-bottom: 20px; }
.mp-drama-tags-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--mp-muted); margin-bottom: 8px; }
.mp-drama-tags-list { display: flex; flex-wrap: wrap; gap: 8px; max-height: 72px; overflow: hidden; transition: max-height 0.2s ease; }
.mp-drama-tags-list.is-expanded { max-height: none; }
.mp-drama-tags-more {
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mp-brand);
  cursor: pointer;
}
.mp-drama-tags-more:hover { text-decoration: underline; }
.mp-drama-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  color: var(--mp-text);
  text-decoration: none;
}
.mp-drama-tag.is-active, .mp-drama-tag:hover { background: var(--mp-brand-soft); border-color: #c4b5fd; color: var(--mp-brand-deep); }
.mp-drama-section { margin-top: 8px; }
.mp-drama-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mp-drama-section-head h2 { margin: 0; font-size: 1.1rem; }
.mp-drama-section-head span { font-size: 0.85rem; color: var(--mp-muted); }
.mp-drama-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.mp-drama-grid--compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.mp-drama-card {
  display: flex;
  flex-direction: column;
  background: var(--mp-surface);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--mp-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mp-drama-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(91, 33, 182, 0.12); }
.mp-drama-cover { position: relative; aspect-ratio: 5/7; background: #ede9fe; overflow: hidden; }
.mp-drama-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-drama-cover-fallback { width: 100%; height: 100%; background: linear-gradient(145deg, #6d28d9, #a78bfa); }
.mp-drama-cover-fallback--lg { min-height: 280px; border-radius: var(--mp-radius); }
.mp-drama-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2rem; color: rgba(255,255,255,0.9); text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.mp-drama-ep {
  position: absolute; right: 8px; bottom: 8px;
  padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
  color: #fff; background: rgba(15, 23, 42, 0.72);
}
.mp-drama-ep--lg { right: 12px; bottom: 12px; font-size: 0.82rem; }
.mp-drama-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mp-drama-body h3 { margin: 0; font-size: 0.92rem; line-height: 1.45; font-weight: 600; }
.mp-drama-mini-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.mp-drama-mini-tags span, .mp-drama-mini-tags .mp-drama-tag {
  font-size: 0.68rem; padding: 2px 6px; border-radius: 4px;
  background: #f5f3ff; color: #6d28d9;
}
.mp-drama-mini-tags--detail { margin: 12px 0; }
.mp-drama-meta { margin: 0; margin-top: auto; display: flex; justify-content: space-between; gap: 8px; font-size: 0.75rem; color: var(--mp-muted); }
.mp-drama-meta span { color: var(--mp-brand); font-weight: 600; }
.mp-drama-card--compact { padding: 12px 14px; box-shadow: none; }
.mp-drama-card--compact-title { font-size: 0.88rem; font-weight: 600; }
.mp-jupan-link {
  margin-top: 32px; padding: 16px 18px; border-radius: var(--mp-radius);
  background: #fafafa; border: 1px dashed var(--mp-border); text-align: center;
}
.mp-jupan-link p { margin: 0 0 6px; font-size: 0.85rem; color: var(--mp-muted); }
.mp-jupan-link a { font-weight: 600; color: var(--mp-brand-deep); }
.mp-jupan-link-sep { margin: 0 8px; color: var(--mp-muted); font-size: 0.85rem; }
.mp-drama-detail { max-width: var(--mp-max); margin: 0 auto; padding: 0 16px 32px; }
.mp-drama-detail-hero { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin-bottom: 24px; }
.mp-drama-detail-cover { position: relative; }
.mp-drama-detail-cover img { width: 100%; border-radius: var(--mp-radius); display: block; }
.mp-drama-detail-info h1 { margin: 12px 0 8px; font-size: 1.5rem; }
@media (max-width: 640px) {
  .mp-drama-detail-hero { grid-template-columns: 1fr; }
  .mp-drama-detail-cover { max-width: 220px; margin: 0 auto; }
}

/* Admin */
.admin-login, .admin-header, .admin-form, .admin-table { max-width: 720px; margin: 24px auto; padding: 0 16px; }
.admin-form label { display: block; margin-bottom: 14px; }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; margin-top: 4px; padding: 10px; border: 1px solid var(--mp-border); border-radius: 8px; font: inherit; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th, .admin-table td { padding: 10px 8px; border-bottom: 1px solid var(--mp-border); text-align: left; }
.error { color: #dc2626; }
.msg { color: var(--mp-ok); }

@media (max-width: 640px) {
  .mp-hero { flex-direction: column; align-items: stretch; }
  .mp-hero-stat { text-align: left; }
  .mp-date { margin-left: 0; width: 100%; }
  .mp-brand-text small { display: none; }
}
