/* Mount band -- the preset troops screen's Pan_Mount (317x120), reused on the single hero
   and single lineup pages (user 2026-11-06). Markup: template-parts/mount-band.php.
   Same geometry as .inv-pz .inv-hsc__mount.is-band in edit-troop.css; kept standalone so
   it does not depend on armoury.css or the presets overlay. Square corners only. */
.inv-mband{position:relative;display:block;width:100%;aspect-ratio:317/120;container-type:size;
	border-radius:0;background:var(--mount-plate,none) left center/auto 100% no-repeat,#151b26;
	transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}
.inv-mband__link{position:absolute;inset:0;display:block;z-index:1;overflow:hidden}
.inv-mband__horse{position:absolute;left:7.18cqh;bottom:-1.17cqh;width:auto;height:142.8cqh;max-width:none;object-fit:contain;
	border-radius:0;
	-webkit-mask-image:radial-gradient(ellipse 65% 78% at 63% 31%,#000 102%,transparent 109%),linear-gradient(to top,transparent 0,#000 18%);
	-webkit-mask-composite:source-in;
	mask-image:radial-gradient(ellipse 65% 78% at 63% 31%,#000 102%,transparent 109%),linear-gradient(to top,transparent 0,#000 18%);
	mask-composite:intersect;transition:transform .25s ease}
.inv-mband__link:hover .inv-mband__horse{transform:scale(1.03);transform-origin:30% 100%}
.inv-mband__photo{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0}

/* Ornament socket: m_PanOrnament 256 at 0.3 = 64% of the band, flush top-right (anchor and
   pivot 1,1). Plates are the armoury's: empty / worn / maxed at Lv60. */
.inv-mband__orn{position:absolute;right:0;top:0;z-index:3;height:64%;aspect-ratio:1;width:auto;display:flex;align-items:center;justify-content:center;
	background:url(../images/game-icons/mount-orn-socket.webp) center/contain no-repeat}
.inv-mband__orn:not(.is-empty){background-image:url(../images/game-icons/mount-orn-socket-on.webp)}
.inv-mband__orn.is-empty::after{content:'';width:40%;height:40%;background:url(../images/game-icons/mount-orn-plus.webp) center/contain no-repeat}
.inv-mband__orn img{width:58.6%;height:58.6%;max-width:none;object-fit:contain;display:block;flex:0 0 auto;border-radius:0}
.inv-mband__orn.is-max{filter:drop-shadow(0 0 6px rgba(169,139,230,.85))}
.inv-mband__orn.is-max:not(.is-empty){background-image:url(../images/game-icons/mount-orn-socket-max.webp)}
.inv-mband__lv{position:absolute;left:50%;bottom:2%;transform:translateX(-50%);padding:0 4px;
	background:linear-gradient(180deg,#f0c060,#d4a034);border:1px solid #7a5234;
	font-family:Rajdhani,sans-serif;font-style:normal;font-weight:700;font-size:.62rem;color:#1a1206;line-height:1.5;white-space:nowrap}
.inv-mband__lv.is-max{background:linear-gradient(180deg,#e7d9ff,#a98be6);border-color:#e7d9ff;color:#1a1030}

/* Effects list on hover of a worn adornment. Only the link clips (the horse overscans
   the band), so the list can open below the band, over the page. */
.inv-mband__fx{display:none;position:absolute;right:0;top:100%;margin-top:2px;min-width:150px;max-width:220px;padding:6px 8px;
	background:rgba(10,14,22,.96);border:1px solid rgba(212,160,52,.45);color:#e8e2d4;font-size:.72rem;line-height:1.35;text-align:left;z-index:50}
.inv-mband__fx b{display:block;font-family:Rajdhani,sans-serif;color:#f0c060;margin-bottom:3px;text-transform:uppercase;letter-spacing:.04em}
.inv-mband__fx-row{display:flex;align-items:center;gap:6px;padding:1px 0}
.inv-mband__fx-row img{width:22px;height:22px;flex:0 0 auto;border-radius:0}
.inv-mband__orn:hover .inv-mband__fx{display:block}
