/* ---------- «Карта мира» ---------- */
:root {
  --wm-fr-sel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpolygon points='3,0 13,0 13,4 16,4 16,12 13,12 13,16 3,16 3,12 0,12 0,4 3,4' fill='%236fd16a'/%3E%3Cpolygon points='4,1 12,1 12,5 15,5 15,11 12,11 12,15 4,15 4,11 1,11 1,5 4,5' fill='%23182419'/%3E%3Cpolygon points='5,2 11,2 11,6 14,6 14,10 11,10 11,14 5,14 5,10 2,10 2,6 5,6' fill='%231b261c'/%3E%3C/svg%3E") 7 fill / 7px / 0 stretch;
  --wm-ic-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9' shape-rendering='crispEdges'%3E%3Cpath fill='%23b9b9b9' fill-rule='evenodd' d='M2 0h3v1h1v1h1v3H6v1H5v1H2V6H1V5H0V2h1V1h1zM2 2v3h3V2z'/%3E%3Cpath fill='%23b9b9b9' d='M6 6h1v1h1v1h1v1H8V8H7V7H6z'/%3E%3C/svg%3E");
  --wm-ic-fit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' d='M0 0h3v1H1v2H0zM6 0h3v3H8V1H6zM0 6h1v2h2v1H0zM8 6h1v3H6V8h2zM3 3h3v3H3z'/%3E%3C/svg%3E");
  --wm-ic-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' d='M2 0h5v1H2zM1 1h1v1H1zM7 1h1v1H7zM0 2h1v5H0zM8 2h1v5H8zM1 7h1v1H1zM7 7h1v1H7zM2 8h5v1H2zM4 1h1v7H4zM1 4h7v1H1z'/%3E%3C/svg%3E");
  --wm-ic-flatmap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' d='M0 1h9v1H0zM0 7h9v1H0zM0 2h1v5H0zM8 2h1v5H8zM3 2h1v5H3zM5 2h1v5H5z'/%3E%3C/svg%3E");
  --wm-ic-flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' d='M1 0h1v9H1z'/%3E%3Cpath fill='%23fff' d='M2 1h6v1h1v3H8v1H2z'/%3E%3C/svg%3E");
  --wm-ic-fold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' d='M3 1h1v1h1v1h1v1h1v1H5V4H4V3H3v1H2v1H0V4h1V3h1V2h1z'/%3E%3C/svg%3E");
  --wm-ic-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 7' shape-rendering='crispEdges'%3E%3Cpath fill='%23b9b9b9' d='M0 0h2v1h1v1h1v1h1v1H4v1H3v1H2v1H0V6h1V5h1V4h1V3H2V2H1V1H0z'/%3E%3C/svg%3E");
  --wm-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Cpath fill='%23ff3b3b' d='M1 0h2v1h1V0h2v1h1v2H6v1H5v1H4v1H3V5H2V4H1V3H0V1h1z'/%3E%3Cpath fill='%23ffb0a8' d='M1 1h1v1H1z'/%3E%3C/svg%3E");
  --wm-heart-0: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Cpath fill='%233a3b3b' d='M1 0h2v1h1V0h2v1h1v2H6v1H5v1H4v1H3V5H2V4H1V3H0V1h1z'/%3E%3C/svg%3E");
  --wm-armor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Cpath fill='%23dcdcdc' d='M0 0h2v1h3V0h2v3H6v3H1V3H0z'/%3E%3C/svg%3E");
  --wm-armor-0: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Cpath fill='%233a3b3b' d='M0 0h2v1h3V0h2v3H6v3H1V3H0z'/%3E%3C/svg%3E");
}

