/* ------------------------------------------------------------------ InfiniWorld: the planet (planet3d.js), 14/11 round 10
   The page opens on a window into space: the little world with its ten biomes, the title and the actions over it, the
   pins and the card of a picked region. Under it the group lobby, the regions in a row and the rules. The space window
   stays dark in the light look too (it is the sky); everything around it follows the theme. */
.wpl-stage { position: relative; height: clamp(400px, calc(100vh - 230px), 660px); height: clamp(400px, calc(100svh - 230px), 660px);
  margin: -16px -16px 14px; overflow: hidden; isolation: isolate; border-radius: 0 0 30px 30px; color: #fff;
  background: radial-gradient(ellipse 70% 50% at 78% 16%, rgba(164, 112, 255, .42), transparent 70%),
    radial-gradient(ellipse 60% 45% at 16% 84%, rgba(255, 79, 163, .3), transparent 70%),
    radial-gradient(ellipse 50% 40% at 88% 88%, rgba(61, 214, 255, .2), transparent 70%),
    radial-gradient(circle at 50% 50%, #1a1050, #07051a 75%);
  box-shadow: 0 14px 34px rgba(40, 20, 110, .3); }
@media (min-width: 700px) {
  .wpl-stage { margin: 0 0 16px; border-radius: 26px; height: clamp(440px, calc(100vh - 260px), 640px); border: 1px solid rgba(255, 255, 255, .08); }
  html.light .wpl-stage { border: 3px solid #fff; box-shadow: var(--soft2); }
}

/* a soft shade under the title and the actions, so they read over the clouds */
.wpl-stage::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 170px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 5, 26, .72), rgba(7, 5, 26, .35) 55%, transparent); }

/* the 3D world fades in over a painted planet (also what stays when WebGL is missing) */
.wpl-host { position: absolute; inset: 0; z-index: 1; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent; cursor: grab; opacity: 0; transition: opacity .9s ease-out; }
.wpl.ready .wpl-host, .wpl-host.pl-full { opacity: 1; }
.wpl-host.pl-drag { cursor: grabbing; }
.wpl-host.pl-full { position: fixed; inset: 0; z-index: 160; border-radius: 0; transition: none; }
.pl-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.wpl-art { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transition: opacity .9s; }
.wpl-art > i { grid-area: 1 / 1; }
.wpl.ready .wpl-art { opacity: 0; }
/* 14/11: while the 3D planet loads, a calm dim silhouette with a soft pulsing ∞ (the painted planet only without WebGL) */
.wpl-load { position: relative; display: grid; place-items: center; width: min(66%, 46vh, 300px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(120, 100, 230, .32), rgba(30, 18, 80, .55) 55%, rgba(10, 6, 34, .2) 72%, transparent 73%);
  box-shadow: 0 0 60px 6px rgba(120, 90, 255, .16), inset -18px -22px 40px rgba(5, 2, 25, .4); }
