@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --mv-bg: #020617;
  --mv-fg: #f9fafb;
  --mv-muted: #9ca3af;
  --mv-border: rgba(148, 163, 184, 0.5);
  --mv-accent: #7dd3fc;
  --mv-accent-soft: rgba(125, 211, 252, 0.18);
  --mv-error: #f97373;
  --mv-surface: rgba(15, 23, 42, 0.88);
}

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

body.mv-body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  padding-top: 3.5rem; /* space for fixed nav bar */
  font-family: "Century Gothic", "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--mv-fg);
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 80% 120%, rgba(129, 140, 248, 0.25), transparent 60%),
    radial-gradient(circle at -10% -20%, rgba(15, 23, 42, 0.8), #020617 55%, #000 100%);
  background-size: 220% 220%;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
}

.mv-body.mv-body-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mv-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    /* bright nodes cluster 1 */
    radial-gradient(3px 3px at 12% 18%, rgba(56, 189, 248, 0.95), transparent),
    radial-gradient(4px 4px at 18% 26%, rgba(129, 140, 248, 0.9), transparent),
    radial-gradient(2px 2px at 8% 32%, rgba(148, 163, 184, 0.9), transparent),
    /* cluster 2 */
    radial-gradient(3px 3px at 78% 22%, rgba(45, 212, 191, 0.95), transparent),
    radial-gradient(4px 4px at 84% 30%, rgba(56, 189, 248, 0.9), transparent),
    radial-gradient(2px 2px at 72% 36%, rgba(148, 163, 184, 0.85), transparent),
    /* cluster 3 */
    radial-gradient(3px 3px at 26% 74%, rgba(129, 140, 248, 0.95), transparent),
    radial-gradient(4px 4px at 34% 82%, rgba(56, 189, 248, 0.9), transparent),
    radial-gradient(2px 2px at 18% 88%, rgba(148, 163, 184, 0.85), transparent),
    /* cluster 4 */
    radial-gradient(3px 3px at 82% 68%, rgba(45, 212, 191, 0.95), transparent),
    radial-gradient(4px 4px at 90% 78%, rgba(56, 189, 248, 0.9), transparent),
    radial-gradient(2px 2px at 70% 86%, rgba(148, 163, 184, 0.85), transparent);
  opacity: 0.85;
  background-size: 160% 160%;
  animation: mv-network-flow 30s linear infinite;
}

.mv-orb {
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(56, 189, 248, 0.20), transparent 55%),
    radial-gradient(circle at 90% 25%, rgba(129, 140, 248, 0.20), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(45, 212, 191, 0.18), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(56, 189, 248, 0.18), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.65;
  filter: blur(22px);
  transform: translate3d(0, 0, 0);
  animation: mv-orb-drift 38s ease-in-out infinite alternate;
}

.mv-shell {
  position: relative;
  z-index: 10;
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--mv-border);
  box-shadow:
    0 32px 80px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(22px);
  text-align: center;
  max-width: 960px;
  width: min(960px, 100% - 3rem);
  margin: 2.5rem auto 1.5rem;
}

.mv-shell-wide {
  max-width: 960px;
  text-align: left;
  z-index: 10;
}

.mv-shell-home {
  max-width: 520px;
  width: min(520px, 100% - 3rem);
  text-align: center;
}

.mv-shell-home .mv-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mv-shell-home .mv-logo {
  display: block;
  margin: 0 auto 1rem;
}

.mv-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(circle at top, rgba(125, 211, 252, 0.65), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}

.mv-header {
  margin-bottom: 2rem;
}

.mv-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mv-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Site-wide nav bar - fixed at top so it stays above content on all pages */
.mv-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  margin: 0;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid var(--mv-border);
  backdrop-filter: blur(12px);
}

.mv-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.mv-nav-brand:hover {
  color: var(--mv-accent);
}

.mv-nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mv-nav-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}

