/* Markets of War — map view. Scoped under .mv-root. Fonts: Cinzel, IM Fell English SC, EB Garamond, Spectral. */

.mv-root {
  --mv-ink: #2b2118; --mv-parch: #e9d9b5; --mv-brass: #b08d57; --mv-oxblood: #7b2d26; --mv-navy: #1f3a4d; --mv-forest: #3d5a3a;
  --mv-f-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --mv-f-caps: 'IM Fell English SC', 'EB Garamond', Georgia, serif;
  --mv-f-body: 'EB Garamond', Garamond, Georgia, serif;
  --mv-f-num: 'Spectral', Georgia, serif;
  position: relative; width: 100%; height: 100%; min-height: 240px; overflow: hidden; overflow: clip;
  background: #1a120b; color: var(--mv-ink);
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  outline: none; contain: strict; isolation: isolate;
}
.mv-root.mv-with-table { background: radial-gradient(ellipse 75% 70% at 50% 46%, rgba(255,190,110,.06) 40%, rgba(14,7,0,.55) 100%), radial-gradient(ellipse 60% 55% at 30% 20%, rgba(255,186,96,.10), transparent 70%), #1a120b var(--mv-table) center / cover no-repeat; }
.mv-root:focus-visible { box-shadow: inset 0 0 0 3px #1f3a4d, inset 0 0 0 5px #f3d58c; }
.mv-viewport { position: absolute; inset: 0; overflow: hidden; overflow: clip; touch-action: none; cursor: grab; }
.mv-viewport.mv-pointer { cursor: pointer; }
.mv-viewport.mv-grabbing, .mv-viewport.mv-grabbing * { cursor: grabbing !important; }
.mv-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.mv-stage.mv-moving { will-change: transform; }
.mv-layer { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.mv-sheet-shadow {
  position: absolute; inset: 0; background: var(--mv-parch);
  box-shadow: 0 2px 0 #c9b48a, 0 26px 50px rgba(0,0,0,.62), 0 6px 16px rgba(0,0,0,.5), 0 0 0 1px rgba(60,40,20,.5);
}
.mv-board { display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
img.mv-patch, img.mv-tile { pointer-events: none; -webkit-user-drag: none; }
.mv-patches, .mv-tiles { width: 0; height: 0; }
.mv-patch, .mv-tile { position: absolute; display: block; }
.mv-ringhost { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.mv-selring { position: absolute; width: 0; height: 0; }
.mv-selring-s { position: absolute; left: 0; top: 0; transform: scale(var(--tok-s, 1)); }
.mv-selring-i { position: absolute; left: calc(var(--r) * -1); top: calc(var(--r) * -1); width: calc(var(--r) * 2); height: calc(var(--r) * 2); box-sizing: border-box; border-radius: 50%;
  border: 2.2px dashed #2b2118; box-shadow: 0 0 0 1.5px #ecd08c, inset 0 0 0 1.5px rgba(236,208,140,.7); animation: mv-spin 10s linear infinite; will-change: transform; }
.mv-stage.mv-moving .mv-selring-i, .mv-stage.mv-moving .mv-pulse.mv-on { animation-play-state: paused; }

/* ---- board ---- */
.mv-decor { opacity: .9; }
.mv-region-edge { fill: none; stroke: #33241a; stroke-width: 4.4; stroke-linejoin: round; stroke-opacity: .9; }
.mv-border { fill: none; stroke: var(--mv-ink); stroke-width: .95; stroke-opacity: .72; stroke-linejoin: round; }
.mv-decor-border { stroke-dasharray: 3 3; stroke-opacity: .5; }
.mv-sealink-under { fill: none; stroke: rgba(238,229,200,.55); stroke-width: 4.5; stroke-linecap: round; }
.mv-sealink { fill: none; stroke: var(--mv-ink); stroke-width: 1.7; stroke-dasharray: 7 6; stroke-linecap: round; stroke-opacity: .7; }
.mv-neat-outer { fill: none; stroke: var(--mv-ink); stroke-width: 2.4; }
.mv-neat-band { fill: none; stroke: var(--mv-ink); stroke-width: 5.5; stroke-dasharray: 48 48; stroke-opacity: .85; }
.mv-neat-inner { fill: none; stroke: var(--mv-ink); stroke-width: 1.3; }
.mv-plate { position: absolute; white-space: nowrap; transform: translate(-50%, -78%); color: var(--mv-ink); pointer-events: none; }
.mv-plate.mv-a-start { transform: translate(0, -78%); } .mv-plate.mv-a-end { transform: translate(-100%, -78%); }
.mv-plate-title { font: 600 22px/1 var(--mv-f-display); letter-spacing: 9px; }
.mv-plate-sub { font: 13px/1 var(--mv-f-caps); letter-spacing: 3px; opacity: .68; }
.mv-compass { opacity: .92; }

/* territory names / region labels: HTML, counter-scaled with CSS variables */
.mv-namehost, .mv-tokhost { width: 0; height: 0; }
.mv-tname, .mv-rname { position: absolute; width: 0; height: 0; transform-origin: 0 0; transition: opacity .3s ease; pointer-events: none; }
.mv-tname { transform: scale(var(--lab-s, 1)); }
.mv-tname.mv-under { transform: translate(0, var(--name-dy, 18px)) scale(var(--lab-s, 1)); }
.mv-tname span {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -54%); white-space: nowrap; text-align: center;
  font: 13px/12.5px var(--mv-f-caps); letter-spacing: .6px; color: var(--mv-ink);
  text-shadow: 0 0 1.5px rgba(243,232,205,.95), 1px 0 1px rgba(243,232,205,.9), -1px 0 1px rgba(243,232,205,.9), 0 1px 1px rgba(243,232,205,.9), 0 -1px 1px rgba(243,232,205,.9);
}
.mv-tname.mv-under span { transform: translate(-50%, 0); top: 1px; }
.mv-z-far .mv-tname { opacity: 0; }
.mv-rname { transform: scale(var(--reg-s, 1)); }
.mv-rname span {
  position: absolute; left: 0; top: 0; white-space: nowrap; transform: translate(-50%, -76%);
  font: 700 26px/1 var(--mv-f-display); letter-spacing: 7px; color: rgba(58,40,26,.86);
  text-shadow: 0 0 2px rgba(236,226,198,.6), 0 0 4px rgba(236,226,198,.45);
}
.mv-rname span.mv-a-start { transform: translate(0, -76%); }
.mv-rname span.mv-a-end { transform: translate(-100%, -76%); }
.mv-rname i { font: normal 600 .82em var(--mv-f-num); letter-spacing: 1px; color: var(--mv-oxblood); margin-left: 14px; }
.mv-z-near .mv-rname { opacity: .4; }
.mv-z-close .mv-rname { opacity: .18; }
/* while the camera moves, tokens/labels/ring are their own small compositor layers: live counter-scaling
   is then a compositor-only transform. Removed at rest so they re-rasterise crisply. */
.mv-stage.mv-zooming .mv-tok, .mv-stage.mv-zooming .mv-tname, .mv-stage.mv-zooming .mv-rname { will-change: transform; }

/* ---- tokens ---- */
.mv-tok { position: absolute; width: 0; height: 0; transform: scale(var(--tok-s, 1)); transform-origin: 0 0; cursor: pointer; }
.mv-toksvg { position: absolute; left: -36px; top: -36px; overflow: visible; pointer-events: none; }
.mv-toksvg .mv-tok-p, .mv-toksvg .mv-badges { pointer-events: visiblePainted; }
.mv-tok-s { transform: scale(var(--tok-s, 1)); transform-origin: 0 0; }
.mv-badge-i, .mv-tok-p { transform-origin: 0 0; }
.mv-num { font-family: var(--mv-f-num); font-weight: 700; fill: #fcf4df; stroke: rgba(22,12,2,.6); stroke-width: 2.6px; paint-order: stroke; stroke-linejoin: round; letter-spacing: -.4px; }
.mv-num-dark { fill: #241a10; stroke: rgba(255,246,222,.65); }
.mv-tok-turn { fill: none; stroke: #f5dc98; stroke-width: 1.8; opacity: 0; transition: opacity .4s; }
.mv-turn .mv-tok-turn { opacity: .95; }
.mv-tok-p.mv-stamp { animation: mv-stamp .55s cubic-bezier(.3,1.4,.5,1); }
.mv-tok-p.mv-hit { animation: mv-hit .45s ease; }
@keyframes mv-stamp { 0% { transform: scale(1.55); } 45% { transform: scale(.86); } 100% { transform: scale(1); } }
@keyframes mv-hit { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3px,1px); } 40% { transform: translate(3px,-1px); } 60% { transform: translate(-2px,0); } 80% { transform: translate(2px,1px); } }
.mv-badge-disc { fill: #f1e4c3; stroke: var(--mv-ink); stroke-width: 1.1; }
.mv-badge-war .mv-badge-disc { fill: #f0c9b8; stroke: var(--mv-oxblood); }
.mv-badge-count circle { fill: var(--mv-ink); stroke: #f1e4c3; stroke-width: .8; }
.mv-badge-count text { fill: #f6ead0; font: 700 7.6px var(--mv-f-num); }
.mv-glyph .g-fill { fill: #2b2118; }
.mv-glyph .g-hole { fill: #f1e4c3; }
.mv-glyph .g-smoke { fill: #8a7a64; }
.mv-glyph .g-crate { fill: #9a6a36; stroke: #2b2118; stroke-width: 1.1; }
.mv-glyph .g-line { stroke: #2b2118; stroke-width: 1; }
.mv-glyph .g-shield { fill: #2f4f6b; stroke: #2b2118; stroke-width: .9; }
.mv-glyph .g-cross { stroke: #f1e4c3; stroke-width: 1.3; fill: none; }
.mv-glyph .g-blade { stroke: #2b2118; stroke-width: 1.7; stroke-linecap: round; fill: none; }
.mv-glyph .g-guard { stroke: #7b2d26; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.mv-badge.mv-inactive { opacity: .6; }
.mv-badge.mv-inactive .mv-badge-disc { stroke-dasharray: 2.2 1.6; fill: #e3d8bf; }
.mv-badge.mv-pop .mv-badge-i { animation: mv-pop .5s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes mv-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.mv-rail-bed { fill: none; stroke: rgba(43,33,24,.32); stroke-width: 8; stroke-linecap: round; }
.mv-rail { fill: none; stroke-width: 2.8; stroke-linecap: round; }
.mv-rail-ties { fill: none; stroke: var(--mv-ink); stroke-width: 7.5; stroke-dasharray: 1.5 5.5; stroke-opacity: .55; }

/* ---- hover / selection / targets ---- */
.mv-hover-shadow { fill: rgba(25,14,4,.45); }
.mv-hover-fill { fill: rgba(255,247,224,.2); }
.mv-hover-edge { fill: none; stroke: #f3d58c; stroke-width: 3; stroke-linejoin: round; }
.mv-pulse { opacity: 0; transition: opacity .3s; }
.mv-pulse.mv-on { opacity: 1; animation: mv-pulse 2s steps(10) infinite alternate; will-change: opacity; }
/* stepped: ~10 compositor updates per second instead of 60 — the breathing looks the same */
@keyframes mv-pulse { from { opacity: .62; } to { opacity: 1; } }
.mv-lift-shadow { fill: rgba(24,13,3,.42); }
.mv-selectable-ink { fill: none; stroke: rgba(43,33,24,.9); stroke-width: 7.5; stroke-linejoin: round; }
.mv-selectable { fill: rgba(255,240,196,.3); stroke: #f4d47e; stroke-width: 3.8; stroke-linejoin: round; }
.mv-target-glow { fill: none; stroke-width: 13; stroke-linejoin: round; stroke-opacity: .3; }
.mv-dim { fill: rgba(26,16,6,.36); }
.mv-target-ink { fill: none; stroke: rgba(43,33,24,.92); stroke-width: 8.5; stroke-linejoin: round; }
.mv-target { stroke-width: 4.6; stroke-linejoin: round; }
.mv-hint-attack { stroke: #c2463a; fill: rgba(178,58,48,.22); }
.mv-hint-move { stroke: #58a06a; fill: rgba(63,125,78,.2); stroke-dasharray: 10 5; }
.mv-hint-build, .mv-hint-place, .mv-hint-none { stroke: #f2cf78; fill: rgba(250,220,140,.26); }
.mv-target-glow.mv-hint-move { stroke-dasharray: none; }
.mv-arrow-shadow { fill: none; stroke: rgba(20,10,0,.32); stroke-width: 8; stroke-linecap: round; transform: translate(1.6px,3.2px); }
.mv-arrow-attack { fill: none; stroke: #a8392f; stroke-width: 5.2; stroke-linecap: round; }
.mv-arrow-attack-core { fill: none; stroke: #f4c2a6; stroke-width: 1.5; stroke-dasharray: 4 10; stroke-linecap: round; }
.mv-path-move-under { fill: none; stroke: rgba(244,236,210,.85); stroke-width: 6.5; stroke-linecap: round; }
.mv-path-move { fill: none; stroke: #3f7d4e; stroke-width: 3.4; stroke-dasharray: 9 6; stroke-linecap: round; }
@keyframes mv-flow { to { stroke-dashoffset: -14; } }
@keyframes mv-flow2 { to { stroke-dashoffset: -15; } }
@keyframes mv-flow3 { to { stroke-dashoffset: -32; } }
.mv-sel-under { fill: none; stroke: rgba(255,246,220,.92); stroke-width: 7; stroke-linejoin: round; }
.mv-sel-edge { fill: none; stroke: var(--mv-ink); stroke-width: 2.8; stroke-linejoin: round; stroke-dasharray: 11 5; }
.mv-sel-ring { fill: none; stroke: var(--mv-ink); stroke-width: 2.2; stroke-dasharray: 6 3.5; }
.mv-sel-ring2 { fill: none; stroke: #ecd08c; stroke-width: 1.5; }
@keyframes mv-spin { to { transform: rotate(360deg); } }
.mv-sparkle { fill: #f8de96; stroke: #8a6a2e; stroke-width: .7; }
@keyframes mv-twinkle { 0%,100% { transform: scale(.3) rotate(0); opacity: .2; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }
.mv-build-ring { fill: none; stroke: #d9b86c; stroke-width: 1.8; stroke-dasharray: 2 4; }

/* ---- fx ---- */
.mv-fxdiv { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.mv-fx-at { position: absolute; width: 0; height: 0; }
.mv-fx-s { position: absolute; left: 0; top: 0; transform: scale(var(--fx-s, 1)); transform-origin: 0 0; }
.mv-fx-s > * { position: absolute; left: 0; top: 0; white-space: nowrap; }
.mv-fx-path { position: absolute; left: 0; top: 0; width: 0; height: 0; offset-rotate: 0deg; offset-anchor: 0 0; }
.mv-floater { font: 700 21px/1 var(--mv-f-num); color: var(--mv-ink); text-shadow: 0 0 2px #f6ebd0, 0 0 5px #f6ebd0, 0 1px 0 #f6ebd0; }
.mv-floater-loss { color: #9b2a22; font-size: 24px; }
.mv-floater-gain { color: #2c5a36; }
.mv-floater-money { color: #5e420c; font-size: 27px; letter-spacing: .5px; }
.mv-ring-burst { width: 60px; height: 60px; border-radius: 50%; border: 3px solid; }
.mv-tray {
  padding: 7px 10px 8px; border-radius: 10px; transform: translate(-50%,-50%);
  background: radial-gradient(ellipse at 50% 0%, #4a3523, #24180f 75%);
  border: 2px solid #b08d57; box-shadow: 0 12px 26px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,228,176,.28), inset 0 0 0 3px rgba(0,0,0,.25);
}
.mv-tray-row { line-height: 1; }
.mv-tray-tag { display: inline-block; font: 700 9.5px var(--mv-f-display); letter-spacing: 1.6px; color: #f0e2c2; text-transform: uppercase; border-left: 7px solid var(--c); padding: 1px 0 1px 5px; margin: 1px 0 5px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.mv-tray-row:last-child .mv-tray-tag { margin: 6px 0 0; }
.mv-tray-grid { display: grid; grid-template-columns: repeat(var(--n), 32px); gap: 7px 8px; }
.mv-tray-cell { width: 32px; height: 32px; position: relative; }
.mv-die {
  width: 30px; height: 30px; border-radius: 7px; box-sizing: border-box; padding: 4px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  background: radial-gradient(circle at 30% 24%, color-mix(in srgb, var(--die) 60%, #fff8e6), var(--die) 52%, var(--die-d));
  box-shadow: inset 0 -2.5px 0 rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.35), 0 3px 5px rgba(0,0,0,.55);
  transition: filter .25s, box-shadow .25s, transform .25s;
}
.mv-die i { width: 5.6px; height: 5.6px; border-radius: 50%; margin: auto; }
.mv-die i.on { background: #fbf3df; box-shadow: inset 0 1px 1.5px rgba(0,0,0,.45); }
.mv-die-light i.on { background: #2b2118; box-shadow: none; }
.mv-die.mv-win { box-shadow: 0 0 0 2px #f6dc98, 0 0 14px 3px rgba(246,220,152,.8), inset 0 -2.5px 0 rgba(0,0,0,.32); }
.mv-die.mv-lose { filter: grayscale(.85) brightness(.55); animation: mv-lose .5s ease; }
.mv-die.mv-lose::after { content: ''; position: absolute; inset: -3px; background: linear-gradient(45deg, transparent 44%, #e0473a 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #e0473a 44% 56%, transparent 56%); opacity: .9; }
@keyframes mv-lose { 0% { transform: scale(1); } 30% { transform: scale(1.18) rotate(-6deg); background: #e0473a; } 100% { transform: scale(.94); } }
.mv-flag { transform: translate(2px,-52px); }
.mv-flag svg { display: block; filter: drop-shadow(1px 3px 2px rgba(0,0,0,.45)); transform: translate(-6px,-6px); }
.mv-flag-cloth { animation: mv-wave 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
@keyframes mv-wave { 0%,100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(4deg) scaleX(.93); } }
.mv-flood { }
.mv-flood-edge { fill: none; stroke: var(--mv-ink); stroke-opacity: .6; }
.mv-build-pop img { width: 58px; height: 58px; display: block; filter: drop-shadow(0 5px 4px rgba(0,0,0,.5)); }
.mv-coin img { width: 32px; height: 32px; display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.45)); }
.mv-coin-fly { transform: translate(-50%,-50%); }
.mv-mover { transform: translate(-50%,-78%); }
.mv-mover img { width: 42px; height: 42px; display: block; filter: drop-shadow(0 4px 3px rgba(0,0,0,.5)); }
.mv-mover-march img { animation: mv-bob .35s ease-in-out infinite alternate; }
.mv-mover-airlift img { width: 78px; height: 78px; animation: mv-float 1.4s ease-in-out infinite alternate; }
.mv-mover-supply img { width: 50px; height: 50px; }
.mv-mover b { position: absolute; right: -10px; top: -4px; min-width: 20px; height: 20px; padding: 0 4px; box-sizing: border-box; border-radius: 10px; background: var(--c); color: #fbf3df; font: 700 12px/20px var(--mv-f-num); text-align: center; border: 1.5px solid #e8cf91; box-shadow: 0 2px 3px rgba(0,0,0,.4); }
@keyframes mv-bob { to { transform: translateY(-4px) rotate(3deg); } }
@keyframes mv-float { to { transform: translateY(-6px) rotate(-2deg); } }
.mv-puff { width: 14px; height: 14px; border-radius: 50%; background: rgba(244,240,230,.9); box-shadow: 0 0 6px rgba(255,255,255,.6); }
.mv-route-under { fill: none; stroke: rgba(246,238,214,.9); stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.mv-route-line { fill: none; stroke-width: 3.8; stroke-dasharray: 1.5 8; stroke-linecap: round; stroke-linejoin: round; }
.mv-route-airlift .mv-route-line { stroke-dasharray: 10 8; }
.mv-strike-path { fill: none; stroke: #b23a30; stroke-width: 6.5; stroke-linecap: round; }
.mv-war-burst { display: flex; flex-direction: column; align-items: center; transform: translate(-50%,-50%); text-align: center; }
.mv-war-burst img { width: 104px; height: 104px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.55)); position: relative; }
.mv-war-burst span { font: 700 22px var(--mv-f-display); letter-spacing: 3px; color: #8e2a22; text-shadow: 0 0 4px #f6ebd0, 0 0 10px #f6ebd0; text-transform: uppercase; position: relative; }
.mv-war-burst small { font: 600 14px var(--mv-f-body); color: var(--mv-ink); text-shadow: 0 0 4px #f6ebd0, 0 0 8px #f6ebd0; position: relative; }
.mv-war-rays { position: absolute; left: 50%; top: 52px; width: 0; height: 0; animation: mv-spin 6s linear infinite; }
.mv-war-rays i { position: absolute; left: -2px; top: -110px; width: 4px; height: 70px; border-radius: 2px; background: linear-gradient(transparent, rgba(178,58,48,.75)); transform-origin: 2px 110px; }

/* ---- overlay (screen space) ---- */
.mv-overlay { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: visible; pointer-events: none; z-index: 3; }   /* 0×0 anchor: never a full-size layer */
.mv-elim { position: absolute; left: 0; top: 0; width: var(--mv-w, 100vw); height: var(--mv-h, 100vh); }
.mv-elim-wash { position: absolute; inset: 0; background: rgba(28,20,12,.38); -webkit-backdrop-filter: grayscale(1) sepia(.3) brightness(.78); backdrop-filter: grayscale(1) sepia(.3) brightness(.78); }
.mv-elim-plate {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%); min-width: 260px; padding: 18px 36px 16px; text-align: center;
  background: #eadbb8; border: 4px double var(--mv-ink); box-shadow: 0 18px 40px rgba(0,0,0,.6); font-family: var(--mv-f-display);
}
.mv-elim-plate small { display: block; font: 13px var(--mv-f-caps); letter-spacing: 3px; opacity: .7; }
.mv-elim-plate b { display: block; font-size: 32px; letter-spacing: 3px; color: var(--c); filter: saturate(.6) brightness(.8); margin: 4px 0; }
.mv-elim-plate span { font: italic 17px var(--mv-f-body); }
/* candle light lives in the static table background (under the map): a full-screen overlay above the
   map would force the whole viewport to re-composite whenever anything on the board animates */

@keyframes mv-flicker { 0%,100% { opacity: .8; } 20% { opacity: 1; } 35% { opacity: .7; } 60% { opacity: .95; } 80% { opacity: .75; } }

/* ---- zoom controls ---- */
.mv-zoom { position: absolute; left: var(--mv-zoom-left, calc(var(--mv-inset-left, 0px) + 14px)); bottom: var(--mv-zoom-bottom, calc(var(--mv-inset-bottom, 0px) + 14px)); display: flex; flex-direction: column; gap: 6px; z-index: 4; }
.mv-zoom button {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #5a4126; cursor: pointer; padding: 0;
  font: 600 22px/1 var(--mv-f-num); color: #2b2118; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #f3dfaa, #c9a464 55%, #8a6634); box-shadow: 0 3px 6px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,245,215,.6);
}
.mv-zoom button:hover { filter: brightness(1.08); }
.mv-zoom button:active { transform: translateY(1px); }
.mv-narrow .mv-zoom { display: none; }

/* ---- focus card ---- */
.mv-card {
  --mv-ct: var(--mv-card-top, calc(var(--mv-inset-top, 0px) + 14px)); --mv-cb: var(--mv-card-bottom, calc(var(--mv-inset-bottom, 0px) + 14px));
  position: absolute; z-index: 5; top: var(--mv-ct); right: var(--mv-card-right, calc(var(--mv-inset-right, 0px) + 14px)); width: min(344px, 42%);
  max-height: calc(100% - var(--mv-ct) - var(--mv-cb)); overflow: hidden auto; overscroll-behavior: contain;
  background: #e9d9b5 url("/assets/img/parchment.webp") center / 420px; color: var(--mv-ink); font-family: var(--mv-f-body);
  border-radius: 6px; border: 1px solid #8a6a3e;
  box-shadow: 0 24px 50px rgba(0,0,0,.55), 0 4px 10px rgba(0,0,0,.4), inset 0 0 0 4px rgba(233,217,181,.9), inset 0 0 0 5px rgba(90,65,38,.55), inset 0 0 40px rgba(110,70,30,.22);
  transform: translateX(calc(100% + 40px)) rotate(1.5deg); opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(.2,.85,.25,1), opacity .35s ease; scrollbar-width: thin; user-select: text; -webkit-user-select: text;
}
.mv-card.mv-open { transform: none; opacity: 1; pointer-events: auto; }
.mv-card.mv-swap .mv-card-body, .mv-card.mv-swap .mv-card-art { animation: mv-swap .4s ease both; }
@keyframes mv-swap { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mv-card-grip { display: none; }
.mv-card-close {
  position: absolute; z-index: 2; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid #5a4126; background: radial-gradient(circle at 35% 30%, #f3dfaa, #c9a464 60%, #8a6634); color: #2b2118;
  font: 600 20px/1 var(--mv-f-num); box-shadow: 0 2px 5px rgba(0,0,0,.45); display: grid; place-items: center; padding: 0 0 2px;
}
.mv-card-art { position: relative; margin: 9px 9px 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; background: #cdb88f; border: 1px solid #6b5030; }
.mv-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; filter: sepia(.12) saturate(.95); }
.mv-card-img.mv-loaded { opacity: 1; }
.mv-card-ov { position: absolute; inset: 0; width: 100%; height: 100%; }
.mv-card-art-edge { position: absolute; inset: 0; box-shadow: inset 0 0 30px rgba(60,35,10,.55), inset 0 0 0 1px rgba(255,240,210,.35); pointer-events: none; }
.mv-card-body { padding: 12px 18px 16px; }
.mv-card-region { font: 13px var(--mv-f-caps); letter-spacing: 2.5px; text-transform: uppercase; opacity: .78; }
.mv-card-region span { font: 600 12px var(--mv-f-num); color: var(--mv-oxblood); letter-spacing: .5px; margin-left: 4px; }
.mv-card-name { margin: 1px 0 4px; font: 700 27px/1.1 var(--mv-f-display); letter-spacing: 1.5px; color: #24180e; }
.mv-card-owner { font-size: 16.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid rgba(90,65,38,.35); }
.mv-card-owner em { opacity: .7; }
.mv-dot { opacity: .45; margin: 0 2px; }
.mv-swatch { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1.5px solid #3a2a1a; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25); }
.mv-swatch-none { background: repeating-linear-gradient(45deg, #d8c79f 0 3px, #bfae86 3px 6px); }
.mv-card-stats { display: flex; gap: 8px; margin: 12px 0 10px; }
.mv-stat { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 6px 4px 5px; border-radius: 4px; background: rgba(255,248,230,.4); border: 1px solid rgba(90,65,38,.3); }
.mv-stat img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.mv-stat b { font: 700 22px/1.1 var(--mv-f-num); }
.mv-stat span { font: 12px var(--mv-f-caps); letter-spacing: 1px; opacity: .75; }
.mv-stat.mv-zero { opacity: .5; }
.mv-stat.mv-def { justify-content: flex-end; }
.mv-shield-n { font: 700 22px/34px var(--mv-f-num) !important; opacity: 1 !important; width: 34px; height: 38px; margin-bottom: 2px; text-align: center; color: #f6ecd2;
  background: var(--mv-owner, #6b5030); clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%); }
.mv-card-structs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.mv-card-structs:empty { display: none; }
.mv-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; padding: 2px 9px 2px 4px; border-radius: 12px; background: rgba(255,248,230,.55); border: 1px solid rgba(90,65,38,.45); }
.mv-chip img { width: 20px; height: 20px; object-fit: contain; }
.mv-chip-ghost { padding-left: 9px; opacity: .62; border-style: dashed; background: transparent; }
.mv-chip-pending { opacity: .7; border-style: dashed; }
.mv-chip-war { background: rgba(168,57,47,.16); border-color: rgba(123,45,38,.6); color: #6a1f19; }
.mv-card-progress { margin: 4px 0 12px; font-size: 15.5px; }
.mv-pips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.mv-pip { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #4a3622; padding: 0; cursor: pointer; background: repeating-linear-gradient(45deg, #e2d3ae 0 3px, #cdbb92 3px 6px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.22); }
.mv-pip-cur { outline: 2px solid var(--mv-ink); outline-offset: 2px; }
.mv-sub { font: 12.5px var(--mv-f-caps); letter-spacing: 2px; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.mv-card-borders { display: flex; flex-wrap: wrap; gap: 4px; }
.mv-card-borders .mv-sub { flex-basis: 100%; }
.mv-nb { display: inline-flex; align-items: center; gap: 5px; font: 14px var(--mv-f-body); color: var(--mv-ink); background: rgba(255,248,230,.45); border: 1px solid rgba(90,65,38,.35); border-radius: 3px; padding: 2px 7px 2px 5px; cursor: pointer; }
.mv-nb:hover { background: rgba(255,248,230,.85); border-color: #6b5030; }
.mv-nb i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #3a2a1a; background: #d8c79f; }
.mv-nb small { font: 700 12px var(--mv-f-num); opacity: .7; }
.mv-card-slot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(90,65,38,.35); display: flex; flex-wrap: wrap; gap: 8px; }
.mv-card-slot:empty { display: none; }
/* landscape overlays */
.mv-ov-flag { transform-box: fill-box; transform-origin: left center; animation: mv-wave 2.4s ease-in-out infinite; }
.mv-ov-smoke { transform-box: fill-box; transform-origin: center; animation: mv-smoke 2.8s ease-out infinite both; }
.mv-ov-warsmoke { animation-duration: 4.2s; }
@keyframes mv-smoke { 0% { transform: translate(0,0) scale(.4); opacity: .9; } 100% { transform: translate(34px,-110px) scale(2.2); opacity: 0; } }
.mv-pop-in { animation: mv-popin .6s cubic-bezier(.3,1.5,.5,1) both; transform-box: fill-box; transform-origin: center bottom; }
@keyframes mv-popin { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }
.mv-ov-pending { opacity: .55; }

/* ---- narrow: bottom sheet ---- */
.mv-narrow .mv-card {
  top: auto; left: var(--mv-inset-left, 0px); right: var(--mv-inset-right, 0px); bottom: var(--mv-inset-bottom, 0px); width: auto; max-height: min(56%, calc(100% - var(--mv-inset-bottom, 0px) - var(--mv-inset-top, 0px) - 40px)); border-radius: 16px 16px 0 0; border-bottom: 0;
  transform: translateY(105%); display: grid; grid-template-columns: 38% 1fr; align-content: start;
}
.mv-narrow .mv-card.mv-open { transform: none; }
.mv-narrow .mv-card-grip { display: block; grid-column: 1 / -1; width: 44px; height: 5px; border-radius: 3px; background: rgba(60,40,20,.35); margin: 7px auto 0; }
.mv-narrow .mv-card-art { margin: 10px 0 0 10px; aspect-ratio: 4 / 5; align-self: start; }
.mv-narrow .mv-card-body { padding: 8px 14px 14px 12px; }
.mv-narrow .mv-card-name { font-size: 22px; }
.mv-narrow .mv-card-region { padding-right: 34px; }
.mv-narrow .mv-card-close { top: 14px; }
.mv-narrow .mv-card-stats { margin: 8px 0; gap: 5px; }
.mv-narrow .mv-stat img { width: 26px; height: 26px; }
.mv-narrow .mv-stat b { font-size: 19px; }
.mv-narrow .mv-card-borders, .mv-narrow .mv-card-slot { grid-column: 1 / -1; }

@media (prefers-reduced-motion: reduce) {
  .mv-root *, .mv-root *::before, .mv-root *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .08s !important; }
  .mv-pulse.mv-on { animation: none; opacity: 1; }
}

/* summarised blitz + off-screen action indicator */
.mv-tray-rounds { float: right; margin-top: 6px; font: 600 10px var(--mv-f-num); color: #e8cf91; letter-spacing: .5px; }
.mv-edge-arrow { position: absolute; width: 0; height: 0; pointer-events: none; z-index: 4; }
.mv-edge-arrow::before {
  content: ''; position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3dfaa, #c9a464 60%, #8a6634); box-shadow: 0 2px 6px rgba(0,0,0,.5);
  animation: mv-edge 1.5s ease both;
}
.mv-edge-arrow::after {
  content: ''; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px;
  background: #7b2d26; clip-path: polygon(0 0, 100% 50%, 0 100%, 25% 50%); transform: rotate(var(--a));
  animation: mv-edge 1.5s ease both;
}
@keyframes mv-edge { 0% { opacity: 0; transform: rotate(var(--a, 0)) translateX(-6px) scale(.6); } 15%, 75% { opacity: 1; } 100% { opacity: 0; } }
.mv-edge-arrow::before { animation-name: mv-edge-disc; }
@keyframes mv-edge-disc { 0% { opacity: 0; transform: scale(.6); } 15%, 75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* ---- region plaques: name + brass bonus chip + progress; leader line to the region ---- */
.mv-plaques { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.mv-plaque {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 3px; white-space: nowrap; cursor: pointer; pointer-events: auto;
  transform-origin: 50% 50%; padding: 4px 7px 4px; border-radius: 5px;
  background: linear-gradient(rgba(246,236,210,.96), rgba(230,214,172,.96)); color: #2b2118;
  border: 2px solid var(--rc); box-shadow: 0 2px 5px rgba(30,18,6,.35), inset 0 0 0 1px rgba(255,250,235,.6);
  font: 700 11px/1 var(--mv-f-display); letter-spacing: 1.2px; text-transform: uppercase;
}
.mv-plaque .pq-top, .mv-plaque .pq-bot { display: flex; align-items: center; gap: 5px; }
.mv-plaque:hover { box-shadow: 0 3px 10px rgba(30,18,6,.45), 0 0 0 2px var(--rc); }
.mv-plaque .pq-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rc); box-shadow: inset 0 -1px 0 rgba(0,0,0,.3); flex: none; }
.mv-plaque .pq-short { display: none; }
.mv-plaque .pq-chip {
  font: 700 13px/1 var(--mv-f-num); letter-spacing: .3px; color: #2b1d0c; padding: 2px 6px; border-radius: 3px;
  background: radial-gradient(circle at 35% 25%, #f6e2ae, #c9a464 60%, #9a7438); border: 1px solid #6b4f26; box-shadow: inset 0 1px 0 rgba(255,245,215,.6);
}
.mv-plaque .pq-prog { font: 600 11.5px/1 var(--mv-f-num); letter-spacing: .2px; color: #5a4632; text-transform: none; }
.mv-plaque.mv-complete { border-color: var(--oc); box-shadow: 0 0 0 2px var(--oc), 0 0 12px 3px color-mix(in srgb, var(--oc) 55%, transparent), 0 2px 5px rgba(30,18,6,.35); }
.mv-plaque.mv-complete .pq-prog { color: color-mix(in srgb, var(--oc) 75%, #2b2118); font-weight: 700; }
.mv-plaques.mv-compact .mv-plaque:not(.mv-open) .pq-name, .mv-plaques.mv-compact .mv-plaque:not(.mv-open) .pq-prog { display: none; }
.mv-plaques.mv-compact .mv-plaque:not(.mv-open) .pq-short { display: inline; font-size: 11px; }
.mv-leader { position: absolute; height: 0; border-top: 1.5px dashed var(--rc); transform-origin: 0 0; opacity: .9; pointer-events: none; }
.mv-stage.mv-zooming .mv-plaque { will-change: transform; }
/* region highlight */
.mv-rhl { opacity: 0; transition: opacity .2s; } .mv-rhl.mv-on { opacity: 1; }
.mv-rdim { fill: rgba(26,16,6,.42); }
.mv-rlift-under { fill: none; stroke: rgba(255,248,226,.9); stroke-width: 7; stroke-linejoin: round; }
.mv-rlift { fill: none; stroke-width: 3.5; stroke-linejoin: round; }
.mv-region-hl .mv-tname.mv-in { opacity: 1 !important; font-weight: bold; }
.mv-region-hl .mv-plaque:not(:hover) { opacity: .92; }

.mv-card-region .mv-rdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; box-shadow: inset 0 -1px 0 rgba(0,0,0,.3); }
.mv-holders { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 5px 0 2px; font-size: 14px; }
.mv-holder { display: inline-flex; align-items: center; gap: 4px; } .mv-holder i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #3a2a1a; }

img.mv-board.mv-fadein { animation: mv-fadein .4s ease both; }
@keyframes mv-fadein { from { opacity: 0; } to { opacity: 1; } }

.mv-tname span { pointer-events: auto; cursor: pointer; }   /* a territory's label counts as the territory */

/* compact chip form (used when the full plaque has no free spot, and always on phones) */
.mv-plaque.mv-chip:not(.mv-open) .pq-name, .mv-plaque.mv-chip:not(.mv-open) .pq-prog { display: none; }
.mv-plaque.mv-chip:not(.mv-open) .pq-short { display: inline; font-size: 11px; }
.mv-plaque.mv-chip:not(.mv-open) { flex-direction: row; gap: 4px; padding: 3px 4px 3px 6px; }

/* ---- E1 token shapes / initials / touch hit area / de-overlap leaders ---- */
.mv-tok-hit { fill: transparent; pointer-events: none; }
@media (pointer: coarse) { .mv-tok-hit { pointer-events: all; } }
.mv-tok-ring2 { fill: none; stroke: none; }
.mv-shape-double .mv-tok-ring2 { stroke: #2b2118; stroke-width: 1.6; fill: none; }
.mv-tok-lead { stroke: #2b2118; stroke-width: 1.6; stroke-dasharray: 2 2; opacity: .75; }
.mv-tok-tag rect { stroke: #f4e8c8; stroke-width: 1.2; }
.mv-tok-tag text { font: 700 8px var(--mv-f-num); fill: #fff; stroke: rgba(0,0,0,.55); stroke-width: 1.6px; paint-order: stroke; letter-spacing: .2px; }
/* ---- E2 keyboard cursor + screen-reader line ---- */
.mv-kbcursor { position: absolute; width: 0; height: 0; pointer-events: none; }
.mv-kbcursor::before { content: ''; position: absolute; left: calc(var(--r, 25px) * -1); top: calc(var(--r, 25px) * -1); width: calc(var(--r, 25px) * 2); height: calc(var(--r, 25px) * 2);
  transform: scale(var(--tok-s, 1)); border-radius: 8px; box-sizing: border-box; border: 3px solid #1f3a4d; box-shadow: 0 0 0 2px #f3d58c, 0 0 10px 2px rgba(243,213,140,.8); }
.mv-root:not(:focus-within) .mv-kbcursor { opacity: .45; }
.mv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* ---- C6 adjacency overlay ---- */
.mv-links { pointer-events: none; }
.mv-link-land-under { fill: none; stroke: rgba(250,244,226,.85); stroke-width: 4; stroke-linecap: round; }
.mv-link-land { fill: none; stroke: #2b2118; stroke-width: 1.7; stroke-linecap: round; }
.mv-link-sea-under { fill: none; stroke: rgba(250,244,226,.9); stroke-width: 6.5; stroke-linecap: round; }
.mv-link-sea { fill: none; stroke: #1f3a4d; stroke-width: 3; stroke-dasharray: 9 5; stroke-linecap: round; }
/* ---- E5 stronger halo behind territory names ---- */
.mv-tname span { text-shadow: 0 0 2px #f6ecd2, 0 0 2px #f6ecd2, 1px 1px 1px #f6ecd2, -1px -1px 1px #f6ecd2, 1px -1px 1px #f6ecd2, -1px 1px 1px #f6ecd2, 0 0 5px rgba(246,236,210,.9); color: #1e160e; }

/* C4: compact, labelled dice tray; in-place elimination chip */
.mv-tray { padding: 5px 8px 6px; }
.mv-tray-head { font: 600 11px/1.1 var(--mv-f-body); color: #f3e5c4; margin-bottom: 4px; white-space: nowrap; }
.mv-tray-head b { color: #e8b25a; }
.mv-tray-grid { grid-template-columns: repeat(var(--n), 26px); gap: 5px 6px; }
.mv-tray-cell { width: 26px; height: 26px; }
.mv-die { width: 25px; height: 25px; padding: 3px; border-radius: 6px; }
.mv-die i { width: 4.8px; height: 4.8px; }
.mv-tray-tag { font-size: 9px; margin: 0 0 4px; }
.mv-elim-chip { transform: translate(-50%,-150%); text-align: center; padding: 5px 12px 6px; border-radius: 5px; background: #2a211a; color: #efe2c4;
  border: 2px solid var(--c); box-shadow: 0 6px 14px rgba(0,0,0,.45); filter: saturate(.7); }
.mv-elim-chip small { display: block; font: 10px var(--mv-f-caps); letter-spacing: 2px; opacity: .8; text-transform: uppercase; }
.mv-elim-chip b { font: 700 15px var(--mv-f-display); letter-spacing: 1px; }

/* ---- expansion modules: badges, festival garland, uprising ---- */
.mv-glyph .g-shield2 { fill: #2f6b4f; stroke: #2b2118; stroke-width: .9; }
.mv-glyph .g-coin { fill: #e8c35a; stroke: #6b4f26; stroke-width: .8; }
.mv-glyph .g-pole { stroke: #2b2118; stroke-width: 1.3; fill: none; }
.mv-glyph .g-pennant { fill: #a8392f; stroke: #2b2118; stroke-width: .7; }
.mv-glyph .g-flame { fill: #d9662a; stroke: #6b2a10; stroke-width: .7; }
.mv-badge-uprising .mv-badge-disc { fill: #f3d2b8; stroke: #7b2d26; }
.mv-badge-insured .mv-badge-disc { fill: #e4efe4; }
.mv-tok-garland, .mv-tok-garland-dots { fill: none; display: none; }
.mv-festival .mv-tok-garland { display: inline; stroke: #4f8a4c; stroke-width: 3.2; }
.mv-festival .mv-tok-garland-dots { display: inline; stroke: #f2c94c; stroke-width: 3.4; stroke-dasharray: 0.1 5.6; stroke-linecap: round; }
.mv-uprising .mv-tok-body { filter: saturate(.55); }

/* blocked targets, storm season, event chip, fortune, goods */
.mv-blocked { fill: rgba(90,90,96,.32); stroke: #5d6470; stroke-width: 2.4; stroke-dasharray: 5 4; }
.mv-blocked-mark circle { fill: #f3ead2; stroke: #7b2d26; stroke-width: 2; }
.mv-blocked-bar { stroke: #7b2d26; stroke-width: 2.4; stroke-linecap: round; }
.mv-storm-under { fill: none; stroke: rgba(214,210,178,.95); stroke-width: 6; }
.mv-storm-route { fill: none; stroke: #6f7a86; stroke-width: 2; stroke-dasharray: 3 7; opacity: .9; }
.mv-event-chip { position: absolute; z-index: 4; left: calc(var(--mv-inset-left, 0px) + 12px); top: calc(var(--mv-inset-top, 0px) + 12px); display: flex; align-items: center; gap: 8px;
  max-width: 240px; padding: 5px 10px 5px 5px; border-radius: 6px; pointer-events: auto; cursor: help;
  background: linear-gradient(#f4e8c8, #e2cfa2); border: 1.5px solid #8a6a3e; box-shadow: 0 3px 8px rgba(0,0,0,.4); color: #2b2118; }
.mv-event-chip .mv-ev-art { width: 34px; height: 34px; border-radius: 4px; flex: none; overflow: hidden; background: radial-gradient(circle at 35% 30%, #c9a66a, #6b4f26); }
.mv-event-chip .mv-ev-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mv-event-chip small { display: block; font: 10px var(--mv-f-caps); letter-spacing: 1.6px; opacity: .75; text-transform: uppercase; }
.mv-event-chip b { font: 700 14px/1.1 var(--mv-f-display); letter-spacing: .6px; }
.mv-event-chip.mv-ev-new { animation: mv-evin .6s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes mv-evin { from { transform: translateY(-12px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.mv-storm-on .mv-event-chip .mv-ev-art { background: radial-gradient(circle at 35% 30%, #a3adb8, #4a5560); }
.mv-narrow .mv-event-chip small { display: none; }
.mv-glyph-pop svg { display: block; filter: drop-shadow(0 3px 3px rgba(0,0,0,.45)); }
.mv-glyph-small svg { width: 22px; height: 22px; }
.mv-fortune-tag { display: flex; align-items: center; gap: 5px; padding: 3px 9px 3px 4px; border-radius: 12px; white-space: nowrap;
  background: #2a211a; color: #f3e5c4; border: 2px solid var(--c); font: 600 13px var(--mv-f-body); box-shadow: 0 4px 10px rgba(0,0,0,.45); }
.mv-fortune-tag img { width: 22px; height: 22px; }
.mv-crack { fill: none; stroke: #1e140c; stroke-width: 3; stroke-linejoin: round; }
.mv-plaque .pq-good { display: inline-flex; align-items: center; gap: 3px; font: 600 11px/1 var(--mv-f-body); text-transform: none; letter-spacing: 0; color: #4a3622; }
.mv-plaque .pq-good-ico { position: relative; width: 15px; height: 15px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 9px var(--mv-f-num); font-style: normal; color: #f6ecd2; background: #6b4f26; overflow: hidden; }
.mv-plaque .pq-good-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #efe2c2; }
.mv-plaque.mv-chip:not(.mv-open) .pq-good { display: none; }
.mv-chip-ins { background: rgba(47,107,79,.12); }
.mv-chip-merc { background: rgba(168,57,47,.10); }
.mv-chip-fest { background: rgba(232,195,90,.22); }
.mv-chip-good { padding-left: 9px; }
.mv-gl { position: relative; display: block; width: 30px; height: 30px; }
.mv-gl img { position: absolute; inset: -6px; width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0,0,0,.45)); }
.mv-gl img ~ svg, .mv-gl svg:has(+ img:not([style*="none"])) { visibility: hidden; }
.mv-glyph-small .mv-gl { width: 22px; height: 22px; } .mv-glyph-small .mv-gl img { inset: -4px; width: 30px; height: 30px; }
.mv-ft-art { position: relative; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; display: inline-block; flex: none; background: #6b4f26; }
.mv-ft-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
