#xp{max-width:980px;margin:0 auto;padding:16px}
#xp h1{margin:0 0 4px}
.xp-top{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}
.xp-pct{font-size:2.4rem;font-weight:800;color:#2e7d32;line-height:1}
.xp-bar{flex:1;min-width:140px;height:12px;border-radius:8px;background:#e6e1d8;overflow:hidden}
.xp-bar i{display:block;height:100%;width:0;background:#2e7d32;transition:width .3s}
.xp-map{background:#dfeef2;border-radius:16px;padding:6px;touch-action:manipulation}
.xp-map svg{width:100%;height:auto;display:block}
.xp-land{fill:#f3ecdc;stroke:#b9ad92;stroke-width:1.5;stroke-linejoin:round}
.xp-pin{cursor:pointer}
.xp-pin circle{fill:#fff;stroke:#7a6f5a;stroke-width:2.5;transition:fill .2s}
.xp-pin.on circle{fill:#2e7d32;stroke:#1b5e20}
.xp-pin:focus{outline:none}.xp-pin:focus circle{stroke:#000}
.xp-lbl{display:none;font:600 11px system-ui,sans-serif;fill:#3b342a;paint-order:stroke;stroke:#f3ecdc;stroke-width:3px;pointer-events:none}
.xp-map{position:relative}
.xp-isl{position:absolute;top:3%;left:3%;display:flex;gap:8px;width:62%}
.xp-chip{flex:1;min-width:0;border:2px solid #cfc6b0;border-radius:14px;background:#fff;padding:clamp(3px,1vw,8px);text-align:center;cursor:pointer;font:inherit}
.xp-chip svg{height:clamp(34px,7vw,64px);width:auto;max-width:100%}.xp-chip path{fill:#f3ecdc;stroke:#b9ad92;stroke-width:1.5}
.xp-chip.on{border-color:#2e7d32;background:#e8f5e9}.xp-chip.on path{fill:#81c784;stroke:#2e7d32}
.xp-chip b{display:block;margin-top:2px;font-size:clamp(.68rem,2.4vw,.9rem)}
.xp-tip{min-height:2.4em;margin:8px 0;color:#5a5140}
.xp-list{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.xp-li{border:1px solid #cfc6b0;border-radius:20px;padding:5px 11px;background:#fff;font:inherit;font-size:.9rem;cursor:pointer}
.xp-li.on{background:#2e7d32;border-color:#2e7d32;color:#fff}
.xp-act{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.xp-act input{flex:1;min-width:160px;padding:11px;border:1px solid #cfc6b0;border-radius:10px;font:inherit}
.xp-act button{padding:11px 18px;border:0;border-radius:10px;background:#2e7d32;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.xp-act button.alt{background:#8a8170}
.xp-note{font-size:.78rem;color:#7a6f5a}
#xp-json{width:100%;height:140px;font:12px monospace}
.xp-pin.on .xp-lbl{display:block}

.xp-pin:hover circle{stroke:#000}
.xp-lbl{font-size:13px}

#xp{padding:6px 12px}
#xp h1{font-size:1.35rem;margin:0;line-height:1.2}
.xp-top{margin:4px 0;gap:10px}
.xp-pct{font-size:1.5rem}
.xp-bar{height:9px}
.xp-map svg{max-height:58vh}
.xp-tip{min-height:1.3em;margin:4px 0;font-size:.85rem}
.xp-list{margin:6px 0}
.xp-act{margin:8px 0}
.xp-act input,.xp-act button{padding:8px 14px}

.xp-map{margin:0 auto;container-type:inline-size}
.xp-map svg{max-height:none}
.xp-chip svg{height:8cqw}
.xp-chip b{font-size:2.6cqw}
.xp-chip{border-radius:10px;padding:1cqw}
.xp-act{margin:4px 0 6px}
.xp-pin circle{stroke-width:3}
.xp-map{max-width:760px}
.xp-isl{width:50%}

.xp-card{display:none;position:absolute;z-index:5;pointer-events:none;background:#2b2620;color:#fff;border-radius:10px;padding:6px 10px;box-shadow:0 6px 18px rgba(0,0,0,.3);max-width:46%}
.xp-card img{display:none;width:clamp(120px,22cqw,190px);aspect-ratio:4/3;object-fit:contain;background:#1b1713;border-radius:6px;margin-bottom:5px}
.xp-card.hasimg img{display:block}
.xp-card b{font-size:clamp(.78rem,2.4cqw,.95rem);white-space:nowrap}
.xp-card.hasimg{padding:6px}

.xp-act input.bad{border-color:#c62828;background:#fff4f4}
.xp-act input.bad::placeholder{color:#c62828}
#xp h1{font-size:clamp(1.7rem,5.5vw,2.3rem);font-weight:800;line-height:1.15;margin:2px 0 4px;color:#1f4d2a;display:inline-block;padding:0 6px;background:linear-gradient(transparent 58%,#f0d68a 58%);border-radius:3px}
#xp h1{background:none;padding:0}
.xp-isl{position:static;display:block;width:auto}
.xp-chip{position:absolute;width:13.5cqw;right:1.5cqw;left:auto;flex:none;transform:translateY(-50%)}
.xp-chip svg{width:100%;height:auto;max-height:9cqw}

.xp-map{max-width:900px}

.xp-island .xp-land{transition:fill .2s}
.xp-island.on .xp-land{fill:#81c784;stroke:#2e7d32}
.xp-island .xp-lbl{display:none}
.xp-island.on .xp-lbl{display:block}

.xp-name{font:700 13px system-ui,sans-serif;fill:#3b342a;pointer-events:none}
.xp-island.on .xp-name{fill:#1b5e20}
