/* 15/11 InfiniWorld (worlds.js): the world's exploration, the ten guardians, the final boss and the bridge */
.wwd { margin: 4px 0 14px; padding: 12px 12px 10px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; }
.wwd-load { font: 700 12px/1.3 Nunito, sans-serif; color: var(--muted); padding: 6px 2px; }
.wwd .label { margin: 0; }
.wwd-world { display: flex; flex-direction: column; gap: 6px; }
.wwd-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.wwd-pct { font: 700 22px/1 Fredoka, sans-serif; color: #7fe3ff; text-shadow: 0 0 14px rgba(127, 227, 255, .45); }
.wwd-cap { font: 700 11px/1.3 Nunito, sans-serif; color: var(--muted); margin-top: -2px; }
.wwd-bar { display: block; position: relative; height: 10px; border-radius: 99px; background: rgba(127, 140, 200, .18); overflow: hidden; }
.wwd-bar > i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #5b7cff, #7fe3ff 60%, #b6ffea);
  box-shadow: 0 0 12px rgba(127, 227, 255, .55); transition: width .6s ease; }
.wwd-bar.mini { height: 5px; }
.wwd-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.wwd-part { display: flex; flex-direction: column; gap: 3px; padding: 7px 8px; border-radius: 12px; background: rgba(127, 140, 200, .09); min-width: 0; }
.wwd-part small { font: 800 10px/1.2 Nunito, sans-serif; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wwd-part b { font: 700 15px/1 Fredoka, sans-serif; color: var(--text); }
.wwd-part b em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 1px; }
.wwd-sub { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
.wwd-sub small { font: 700 11px/1.3 Nunito, sans-serif; color: var(--muted); }

.wwd-gs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px 4px; }
.wwd-g { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.wwd-gi { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: color-mix(in srgb, var(--c) 22%, transparent); border: 2px dashed color-mix(in srgb, var(--c) 55%, transparent); opacity: .62; }
.wwd-gi svg { width: 20px; height: 20px; fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wwd-gi img { width: 40px; height: 40px; object-fit: contain; }
.wwd-g.down .wwd-gi { opacity: 1; border-style: solid; border-color: var(--c); background: color-mix(in srgb, var(--c) 30%, #140c2c);
  box-shadow: 0 0 12px color-mix(in srgb, var(--c) 55%, transparent); }
.wwd-ok, .wwd-gi .wwd-lock { position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  font: 800 11px/1 Nunito, sans-serif; }
.wwd-ok { background: #3fd08a; color: #06281a; box-shadow: 0 0 0 2px var(--panel); }
.wwd-gi .wwd-lock { background: var(--panel); font-size: 10px; }
.wwd-g small { max-width: 100%; font: 800 10px/1.2 Nunito, sans-serif; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wwd-g.down small { color: var(--text); }

.wwd-boss { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 10px;
  border-radius: 16px; overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 196, 64, .22), transparent 55%),
  radial-gradient(120% 140% at 100% 100%, rgba(150, 70, 255, .3), transparent 60%), #120a26; border: 1px solid rgba(255, 210, 120, .35); color: #f4ecff; }
.wwd-bimg { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.wwd-bimg::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #05020c;
  box-shadow: 0 0 0 3px rgba(255, 196, 64, .75), 0 0 22px 6px rgba(255, 170, 40, .55); }
.wwd-bimg img { position: relative; width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); }
.wwd-boss.locked .wwd-bimg img { filter: brightness(0) drop-shadow(0 0 6px rgba(160, 110, 255, .8)); opacity: .9; }
.wwd-boss.locked .wwd-bimg::before { box-shadow: 0 0 0 2px rgba(160, 110, 255, .5), 0 0 16px 4px rgba(120, 70, 255, .35); }
.wwd-bt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wwd-bk { font: 800 10px/1.2 Nunito, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #ffd36e; }
.wwd-bt b { font: 700 19px/1.05 Fredoka, sans-serif; }
.wwd-bt small, .wwd-prize { font: 700 11px/1.35 Nunito, sans-serif; color: #c9bde6; }
.wwd-hp { position: relative; display: block; height: 16px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.wwd-hp > i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #ff4f6f, #ffb347 55%, #ffe27a); box-shadow: 0 0 12px rgba(255, 120, 80, .6); }
.wwd-hp > em { position: relative; display: block; text-align: center; font: 800 11px/16px Nunito, sans-serif; font-style: normal; color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.wwd-hp.big { height: 20px; margin: 4px 0; }
.wwd-hp.big > em { line-height: 20px; }
.wwd-go, .wwd-wait, .wwd-mine, .wwd-top, .wwd-prize { grid-column: 1 / -1; }
.wwd-go { margin-top: 4px; background: linear-gradient(135deg, #ff9b3d, #ff4f6f 60%, #9b4dff); box-shadow: 0 6px 20px rgba(255, 90, 90, .35); }
.wwd-wait { display: block; text-align: center; margin-top: 4px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .07);
  font: 700 12px/1.2 Nunito, sans-serif; color: #c9bde6; }
.wwd-wait b { color: #fff; font-variant-numeric: tabular-nums; }
.wwd-mine { font: 800 12px/1.2 Nunito, sans-serif; color: #ffd36e; }
.wwd-top { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.wwd-top li { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 9px; background: rgba(255, 255, 255, .05);
  font: 700 12px/1.2 Nunito, sans-serif; }
.wwd-top li.me { background: rgba(255, 211, 110, .16); }
.wwd-top em { width: 18px; font-style: normal; color: #ffd36e; font-weight: 800; }
.wwd-top b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wwd-top span { font-variant-numeric: tabular-nums; color: #fff; }
.wwd-boss.done { border-color: rgba(63, 208, 138, .5); }
.wwd-boss.done .wwd-bk { color: #7ff0b8; }

.wwd-bridge { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; font-size: 22px;
  background: rgba(127, 140, 200, .09); border: 1px dashed var(--line); }
.wwd-bridge > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wwd-bridge b { font: 700 14px/1.2 Fredoka, sans-serif; color: var(--text); }
.wwd-bridge b em { font-style: normal; font-variant-numeric: tabular-nums; color: #7fe3ff; }
.wwd-bridge small { font: 700 11px/1.35 Nunito, sans-serif; color: var(--muted); }
.wwd-bridge > .wwd-lock { font-size: 16px; }
.wwd-bridge.ready, .wwd-bridge.set { border: 1px solid rgba(127, 227, 255, .55); background: rgba(91, 124, 255, .14); box-shadow: 0 0 18px rgba(127, 227, 255, .18); }
.wwd-bridge.open { border: 1px solid rgba(63, 208, 138, .6); background: rgba(63, 208, 138, .12); }
.wwd-bridge .btn { font-size: 15px; }
.wwd-bopen { width: 100%; background: linear-gradient(135deg, #5b7cff, #7fe3ff); color: #08122e; }

/* the attack's summary */
.wover.raid h2 { color: #ffd36e; }
.wo-raid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0; }
.wo-raid span { display: flex; flex-direction: column; gap: 3px; padding: 8px; border-radius: 12px; background: rgba(127, 140, 200, .1); text-align: center; }
.wo-raid small { font: 800 10px/1.2 Nunito, sans-serif; color: var(--muted); }
.wo-raid b { font: 700 18px/1 Fredoka, sans-serif; color: var(--text); }
/* the final boss in the fight */
.wf-boss.raid { background: linear-gradient(90deg, #ffb347, #9b4dff); color: #fff; }

/* 16/11 (owner): the new world released the moment the final boss falls: the server-wide announcement, the banner on
   Home and on the map, and the 3D bridge being built (bridge3d.js). Nobody crosses yet. */
.wwd-bridge.built { border: 1px solid rgba(183, 155, 255, .6); background: radial-gradient(120% 160% at 0% 0%, rgba(255, 207, 106, .26), transparent 55%),
  radial-gradient(120% 160% at 100% 100%, rgba(150, 110, 255, .4), transparent 60%), #130b2b; box-shadow: 0 0 18px rgba(160, 120, 255, .25); }
.wwd-bridge.built b { color: #fff; }
.wwd-bridge.built small { color: #d9cdfa; }
/* the bridge's buttons keep their gold-to-violet in both looks (light.css paints every .btn: same weight, this file loads later) */
html .btn.wwd-bwatch, html .btn.wn-go, html #bridge3d .btn.br-close { background: linear-gradient(135deg, #ffcf6a, #9ff0ff 55%, #b79bff); color: #160a33;
  box-shadow: 0 4px 0 #6b52c9, 0 6px 16px rgba(140, 100, 255, .3); text-shadow: none; }
html #bridge3d .btn.br-again { background: rgba(255, 255, 255, .1); color: #f4ecff; border: 1px solid rgba(255, 255, 255, .25); box-shadow: none; }

.wnews-box { overflow: hidden; }
.wnews { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wn-kick { font: 800 11px/1.2 Nunito, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #ffd36e;
  padding: 5px 10px; border-radius: 99px; background: rgba(255, 211, 110, .14); border: 1px solid rgba(255, 211, 110, .4); }
.wn-art { position: relative; width: 120px; height: 120px; display: grid; place-items: center; margin: 2px 0; }
.wn-art::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #05020c;
  box-shadow: 0 0 0 3px rgba(255, 196, 64, .8), 0 0 30px 8px rgba(255, 170, 40, .45); animation: wn-glow 2.4s ease-in-out infinite; }
.wn-art img { position: relative; width: 120px; height: 120px; object-fit: contain; filter: grayscale(.5) brightness(.85) drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.wn-ko { position: absolute; right: -6px; bottom: 6px; padding: 3px 8px; border-radius: 9px; transform: rotate(-8deg);
  font: 700 16px/1 Fredoka, sans-serif; font-style: normal; color: #fff; background: #ff4f6f; box-shadow: 0 3px 10px rgba(255, 79, 111, .5); }
.wnews h2 { margin: 0; font: 700 23px/1.1 Fredoka, sans-serif; color: #ffd36e; }
.wnews p { margin: 0; font: 700 14px/1.45 Nunito, sans-serif; color: var(--text); }
.wnews p b { color: #7fe3ff; }
.wnews .btn { width: 100%; }
@keyframes wn-glow { 50% { box-shadow: 0 0 0 3px rgba(183, 155, 255, .85), 0 0 34px 10px rgba(140, 100, 255, .5); } }

.wn-banner { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 12px; padding: 12px 14px; border-radius: 18px; cursor: pointer;
  text-align: left; color: #f4ecff; border: 1px solid rgba(183, 155, 255, .55);
  background: radial-gradient(120% 180% at 0% 0%, rgba(255, 207, 106, .3), transparent 55%), radial-gradient(120% 180% at 100% 100%, rgba(150, 110, 255, .45), transparent 60%), #130b2b;
  box-shadow: 0 8px 26px rgba(90, 60, 200, .3); position: relative; overflow: hidden; }
.wn-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%);
  transform: translateX(-100%); animation: wn-shine 3.2s ease-in-out infinite; pointer-events: none; }
.wn-banner.seen::after { animation: none; }
.wn-b-ico { font-size: 30px; filter: drop-shadow(0 0 10px rgba(159, 240, 255, .7)); }
.wn-banner > .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wn-banner small { font: 800 10px/1.2 Nunito, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: #ffd36e; }
.wn-banner b { font: 700 16px/1.15 Fredoka, sans-serif; }
.wn-banner em { font: 700 12px/1.3 Nunito, sans-serif; font-style: normal; color: #c9bde6; }
.wn-banner .chev { font-size: 22px; color: #9ff0ff; }
@keyframes wn-shine { 0%, 40% { transform: translateX(-100%); } 75%, 100% { transform: translateX(100%); } }

#bridge3d { position: fixed; inset: 0; z-index: 9000; background: #03040c; opacity: 0; transition: opacity .35s ease; overflow: hidden;
  color: #f4ecff; -webkit-user-select: none; user-select: none; }
#bridge3d.on { opacity: 1; }
#bridge3d.out { opacity: 0; }
#bridge3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.br-top { position: absolute; left: 0; right: 0; top: max(18px, env(safe-area-inset-top)); padding: 0 64px; display: flex; flex-direction: column; align-items: center;
  gap: 5px; text-align: center; pointer-events: none; transition: opacity .5s ease, transform .5s ease; }
#bridge3d.top-off .br-top { opacity: 0; transform: translateY(-10px); }
.br-kick { font: 800 11px/1.2 Nunito, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #ffd36e; padding: 5px 10px; border-radius: 99px;
  background: rgba(10, 6, 24, .55); border: 1px solid rgba(255, 211, 110, .4); }
.br-title { font: 700 clamp(21px, 5.6vw, 34px)/1.1 Fredoka, sans-serif; text-shadow: 0 2px 16px rgba(0, 0, 0, .8), 0 0 24px rgba(140, 110, 255, .45); }
.br-sub { font: 700 14px/1.35 Nunito, sans-serif; color: #e0d6ff; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.br-sub:empty { display: none; }
.br-skip { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 12px; padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(10, 6, 24, .55); color: #e0d6ff; font: 800 12px/1 Nunito, sans-serif; cursor: pointer; }
.br-prog { position: absolute; left: 50%; bottom: max(26px, env(safe-area-inset-bottom)); transform: translate(-50%, 10px); width: min(320px, 76vw);
  display: flex; align-items: center; gap: 10px; opacity: 0; transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
#bridge3d.building .br-prog { opacity: 1; transform: translate(-50%, 0); }
.br-prog i { flex: 1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.br-prog i b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ffcf6a, #9ff0ff 55%, #b79bff);
  box-shadow: 0 0 12px rgba(159, 240, 255, .7); }
.br-pt { min-width: 40px; font: 700 15px/1 Fredoka, sans-serif; font-variant-numeric: tabular-nums; color: #9ff0ff; text-align: right; }
.br-end { position: absolute; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); width: min(440px, calc(100% - 24px)); transform: translate(-50%, 24px);
  opacity: 0; pointer-events: none; transition: opacity .5s ease, transform .5s ease; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 16px 14px; border-radius: 22px; text-align: center; background: rgba(12, 8, 30, .78); border: 1px solid rgba(183, 155, 255, .45);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#bridge3d.end .br-end { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.br-ico { font-size: 30px; line-height: 1; filter: drop-shadow(0 0 12px rgba(159, 240, 255, .8)); }
.br-end h2 { margin: 0; font: 700 21px/1.15 Fredoka, sans-serif; color: #fff; }
.br-lock { margin: 0; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 12px; background: rgba(255, 211, 110, .12);
  border: 1px solid rgba(255, 211, 110, .4); font: 700 13px/1.35 Nunito, sans-serif; color: #ffe9b5; text-align: left; }
.br-lock i { font-style: normal; font-size: 18px; }
.br-sec { font: 700 12px/1.35 Nunito, sans-serif; color: #c9bde6; }
.br-sec:empty { display: none; }
.br-btns { display: flex; gap: 8px; width: 100%; margin-top: 4px; }
.br-btns .btn { flex: 1; }
body.bridge-open { overflow: hidden; }

/* 16/11: the owner's shortcut to the universe's master log (static/universo.html), at the top of the worlds panel */
.wwd-ulog { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; text-decoration: none;
  font: 800 12px/1 Nunito, sans-serif; color: #251a00; background: linear-gradient(135deg, #ffd36e, #ffb347); box-shadow: 0 3px 10px rgba(255, 179, 71, .35); }
.wwd-ulog span { font-size: 11px; }
/* 16/11 (owner: "build the crossing"): Planet Aurora is open: cross to it from Origin's panel, come back from Aurora's */
html .btn.wwd-cross { color: #06231f; background: linear-gradient(135deg, #7dffcf, #5adcff 55%, #b48cff); box-shadow: 0 3px 12px rgba(90, 255, 200, .35); border: 0; }
.wwd-bridge.open.back { border-color: rgba(180, 140, 255, .6); background: radial-gradient(120% 160% at 0% 0%, rgba(90, 255, 200, .16), transparent 55%), rgba(120, 90, 255, .1); }
/* 18/11 (owner: "don't show how many creatures or fusions the world has; only the % discovered and the guardians, and
   make the interface prettier"): a starry card, the % in a glowing ring beside the planet's name and the guardians' count,
   and the ten guardians as round medallions (one row on a wide screen); a fallen one glows in its type's colour with the
   guardian's picture, a check and who beat it first */
.wwd { position: relative; overflow: hidden; gap: 12px; padding: 14px 14px 12px; border-radius: 22px;
  background: radial-gradient(120% 100% at 0% 0%, rgba(127, 227, 255, .13), transparent 55%),
    radial-gradient(110% 90% at 100% 100%, rgba(180, 140, 255, .16), transparent 60%), var(--panel); }
.wwd::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, .8), transparent), radial-gradient(1px 1px at 68% 14%, rgba(255, 255, 255, .6), transparent),
    radial-gradient(1.5px 1.5px at 84% 34%, rgba(255, 255, 255, .7), transparent), radial-gradient(1px 1px at 40% 8%, rgba(255, 255, 255, .55), transparent),
    radial-gradient(1px 1px at 93% 68%, rgba(255, 255, 255, .5), transparent), radial-gradient(1.5px 1.5px at 30% 46%, rgba(255, 255, 255, .45), transparent),
    radial-gradient(1px 1px at 56% 40%, rgba(255, 255, 255, .5), transparent); }
html.light .wwd::before { display: none; }
.wwd > * { position: relative; }
.wwd-world { flex-direction: row; align-items: center; gap: 16px; padding: 2px 2px 14px; border-bottom: 1px solid var(--line); }
.wwd-ring { position: relative; flex: none; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 227, 255, .14), transparent 62%); }
.wwd-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.wwd-ring circle { fill: none; stroke-width: 9; }
.wwd-ring .wr-bg { stroke: rgba(127, 140, 200, .2); }
.wwd-ring .wr-fg { stroke: url(#wwdRingG); stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(127, 227, 255, .7)); animation: wwdRing 1.2s .1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes wwdRing { from { stroke-dasharray: 0 100; } }
.wwd-ring b { position: relative; font: 700 23px/1 Fredoka, sans-serif; letter-spacing: -.3px; color: var(--text); }
.wwd-ring b em { font-style: normal; font-size: 13px; margin-left: 1px; color: #7fe3ff; }
html.light .wwd-ring b em { color: #2f7fd6; }
.wwd-wt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wwd-wt > b { font: 700 20px/1.1 Fredoka, sans-serif; color: var(--text); }
.wwd-wt > small { font: 700 11.5px/1.3 Nunito, sans-serif; color: var(--muted); }
.wwd-gcount { align-self: flex-start; margin-top: 5px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 99px;
  font: 800 12px/1 Nunito, sans-serif; color: #ffd36e; background: rgba(255, 211, 110, .12); border: 1px solid rgba(255, 211, 110, .38); }
.wwd-gcount.all { color: #7ff0b8; background: rgba(63, 208, 138, .14); border-color: rgba(63, 208, 138, .45); }
html.light .wwd-gcount { color: #93560a; background: rgba(255, 190, 60, .16); border-color: rgba(200, 140, 20, .4); }
html.light .wwd-gcount.all { color: #11744a; }
.wwd-sub { margin-top: 0; }
.wwd-gs { gap: 14px 6px; padding: 2px 0 4px; }
@media (min-width: 640px) { .wwd-gs { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
.wwd-g { gap: 6px; }
.wwd-gi { width: 52px; height: 52px; border-radius: 50%; border: 0; opacity: 1;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--c) 24%, transparent), color-mix(in srgb, var(--c) 7%, transparent) 72%);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 28%, transparent); }
.wwd-gi::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--c) 38%, transparent); pointer-events: none; }
.wwd-gi svg { width: 22px; height: 22px; opacity: .6; }
.wwd-gi .wwd-lock { display: none; }
.wwd-g.down .wwd-gi { border: 0; background: radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--c) 60%, #fff) 0, color-mix(in srgb, var(--c) 50%, #140c2c) 72%);
  box-shadow: 0 0 0 2px var(--c), 0 0 20px color-mix(in srgb, var(--c) 60%, transparent); }
.wwd-g.down .wwd-gi::after { border: 2px dotted color-mix(in srgb, var(--c) 60%, transparent); animation: wwdSpin 16s linear infinite; }
.wwd-g.down .wwd-gi img { width: 50px; height: 50px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.wwd-ok { right: -6px; bottom: -6px; width: 20px; height: 20px; z-index: 1; }
.wwd-g small { font-size: 10.5px; }
.wwd-g:not(.down) small { opacity: .8; }
.wwd-by { max-width: 100%; margin-top: -3px; font: 800 9.5px/1.2 Nunito, sans-serif; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: color-mix(in srgb, var(--c) 65%, var(--text)); }
@keyframes wwdSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wwd-g.down .wwd-gi::after, .wwd-ring .wr-fg { animation: none; } }
@media (min-width: 720px) {     /* 18/11: on a wide screen the log button floats in the corner and the medallions grow */
  .wwd-ulog { position: absolute; top: 14px; right: 14px; z-index: 2; }
  .wwd-ring { width: 104px; height: 104px; }
  .wwd-gi { width: 60px; height: 60px; }
  .wwd-gi svg { width: 25px; height: 25px; }
  .wwd-g.down .wwd-gi img { width: 58px; height: 58px; }
}

/* 19/11: the bridge's prerequisites, a checklist */
.wwd-req { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.wwd-req li { display: flex; gap: 7px; align-items: flex-start; font: 700 12.5px/1.35 Nunito, sans-serif; }
.wwd-req li i { font-style: normal; flex: none; }
.wwd-req li > span { min-width: 0; }      /* 20/11: a long step wraps instead of running off the card */
.wwd-req li em { font-style: normal; font-weight: 800; padding: 0 6px; border-radius: 99px; background: rgba(255, 210, 61, .22); white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wwd-req li.ok span { opacity: .7; text-decoration: line-through; }