.mv-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mv-lang-toggle {
  display: inline-flex;
  align-items: stretch;
  margin-right: 0.25rem;
  padding-right: 0.5rem;
  border-right: 1px solid var(--mv-border);
  background: var(--mv-surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--mv-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mv-lang-option {
  color: var(--mv-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.mv-lang-option:link,
.mv-lang-option:visited {
  color: var(--mv-muted);
}

.mv-lang-option:hover {
  color: var(--mv-fg);
  background: rgba(148, 163, 184, 0.08);
}

.mv-lang-option.active,
.mv-lang-option.active:link,
.mv-lang-option.active:visited {
  color: var(--mv-bg);
  background: var(--mv-accent);
}

.mv-lang-option.active:hover {
  color: var(--mv-bg);
  background: #93c5fd;
}

.mv-lang-sep {
  width: 1px;
  min-width: 1px;
  align-self: stretch;
  background: var(--mv-border);
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  text-indent: -999px;
  user-select: none;
  pointer-events: none;
}

/* Dashboard: left tabs + content panels */
.mv-dashboard-layout {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: flex-start;
}

.mv-dashboard-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 12rem;
  flex-shrink: 0;
}

.mv-dashboard-tab {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  color: var(--mv-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.mv-dashboard-tab:hover {
  color: var(--mv-fg);
  background: rgba(148, 163, 184, 0.08);
}

.mv-dashboard-tab:link,
.mv-dashboard-tab:visited {
  color: var(--mv-muted);
}

.mv-dashboard-tab.mv-dashboard-tab-active,
.mv-dashboard-tab.mv-dashboard-tab-active:link,
.mv-dashboard-tab.mv-dashboard-tab-active:visited {
  color: var(--mv-accent);
  background: var(--mv-accent-soft);
}

.mv-dashboard-content {
  flex: 1;
  min-width: 0;
}

.mv-dashboard-panel {
  display: none;
}

.mv-dashboard-panel.mv-dashboard-panel-active {
  display: block;
}

.mv-btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
}

.mv-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.16em;
  text-transform: none;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0;
}

.mv-title-small {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.mv-title-main {
  font-weight: 600;
}

.mv-title-accent {
  background: linear-gradient(120deg, #7dd3fc, #c4b5fd, #f9a8d4, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: mv-gradient-scroll 5s linear infinite;
}

.mv-logo {
  width: 200px;
  height: 200px;
  margin-bottom: 1rem;
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
}

.mv-subtitle {
  margin-top: 1.2rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mv-dashboard-badges {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.mv-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.mv-badge-tier {
  background: rgba(51, 65, 85, 0.6);
  color: rgba(226, 232, 240, 0.9);
  border-color: rgba(71, 85, 105, 0.6);
}
.mv-badge-sponsor {
  background: rgba(34, 197, 94, 0.2);
  color: rgb(134, 239, 172);
  border-color: rgba(34, 197, 94, 0.4);
}
.mv-badge-admin {
  background: rgba(99, 102, 241, 0.35);
  color: rgb(165, 180, 252);
  border-color: rgba(99, 102, 241, 0.5);
}

.mv-tagline {
  margin-top: 0.8rem;
  color: var(--mv-muted);
  font-size: 0.95rem;
}

.mv-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mv-actions-stacked {
  flex-direction: column;
  align-items: center;
}

.mv-login-page .mv-subtitle {
  font-size: 1.35rem;
}

.mv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--mv-border);
  background: transparent;
  color: var(--mv-fg);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;
}

.mv-btn-primary {
  background: radial-gradient(circle at top, rgba(125, 211, 252, 0.35), rgba(59, 130, 246, 0.6));
  border-color: rgba(125, 211, 252, 0.8);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.mv-btn-ghost {
  background: rgba(15, 23, 42, 0.6);
}

.mv-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.9);
}

.mv-btn-primary:hover {
  background: radial-gradient(circle at top, rgba(125, 211, 252, 0.5), rgba(59, 130, 246, 0.85));
}

.mv-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mv-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.mv-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mv-muted);
}

.mv-field input,
.mv-field textarea,
.mv-field select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--mv-fg);
  font-size: 0.95rem;
  outline: none;
}

