body.mv::before, body.mv::after { display: none; }

.mv .village.sm .hero h1 { font-size: 56px; }
.mv .signs a.sign { text-decoration: none; transition: transform .15s ease; }
.mv .signs a.sign:hover { transform: translateY(-2px); }
.mv .dv-zone { padding-top: 36px; padding-bottom: 56px; }
.mv .dv-container { max-width: 1080px; margin: 0 auto; }

.mv .dv-table td, .mv .protected-text { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.mv .dv-table td::before { content: "\200B"; }

.mv .dv-control-bar { margin-bottom: 22px; }
.mv .dv-control-right { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mv .dv-info-badge { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 3px var(--parch-d); }
.mv .dv-info-badge > i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, #fff, var(--parch)); color: var(--marron-d); font-size: 14px; box-shadow: inset 0 0 0 2px var(--parch-d); }
.mv .dv-info-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.mv .dv-info-text strong { color: var(--ink); font-size: 14px; font-weight: 800; }
.mv .dv-info-text > span { color: var(--ink-2); font-size: 12px; }
.mv .dv-infinity, .mv .dv-infinity-symbol { color: var(--rose); font-style: normal; font-weight: 800; }

.mv .dv-search-section { margin: 0; padding: 0; }
.mv .dv-search-container { border: 3px solid var(--parch-d); border-radius: 24px; background: #fffaf3; box-shadow: 0 6px 0 rgba(74,44,27,.12); overflow: hidden; }
.mv .dv-search-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 24px 20px; background: linear-gradient(180deg, var(--parch), #fffaf3); }

.mv .dv-search-input-wrapper { position: relative; display: flex; align-items: center; width: 100%; max-width: 640px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 3px var(--parch-d); transition: box-shadow .2s ease; }
.mv .dv-search-input-wrapper.focused { box-shadow: inset 0 0 0 3px var(--marron), 0 0 0 5px rgba(200,119,67,.15); }
.mv .dv-search-icon { position: absolute; left: 22px; color: var(--marron); font-size: 16px; pointer-events: none; }
.mv #dropviewer-search { width: 100%; min-height: 54px; padding: 0 54px 0 54px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 16px "Poppins", sans-serif; outline: none; }
.mv #dropviewer-search::placeholder { color: var(--ink-2); opacity: .7; }
.mv .dv-clear-btn { position: absolute; right: 10px; display: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--parch); color: var(--ink-2); cursor: pointer; }
.mv .dv-clear-btn:hover { background: var(--rose-l); color: #fff; }

.mv .dv-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mv .dv-filter-option { position: relative; margin: 0; }
.mv .dv-filter-option input { position: absolute; opacity: 0; pointer-events: none; }
.mv .dv-filter-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 20px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 13px "Poppins", sans-serif; box-shadow: inset 0 0 0 3px var(--parch-d); cursor: pointer; transition: box-shadow .2s ease, transform .2s ease; }
.mv .dv-filter-btn i { color: var(--marron-d); font-size: 13px; }
.mv .dv-filter-option input:not(:checked) + .dv-filter-btn:hover { box-shadow: inset 0 0 0 3px var(--marron); transform: translateY(-1px); }
.mv .dv-filter-option input:checked + .dv-filter-btn { background: linear-gradient(90deg, var(--marron), var(--rose-l)); color: #fff; box-shadow: 0 4px 0 var(--rose); }
.mv .dv-filter-option input:checked + .dv-filter-btn i { color: #fff; }
.mv .dv-filter-option input:focus-visible + .dv-filter-btn, .mv .dv-page-btn:focus-visible, .mv .dv-sort-btn:focus-visible, .mv .dv-clear-btn:focus-visible { outline: 3px solid var(--rose-l); outline-offset: 3px; }

.mv .dv-search-hint { display: flex; align-items: center; gap: 8px; min-height: 20px; margin: 0; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.mv .dv-search-hint i { color: var(--or-d); }

.mv .dv-results-section { padding: 0 14px 14px; scroll-margin-top: 110px; }

.mv .dv-state { flex-direction: column; align-items: center; gap: 14px; padding: 50px 20px 46px; color: var(--ink-2); font-weight: 600; text-align: center; }
.mv .dv-state-placeholder { display: flex; }
.mv .dv-state p { margin: 0; }
.mv .dv-state-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--parch); color: var(--marron-d); font-size: 28px; box-shadow: inset 0 0 0 3px var(--parch-d); }
.mv .dv-state-icon.error { background: rgba(192,57,43,.12); color: var(--err); box-shadow: none; }
.mv .dv-state-icon.empty { color: var(--rose); }
.mv .dv-empty-hint { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.mv .dv-loader { position: relative; display: grid; place-items: center; width: 84px; height: 84px; }
.mv .dv-loader-ring { position: absolute; inset: 0; border: 5px solid transparent; border-top-color: var(--marron); border-radius: 50%; animation: dv-tourne 1.2s linear infinite; }
.mv .dv-loader-ring:nth-child(2) { inset: 10px; border-top-color: var(--rose-l); animation-duration: 1.6s; animation-direction: reverse; }
.mv .dv-loader-ring:nth-child(3) { inset: 20px; border-top-color: var(--or); animation-duration: 2s; }
.mv .dv-loader i { color: var(--or-d); font-size: 18px; }
@keyframes dv-tourne { to { transform: rotate(360deg); } }

.mv .dv-results-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 10px 8px; }
.mv .dv-results-count { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; font-weight: 800; }
.mv .dv-results-count i { color: var(--marron); }
.mv .dv-results-hint { display: flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--parch); color: var(--ink-2); font-size: 12px; font-weight: 600; }

.mv .dv-filter-chips { padding: 4px 10px 6px; }
.mv .dv-filter-chips-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mv .dv-filter-label { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12px; font-weight: 700; }
.mv .dv-filter-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 999px; background: rgba(232,184,74,.22); color: var(--marron-d); font-size: 13px; font-weight: 700; }
.mv .dv-filter-chip[data-type="monster"] { background: rgba(214,106,138,.16); color: var(--rose); }
.mv .dv-filter-remove { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; color: inherit; font-size: 11px; cursor: pointer; }
.mv .dv-filter-remove:hover { background: var(--rose); color: #fff; }
.mv .dv-filter-clear-all { padding: 5px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 700 12px "Poppins", sans-serif; text-decoration: underline; cursor: pointer; }
.mv .dv-filter-clear-all:hover { color: var(--rose); }

.mv .dv-table-wrapper { overflow-x: auto; }
.mv .dv-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; color: var(--ink); font-size: 14px; }
.mv .dv-table th { padding: 8px 12px; color: var(--ink-2); font-size: 11px; font-weight: 800; text-align: left; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.mv .dv-table th i { margin-right: 4px; color: var(--marron); }
.mv .dv-table td { padding: 11px 12px; background: #fff; vertical-align: middle; }
.mv .dv-table td:first-child { border-radius: 14px 0 0 14px; }
.mv .dv-table td:last-child { border-radius: 0 14px 14px 0; }
.mv .dv-table tbody tr:hover td { background: var(--beige-l); }
.mv .dv-th-rate, .mv .dv-th-max, .mv .dv-td-rate, .mv .dv-td-max { text-align: center !important; white-space: nowrap; }
.mv .dv-td-max { color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.mv .dv-row { animation: dv-ligne .3s ease-out backwards; }
@keyframes dv-ligne { from { opacity: 0; transform: translateY(-5px); } }

.mv .dv-clickable-monster, .mv .dv-clickable-item { display: inline-block; padding: 3px 10px; margin-left: -10px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background .15s ease, color .15s ease; }
.mv .dv-clickable-monster { color: var(--ink); }
.mv .dv-clickable-item { color: var(--marron-d); }
.mv .dv-clickable-monster:hover { background: rgba(214,106,138,.14); color: var(--rose); }
.mv .dv-clickable-item:hover { background: rgba(232,184,74,.22); }
.mv .dv-clickable-monster.dv-filtered { background: var(--rose); color: #fff; }
.mv .dv-clickable-item.dv-filtered { background: var(--or); color: var(--ink); }

.mv .dv-td-rate { font-weight: 800; font-variant-numeric: tabular-nums; }
.mv .dv-rate-common { color: var(--ok); }
.mv .dv-rate-uncommon { color: #3f7fb5; }
.mv .dv-rate-rare { color: var(--marron-d); }
.mv .dv-rate-epic { color: #8a4fb0; }
.mv .dv-rate-legendary { color: var(--rose); }

.mv .dv-th-rate .dv-sort-btn { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 4px; border: 0; border-radius: 50%; background: var(--parch); color: var(--ink-2); font-size: 11px; cursor: pointer; vertical-align: middle; }
.mv .dv-th-rate .dv-sort-btn i { margin: 0; color: inherit; }
.mv .dv-th-rate .dv-sort-btn.active { background: var(--rose); color: #fff; }

.mv .dv-results-footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px 6px; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.mv .dv-results-footer > i { color: var(--marron); }
.mv .dv-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.mv .dv-page-numbers { display: flex; align-items: center; gap: 6px; }
.mv .dv-page-btn { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 700 13px "Poppins", sans-serif; box-shadow: inset 0 0 0 3px var(--parch-d); cursor: pointer; }
.mv .dv-page-btn:hover:not(:disabled) { box-shadow: inset 0 0 0 3px var(--marron); }
.mv .dv-page-btn.active { background: linear-gradient(90deg, var(--marron), var(--rose-l)); color: #fff; box-shadow: 0 3px 0 var(--rose); }
.mv .dv-page-btn:disabled { opacity: .4; cursor: default; }
.mv .dv-page-ellipsis { color: var(--ink-2); font-weight: 700; }
.mv .dv-page-info { color: var(--ink-2); font-size: 12px; font-weight: 600; }

.mv footer.night.full { margin-top: 30px; }
.mv footer.night.full .about { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 28px; }
.mv footer.night.full .about img { height: 52px; margin: 0; }
.mv footer.night.full .about p { margin: 0; max-width: 520px; font-size: 13px; color: var(--beige); line-height: 1.6; }
.mv footer.night.full .socials { display: flex; gap: 10px; }
.mv footer.night.full .socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--beige-l); font-size: 17px; text-decoration: none; box-shadow: inset 0 0 0 2px rgba(230,192,160,.25); transition: box-shadow .2s ease, color .2s ease; }
.mv footer.night.full .socials a:hover, .mv footer.night.full .socials a:focus-visible { box-shadow: inset 0 0 0 2px var(--marron); color: #fff; }
.mv footer.night.full .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1150px; margin: 0 auto; }
.mv footer.night.full .cols > div { padding: 18px 20px; border-radius: 14px; background: rgba(230,192,160,.06); box-shadow: inset 0 0 0 2px rgba(230,192,160,.16); }
.mv footer.night.full .cols h3 { margin: 0 0 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--or); }
.mv footer.night.full .cols ul { margin: 0; padding: 0; list-style: none; }
.mv footer.night.full .cols a { display: block; padding: 4px 0; font-size: 13px; color: var(--beige-l); text-decoration: none; }
.mv footer.night.full .cols a:hover, .mv footer.night.full .cols a:focus-visible { color: #fff; }
.mv footer.night.full .legal { margin: 26px auto 0; max-width: 760px; text-align: center; font-size: 11px; line-height: 1.6; color: var(--beige); opacity: .75; }

body.mv .language-float-btn { background: var(--night); color: var(--beige-l); box-shadow: inset 0 0 0 2px var(--marron), 0 8px 20px rgba(0,0,0,.35); }

@media (min-width: 901px) {
  .mv .village .hero { left: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  .mv .dv-loader-ring, .mv .dv-row { animation: none; }
}

@media (max-width: 900px) {
  .mv .village.sm .hero h1 { font-size: 36px; }
  .mv .dv-control-right { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 640px) {
  .mv .dv-zone { padding-left: 16px; padding-right: 16px; }
  .mv .dv-info-badge { padding: 9px 12px; }
  .mv .dv-search-inner { padding: 18px 14px 16px; }
  .mv #dropviewer-search { min-height: 48px; font-size: 15px; }
  .mv .dv-filters { flex-wrap: nowrap; width: 100%; gap: 6px; }
  .mv .dv-filter-option { flex: 1 1 0; }
  .mv .dv-filter-btn { justify-content: center; width: 100%; padding: 9px 8px; }
  .mv .dv-search-hint { font-size: 12px; text-align: center; }
  .mv .dv-results-section { padding: 0 6px 10px; }
  .mv .dv-results-hint { display: none; }
  .mv .dv-table { font-size: 13px; }
  .mv .dv-table th, .mv .dv-table td { padding: 8px 6px; }
  .mv .dv-table th i { display: none; }
  .mv .dv-table { min-width: 560px; }
  .mv .dv-table td { white-space: nowrap; }
  .mv .dv-clickable-monster, .mv .dv-clickable-item { padding: 2px 6px; margin-left: -6px; white-space: nowrap; }
}

@media (max-width: 760px) {
  .mv footer.night.full .cols { grid-template-columns: 1fr; }
}