.wm { position: relative; overflow: hidden; background: #121313; min-height: 460px; height: calc(100dvh - 80px); border-bottom: 2px solid #000; }
.wm-stage { position: absolute; inset: 0; cursor: grab; touch-action: none; outline: none; user-select: none; -webkit-user-select: none; }
.wm-stage.grabbing { cursor: grabbing; }
.wm-stage.over-town:not(.grabbing) { cursor: pointer; }
.wm-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--rx-green); }
.wm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wm-canvas[hidden] { display: none; }
.wm-over { pointer-events: none; }
.wm-stage { background: #121313; }
/* space behind the globe: a dark sky with a few pixel stars */
.wm-stage.globe {
  background:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 72%, #cfe0ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 81% 64%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 23%, #ffe9c9 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 7% 86%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 47% 93%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 69% 41%, #d8e6ff 50%, transparent 51%),
    radial-gradient(ellipse at 50% 50%, #10192a 0%, #090c13 55%, #050608 100%);
  background-size: 310px 290px, 270px 330px, 410px 380px, 350px 260px, 290px 410px, 380px 300px, 330px 350px, 260px 270px, 100% 100%;
}

/* «Шар / Плоская» */
.wm-views { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; }
.wm-views[hidden] { display: none; }
.wm-view { height: 44px; padding: 0 16px 0 12px; display: flex; align-items: center; gap: 9px; border: 1px solid transparent; border-image: var(--fr-gray);
  background: transparent; color: #fff; font: 400 12px/1 var(--px); cursor: pointer; white-space: nowrap; }
.wm-view:hover { border-image: var(--fr-gray-hover); }
.wm-view:active { transform: translateY(2px); }
.wm-view.on { border-image: var(--fr-green); }
.wm-view-ic { width: 18px; height: 18px; background: center / contain no-repeat; image-rendering: pixelated; }
.wm-view-ic.globe { background-image: var(--wm-ic-globe); }
.wm-view-ic.flat { background-image: var(--wm-ic-flatmap); }
.wm-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* players: head + Minecraft name tag */
.wm-pl { position: absolute; left: 0; top: 0; width: 0; height: 0; padding: 0; border: 0; background: none; pointer-events: auto; cursor: pointer; will-change: transform; }
.wm-pl[hidden] { display: none; }
.wm-pl-head { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; background: #000; border: 2px solid #000; box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(0,0,0,.6); transition: box-shadow .15s, transform .15s; }
.wm-pl-head .head { width: 24px; height: 24px; display: block; image-rendering: pixelated; border: 0; border-radius: 0; font: 400 12px/24px var(--px); text-align: center; color: #fff; background: #3a3b3b; }
.wm-pl:hover .wm-pl-head, .wm-pl:focus-visible .wm-pl-head { transform: scale(1.15); }
.wm-pl.sel .wm-pl-head { box-shadow: 0 0 0 2px #ffd65a, 0 0 0 5px rgba(0,0,0,.55), 0 4px 10px rgba(0,0,0,.6); }
.wm-pl-tag { position: absolute; left: 0; bottom: 20px; transform: translateX(-50%); display: none; padding: 4px 6px 3px; background: rgba(0,0,0,.6); color: #fff;
  font: 400 11px/1 var(--px); white-space: nowrap; letter-spacing: 0; pointer-events: none; }
.wm-layer.tags .wm-pl-tag, .wm-pl:hover .wm-pl-tag, .wm-pl.sel .wm-pl-tag, .wm-pl:focus-visible .wm-pl-tag { display: block; }
.wm-pl.sel .wm-pl-tag { color: #ffd65a; }
.wm-pl.sel, .wm-pl:hover { z-index: 2; }

/* side panel */
.wm-side { position: absolute; left: 16px; top: 16px; bottom: 16px; width: 340px; z-index: 3; display: flex; flex-direction: column;
  padding: 18px 16px 14px; border: 1px solid transparent; border-image: var(--fr-panel); background: transparent; }
.wm-side-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wm-title { margin: 0; font: 400 18px/1.25 var(--px); text-transform: uppercase; color: #fff; letter-spacing: 0; }
.wm-live { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font: 400 14px/1.3 var(--font); color: var(--rx-muted); }
.wm-dot { width: 8px; height: 8px; background: var(--rx-green); box-shadow: 0 0 0 0 rgba(111,209,106,.6); animation: wm-pulse 2s infinite; flex: 0 0 auto; }
.wm-live.off .wm-dot { background: #6b6b6b; animation: none; }
@keyframes wm-pulse { 0% { box-shadow: 0 0 0 0 rgba(111,209,106,.55); } 70% { box-shadow: 0 0 0 7px rgba(111,209,106,0); } 100% { box-shadow: 0 0 0 0 rgba(111,209,106,0); } }
.wm-fold { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-image: var(--fr-gray); background: transparent; cursor: pointer; transition: transform .2s; }
.wm-fold::after { content: ""; width: 14px; height: 14px; background: var(--wm-ic-fold) center / contain no-repeat; image-rendering: pixelated; }
.wm-fold:hover { border-image: var(--fr-gray-hover); }
.wm-side.folded .wm-fold { transform: rotate(180deg); }

.wm-search { position: relative; display: block; margin-top: 16px; }
.wm-search-ic { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--wm-ic-search) center / contain no-repeat; image-rendering: pixelated; pointer-events: none; }
.wm-search input { width: 100%; height: 46px; padding: 0 12px 0 40px; border: 2px solid #3f3f3f; background: #121313; color: #fff; font: 400 16px var(--font); outline: none; border-radius: 0;
  box-shadow: inset 0 3px 0 rgba(0,0,0,.35); -webkit-appearance: none; appearance: none; }
.wm-search input::placeholder { color: #7d8580; }
.wm-search input:focus { border-color: var(--rx-green); }
.wm-search input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); cursor: pointer; }

.wm-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.wm-tab { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 10px; border: 1px solid transparent; border-image: var(--fr-gray); background: transparent; color: #d5d5d5; cursor: pointer; }
.wm-tab span { font: 400 11.5px/1 var(--px); text-transform: uppercase; letter-spacing: 0; padding-top: 2px; }
.wm-tab b { font: 600 13px/1 var(--font); min-width: 22px; padding: 3px 5px; background: rgba(0,0,0,.35); color: #fff; }
.wm-tab:hover { border-image: var(--fr-gray-hover); color: #fff; }
.wm-tab.on { border-image: var(--fr-green); color: #fff; }

.wm-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 12px -6px 0 0; padding: 0 6px 2px 0; display: flex; flex-direction: column; gap: 6px; scrollbar-width: thin; scrollbar-color: #4a4b4b transparent; }
.wm-list::-webkit-scrollbar { width: 6px; }
.wm-list::-webkit-scrollbar-thumb { background: #4a4b4b; }
.wm-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 12px; border: 1px solid transparent; border-image: var(--fr-card); background: transparent; color: #fff; text-align: left; cursor: pointer; flex: 0 0 auto; }
.wm-item:hover, .wm-item:focus-visible { border-image: var(--fr-card-hover); outline: none; }
.wm-item.sel { border-image: var(--wm-fr-sel); }
.wm-item.away { opacity: .62; }
.wm-item-head .head { width: 32px; height: 32px; display: block; image-rendering: pixelated; border-radius: 0; font: 400 14px/32px var(--px); text-align: center; background: #3a3b3b; color: #fff; }
.wm-item-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.wm-item-main b { font: 600 16px/1.2 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-item-main small { font: 400 13px/1.25 var(--font); color: var(--rx-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-go { width: 10px; height: 14px; flex: 0 0 auto; background: var(--wm-ic-go) center / contain no-repeat; image-rendering: pixelated; opacity: .7; }
.wm-item:hover .wm-go { opacity: 1; }
.wm-swatch { width: 26px; height: 26px; flex: 0 0 auto; background: var(--c, #3060d0); box-shadow: inset 0 0 0 2px rgba(0,0,0,.45), inset 2px 2px 0 2px rgba(255,255,255,.18); }
.wm-swatch.big { width: 40px; height: 40px; }
.wm-empty { margin: 18px 0; text-align: center; font: 400 15px var(--font); color: var(--rx-muted); }
.wm-side-foot { margin-top: 10px; padding-top: 10px; border-top: 2px solid #2a2b2b; text-align: center; }
.wm-ext { font: 400 14px var(--font); color: var(--rx-muted); text-decoration: none; }
.wm-ext:hover { color: #fff; }
.wm-side.folded { bottom: auto; }
.wm-side.folded .wm-tabs, .wm-side.folded .wm-list, .wm-side.folded .wm-side-foot { display: none; }

/* map buttons */
.wm-ctrl { position: absolute; right: 16px; top: 16px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.wm-btn { width: 50px; height: 50px; padding: 0; border: 1px solid transparent; border-image: var(--fr-gray); background: transparent no-repeat center / 20px 20px; color: #fff;
  font: 400 24px/1 var(--px); cursor: pointer; image-rendering: pixelated; display: grid; place-items: center; }
.wm-btn:hover { border-image: var(--fr-gray-hover); }
.wm-btn:active { transform: translateY(2px); }
.wm-btn[hidden] { display: none; }
.wm-btn-home, .wm-btn-towns, .wm-btn-countries { position: relative; }
.wm-btn-home::after, .wm-btn-towns::after, .wm-btn-countries::after { content: ""; width: 20px; height: 20px; background: center / contain no-repeat; image-rendering: pixelated; }
.wm-btn-home { margin-top: 6px; }
.wm-btn-home::after { background-image: var(--wm-ic-fit); }
.wm-btn-towns::after { background-image: var(--wm-ic-flag); }
.wm-btn-towns.on { border-image: var(--fr-green); }
.wm-btn-countries::after { background-image: var(--wm-ic-globe); }
.wm-btn-countries.on { border-image: var(--fr-green); }

/* coordinates + scale */
.wm-coords { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 10px 16px 9px;
  background: #202121; box-shadow: inset 0 0 0 2px #3f3f3f; clip-path: var(--cut); color: #fff; font: 400 11px/1 var(--px); letter-spacing: 0; white-space: nowrap; pointer-events: none; }
.wm-coords > span:not(.wm-scale) { min-width: 66px; }
.wm-scale { display: flex; align-items: center; gap: 8px; font: 400 13px/1 var(--font); color: var(--rx-muted); }
.wm-scale i { display: block; height: 7px; border: 2px solid #fff; border-top: 0; min-width: 10px; }
.wm-scale b { font-weight: 400; }

/* details card */
.wm-card { position: absolute; right: 82px; top: 16px; z-index: 4; width: 330px; max-height: calc(100% - 100px); overflow-y: auto; padding: 18px 18px 16px;
  border: 1px solid transparent; border-image: var(--fr-panel); color: #fff; animation: wm-in .18s ease-out; scrollbar-width: thin; scrollbar-color: #4a4b4b transparent; }
.wm-card[hidden] { display: none; }
@keyframes wm-in { from { opacity: 0; transform: translateY(-6px); } }
.wm-card-x { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; padding: 0; border: 1px solid transparent; border-image: var(--fr-gray); background: transparent; color: #fff; font: 600 14px/1 var(--font); cursor: pointer; }
.wm-card-x:hover { border-image: var(--fr-gray-hover); }
.wm-card-top { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
.wm-card-kicker { margin: 0 0 6px; font: 400 13px/1 var(--font); color: var(--rx-muted); }
.wm-card-title { margin: 0; font: 400 16px/1.3 var(--px); color: #fff; letter-spacing: 0; word-break: break-word; }
.wm-card-head .head { width: 48px; height: 48px; display: block; image-rendering: pixelated; border: 2px solid #000; box-shadow: 0 0 0 2px #fff; border-radius: 0; font: 400 20px/44px var(--px); text-align: center; background: #3a3b3b; }
.wm-card-rows { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 16px 0 0; font: 400 15px/1.3 var(--font); }
.wm-card-rows dt { color: var(--rx-muted); }
.wm-card-rows dd { margin: 0; text-align: right; }
.wm-card-info { margin-top: 14px; padding-top: 12px; border-top: 2px solid #2a2b2b; }
.wm-card-info p { margin: 0 0 5px; font: 400 14px/1.4 var(--font); color: #d4d8d6; overflow-wrap: anywhere; }
.wm-card-where { margin: 14px 0 0; font: 400 15px/1.35 var(--font); color: #e3e3e3; }
.wm-hearts { display: flex; gap: 2px; margin-top: 10px; }
.wm-hearts i { position: relative; width: 16px; height: 14px; background: var(--wm-heart-0) center / contain no-repeat; image-rendering: pixelated; }
.wm-hearts.hp i.hf-full { background-image: var(--wm-heart); }
.wm-hearts.hp i.hf-half::before { content: ""; position: absolute; inset: 0; width: 50%; background: var(--wm-heart) left center / 16px 14px no-repeat; }
.wm-hearts.armor i { background-image: var(--wm-armor-0); }
.wm-hearts.armor i.hf-full { background-image: var(--wm-armor); }
.wm-hearts.armor i.hf-half::before { content: ""; position: absolute; inset: 0; width: 50%; background: var(--wm-armor) left center / 16px 14px no-repeat; }
.wm-card-btn { display: block; width: 100%; height: 46px; margin-top: 16px; border: 1px solid transparent; border-image: var(--fr-green); background: transparent; color: #fff;
  font: 400 11.5px/1 var(--px); text-transform: uppercase; letter-spacing: 0; cursor: pointer; padding-top: 2px; }
.wm-card-btn:hover { filter: brightness(1.12); }
.wm-card-btn.on { border-image: var(--fr-gray); }
.wm-card-btn:disabled { filter: grayscale(1) brightness(.75); cursor: not-allowed; }

/* loading / error */
.wm-state { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: #121313; }
.wm-state[hidden] { display: none; }
.wm-state-box { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 360px; padding: 26px 28px; text-align: center; border: 1px solid transparent; border-image: var(--fr-panel); color: #fff; }
.wm-state-box b { font: 400 14px/1.4 var(--px); text-transform: uppercase; }
.wm-state-box p { margin: 0; font: 400 15px/1.45 var(--font); color: var(--rx-muted); }
.wm-spin { width: 18px; height: 18px; background: var(--rx-green); animation: wm-spin 1s steps(4) infinite; }
@keyframes wm-spin { to { transform: rotate(360deg); } }
.wm-retry { height: 44px; padding: 0 22px; border: 1px solid transparent; border-image: var(--fr-green); background: transparent; color: #fff; font: 400 11px/1 var(--px); text-transform: uppercase; cursor: pointer; }
.sk-map { height: calc(100dvh - 80px); min-height: 460px; }

@media (max-width: 1100px) {
  .wm-card { top: auto; bottom: 70px; right: 16px; }
}
@media (max-width: 760px) {
  .wm { min-height: 420px; }
  .wm-side { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; max-height: 56%; padding: 14px 12px 10px; }
  .wm-side.folded { bottom: 10px; }
  .wm-side-head { align-items: center; }
  .wm-title { font-size: 14px; }
  .wm-live { margin-top: 4px; font-size: 13px; }
  .wm-search { margin-top: 10px; }
  .wm-fold { transform: rotate(180deg); }
  .wm-side.folded .wm-fold { transform: none; }
  .wm-side-foot { display: none; }
  .wm-ctrl { right: 10px; top: 10px; gap: 6px; }
  .wm-btn { width: 44px; height: 44px; }
  .wm-coords { left: 10px; right: auto; top: 10px; bottom: auto; padding: 7px 10px; }
  .wm-views { left: 10px; top: 48px; transform: none; }
  .wm-view { height: 38px; padding: 0 12px 0 10px; font-size: 10px; }
  .wm-coords > span:not(.wm-scale) { display: none; }
  .wm-card { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; max-height: 60%; z-index: 5; }
}
@media (prefers-reduced-motion: reduce) { .wm-dot, .wm-spin, .wm-card { animation: none; } }

/* RepublicCosmetics flag right of a nick */
.wm-flag { display: inline-block; height: 11px; width: auto; margin-left: 6px; vertical-align: -1px; image-rendering: pixelated; }
.wm-pl-tag { display: none; align-items: center; }
.wm-layer.tags .wm-pl-tag, .wm-pl:hover .wm-pl-tag, .wm-pl.sel .wm-pl-tag, .wm-pl:focus-visible .wm-pl-tag { display: flex; }
.wm-pl-tag .wm-flag { height: 9px; margin-left: 5px; vertical-align: 0; }
.wm-item-main b { display: flex; align-items: center; min-width: 0; }
.wm-item-main b .wm-nick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-item-main b .wm-flag { flex: 0 0 auto; height: 12px; }
.wm-card-title { display: flex; align-items: center; flex-wrap: wrap; }
.wm-card-title .wm-flag { height: 14px; margin-left: 8px; }
.wm-ticon { width: 16px; height: 16px; margin-right: 7px; vertical-align: -3px; image-rendering: pixelated; }
.wm-card-rows dt, .wm-card-info p { display: flex; align-items: center; } .wm-card-info p { display: block; }
.wm-card-rows dt .wm-ticon { flex: 0 0 auto; }
/* flags as big as in game (≈ the height of the nick), name tag always wide enough for nick + flag */
.wm-pl-tag { width: max-content; gap: 5px; padding: 3px 6px 3px; }
.wm-pl-tag .wm-flag { height: 14px; margin-left: 0; }
.wm-item-main b { gap: 7px; }
.wm-item-main b .wm-flag { height: 17px; margin-left: 0; }
.wm-card-title { gap: 9px; }
.wm-card-title .wm-flag { height: 22px; margin-left: 0; }

/* the online marker: the pixel orb picture */
.wm-dot { width: 12px; height: 12px; background: url("/static/online.png") center / 100% 100% no-repeat; box-shadow: none; animation: none; image-rendering: pixelated; }
.wm-live.off .wm-dot { filter: grayscale(1) brightness(.7); background: url("/static/online.png") center / 100% 100% no-repeat; }
