:root {
  --bg-0: #08080D;
  --bg-1: #111118;
  --bg-2: #181821;
  --accent: #8B5CF6;
  --accent-2: #A855F7;
  --accent-light: #C4B5FD;
  --text: #F1F0F5;
  --text-dim: #9a99ab;
  --text-dimmer: #6b6a7c;
  --green: #4ADE80;
  --yellow: #FACC15;
  --red: #F87171;
  --radius: 14px;
  --font-display: 'Space Grotesk', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: #2a2a38; border-radius: 4px; }

@keyframes mmv-drift { 0% { transform: translate(0,0); } 50% { transform: translate(14px,-30px); } 100% { transform: translate(0,0); } }
@keyframes mmv-twinkle { 0%,100% { opacity: .15; transform: scale(1); } 50% { opacity: .9; transform: scale(1.5); } }
@keyframes mmv-shoot { 0% { transform: translate(0,0); opacity: 0; } 4% { opacity: 1; } 22% { transform: translate(360px,180px); opacity: 0; } 100% { transform: translate(360px,180px); opacity: 0; } }
@keyframes mmv-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mmv-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes mmv-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes mmv-pulse { 0%,100% { opacity: .6; } 50% { opacity: 1; } }

.mmv-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--bg-0);
}
.mmv-bg .glow { position: absolute; border-radius: 50%; filter: blur(60px); animation: mmv-drift 18s ease-in-out infinite; }
.mmv-bg .star { position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 50%; animation: mmv-twinkle 3s ease-in-out infinite; }
.mmv-bg .shoot { position: absolute; width: 2px; height: 2px; background: linear-gradient(90deg,#fff,transparent); box-shadow: 0 0 6px 1px #fff; animation: mmv-shoot 6s linear infinite; }
.mmv-bg .egg { position: absolute; font-size: 20px; opacity: 0; animation: mmv-drift 30s ease-in-out infinite; filter: opacity(0.25); }

.mmv-header, .mmv-main, .mmv-footer, .mmv-modal, .mmv-chat, .mmv-travel-overlay, .mmv-toast { position: relative; z-index: 1; }

.mmv-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; backdrop-filter: blur(6px); background: rgba(8,8,13,0.55);
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mmv-logo { font-family: var(--font-display); font-weight: 700; letter-spacing: .5px; color: var(--text); font-size: 15px; }
.mmv-logo span { background: linear-gradient(90deg,var(--accent-light),var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mmv-nav { display: flex; gap: 6px; align-items: center; }
.mmv-iconbtn {
  background: transparent; border: 1px solid transparent; color: var(--text-dim); font-size: 16px;
  padding: 8px 10px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 6px;
  transition: all .15s ease; font-family: var(--font-body);
}
.mmv-iconbtn:hover { background: var(--bg-2); color: var(--text); border-color: rgba(255,255,255,0.08); }
.mmv-navlabel { font-size: 13px; }
.mmv-burger { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

.mmv-main { max-width: 1280px; margin: 0 auto; padding: 0 24px 60px; }

.mmv-footer {
  display: flex; justify-content: space-between; padding: 28px; color: var(--text-dimmer); font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.06); max-width: 1280px; margin: 0 auto;
}

/* ---------- Hero ---------- */
.mmv-hero { text-align: center; padding: 90px 20px 60px; position: relative; }
.mmv-hero-glow {
  position: absolute; inset: -60px 20% auto; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.22), transparent 70%); filter: blur(50px); z-index: -1;
}
.mmv-hero-title {
  font-family: var(--font-display); font-size: clamp(34px, 6vw, 68px); font-weight: 700; margin: 0 0 12px;
  letter-spacing: 1px; background: linear-gradient(180deg,#fff,var(--accent-light)); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: mmv-fadeup .6s ease both;
}
.mmv-hero-sub { font-size: clamp(16px,2.4vw,22px); color: var(--text); margin: 0 0 6px; animation: mmv-fadeup .6s .05s ease both; }
.mmv-hero-extra { color: var(--text-dim); margin: 0 0 32px; animation: mmv-fadeup .6s .1s ease both; }
.mmv-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: mmv-fadeup .6s .15s ease both; }
.mmv-hero-cta {
  margin: 22px 0 0; color: var(--text-dim); font-size: 14px; animation: mmv-fadeup .6s .2s ease both;
}
.mmv-hero-cta button {
  background: none; border: none; color: var(--accent-light); font: inherit; font-weight: 700;
  cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px;
}
.mmv-hero-cta button:hover { color: var(--accent-2); }

.mmv-btn {
  font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 12px 20px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.mmv-btn:active { transform: scale(.97); }
.mmv-btn-primary { background: linear-gradient(135deg,var(--accent),var(--accent-2)); color: #fff; box-shadow: 0 6px 24px rgba(139,92,246,0.35); }
.mmv-btn-primary:hover { box-shadow: 0 8px 30px rgba(139,92,246,0.5); }
.mmv-btn-ghost { background: var(--bg-2); color: var(--text); border-color: rgba(255,255,255,0.1); }
.mmv-btn-ghost:hover { background: #202030; }
.mmv-btn-lg { padding: 16px 26px; font-size: 15px; }
.mmv-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Timeline ---------- */
.mmv-section-title { font-family: var(--font-display); font-size: 22px; margin: 50px 0 18px; text-align: center; }
.mmv-timeline-section { text-align: center; }
.mmv-timeline-year {
  font-family: var(--font-display); font-size: clamp(48px,9vw,96px); font-weight: 700; line-height: 1;
  background: linear-gradient(135deg,var(--accent-light),var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: all .2s ease;
}
.mmv-timeline-count { color: var(--text-dim); margin-bottom: 26px; }
.mmv-timeline-track {
  display: flex; align-items: flex-end; gap: 4px; overflow-x: auto; padding: 20px 10px 12px; scroll-behavior: smooth;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mmv-tick {
  flex: 1 0 44px; min-width: 44px; background: none; border: none; color: var(--text-dimmer); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 2px 8px; transition: all .2s ease;
}
.mmv-tick-bar {
  width: 10px; height: calc(20px + var(--pct) * 0.7px); background: var(--bg-2); border-radius: 4px 4px 0 0; transition: all .2s ease;
}
.mmv-tick-label { font-size: 12px; font-weight: 600; }
.mmv-tick.is-active .mmv-tick-bar { background: linear-gradient(180deg,var(--accent-light),var(--accent)); box-shadow: 0 0 16px rgba(139,92,246,0.6); }
.mmv-tick.is-active .mmv-tick-label { color: var(--text); }
.mmv-tick:hover .mmv-tick-bar { background: var(--accent); }

.mmv-timeline-actions { text-align: center; margin-top: 22px; }

.mmv-rules { margin-top: 14px; color: var(--text-dim); font-size: 13px; }
.mmv-rules summary { cursor: pointer; color: var(--text); font-weight: 600; }
.mmv-rules ul { margin: 10px 0; padding-left: 20px; }
.mmv-rules li { margin-bottom: 4px; }

.mmv-feed-empty {
  grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--text-dim);
  border: 1px dashed rgba(255,255,255,0.12); border-radius: var(--radius);
}
.mmv-feed-empty p { margin: 0 0 14px; }

.mmv-report-reasons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.mmv-report-reasons label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.mmv-report-reasons input { width: auto; margin: 0; }

.mmv-editor-canvas-wrap {
  display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.35);
  border-radius: 10px; margin-bottom: 12px; max-height: 60vh; overflow: hidden;
}
#editor-canvas { max-width: 100%; max-height: 60vh; display: block; }
.mmv-editor-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
input[type=range]#editor-size { width: 100%; margin-bottom: 10px; accent-color: var(--accent); }

.mmv-badge {
  display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  padding: 1px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle;
}

/* ---------- Date picker ---------- */
.mmv-datepick-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 28px; align-items: start; }
.mmv-feed-col { min-width: 0; }
.mmv-feed-col .mmv-grid { margin-bottom: 16px; }
.mmv-feed-col #home-feed-more { width: 100%; }
.mmv-datepick-side { position: sticky; top: 84px; }
.mmv-datepick-side .mmv-section-title { margin-top: 0; }
.mmv-calendar-card { background: var(--bg-1); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 20px; }
.mmv-calendar-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; margin-bottom: 14px; font-family: var(--font-display); }
.mmv-arrow { background: var(--bg-2); border: none; color: var(--text); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 16px; }
.mmv-weekdays, .mmv-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.mmv-weekdays span { text-align: center; color: var(--text-dimmer); font-size: 12px; padding-bottom: 6px; }
.mmv-day {
  aspect-ratio: 1; border: none; background: var(--bg-2); color: var(--text); border-radius: 8px; cursor: pointer;
  font-size: 13px; transition: all .15s ease; position: relative;
}
.mmv-day.is-empty { background: transparent; cursor: default; }
.mmv-day:hover:not(.is-empty) { background: #26263a; }
.mmv-day.is-selected { background: linear-gradient(135deg,var(--accent),var(--accent-2)); color: #fff; font-weight: 700; }
.mmv-day.is-today::after { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.mmv-datepick-side { display: flex; flex-direction: column; gap: 12px; }
.mmv-selected-date { font-family: var(--font-display); font-size: 18px; text-align: center; padding: 14px 10px; background: var(--bg-1); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.06); }

/* ---------- Panels ---------- */
.mmv-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.mmv-panel { background: var(--bg-1); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 22px; }
.mmv-panel h3 { margin-top: 0; font-family: var(--font-display); }
.mmv-hint { color: var(--text-dim); font-size: 13px; }
.mmv-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.mmv-chip {
  background: var(--bg-2); color: var(--text-dim); border: 1px solid rgba(255,255,255,0.08); padding: 8px 14px;
  border-radius: 999px; font-size: 13px; cursor: pointer; transition: all .15s ease;
}
.mmv-chip:hover { color: var(--text); border-color: var(--accent); }
.mmv-chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
input[type=text], input[type=number], input[type=email], input[type=password], input[type=date] {
  width: 100%; background: var(--bg-2); border: 1px solid rgba(255,255,255,0.1); color: var(--text);
  padding: 11px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 10px; font-family: var(--font-body);
}
input:focus { outline: none; border-color: var(--accent); }
/* The native date control renders its own light-themed picker button. */
input[type=date] { color-scheme: dark; cursor: pointer; }
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(0.7); cursor: pointer; }

/* ---------- Feed ---------- */
.mmv-feed-head { padding: 30px 0 10px; }
.mmv-back { display: inline-block; margin-bottom: 14px; color: var(--text-dim); font-size: 13px; }
.mmv-back:hover { color: var(--accent-light); }
.mmv-feed-title { font-family: var(--font-display); font-size: clamp(22px,4vw,36px); margin: 0 0 8px; }
.mmv-feed-count { color: var(--text-dim); margin-bottom: 16px; }
.mmv-sort-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }

.mmv-new-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg-2);
  border: 1px solid var(--accent); border-radius: 12px; padding: 12px 18px; margin-bottom: 20px; animation: mmv-pop .3s ease both;
}

/* Masonry columns: memes range from wide screenshots to tall comics, so
   each card keeps its own aspect ratio and the columns pack the varying
   heights without gaps. Cropping to a fixed ratio cut off punchlines. */
.mmv-grid { column-count: 6; column-gap: 12px; }
@media (max-width: 1300px) { .mmv-grid { column-count: 5; } }
@media (max-width: 1100px) { .mmv-grid { column-count: 4; } }
@media (max-width: 760px) { .mmv-grid { column-count: 3; } }
@media (max-width: 480px) { .mmv-grid { column-count: 2; } }

.mmv-card {
  break-inside: avoid; margin-bottom: 16px; background: var(--bg-1); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); overflow: hidden; animation: mmv-fadeup .4s ease both; transition: transform .18s ease, box-shadow .18s ease;
}
.mmv-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.4); border-color: rgba(139,92,246,0.4); }
.mmv-card-img { display: block; position: relative; }
.mmv-card-img img { width: 100%; height: auto; display: block; }
.mmv-card-sources { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.55); font-size: 11px; padding: 3px 8px; border-radius: 999px; }
.mmv-card-body { padding: 12px 14px 14px; }
.mmv-card-title { display: block; color: var(--text); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.mmv-card-meta { display: flex; align-items: center; justify-content: space-between; color: var(--text-dim); font-size: 12px; margin-bottom: 10px; }
.mmv-card-share { font-size: 15px; }
.mmv-card-reactions { display: flex; gap: 8px; }
.mmv-react {
  background: var(--bg-2); border: 1px solid rgba(255,255,255,0.08); color: var(--text-dim); border-radius: 999px;
  padding: 5px 10px; font-size: 12px; cursor: pointer; transition: all .15s ease;
}
.mmv-react:hover { color: var(--text); border-color: var(--accent); }
.mmv-react.is-mine { background: var(--accent); color: #fff; border-color: var(--accent); }
.mmv-react-lg { padding: 10px 16px; font-size: 15px; }

.mmv-loadmore-wrap { text-align: center; margin: 30px 0; }

/* skeleton loading */
.mmv-skeleton { background: linear-gradient(90deg,var(--bg-1) 25%,var(--bg-2) 50%,var(--bg-1) 75%); background-size: 200% 100%; animation: mmv-skel 1.4s ease infinite; border-radius: var(--radius); height: 220px; margin-bottom: 16px; break-inside: avoid; }
@keyframes mmv-skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Meme detail ---------- */
.mmv-detail { padding: 30px 0; }
.mmv-meme-nav { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0; }
.mmv-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; margin-top: 16px; }
@media (max-width: 800px) { .mmv-detail-grid { grid-template-columns: 1fr; } }
.mmv-detail-img {
  border-radius: var(--radius); overflow: hidden; background: rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center; max-height: 78vh;
}
.mmv-detail-img img { width: auto; height: auto; max-width: 100%; max-height: 78vh; object-fit: contain; }
.mmv-detail-info h1 { font-family: var(--font-display); font-size: 26px; margin-top: 0; }
.mmv-detail-row { color: var(--text-dim); margin-bottom: 8px; }
.mmv-detail-reactions { display: flex; gap: 10px; margin: 18px 0; }
.mmv-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: flex-start; }

