/* 🐎 The Royal Stables (rpg/ui-mounts.js): the Stables window, the Bag's block and the window when a mount is yours. Navy
   tiles like the Bag's, each edged in its tier's colour (--tc), every mount in its full colours at twice its pixels; the
   ones that are yours glow. */
.mt-win h2 small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.mt-ico { image-rendering: pixelated; }
.mt-ico.sm { width: 24px; height: 24px; }
.mt-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 8px 0 4px; padding: 8px 10px; border-radius: 10px; background: rgba(3, 10, 44, 0.6); border: 1px solid #2e3d74; }
.mt-shoes { display: inline-flex; align-items: center; gap: 6px; color: #c9d4ff; }
.mt-shoes b { font-family: "Titan One", sans-serif; font-weight: 400; font-size: 20px; color: var(--gold); }
.mt-now { flex: 1; min-width: 8em; color: #fff; }
.mt-shut { margin: 8px 0; padding: 8px 10px; border-radius: 8px; color: #ffcf8a; background: rgba(255, 154, 30, 0.1); border: 1px solid rgba(255, 154, 30, 0.35); }
.mt-msg { margin: 2px 0; font-size: 13px; color: #c9d4ff; }
.mt-msg:empty { display: none; }
.mt-msg.bad { color: #ff8a7a; }
.mt-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 10px; padding: 0; list-style: none; }
.mt-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 8px; border-radius: 10px; background: rgba(3, 10, 44, 0.6); border: 1px solid #2e3d74; border-left: 4px solid var(--tc); }
.mt-card.own { box-shadow: inset 0 0 0 1px var(--tc), 0 0 10px color-mix(in srgb, var(--tc) 30%, transparent); }
.mt-pic { display: grid; place-items: center; height: 136px; overflow: hidden; border-radius: 8px; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--tc) 30%, transparent), rgba(0, 0, 0, 0.3) 70%); }
.mt-pic .mt-ico { width: calc(var(--w, 32px) * 2); height: auto; }
.mt-txt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 2px 6px; min-width: 0; }
.mt-txt b { align-self: center; font-weight: 400; color: #fff; font-size: 15px; }
.mt-tier { justify-self: end; align-self: center; padding: 0 6px; border-radius: 6px; font-size: 11px; line-height: 16px; color: #0b1030; background: var(--tc); }
.mt-txt small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); line-height: 1.3; }
.mt-txt .mt-how { color: #c9d4ff; }
.mt-act { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: auto; }
.mt-act .btn { padding: 4px 10px; font-size: 13px; }
.mt-why { font-size: 12px; color: #ffcf8a; }
.mt-on { font-size: 13px; color: #7fd08a; }
.mt-rules summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.mt-rules ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.45; color: #c9d4ff; }
.mt-bag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 2px 0 8px; padding: 6px 8px; border-radius: 8px; background: rgba(3, 10, 44, 0.6); border: 1px solid #2e3d74; }
.mt-bag span { flex: 1; min-width: 10em; font-size: 14px; color: #c9d4ff; }
.mt-bag b { font-weight: 400; color: var(--gold); }
.mt-found { text-align: center; }
.mt-burst { display: grid; place-items: center; margin: 4px auto 8px; width: 220px; height: 190px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tc) 45%, transparent), transparent 70%); }
.mt-ico.big { width: calc(var(--w, 47px) * 3); height: auto; }
.mt-tier.big { display: inline-block; padding: 2px 10px; font-size: 14px; }
@media (max-width: 760px) {
  .mt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .mt-list { grid-template-columns: minmax(0, 1fr); }
}
