/* Realm globe (Nov 4): sits inside the Realm map frame; the flat art and place buttons hide while it runs. */
.realm-map-landscape[data-globe="on"] { background: radial-gradient(120% 90% at 50% 40%, #16264a, #070b16 70%); touch-action: none; }
.realm-map-landscape[data-globe="on"] > .realm-map-art,
.realm-map-landscape[data-globe="on"] > .realm-map-place { visibility: hidden; }
.realm-globe { position: absolute; inset: 0; z-index: 2; }
.realm-globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.realm-globe.is-dragging .realm-globe-canvas { cursor: grabbing; }
.realm-globe-pins { position: absolute; inset: 0; pointer-events: none; }
.realm-globe-pin { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0; border: 0; background: none; color: #eef3f8; cursor: pointer; pointer-events: auto; transition: opacity .25s; }
.realm-globe-name { padding: 4px 8px 5px; border: 1px solid #8a6a34; border-radius: 6px; background: linear-gradient(135deg, #1a2028f0, #26343df0); box-shadow: 0 6px 18px #000a; color: #fff2cf; font: 700 clamp(11px, 2.4cqw, 14px)/1 Georgia, serif; white-space: nowrap; }
.realm-globe-badge { display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 6px; border: 1px solid #2a3956; border-radius: 999px; background: #0b1220e6; font-size: clamp(10.5px, 2.1cqw, 12px); font-weight: 650; line-height: 1; white-space: nowrap; }
.realm-globe-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--globe-c); box-shadow: 0 0 8px var(--globe-c); }
.realm-globe-stem { width: 2px; height: 12px; background: linear-gradient(#d9b46c, transparent); }
.realm-globe-pin[data-state="live"] .realm-globe-badge i { animation: realm-globe-pulse 1.6s ease-in-out infinite; }
.realm-globe-pin.is-selected .realm-globe-name { border-color: #d9b46c; box-shadow: 0 0 0 2px #d9b46c66, 0 6px 18px #000a; }
.realm-globe-pin:focus-visible .realm-globe-name { outline: 2px solid #80e6fa; outline-offset: 2px; }
@keyframes realm-globe-pulse { 50% { box-shadow: 0 0 0 4px transparent, 0 0 14px var(--globe-c); } }
.realm-globe-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; padding: 7px 12px; border: 1px solid #2a3956; border-radius: 999px; background: #111a2ccc; color: #9fb0c4; font-size: 12.5px; white-space: nowrap; pointer-events: none; }
.realm-globe-sheet { display: none; max-width: 520px; margin: 12px auto 0; padding: 14px 14px 12px; border: 1px solid #2a3956; border-radius: 16px; background: #121b2e; box-shadow: 0 12px 40px #0009; scroll-margin-bottom: 90px; }
.realm-globe-sheet.is-open { display: block; }
.realm-globe-sheet h3 { margin: 0; color: #ffe6ae; font: 700 20px/1.15 Georgia, serif; text-transform: none; }
.realm-globe-status { display: flex; align-items: center; gap: 7px; margin: 5px 0 0; color: var(--globe-c); font-size: 13px; font-weight: 650; }
.realm-globe-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--globe-c); }
.realm-globe-sheet ul { display: grid; gap: 6px; margin: 10px 0 12px; padding: 0; list-style: none; }
.realm-globe-sheet li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid #1f2c47; border-radius: 10px; background: #0c1426; font-size: 13.5px; }
.realm-globe-sheet li span { color: #9fb0c4; }
.realm-globe-sheet li b { text-align: right; font-variant-numeric: tabular-nums; }
.realm-globe-actions { display: flex; gap: 8px; }
.realm-globe-actions .primary-btn { flex: 1; }
@media (prefers-reduced-motion: reduce) { .realm-globe-pin { transition: none; } .realm-globe-pin[data-state="live"] .realm-globe-badge i { animation: none; } }
