/* Trichosphere Directory – map styles (loaded with maps only). */
.tps-scope .tps-dirmap{position:relative;height:min(78vh,720px);min-height:420px;border-radius:var(--tps-radius,18px);overflow:hidden;background:#efe9e4;border:1px solid var(--tps-line,#e7e0e3)}
.tps-scope .tps-mapblock .tps-dirmap{height:auto;aspect-ratio:auto}
.tps-scope .tps-dirmap__canvas{position:absolute;inset:0;background:#efe9e4}
.tps-scope .tps-dirmap__note{position:absolute;left:12px;right:60px;bottom:10px;z-index:450;margin:0;padding:6px 12px;border-radius:999px;background:#fffffff0;font-size:.78rem;color:var(--tps-muted,#6b6b6b);width:max-content;max-width:calc(100% - 72px)}
.tps-scope .tps-minimap{position:relative;height:240px;border-radius:var(--tps-radius-sm,12px);overflow:hidden;background:#efe9e4;margin:0 0 12px;z-index:0}
.tps-scope .tps-map-msg,.tps-map-msg{position:absolute;left:56px;right:12px;top:10px;z-index:450;margin:0;padding:8px 14px;border-radius:12px;background:#fffffff2;font-size:.9em}
@media (max-width:1023px){.tps-scope .tps-dir__map .tps-dirmap{height:60vh;min-height:320px}}

/* Region counters: gold coins */
.tps-coin-wrap{background:none;border:0}
.tps-coin{display:flex;align-items:center;justify-content:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f1e6c8 0,#d2b77d 60%,#bf9f62 100%);color:#3a2c0e;font:700 15px/1 Lato,system-ui,sans-serif;box-shadow:0 0 0 3px #fff,0 4px 14px #3d30084d;cursor:pointer;transition:transform .15s}
.tps-coin:hover{transform:scale(1.08)}

/* Featured pins: mauve drop */
.tps-pin-wrap{background:none;border:0}
.tps-pin{display:block;width:30px;height:30px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--tps-pin,#86576f);border:3px solid #fff;box-shadow:0 2px 8px #2b2a2c55}
.tps-pin.is-active{--tps-pin:#b8975a;transform:rotate(-45deg) scale(1.25)}
.tps-dirmap .marker-cluster-small,.tps-dirmap .marker-cluster-medium,.tps-dirmap .marker-cluster-large{background:#86576f40}
.tps-dirmap .marker-cluster-small div,.tps-dirmap .marker-cluster-medium div,.tps-dirmap .marker-cluster-large div{background:#86576f;color:#fff;font-weight:700}

/* Pop-up */
.tps-scope .leaflet-container{font:inherit}
.tps-scope .leaflet-popup-content-wrapper{border-radius:16px;box-shadow:0 10px 30px #2b2a2c33}
.tps-scope .leaflet-popup-content{margin:12px 14px}
.tps-mappop{display:flex;gap:12px;align-items:center;min-width:220px}
.tps-mappop img,.tps-mappop__ph{width:56px;height:56px;border-radius:12px;object-fit:cover;flex:none;display:flex;align-items:center;justify-content:center;background:#f3eef1;color:#694456;font-family:Lora,Georgia,serif}
.tps-mappop a{display:block;font-weight:700;font-size:1rem;color:#2b2a2c;text-decoration:none}
.tps-mappop a:hover{color:#86576f}
.tps-mappop span{display:block;font-size:.84rem;color:#6b6b6b}
/* Members: green pin with the seal, green counters on the members map, legend */
.tps-pin--member{--tps-pin:#0c4f48;position:relative;width:34px;height:34px;border-color:#dcc79a}
.tps-pin__seal{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transform:rotate(45deg);font:400 14px/1 Lora,Georgia,serif;color:#dcc79a}
.tps-pin__seal img{width:70%;height:70%;object-fit:contain}
.tps-pin--member.is-active{--tps-pin:#083a35;transform:rotate(-45deg) scale(1.2)}
.tps-dirmap--members .tps-coin{background:radial-gradient(circle at 35% 30%,#2f7d73 0,#0c4f48 60%,#083a35 100%);color:#faf7f3;box-shadow:0 0 0 3px #fff,0 0 0 4.5px #b8975a}
.tps-scope .tps-dirmap__note{display:flex;flex-wrap:wrap;gap:6px 14px}
.tps-legend{display:inline-flex;align-items:center;gap:6px}
.tps-legend__dot{width:12px;height:12px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#86576f;border:2px solid #fff;box-shadow:0 0 0 1px #0000001f}
.tps-legend__dot--member{background:#0c4f48;box-shadow:0 0 0 1px #b8975a}