.mmv-share { position: relative; display: inline-block; }
.mmv-share-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; background: var(--bg-1);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 8px; min-width: 210px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 2px; animation: mmv-pop .15s ease both;
}
.mmv-share-opt {
  display: block; background: none; border: none; color: var(--text); text-align: left; font-size: 13px;
  padding: 9px 10px; border-radius: 8px; cursor: pointer; width: 100%; font-family: var(--font-body);
}
.mmv-share-opt:hover { background: var(--bg-2); color: var(--text); }

/* ---------- Modals ---------- */
.mmv-modal { position: fixed; inset: 0; background: rgba(4,4,8,0.72); backdrop-filter: blur(4px); z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px; }
.mmv-modal-card { background: var(--bg-1); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 20px; width: 100%; max-width: 560px; animation: mmv-pop .2s ease both; max-height: 80vh; overflow-y: auto; }
.mmv-modal-narrow { max-width: 400px; }
.mmv-modal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mmv-modal-head input { margin: 0; flex: 1; }
.mmv-modal-head h3 { margin: 0; flex: 1; font-family: var(--font-display); }
.mmv-x { background: none; border: none; color: var(--text-dim); font-size: 18px; cursor: pointer; }
.mmv-search-results { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow-y: auto; }
.mmv-search-result { display: flex; justify-content: space-between; padding: 10px 12px; background: var(--bg-2); border-radius: 10px; cursor: pointer; }
.mmv-search-result:hover { background: #24243a; }
.mmv-history-list { display: flex; flex-direction: column; gap: 8px; }
.mmv-history-item { display: flex; justify-content: space-between; padding: 12px; background: var(--bg-2); border-radius: 10px; cursor: pointer; }
.mmv-error { color: var(--red); font-size: 13px; min-height: 18px; }

/* ---------- Chat ---------- */
.mmv-chat { position: fixed; right: 0; top: 0; bottom: 0; width: 360px; max-width: 92vw; background: var(--bg-1); border-left: 1px solid rgba(255,255,255,0.08); z-index: 55; display: flex; flex-direction: column; animation: mmv-fadeup .25s ease both; }
.mmv-chat-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); font-weight: 700; }
.mmv-chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mmv-chat-msg { max-width: 85%; padding: 10px 12px; border-radius: 12px; font-size: 13px; }
.mmv-chat-msg .author { font-size: 11px; color: var(--text-dim); margin-bottom: 3px; }
.mmv-chat-msg .meme-attach { margin-top: 6px; padding: 6px; border-radius: 8px; background: rgba(0,0,0,0.2); font-size: 12px; }
.mmv-chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.mmv-chat-input-row input { margin: 0; }