.mv-field textarea {
  min-height: 220px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.mv-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, rgba(148, 163, 184, 0.9) 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, rgba(148, 163, 184, 0.9) 50%);
  background-position:
    calc(100% - 18px) 54%,
    calc(100% - 12px) 54%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.mv-field input:focus,
.mv-field textarea:focus,
.mv-field select:focus {
  border-color: rgba(125, 211, 252, 0.85);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.5);
}

.mv-alert {
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.mv-alert-error {
  background: rgba(127, 29, 29, 0.8);
  border-color: rgba(248, 113, 113, 0.7);
  color: #fee2e2;
}

.mv-alert-ok {
  background: rgba(22, 101, 52, 0.8);
  border-color: rgba(74, 222, 128, 0.7);
  color: #dcfce7;
}

.mv-section {
  margin-top: 1.5rem;
}

.mv-section-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mv-muted);
}

.mv-empty {
  color: var(--mv-muted);
  font-size: 0.9rem;
}

.mv-cell-title {
  font-weight: 500;
}

.mv-cell-body {
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: var(--mv-muted);
  max-width: 340px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.mv-table th,
.mv-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
}

.mv-table th {
  text-align: left;
  font-weight: 500;
  color: var(--mv-muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mv-table tr.mv-row-linked {
  background: rgba(30, 41, 59, 0.4);
}

.mv-role-linked {
  color: var(--mv-muted);
  font-style: italic;
}

.mv-poster-thumb {
  display: block;
  max-width: 160px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--mv-border);
}

/* Larger poster preview on user dashboard only */
.mv-dashboard-panel .mv-poster-thumb {
  max-width: 320px;
  max-height: 569px; /* 9:16 aspect for 1080×1920 */
}

/* Poster page: center the poster and limit link click area to the image */
.mv-poster-preview {
  text-align: center;
}
.mv-poster-preview a {
  display: inline-block;
  line-height: 0;
}

.mv-debug-token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0.5em 0;
}
.mv-debug-token-input {
  flex: 1;
  min-width: 12rem;
  word-break: break-all;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.5rem 0.6rem;
  background: var(--mv-surface);
  border: 1px solid var(--mv-border);
  border-radius: 4px;
  color: var(--mv-fg);
}
.mv-debug-token-input:focus {
  outline: none;
  border-color: var(--mv-accent);
}

.mv-description {
  color: var(--mv-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-width: 56rem;
}

.mv-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.mv-form-grid .mv-field-full {
  grid-column: 1 / -1;
}

.mv-form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-top: 0.5rem;
}

/* Unlink / delete poster: block on the right, text centered above button */
.mv-prompt-actions-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin-left: auto;
}
.mv-prompt-actions-right .mv-description {
  margin-bottom: 0.5rem;
  margin-top: 0;
  text-align: center;
  width: fit-content;
  max-width: 100%;
}
.mv-prompt-actions-right .mv-form-inline {
  margin-top: 0;
  width: fit-content;
}
.mv-prompt-actions-right .mv-actions {
  margin-top: 0.5rem;
  justify-content: center;
}

/* Unlink / delete poster (centered variant): keep prompt and button block centered, tighter spacing */
.mv-form-inline.mv-form-actions-centered .mv-actions {
  align-self: center;
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.mv-field-inline {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mv-reward-row {
  margin-top: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.7);
}

.mv-promo-rewards-editor {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.mv-rewards-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mv-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.mv-accordion-section {
  margin-top: 1.25rem;
}

.mv-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  font-size: 0.8rem;
}

.mv-accordion-header-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mv-accordion-chevron {
  font-size: 0.7rem;
  color: var(--mv-muted);
}

.mv-accordion-panel {
  display: none;
  padding: 0.7rem 0.8rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.95);
}

