#rw-story-globe [hidden] { display:none !important; }
#rw-story-globe .rw-variant { box-sizing:border-box; padding-bottom:12px; color:#f5f2ed; background:#000; font:15px/1.45 Poppins,Arial,sans-serif; }
#rw-story-globe .rw-stage { position:relative; margin:auto; max-width:500px; touch-action:pan-y; cursor:grab; }
#rw-story-globe .rw-stage:active { cursor:grabbing; }
#rw-story-globe svg { width:100%; display:block; }
#rw-story-globe .rw-sky { position:relative; max-width:740px; margin:4px auto 0; }
#rw-story-globe .rw-starfield { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; mask-image:linear-gradient(transparent,#000 12%,#000 84%,transparent); }
#rw-story-globe .rw-star-halo { fill:#c5d4eb; opacity:.11; filter:blur(.7px); }
#rw-story-globe .rw-sky-effects { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
#rw-story-globe .ocean { fill:#070708; stroke:#403a2d; stroke-width:.75; }
#rw-story-globe .land { fill:#141310; stroke:#8c754d; stroke-width:.55; }
#rw-story-globe .grid { display:none; }
#rw-story-globe .glow { fill:#ffab44; opacity:.16; }
#rw-story-globe .bright { fill:#fff1c9; }
#rw-story-globe .dim { fill:#e5b875; opacity:.57; }
#rw-story-globe .tone-2 .ocean { fill:#050304; stroke:url(#rw-red-rim); stroke-width:.95; filter:drop-shadow(0 0 5px #72212b); }
#rw-story-globe .tone-2 .land { fill:#130d10; stroke:#67414a; }
#rw-story-globe .rw-meteor { opacity:0; animation:rw-meteor-pass 43s 3s linear infinite; }
@keyframes rw-meteor-pass {
  0% { opacity:0; transform:translateX(0); }
  .35% { opacity:.76; }
  1.3% { opacity:.42; }
  2%,100% { opacity:0; transform:translateX(104px); }
}
#rw-story-globe .rw-title { margin:0; padding:14px 12px 0; text-align:center; color:#f5f2ed; font-size:18px; font-weight:500; }
#rw-story-globe .rw-subtitle { max-width:38ch; margin:5px auto 0; padding:0 16px; text-align:center; color:#b9acaf; font-size:13px; font-style:italic; line-height:1.45; }
#rw-story-globe .rw-hint { margin:0 12px; text-align:center; color:#c6bdc0; font-size:12px; letter-spacing:.02em; }
#rw-story-globe .rw-hint span { margin-inline:5px; color:#997b82; }
#rw-story-globe .rw-pin { position:absolute; width:14px; height:14px; padding:0; transform:translate(-50%,-50%); border:0; background:none; color:#fff; z-index:1; }
#rw-story-globe .rw-pin::before { content:""; display:block; width:8px; height:8px; margin:auto; border:1px solid #ffe4a4; border-radius:50%; background:#8a5219; box-shadow:0 0 8px #ffb850; }
#rw-story-globe .rw-pin[data-written="true"] { z-index:2; }
#rw-story-globe .tone-2 .rw-pin[data-written="true"]::before { width:9px; height:9px; border-color:#a7e6c7; background:#52bc8a; box-shadow:0 0 0 2px #41946d30, 0 0 7px #52bc8a90; }
#rw-story-globe .rw-pin[data-written="false"]::before { width:5px; height:5px; border:0; background:#e05667; box-shadow:0 0 4px #d73750; }
#rw-story-globe .rw-pin::before { transition:transform 150ms ease; }
#rw-story-globe .rw-pin:hover::before, #rw-story-globe .rw-pin:focus-visible::before { transform:scale(1.25); }
#rw-story-globe .rw-pin:hover, #rw-story-globe .rw-pin:focus-visible, #rw-story-globe .rw-pin[aria-pressed="true"] { z-index:3; }
#rw-story-globe .rw-country-count { margin:8px 12px; text-align:center; color:#b9acaf; font-size:12px; }
#rw-story-globe .rw-country-count strong { color:#dfbd84; }
#rw-story-globe .rw-detail :empty { display:none; }
#rw-story-globe .rw-pin span { position:absolute; left:50%; bottom:calc(100% - 1px); transform:translate(-50%, 3px); white-space:nowrap; color:#f6e7dc; background:#130c10ed; border:1px solid #67404b; padding:2px 6px; font:500 12px/1.3 Poppins,Arial,sans-serif; border-radius:4px; opacity:0; pointer-events:none; transition:opacity 150ms ease, transform 150ms ease; }
#rw-story-globe .rw-pin.rw-featured span,
#rw-story-globe .rw-pin[data-written="true"]:is(:hover,:focus-visible) span,
#rw-story-globe .rw-pin[aria-pressed="true"] span { opacity:1; transform:translate(-50%,0); }
#rw-story-globe .rw-stage:has(.rw-pin[data-written="true"]:is(:hover,:focus-visible), .rw-pin[aria-pressed="true"]) .rw-featured:not(:hover,:focus-visible,[aria-pressed="true"]) span { opacity:0; }
#rw-story-globe .tone-2 .rw-pin[data-written="true"][aria-pressed="true"]::before { width:10px; height:10px; background:#ccffe5; border-color:#e8fff3; box-shadow:0 0 0 3px #55d89444, 0 0 12px #55d894; }
#rw-story-globe .rw-pin[data-written="true"][aria-pressed="true"] span { border-color:#548d70; color:#d6fbe6; }
#rw-story-globe .rw-detail { box-sizing:border-box; max-width:500px; margin:auto; padding:0 22px 18px; scroll-margin-block:16px; }
#rw-story-globe .rw-detail small { display:block; color:#dfbd84; }
#rw-story-globe .rw-detail strong { display:block; margin-top:4px; }
#rw-story-globe .rw-detail p { margin:3px 0 0; }
#rw-story-globe .rw-personal-statement { margin:10px 0; padding-left:13px; border-left:2px solid #a65b64; }
#rw-story-globe .rw-statement-attribution { margin-top:6px; font-size:12px; color:#c7a89e; }
#rw-story-globe .rw-detail .rw-reflection { margin-top:12px; white-space:pre-line; }
@media (pointer:coarse) { #rw-story-globe .rw-pin { width:22px; height:22px; } }
@media (prefers-reduced-motion:reduce) { #rw-story-globe .rw-meteor { animation:none; } #rw-story-globe .rw-pin::before, #rw-story-globe .rw-pin span { transition:none; } }
#rw-story-globe .rw-pin[data-wish="true"]::before { width:7px; height:7px; background:#71baff; box-shadow:0 0 9px #3c95ed; }
#rw-story-globe .rw-pin[data-wish="true"]:is(:hover,:focus-visible) span { opacity:1; transform:translate(-50%,0); }
#rw-story-globe .rw-wish-toggle { display:block; margin:0 auto 8px; padding:8px 13px; color:#a6c8ea; background:transparent; border:1px solid #35465b; border-radius:20px; font:inherit; font-size:12px; }
#rw-story-globe .rw-wish-toggle[aria-pressed="true"] { background:#122237; border-color:#74aff0; }
#rw-story-globe .rw-invite { color:#9acbff; }

/* Homepage integration: keep inherited page styles outside this component. */
#rw-story-globe { margin:0 auto; padding:40px 12px 32px; background:#000; color:#f5f2ed; scroll-margin-top:calc(var(--nav-offset,120px) + 24px); }
#rw-story-globe *,#rw-story-globe *::before,#rw-story-globe *::after { box-sizing:border-box; }
#rw-story-globe .rw-variant { margin:0; border:0; text-align:left; }
#rw-story-globe .rw-title { line-height:1.4; letter-spacing:normal; text-shadow:none; }
#rw-story-globe .rw-stage svg { height:auto; }
#rw-story-globe .rw-pin { min-width:0; min-height:0; margin:0; line-height:1; box-shadow:none; cursor:pointer; }
/* Visible wishlist pins must remain selectable above nearby visited markers. */
#rw-story-globe .rw-pin[data-wish="true"] { z-index:4; }
#rw-story-globe .rw-pin[data-wish="true"]:is(:hover,:focus-visible,[aria-pressed="true"]) { z-index:5; }
#rw-story-globe .rw-detail { text-align:left; }
#rw-story-globe .rw-personal-statement { padding:0 0 0 13px; background:none; font:inherit; color:inherit; border:0; border-left:2px solid #a65b64; text-align:left; }
#rw-story-globe .rw-statement-attribution { display:block; text-align:left; line-height:1.45; }
#rw-story-globe :is(.rw-stage,.rw-pin,.rw-wish-toggle,.rw-invite,summary):focus-visible { outline:2px solid #a7e6c7; outline-offset:4px; }
#rw-story-globe .rw-story-fallback { max-width:500px; margin:14px auto 0; padding:0 22px; font-size:15px; line-height:1.65; }
#rw-story-globe .rw-static-story { margin-top:14px; padding:14px 0; border-top:1px solid #403038; }
#rw-story-globe .rw-static-story > summary { color:#f5f2ed; font-size:14px; cursor:pointer; }
#rw-story-globe .rw-static-story p { margin:10px 0 0; color:#f5f2ed; font-size:15px; line-height:1.65; text-align:left; }
#rw-story-globe .rw-static-story .rw-static-meta { color:#dfbd84; font-size:12px; }
#rw-story-globe .rw-static-reflection { white-space:pre-line; }
#rw-story-globe .rw-no-js { max-width:500px; margin:18px auto; padding:0 22px; color:#b9acaf; font-size:13px; line-height:1.6; text-align:center; }
@media(max-width:480px) { #rw-story-globe { padding:28px 0; } }
