/* worldmap（世界地図）。見た目は jpmap と 同じ（下の @import で w-jpmap.css の 海・陸・ふきだし・ボタンを そのまま 使う）。ここは 世界地図だけの ぶん */
@import url("w-jpmap.css");
.wm-stage { background: #eef4f8; }
.wm .wm-r { stroke: rgba(110, 90, 60, .55); stroke-width: .5; vector-effect: non-scaling-stroke; stroke-linejoin: round; cursor: pointer; transition: fill .35s; }
.wm .wm-r:hover { filter: brightness(1.05); }
.wm .jm-grat { stroke-width: .5; }
.wm-islet .jm-islet { stroke: #c2410c; stroke-width: 1.1; fill: none; transform: scale(var(--wmr, 1)); }
.wm-isd { fill: var(--isf, #e8665c); stroke: #9a3412; stroke-width: .4; transform: scale(var(--wmr, 1)); }
.wm-islet { cursor: pointer; }
.wm:not(.wm-zoomed) .wm-islet .jm-islet { display: none; }
.wm .jm-gl { stroke-width: 2; }
/* よそう */
.wm-guess { margin-bottom: 10px; padding: 8px 12px 10px; border-radius: 16px; background: linear-gradient(180deg, #eef6ff, #fff); border: 2px solid #bcd0ff; }
.wm-gq { margin: 0 0 6px; font-weight: 700; line-height: 1.7; }
.wm-tag { display: inline-block; margin-right: 6px; padding: 0 10px; border-radius: 999px; background: #2563eb; color: #fff; font-size: .85rem; vertical-align: 2px; }
.wm-gch { display: flex; flex-wrap: wrap; gap: 8px; }
.wm-gch .jm-b { flex: 1 1 110px; }
.wm-gch .jm-b rt, .wm-tray rt { font-size: .55em; }
.wm-wait .jm-stage { opacity: .45; pointer-events: none; filter: saturate(.6); }
.wm-wait .wm-tray, .wm-wait .wm-ctl { display: none; }
.wm-gr { margin: 6px 0 0; padding: 4px 10px; border-radius: 10px; font-weight: 700; }
.wm-gr.hit { background: #e3f8ef; color: #047857; }
.wm-gr.miss { background: #fff3dc; color: #92400e; }
/* 大陸・大洋の「？」と 名前 */
.jm-lab.wm-bub { pointer-events: auto; cursor: pointer; }
.wm-bub > span { display: inline-block; min-width: 30px; padding: 1px 8px; border-radius: 999px; background: #fff; border: 2.5px dashed #b08a52; font-weight: 800; font-size: 14px; color: #7a5b2e; text-align: center; box-shadow: 0 3px 8px rgba(0, 0, 0, .15); }
.wm-bub.sea > span { border-color: #2f6f94; color: #1e5b80; background: #f2fbff; }
.wm-bub.ok > span { border-style: solid; border-width: 1.5px; border-color: var(--jm-ok); color: #065f46; font-size: 11px; padding: 0 5px; min-width: 0; box-shadow: none; background: rgba(255, 255, 255, .88); }
.wm-bub.sea.ok > span { color: #1e5b80; border-color: #2f7fb0; }
.wm-bub.hint > span { animation: jm-pulse 1s ease-in-out infinite; border-color: var(--jm-y); }
.wm-bub rt { font-size: .55em; }
.wm-tray .wm-card { width: auto; min-height: 50px; padding: 4px 12px; flex-direction: row; font-weight: 800; font-size: .98rem; cursor: pointer; touch-action: manipulation; }
.wm-tray .wm-card.sea { background: #f2fbff; border-color: #a9d6ee; box-shadow: 0 3px 0 #a9d6ee; }
/* 緯線・経線 */
.wm-eq { fill: none; stroke: #c0392b; stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .7; pointer-events: none; }
.wm-pm { fill: none; stroke: #6b7280; stroke-width: 1.1; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.wm-lat { fill: none; stroke: #f59e0b; stroke-width: 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.wm-lon { fill: none; stroke: #2563eb; stroke-width: 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.wm-x { fill: #fff; stroke: #1f2937; stroke-width: 2; vector-effect: non-scaling-stroke; pointer-events: none; }
.wm-jpbox { fill: rgba(245, 158, 11, .18); stroke: #c2410c; stroke-width: 1.6; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.wm-ll { text-align: center; font-weight: 800; font-size: 1.2rem; margin: 0 0 8px; }
.wm-la { color: #b45309; } .wm-lo { color: #1d4ed8; }
.wm-ll rt { font-size: .5em; }
.wm-ctl { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.wm-row { display: flex; align-items: center; gap: 6px; }
.wm-rl { flex: 0 0 3.2em; font-weight: 800; }
.wm-range { flex: 1 1 auto; min-width: 60px; height: 40px; accent-color: #f59e0b; }
.wm-row:last-child .wm-range { accent-color: #2563eb; }
.jm-b.wm-sm { min-width: 46px; min-height: 46px; padding: 2px 8px; }
.wm-tl > span { font-size: 11px; font-weight: 800; color: #c0392b; text-shadow: 0 0 2px #fff, 0 0 2px #fff; }
/* 日本の まわり */
.wm-sea > span { font-size: 12px; font-weight: 800; color: #1e5b80; font-style: italic; text-shadow: 0 0 2px #fff, 0 0 3px #fff; }
.wm-sea rt, .wm-isl rt, .wm-nb rt { font-size: 7px; }
.wm-isl > span { font-size: 10px; font-weight: 700; color: #9a3412; background: rgba(255, 255, 255, .75); border-radius: 6px; padding: 0 3px; cursor: pointer; }
.jm-lab.wm-isl.wm-dn { transform: translate(-50%, 22%); }
.jm-lab.wm-isl.wm-up { transform: translate(-50%, -122%); }
.jm-lab.wm-isl.wm-up.r { transform: translate(-85%, -122%); } .jm-lab.wm-isl.wm-dn.r { transform: translate(-85%, 22%); }
.jm-lab.wm-isl.wm-up.l { transform: translate(-15%, -122%); } .jm-lab.wm-isl.wm-dn.l { transform: translate(-15%, 22%); }
.jm-lab.wm-isl.wm-rt { transform: translate(9px, -50%); } .jm-lab.wm-isl.wm-lt { transform: translate(calc(-100% - 9px), -50%); }
.wm-nb > span { font-size: 11px; }