.mv-accordion-panel.mv-open {
  display: block;
}

.mv-modal-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  backdrop-filter: blur(18px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  z-index: 40;
}

.mv-modal-backdrop.mv-open {
  display: flex;
}

.mv-modal {
  width: min(1100px, 100% - 2rem);
  max-height: calc(100vh - 6vh);
  margin: 3vh auto;
  background: rgba(15, 23, 42, 0.98);
  border-radius: 1.25rem;
  border: 1px solid rgba(51, 65, 85, 0.95);
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(148, 163, 184, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mv-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.95);
}

.mv-modal-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mv-muted);
}

.mv-modal-close {
  border: none;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.12);
  color: var(--mv-muted);
  cursor: pointer;
  font-size: 0.8rem;
}

.mv-modal-body {
  padding: 1rem 1.25rem 1.1rem;
  overflow-y: auto;
}

.mv-modal-footer {
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid rgba(30, 41, 59, 0.95);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.mv-field-inline input,
.mv-field-inline textarea,
.mv-field-inline select {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--mv-fg);
  font-size: 0.9rem;
  outline: none;
}

.mv-field-inline textarea {
  min-height: 140px;
  resize: vertical;
}

.mv-field-inline select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, rgba(148, 163, 184, 0.9) 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, rgba(148, 163, 184, 0.9) 50%);
  background-position:
    calc(100% - 16px) 54%,
    calc(100% - 10px) 54%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.mv-field-inline input:focus,
.mv-field-inline textarea:focus,
.mv-field-inline select:focus {
  border-color: rgba(125, 211, 252, 0.85);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.5);
}

.mv-field-error {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #fecaca;
}

.mv-locales-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.85rem;
}

.mv-tag {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mv-fg);
}

.mv-locale-tag {
  cursor: pointer;
}

.mv-reward-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.78rem;
  margin: 0.1rem 0.1rem 0.1rem 0;
}

.mv-reward-chip-main {
  font-weight: 500;
}

.mv-reward-chip-meta {
  color: var(--mv-muted);
  font-size: 0.72rem;
}

.mv-reward-chip-extra {
  font-size: 0.75rem;
  color: var(--mv-muted);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.mv-card {
  padding: 1.2rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

.mv-card-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.mv-card-desc {
  margin: 0 0 1rem;
  color: var(--mv-muted);
  font-size: 0.9rem;
}

.mv-card-btn {
  width: 100%;
}

.mv-user-label {
  font-size: 0.8rem;
  color: var(--mv-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@keyframes mv-gradient-scroll {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes mv-network-flow {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
  50% {
    background-position: 10% 10%, -10% 12%, 8% 14%, -12% 16%;
  }
  100% {
    background-position: 20% 20%, -20% 24%, 16% 28%, -24% 32%;
  }
}

@keyframes mv-bg-shift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 100% 0%;
  }
}

@keyframes mv-twinkle {
  0% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(-8px, -6px, 0);
  }
  100% {
    opacity: 0.5;
    transform: translate3d(4px, 4px, 0);
  }
}

@keyframes mv-orb-drift {
  0% {
    transform: translate3d(-4%, -2%, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(3%, 1%, 0) rotate(4deg);
  }
  100% {
    transform: translate3d(-2%, 4%, 0) rotate(-3deg);
  }
}

@keyframes mv-bg-orbit {
  0% {
    background-position: 0% 0%;
  }
  30% {
    background-position: 40% 30%;
  }
  65% {
    background-position: 80% 70%;
  }
  100% {
    background-position: 20% 90%;
  }
}

@media (max-width: 720px) {
  .mv-shell {
    padding: 2.25rem 1.6rem;
  }

  .mv-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .mv-shell-wide {
    text-align: left;
  }
}