/* ---------- Travel overlay ---------- */
.mmv-travel-overlay { position: fixed; inset: 0; background: #030307; z-index: 90; display: flex; align-items: center; justify-content: center; animation: mmv-pop .2s ease both; }
.mmv-travel-stage { text-align: center; }
.mmv-travel-year { font-family: var(--font-display); font-size: 72px; font-weight: 700; color: var(--accent-light); animation: mmv-pulse 1s ease infinite; }
.mmv-travel-date { font-size: 20px; color: var(--text-dim); margin-top: 8px; min-height: 28px; }
.mmv-travel-bar { width: 280px; height: 4px; background: var(--bg-2); border-radius: 2px; margin: 24px auto 12px; overflow: hidden; }
.mmv-travel-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg,var(--accent),var(--accent-2)); transition: width .1s linear; }
.mmv-travel-label { color: var(--text-dimmer); font-size: 13px; }

/* ---------- Toast ---------- */
.mmv-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--bg-2); border: 1px solid rgba(255,255,255,0.1); padding: 12px 20px; border-radius: 999px; z-index: 100; font-size: 13px; animation: mmv-pop .2s ease both; }

/* ---------- Admin ---------- */
.mmv-admin { padding: 30px 0; }
.mmv-admin-auth { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mmv-admin-auth input { max-width: 260px; margin: 0; }
.mmv-tabs { display: flex; gap: 6px; margin: 20px 0; flex-wrap: wrap; }
.mmv-tab { background: var(--bg-2); border: 1px solid rgba(255,255,255,0.08); color: var(--text-dim); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.mmv-tab.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.mmv-admin-toolbar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.mmv-admin-toolbar input, .mmv-admin-toolbar select { width: auto; margin: 0; min-width: 150px; }
.mmv-filedrop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 150px; padding: 18px; margin-bottom: 12px; cursor: pointer; text-align: center;
  border: 1px dashed rgba(255,255,255,0.18); border-radius: var(--radius);
  background: var(--bg-2); color: var(--text-dim); font-size: 13px; transition: all .15s ease;
}
.mmv-filedrop:hover { border-color: var(--accent); color: var(--text); }
.mmv-filedrop img { max-height: 220px; width: auto; border-radius: 10px; }
select { width: 100%; background: var(--bg-2); border: 1px solid rgba(255,255,255,0.1); color: var(--text); padding: 11px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 10px; font-family: var(--font-body); }
.mmv-field-label { display: block; color: var(--text-dim); font-size: 12px; margin: 4px 0 6px; }
.mmv-mod-row { display: flex; align-items: center; gap: 10px; }
.mmv-mod-thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; background: var(--bg-2); }
.mmv-mod-edit td { background: var(--bg-2); }
.mmv-toggle-row { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 13px; cursor: pointer; }
.mmv-toggle-row input { width: auto; margin: 0; }
.mmv-table { width: 100%; border-collapse: collapse; background: var(--bg-1); border-radius: var(--radius); overflow: hidden; }
.mmv-table th, .mmv-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; }
.mmv-table th { color: var(--text-dim); font-weight: 600; }
.mmv-table button { background: var(--bg-2); border: 1px solid rgba(255,255,255,0.08); color: var(--text); border-radius: 8px; padding: 4px 10px; cursor: pointer; font-size: 12px; margin-right: 4px; }
.mmv-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 900px) { .mmv-stat-grid { grid-template-columns: repeat(2,1fr); } }
.mmv-stat-card { background: var(--bg-1); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 16px; }
.mmv-stat-card .value { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.mmv-stat-card .label { color: var(--text-dim); font-size: 12px; margin-bottom: 6px; }
.mmv-stat-bars { display: flex; align-items: flex-end; gap: 4px; height: 100px; }
.mmv-stat-bar { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; min-width: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .mmv-header { padding: 14px 16px; flex-wrap: nowrap; }
  .mmv-logo { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
  .mmv-burger { display: block; }
  .mmv-nav {
    display: none; position: absolute; top: 100%; right: 16px; margin-top: 8px; flex-direction: column;
    background: var(--bg-1); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 8px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5); min-width: 200px; z-index: 40;
  }
  .mmv-nav.is-open { display: flex; }
  .mmv-iconbtn, .mmv-nav a.mmv-iconbtn { justify-content: flex-start; width: 100%; }
  .mmv-navlabel { display: inline; }
  .mmv-datepick-grid { grid-template-columns: 1fr; }
  /* Single column: a sticky sidebar would pin the calendar over the feed. */
  .mmv-datepick-side { position: static; }
  .mmv-two-col { grid-template-columns: 1fr; }
  .mmv-main { padding: 0 14px 40px; }
  .mmv-section-title { margin: 32px 0 14px; }
  .mmv-btn { padding: 14px 20px; }          /* bigger tap targets */
  .mmv-btn-lg { width: 100%; }
  .mmv-card-reactions .mmv-react { padding: 10px 12px; }
}