.wpl-load svg { width: 26%; fill: none; stroke: rgba(210, 196, 255, .8); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 140, 220, .55)); animation: wplload 1.8s ease-in-out infinite; }
@keyframes wplload { 0%, 100% { opacity: .35; transform: scale(.94); } 50% { opacity: .95; transform: scale(1.04); } }
.wpl:not(.flat) .wpl-ball, .wpl.flat .wpl-load { display: none; }
.wpl-ball { position: relative; width: min(66%, 46vh, 300px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 34% 30%, #c8f8ff 0 5%, #6fd8ff 20%, #4f8cff 46%, #3a2a9a 74%, #1c1052);
  box-shadow: 0 0 0 10px rgba(90, 224, 255, .1), 0 0 70px 14px rgba(90, 210, 255, .32), inset -26px -30px 56px rgba(20, 0, 60, .55); }
.wpl-ball::before { content: ""; position: absolute; inset: -10% -60% -10% -10%; border-radius: 50%;
  background: radial-gradient(circle at 22% 30%, #6fcf55 0 9%, transparent 10%), radial-gradient(circle at 48% 62%, #ff9cc8 0 8%, transparent 9%),
    radial-gradient(circle at 30% 74%, #8a4a33 0 7%, transparent 8%), radial-gradient(circle at 60% 26%, #ffffff 0 7%, transparent 8%),
    radial-gradient(circle at 74% 56%, #e2c95a 0 8%, transparent 9%), radial-gradient(circle at 88% 36%, #6a3ab4 0 7%, transparent 8%);
  opacity: .85; animation: wplspin 40s linear infinite; }
.wpl-ball::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 18px 14px 34px rgba(255, 255, 255, .18), inset -30px -34px 50px rgba(16, 4, 50, .6); }
@keyframes wplspin { to { transform: translateX(-40%); } }

/* the title, the actions, the descent / group chips */
.wpl-hud { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 16px 14px 0 16px; pointer-events: none; }
.wpl-hud > * { pointer-events: auto; }
.wpl-hl { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; pointer-events: none !important; }
.wpl-hl > * { pointer-events: auto; }
.wpl .wpl-h1 { margin: 0; font: 700 31px/1 Fredoka, sans-serif; letter-spacing: .3px; color: #fff; text-shadow: 0 2px 0 rgba(40, 20, 110, .55), 0 0 22px rgba(164, 112, 255, .65); }
.wpl .wpl-h1 em { font-style: normal; background: linear-gradient(90deg, #ffb070, #ff6fb8 50%, #6fe4ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 2px 0 rgba(40, 20, 110, .55)); }
.wpl-sub { max-width: 232px; margin: -2px 0 0; font: 700 11.5px/1.35 Nunito, sans-serif; color: rgba(236, 230, 255, .84); text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.wpl-acts { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; padding: 8px 11px 7px; border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px; background: rgba(14, 8, 40, .58); color: #fff; font: inherit; cursor: pointer; box-shadow: 0 6px 16px rgba(5, 2, 25, .35); }
.wpl-acts:active { transform: scale(.96); }
.wpl-acts-l { font: 800 9px/1 Nunito, sans-serif; letter-spacing: .7px; text-transform: uppercase; opacity: .82; max-width: 150px; text-align: right; }
.wpl-pips { display: flex; gap: 5px; }
.wpl-pips i { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); }
.wpl-pips i.on { border-color: #fff; background: radial-gradient(circle, #fff, #ff9ad8 45%, #a470ff); box-shadow: 0 0 9px #ff9ad8; }
.wpl-acts small { font: 800 10px/1.2 Nunito, sans-serif; color: #9ff0ff; white-space: nowrap; }
.wpl-pips { align-items: center; }
.wpl-saved { padding: 0 6px; border-radius: 99px; background: linear-gradient(90deg, #a470ff, #ff4fa3); font: 800 10.5px/1.55 Nunito, sans-serif; box-shadow: 0 0 8px rgba(255, 79, 163, .5); }
.wpl-vip { padding: 0 5px; border-radius: 5px; background: #ffd23d; color: #4a2a00; font-style: normal; letter-spacing: .5px; }
.wpl-chip { --c: #3dd6ff; display: flex; align-items: center; gap: 8px; max-width: min(100%, 290px); padding: 6px 12px 6px 9px; border: 0; border-radius: 14px;
  background: rgba(12, 7, 36, .76); box-shadow: 0 0 0 1.5px var(--c), 0 6px 16px rgba(5, 2, 25, .45); color: #fff !important; text-decoration: none; text-align: left;
  font: inherit; cursor: pointer; }
.wpl-chip.run { --c: #ff8a3d; }
.wpl-chip { transition: opacity .25s, transform .25s; }
/* a region's card takes over: the chips step aside until the planet is spun again; with chips, the line under the
   title gives them its room */
.wpl-host.pl-focused ~ .wpl-hud .wpl-chip { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.wpl-hl:has(.wpl-chip) .wpl-sub { display: none; }
.wpl-chip:active { transform: scale(.97); }
.wpl-chip > span { display: flex; flex-direction: column; min-width: 0; }
.wpl-chip b { font: 700 12.5px/1.18 Fredoka, sans-serif; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wpl-chip small { font: 800 10.5px/1.3 Nunito, sans-serif; color: #ffd2a8; }
.wpl-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); animation: wpldot 1.6s ease-out infinite; }
@keyframes wpldot { from { box-shadow: 0 0 0 0 var(--c); } to { box-shadow: 0 0 0 9px transparent; } }

/* the pins: a dark disc with the element's glyph, a gold ring of progress, a crown when cleared; the name shows on the
   ones facing you */
.pl-pins { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; transition: opacity .3s; }
.pl-pin { position: absolute; left: 0; top: 0; width: 40px; height: 54px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer;
  pointer-events: auto; opacity: 0; transform-origin: 50% 100%; will-change: transform, opacity; -webkit-tap-highlight-color: transparent; }
.pl-pin::before { content: ""; position: absolute; left: 50%; bottom: 3px; width: 3px; height: 15px; margin-left: -1.5px; border-radius: 2px;
  background: linear-gradient(var(--c), rgba(255, 255, 255, .95)); }
.pl-pin::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 2px var(--c), 0 0 10px var(--c); }
.pl-head { position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 2.5px solid var(--c);
  background: radial-gradient(circle at 50% 32%, #33246e, #120b30 78%);
  box-shadow: 0 4px 12px rgba(5, 2, 25, .55), 0 0 16px color-mix(in srgb, var(--c) 65%, transparent); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.pl-ring { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); transform: rotate(-90deg); overflow: visible; }
.pl-ring circle { fill: none; stroke: rgba(10, 6, 30, .5); stroke-width: 3; }
.pl-ring .pl-p { stroke: #ffd23d; stroke-linecap: round; filter: drop-shadow(0 0 2px rgba(255, 210, 61, .8)); }
.pl-ico svg, .pl-cico svg, .wpl-ico svg { display: block; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pl-ico svg { width: 21px; height: 21px; stroke: var(--c); stroke-width: 2.3; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--c) 60%, transparent)); }
.pl-crown { position: absolute; left: -11px; top: -11px; font-size: 15px; transform: rotate(-18deg); font-style: normal; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); }
/* 14/11 Ascension: the highest level cleared rides on the crown ("A3") */
.pl-crown.asc { display: flex; flex-direction: column; align-items: center; left: -14px; top: -16px; transform: rotate(-12deg); }
.pl-crown b { margin-top: -3px; padding: 0 4px; border-radius: 99px; background: linear-gradient(90deg, #6fb8ff, #a470ff); color: #fff;
  font: 800 9px/1.4 Nunito, sans-serif; box-shadow: 0 0 0 1.5px #fff; }
.pl-badge { position: absolute; right: -10px; top: -8px; min-width: 20px; height: 20px; padding: 0 3px; display: grid; place-items: center; border-radius: 99px;
  background: #ff8a3d; box-shadow: 0 0 0 2px #fff; font: 800 11px/1 Nunito, sans-serif; font-style: normal; color: #fff; }
.pl-badge.grp { background: #3dd6ff; }
.pl-pin.run .pl-head::after, .pl-pin.lobby .pl-head::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2.5px solid #ff8a3d;
  animation: plping 1.7s ease-out infinite; pointer-events: none; }
.pl-pin.lobby .pl-head::after { border-color: #3dd6ff; }
@keyframes plping { from { transform: scale(.75); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.pl-pin.focus .pl-head { transform: scale(1.2); }
.pl-pin:focus-visible { outline: none; }
.pl-pin:focus-visible .pl-head { outline: 3px solid #fff; outline-offset: 9px; }
.pl-tag { position: absolute; bottom: calc(100% + 13px); left: 50%; display: flex; flex-direction: column; align-items: center; padding: 3px 9px 4px; border-radius: 10px;
  background: rgba(12, 7, 36, .78); box-shadow: 0 3px 10px rgba(5, 2, 25, .4); white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 4px); transition: opacity .25s, transform .25s; }
.pl-pin.near .pl-tag { opacity: 1; transform: translate(-50%, 0); }
.pl-pin.focus .pl-tag { opacity: 0; }                 /* its card says it already */
.pl-tag b { font: 700 12px/1.15 Fredoka, sans-serif; color: #fff; }
.pl-tag small { font: 800 8.5px/1.25 Nunito, sans-serif; color: #ffd23d; letter-spacing: 1px; }

/* the card of the picked region */
.pl-card { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 4; display: flex; justify-content: center; pointer-events: none;
  opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .25s, transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.pl-card.on { opacity: 1; transform: none; }
.pl-card.on .pl-cardin { pointer-events: auto; }
.pl-cardin { width: 100%; max-width: 390px; display: flex; align-items: center; gap: 11px; padding: 10px 11px 10px 10px; border: 0; border-radius: 18px;
  text-align: left; color: #fff; font: inherit; cursor: pointer; background: linear-gradient(115deg, rgba(22, 13, 60, .94), rgba(44, 24, 104, .92));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 75%, #fff), 0 12px 30px rgba(5, 2, 25, .55); }
.pl-cardin:active { transform: scale(.98); }
.pl-cico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--c);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15), 0 0 16px color-mix(in srgb, var(--c) 55%, transparent); }
.pl-cico svg { width: 26px; height: 26px; stroke: #1b1030; stroke-width: 2.3; }
.pl-cmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pl-ctop { display: flex; align-items: center; gap: 7px; font: 800 9.5px/1.2 Nunito, sans-serif; letter-spacing: .7px; text-transform: uppercase; }
.pl-ctop i { font-style: normal; color: color-mix(in srgb, var(--c) 70%, #fff); }
.pl-ctop em { font-style: normal; color: #ffd23d; letter-spacing: 1px; }
.pl-cmain b { font: 700 17px/1.12 Fredoka, sans-serif; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pl-cmain small { font: 700 11.5px/1.3 Nunito, sans-serif; color: rgba(232, 226, 255, .82); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-cbar { height: 5px; margin-top: 3px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.pl-cbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffd23d, var(--c)); }
.pl-cgo { flex: none; padding: 9px 13px; border-radius: 99px; background: linear-gradient(100deg, #ff8a3d, #ff4fa3); color: #fff;
  font: 800 13px/1 Nunito, sans-serif; white-space: nowrap; box-shadow: 0 3px 0 rgba(150, 30, 90, .55), 0 6px 14px rgba(255, 79, 163, .35); }

/* the hint, until the first touch */
.pl-hint { position: absolute; left: 50%; bottom: 18px; z-index: 3; padding: 7px 14px; border-radius: 99px; background: rgba(12, 7, 36, .62); color: #fff;
  font: 800 12px/1.2 Nunito, sans-serif; white-space: nowrap; pointer-events: none; transform: translateX(-50%); transition: opacity .4s;
  animation: plhint 2.6s ease-in-out 2.2s infinite both; }
@keyframes plhint { 0%, 100% { transform: translateX(-50%); } 50% { transform: translate(-50%, -4px); } }
.pl-touched .pl-hint, .pl-diving .pl-hint, .pl-diving .pl-pins, .pl-diving .pl-card { opacity: 0 !important; pointer-events: none !important; }

/* the regions in a row (a grid on wide screens and without WebGL) */
.wpl-list-h { display: flex; align-items: baseline; justify-content: space-between; margin: 2px 2px 8px; }
.wpl-list-h .label { margin: 0; }
.wpl-list-h small { font: 800 12px Nunito, sans-serif; color: var(--muted); }
.wpl-list { display: flex; gap: 10px; margin: 0 -16px 8px; padding: 4px 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wpl-list::-webkit-scrollbar { display: none; }
.wpl-rc { position: relative; flex: none; width: 136px; height: 148px; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 2px; padding: 10px; border: 0; border-radius: 18px; overflow: hidden; isolation: isolate; text-align: left; color: #fff; font: inherit; cursor: pointer;
  background: #1a1050; box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 55%, transparent), 0 8px 18px rgba(40, 20, 110, .22); transition: transform .2s, box-shadow .2s; }
.wpl-rc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wpl-rc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 6, 30, .05) 25%, rgba(10, 6, 30, .88)); }
.wpl-rc:active { transform: scale(.96); }
.wpl-rc.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--c), 0 10px 22px rgba(40, 20, 110, .3); }
.wpl-rc.on img { transform: scale(1.08); }
.wpl-rc.clear { box-shadow: 0 0 0 2.5px #ffd23d, 0 8px 18px rgba(40, 20, 110, .22); }
.wpl-rc-top { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; align-items: flex-start; justify-content: space-between; }
.wpl-ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--c); box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.wpl-ico svg { width: 18px; height: 18px; stroke: #1b1030; stroke-width: 2.4; }
.wpl-tag { padding: 3px 8px; border-radius: 99px; background: rgba(12, 7, 36, .75); font: 800 11px/1.2 Nunito, sans-serif; font-style: normal; color: #fff; }
.wpl-tag.run { background: #ff8a3d; }
.wpl-tag.grp { background: #3dd6ff; color: #08303e; }
.wpl-tag.asc { background: linear-gradient(90deg, #4a8ee6, #a470ff); }
.wpl-rc.run .wpl-tag.run { animation: wpldot 1.6s ease-out infinite; --c: #ff8a3d; }
.wpl-rc b { font: 700 15px/1.12 Fredoka, sans-serif; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.wpl-rc small { font: 800 10.5px/1.2 Nunito, sans-serif; color: #ffd23d; letter-spacing: 1px; }
.wpl-bar { height: 5px; margin-top: 4px; border-radius: 99px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.wpl-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffd23d, var(--c)); }
.wpl-rule { text-align: center; margin: 2px 10px 14px; }
.wpl .wparty { margin-top: 2px; }
@media (min-width: 900px) {
  .wpl-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 10px; padding: 4px 4px 10px; overflow: visible; }
  .wpl-rc { width: auto; height: 156px; }
  .wpl .wpl-h1 { font-size: 36px; }
  .wpl-sub { max-width: 320px; font-size: 12.5px; }
}

/* no WebGL: the painted planet stays, a shorter window, the regions as a grid */
.wpl.flat .wpl-stage { height: 380px; }
.wpl.flat .wpl-host { display: none; }
.wpl.flat .wpl-art { padding-top: 120px; }
.wpl.flat .wpl-ball { width: 200px; }
.wpl.flat .wpl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 10px; padding: 4px 2px 10px; overflow: visible; }
.wpl.flat .wpl-rc { width: auto; }
@media (min-width: 900px) { .wpl.flat .wpl-list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* the dive: the page's clouds close in (white), part a little on the painted biome and its name, then slide away
   when the battle screen is there. Three banks of toon clouds: left, right and bottom. */
.wdive2 { position: fixed; inset: 0; z-index: 170; overflow: hidden; pointer-events: auto; }
.wdive2 > i { position: absolute; display: block; }
.wdv-sky { inset: 0; opacity: 0; background: linear-gradient(180deg, #7a66ff, color-mix(in srgb, var(--c) 45%, #ffd6f0) 68%, #fff4ea); transition: opacity .45s; }
.wdv-art { inset: -5%; opacity: 0; background-size: cover; background-position: center; transform: scale(1.3);
  transition: opacity .55s ease-out, transform 1.8s cubic-bezier(.2, .8, .2, 1); }
.wdv-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(10, 6, 30, .5)); }
.wdv-cl { width: 120vmax; height: 120vmax; transition: transform .55s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.wdv-cl.a { left: -70vmax; top: 50%; margin-top: -60vmax; transform: translateX(-52vmax);
  background: radial-gradient(circle 46vmax at 38% 50%, #fff 97%, transparent 100%), radial-gradient(circle 14vmax at 84% 28%, #fff 97%, transparent 100%), radial-gradient(circle 12vmax at 88% 50%, #fff 97%, transparent 100%), radial-gradient(circle 14vmax at 84% 71%, #fff 97%, transparent 100%), radial-gradient(circle 17vmax at 70% 13%, #fff 97%, transparent 100%), radial-gradient(circle 17vmax at 70% 88%, #fff 97%, transparent 100%), radial-gradient(circle 30vmax at 62% 50%, #fff 97%, transparent 100%),
    radial-gradient(circle 46vmax at 38% calc(50% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 14vmax at 84% calc(28% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 12vmax at 88% calc(50% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 14vmax at 84% calc(71% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 17vmax at 70% calc(13% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 17vmax at 70% calc(88% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 30vmax at 62% calc(50% + 1.6vmax), #e2d8ff 97%, transparent 100%); }
.wdv-cl.b { right: -70vmax; top: 50%; margin-top: -60vmax; transform: translateX(52vmax);
  background: radial-gradient(circle 46vmax at 62% 50%, #fff 97%, transparent 100%), radial-gradient(circle 14vmax at 16% 28%, #fff 97%, transparent 100%), radial-gradient(circle 12vmax at 12% 50%, #fff 97%, transparent 100%), radial-gradient(circle 14vmax at 16% 71%, #fff 97%, transparent 100%), radial-gradient(circle 17vmax at 30% 13%, #fff 97%, transparent 100%), radial-gradient(circle 17vmax at 30% 88%, #fff 97%, transparent 100%), radial-gradient(circle 30vmax at 38% 50%, #fff 97%, transparent 100%),
    radial-gradient(circle 46vmax at 62% calc(50% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 14vmax at 16% calc(28% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 12vmax at 12% calc(50% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 14vmax at 16% calc(71% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 17vmax at 30% calc(13% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 17vmax at 30% calc(88% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 30vmax at 38% calc(50% + 1.6vmax), #e2d8ff 97%, transparent 100%); }
.wdv-cl.c { left: 50%; margin-left: -60vmax; top: 100%; transform: translateY(8vh);
  background: radial-gradient(circle 46vmax at 50% 68%, #fff 97%, transparent 100%), radial-gradient(circle 15vmax at 24% 22%, #fff 97%, transparent 100%), radial-gradient(circle 14vmax at 44% 15%, #fff 97%, transparent 100%), radial-gradient(circle 16vmax at 63% 18%, #fff 97%, transparent 100%), radial-gradient(circle 15vmax at 82% 24%, #fff 97%, transparent 100%), radial-gradient(circle 16vmax at 10% 32%, #fff 97%, transparent 100%), radial-gradient(circle 30vmax at 50% 42%, #fff 97%, transparent 100%),
    radial-gradient(circle 46vmax at 50% calc(68% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 15vmax at 24% calc(22% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 14vmax at 44% calc(15% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 16vmax at 63% calc(18% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 15vmax at 82% calc(24% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 16vmax at 10% calc(32% + 1.6vmax), #e2d8ff 97%, transparent 100%), radial-gradient(circle 30vmax at 50% calc(42% + 1.6vmax), #e2d8ff 97%, transparent 100%); }
.wdv-name { position: absolute; left: 0; right: 0; top: 38%; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0 24px; text-align: center;
  color: #fff; opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .4s .2s, transform .5s .2s cubic-bezier(.3, 1.5, .5, 1); }
.wdv-name span { padding: 3px 12px; border-radius: 99px; background: var(--c); color: #1b1030; font: 800 12px/1.3 Nunito, sans-serif; letter-spacing: .6px; text-transform: uppercase; }
.wdv-name b { font: 700 clamp(30px, 9vw, 52px)/1.05 Fredoka, sans-serif; text-shadow: 0 3px 0 rgba(30, 14, 80, .6), 0 0 26px rgba(20, 10, 60, .55); }
.wdv-name small { font: 400 10px var(--lcd, monospace); letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
/* without the 3D planet: falling through a coloured sky, light streaks rushing past */
.wdive2.rush .wdv-sky { opacity: 1; }
.wdive2.rush .wdv-sky::after { content: ""; position: absolute; inset: -40%; opacity: .55;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .7) 0 1.2deg, transparent 1.2deg 9deg);
  -webkit-mask: radial-gradient(circle, transparent 12%, #000 45%); mask: radial-gradient(circle, transparent 12%, #000 45%); animation: wdvrush .9s ease-in infinite; }
@keyframes wdvrush { from { transform: scale(.6) rotate(0deg); opacity: 0; } 30% { opacity: .6; } to { transform: scale(1.5) rotate(8deg); opacity: 0; } }
/* the clouds close in */
.wdive2.cloud .wdv-sky { opacity: 1; background: #fff; transition-duration: .35s; }
.wdive2.cloud .wdv-cl.a { transform: translateX(22vmax); }
.wdive2.cloud .wdv-cl.b { transform: translateX(-22vmax); }
.wdive2.cloud .wdv-cl.c { transform: translateY(-70vh); }
/* the biome shows through, with its name */
.wdive2.land .wdv-art { opacity: 1; transform: scale(1.06); }
.wdive2.land .wdv-sky { opacity: 0; transition: opacity .5s .05s; }
.wdive2.land .wdv-cl { transition: transform 1.3s cubic-bezier(.2, .8, .2, 1); }
.wdive2.land .wdv-cl.a { transform: translateX(-38vmax); }
.wdive2.land .wdv-cl.b { transform: translateX(38vmax); }
.wdive2.land .wdv-cl.c { transform: translateY(-20vh); }
.wdive2.land .wdv-name { opacity: 1; transform: none; }
/* the clouds slide away on the battle screen */
.wdive2.out { pointer-events: none; }
.wdive2.out .wdv-art, .wdive2.out .wdv-name { opacity: 0; transition: opacity .5s; }
.wdive2.out .wdv-cl { transition: transform .85s cubic-bezier(.5, 0, .7, .4); }
.wdive2.out .wdv-cl.a { transform: translateX(-60vmax); }
.wdive2.out .wdv-cl.b { transform: translateX(60vmax); }
.wdive2.out .wdv-cl.c { transform: translateY(20vh); }

@media (prefers-reduced-motion: reduce) {
  .wpl-ball::before, .wpl-dot, .pl-hint, .pl-pin .pl-head::after, .wpl-rc.run .wpl-tag.run, .wpl-load svg { animation: none !important; }
}
body.reduce .wpl-ball::before, body.reduce .wpl-dot, body.reduce .pl-hint, body.reduce .pl-pin .pl-head::after, body.reduce .wpl-rc.run .wpl-tag.run, body.reduce .wpl-load svg { animation: none !important; }

/* 15/11 (owner: "the map's text boxes are too big: make them small, at the side, and tap to open them"): the chips
   are 42 px tabs down the left side (the explorer's icon with its level, the sighting's creature, a play or group
   sign); a tap opens one into its full card (infiniworld.js wireSideTabs), the next tap follows it */
.wpl .wpl-h1 { font-size: 27px; }
.wpl-sub { max-width: 205px; font-size: 10.5px; }
.wpl-hl .wk-exchip, .wpl-hl .hunt-chip, .wpl-hl .wpl-chip { position: relative; overflow: hidden; margin-top: 0;
  transition: max-width .25s ease, padding .2s, opacity .25s, transform .25s; }
.wpl-hl .wk-exchip:not(.open), .wpl-hl .hunt-chip:not(.open), .wpl-hl .wpl-chip:not(.open) { width: 42px; max-width: 42px; height: 42px; padding: 5px;
  gap: 0; justify-content: center; border-radius: 13px; overflow: visible; }
.wpl-hl .wk-exchip:not(.open) > :not(:first-child), .wpl-hl .hunt-chip:not(.open) > :not(:first-child), .wpl-hl .wpl-chip:not(.open) > span { display: none; }
.wpl-hl .wk-exchip:not(.open)::after { content: attr(data-badge); position: absolute; right: -5px; bottom: -5px; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 99px; background: linear-gradient(135deg, #3dd6ff, #a470ff); color: #fff; font: 800 10px/1 Nunito, sans-serif;
  box-shadow: 0 0 0 2px rgba(12, 7, 36, .9); }
.wpl-hl .hunt-chip:not(.open) .hc-img { width: 32px; height: 32px; }
.wpl-hl .hunt-chip:not(.open)::after { content: "✦"; position: absolute; right: -4px; top: -6px; color: var(--vc); font-size: 13px; text-shadow: 0 0 6px var(--vc);
  animation: wpl-tabpulse 1.6s ease-in-out infinite; }
.wpl-hl .wpl-chip:not(.open)::after { content: attr(data-ico); font: 700 17px/1 Fredoka, sans-serif; color: #fff; }
.wpl-hl .wpl-chip:not(.open) .wpl-dot { position: absolute; right: -3px; top: -3px; margin: 0; }
.wpl-hl .wk-exchip.open, .wpl-hl .hunt-chip.open, .wpl-hl .wpl-chip.open { max-width: min(100%, 250px); animation: wpl-tabopen .25s ease-out; }
@keyframes wpl-tabopen { from { opacity: .4; transform: translateX(-6px); } }
@keyframes wpl-tabpulse { 50% { transform: scale(1.25); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .wpl-hl .hunt-chip:not(.open)::after, .wpl-hl .open { animation: none; } }
.wpl-hl .wk-exchip:not(.open) { margin-bottom: 5px; }      /* room for its level badge */
/* 16/11 (owner: "build the crossing"): Planet Aurora's own map. The planet switch under the title, Aurora's colours on
   the title and the loading planet, and the crossing (a curtain of light with the planet's name, infiniworld.js crossTo) */
.wpl-planets { display: inline-flex; gap: 4px; padding: 3px; border-radius: 99px; background: rgba(10, 6, 30, .55);
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); backdrop-filter: blur(6px); }
.wpl-pt { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 0; border-radius: 99px; cursor: pointer;
  background: none; color: rgba(236, 230, 255, .78); font: 800 12px/1 Nunito, sans-serif; white-space: nowrap; }
.wpl-pt span { font-size: 14px; line-height: 1; }
.wpl-pt.on { color: #23123f; background: linear-gradient(135deg, #ffd36e, #ff8ac4); box-shadow: 0 2px 10px rgba(255, 138, 196, .45); }
.wpl-pt.aur.on { color: #06231f; background: linear-gradient(135deg, #7dffcf, #5adcff 55%, #b48cff); box-shadow: 0 2px 12px rgba(90, 255, 200, .45); }
.wpl-pt:not(.on):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.wpl.aurora .wpl-h1 { text-shadow: 0 2px 0 rgba(10, 40, 60, .55), 0 0 22px rgba(90, 255, 200, .5); }
.wpl.aurora .wpl-h1 em { background: linear-gradient(90deg, #7dffcf, #5adcff 50%, #c08cff); -webkit-background-clip: text; background-clip: text; }
.wpl.aurora .wpl-ball { background: radial-gradient(circle at 34% 30%, #e6fff6 0 5%, #5affc8 20%, #4f8cff 46%, #3b2a8a 74%, #0c0620);
  box-shadow: 0 0 0 10px rgba(90, 255, 200, .1), 0 0 70px 14px rgba(90, 255, 200, .28), inset -26px -30px 56px rgba(10, 0, 40, .55); }

.wcross { position: fixed; inset: 0; z-index: 175; display: grid; place-items: center; overflow: hidden; pointer-events: auto; transition: opacity .7s ease; }
.wcross > i { position: absolute; inset: 0; display: block; }
.wcx-sky { opacity: 0; transition: opacity .45s ease; background: radial-gradient(120% 90% at 50% 115%, #2fd8b8 0%, #3b2a8a 46%, #040814 82%); }
.wcross.to-origin .wcx-sky { background: radial-gradient(120% 90% at 50% 115%, #ff9a52 0%, #8a4aff 46%, #07051a 82%); }
.wcx-stars { opacity: 0; transition: opacity .6s ease .2s;
  background-image: radial-gradient(1.6px 1.6px at 12% 22%, #fff, transparent), radial-gradient(1.4px 1.4px at 28% 64%, #dffcff, transparent),
    radial-gradient(2px 2px at 44% 18%, #fff, transparent), radial-gradient(1.4px 1.4px at 61% 72%, #f3e6ff, transparent),
    radial-gradient(1.8px 1.8px at 77% 34%, #fff, transparent), radial-gradient(1.3px 1.3px at 90% 80%, #dffcff, transparent),
    radial-gradient(1.5px 1.5px at 8% 86%, #fff, transparent), radial-gradient(1.7px 1.7px at 52% 46%, #fff, transparent);
  background-size: 340px 340px; }
.wcx-beam { transform: translateX(-110%) skewX(-18deg); filter: blur(5px);
  background: linear-gradient(90deg, transparent 0 42%, rgba(125, 255, 207, .55) 47%, #ffffff 50%, rgba(192, 140, 255, .55) 53%, transparent 58% 100%); }
.wcross.to-origin .wcx-beam { background: linear-gradient(90deg, transparent 0 42%, rgba(255, 176, 112, .55) 47%, #ffffff 50%, rgba(255, 111, 184, .55) 53%, transparent 58% 100%); }
.wcx-name { position: relative; z-index: 1; padding: 0 16px; text-align: center; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s ease .3s, transform .6s cubic-bezier(.2, 1.3, .4, 1) .3s; }
.wcx-name small { display: block; margin-bottom: 6px; font: 800 12px/1.2 Nunito, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #d6fff2; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.wcx-name b { font: 700 clamp(30px, 8vw, 48px)/1.05 Fredoka, sans-serif; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, #7dffcf, #5adcff 50%, #c08cff); filter: drop-shadow(0 3px 0 rgba(10, 20, 50, .6)); }
.wcross.to-origin .wcx-name b { background-image: linear-gradient(90deg, #ffb070, #ff6fb8 50%, #6fe4ff); }
.wcross.go .wcx-sky, .wcross.go .wcx-stars { opacity: 1; }
.wcross.go .wcx-beam { animation: wcxbeam 1.1s ease-in-out forwards; }
.wcross.go .wcx-name { opacity: 1; transform: none; }
.wcross.out { opacity: 0; pointer-events: none; }
@keyframes wcxbeam { to { transform: translateX(110%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { .wcross, .wcross * { transition: none !important; animation: none !important; } }

/* 16/11 (owner: zoom out, the other planet in the constellation, the bridge, the crossing over it): the zoom buttons,
   the other planet's label, and everything but the 3D hidden while the camera runs along the bridge */
.pl-zoom { position: absolute; right: 12px; bottom: 58px; z-index: 4; display: flex; flex-direction: column; gap: 6px; transition: opacity .3s; }
.pl-zoom button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(12, 7, 36, .6); color: #fff; font: 800 20px/1 Nunito, sans-serif;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.pl-zoom button:hover { background: rgba(60, 40, 140, .75); }
.pl-other { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 7px; max-width: 220px; padding: 6px 11px 6px 8px;
  border-radius: 14px; cursor: pointer; pointer-events: auto; transition: opacity .3s; will-change: transform;
  border: 1px solid rgba(125, 255, 207, .55); background: rgba(6, 14, 34, .72); color: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .4), 0 0 18px rgba(90, 255, 200, .25); }
.pl-other::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -6px; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg);
  background: inherit; border-right: inherit; border-bottom: inherit; }
.pl-other .plo-ico { font-size: 20px; line-height: 1; }
.pl-other .plo-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pl-other b { font: 700 13px/1.1 Fredoka, sans-serif; }
.pl-other small { font: 700 10.5px/1.25 Nunito, sans-serif; color: #bdf7e6; }
.wpl.aurora .pl-other { border-color: rgba(255, 176, 112, .6); box-shadow: 0 4px 16px rgba(0, 0, 0, .4), 0 0 18px rgba(255, 138, 196, .25); }
.wpl.aurora .pl-other small { color: #ffd9c2; }
.pl-crossing .pl-pins, .pl-crossing .pl-hint, .pl-crossing .pl-zoom, .pl-crossing .pl-other, .pl-crossing .pl-card { opacity: 0 !important; pointer-events: none !important; }
.wpl:has(.pl-crossing) .wpl-hud { opacity: 0; transition: opacity .4s; pointer-events: none; }
.wcross.quick .wcx-beam { display: none; }
.wcross.quick .wcx-sky { transition-duration: .2s; background: radial-gradient(120% 90% at 50% 50%, #ffffff 0%, #bff8ec 25%, #3b2a8a 70%, #040814 100%); }
.wcross.quick.to-origin .wcx-sky { background: radial-gradient(120% 90% at 50% 50%, #ffffff 0%, #ffe0c4 25%, #8a4aff 70%, #07051a 100%); }
.wcross.quick .wcx-name { transition-delay: .1s; }
.pl-zoom .pl-zsys { font-size: 17px; border-color: rgba(125, 255, 207, .6); box-shadow: 0 3px 10px rgba(0, 0, 0, .35), 0 0 12px rgba(90, 255, 200, .35); }
/* 20/11 (owner: "fix the framing here"): the Full pay box's title and its Infini+ seal side by side on one line (the seal
   wrapped under the title and covered it); everything lined up on the right, with room to breathe */
.wpl-acts { gap: 6px; padding: 9px 12px 8px; min-width: 150px; }
.wpl-acts-l { display: flex; align-items: center; justify-content: flex-end; gap: 6px; max-width: none; white-space: nowrap; line-height: 1.2; }
.wpl-acts-l .wpl-vip { padding: 2px 6px 1px; border-radius: 6px; font-size: 8.5px; line-height: 1.25; opacity: 1; box-shadow: 0 0 8px rgba(255, 210, 61, .45); }

/* 21/11 (owner): the InfiniTower's pin: a dark violet head with the tower in it */
.pl-pin.tower .pl-head { background: radial-gradient(circle at 40% 30%, #4a2a86, #160a30 75%); border-color: #c08bff; box-shadow: 0 0 12px rgba(192, 139, 255, .6); }
.pl-pin.tower .pl-ico svg.tower-ico { width: 26px; height: 26px; stroke: none; filter: drop-shadow(0 0 4px rgba(255, 79, 163, .6)); }
.pl-pin.tower .pl-tag b { color: #e6dcff; }

/* 22/11 (owner): the InfiniTower's climbs, beside the full-pay descents */
.wpl-tower { border-color: rgba(255, 196, 80, .35); }
.wpl-tower .wpl-pips i.on { background: radial-gradient(circle at 35% 35%, #fff4c2, #ffc94f 55%, #ff9a3d); box-shadow: 0 0 8px rgba(255, 196, 80, .8); }
/* 22/11 (owner: "the full pay above the InfiniTower"): the two boxes stacked at the right, the tower's just below */
.wpl-actsbox { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.wpl-actsbox .wpl-acts { width: 100%; }
.wpl-lookbtn { top: 182px; }   /* 22/11: below the two stacked boxes */
.wpl-reset { color: #ffd27a !important; opacity: .85; font-size: 9.5px !important; }
