/* Jimbo Social 3D World */
.jw-host { position: relative; }
.jw-chip { position: absolute; right: .6rem; top: .6rem; z-index: 4; display: inline-flex; align-items: center; gap: .35rem; min-height: 36px;
  padding: .35rem .7rem .35rem .45rem; border: 0; border-radius: 999px; cursor: pointer; color: #fff;
  font: 800 .74rem/1 var(--font-body); letter-spacing: .03em;
  background: linear-gradient(135deg, rgb(20 22 28 / .72), rgb(30 24 12 / .72)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgb(255 190 80 / .45), 0 0 20px rgb(255 170 40 / .28); transition: transform .18s ease, box-shadow .18s ease; }
.jw-chip svg { width: 17px; height: 17px; fill: none; stroke: #ffb534; stroke-width: 1.8; stroke-linejoin: round; animation: jwSpin 6s ease-in-out infinite; }
.jw-chip b { font-weight: 900; }
.jw-chip span { font-weight: 600; opacity: .8; font-size: .7rem; }
.jw-chip:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgb(255 190 80 / .8), 0 0 28px rgb(255 170 40 / .45); }
.jw-chip:focus-visible { outline: 3px solid #ffb534; outline-offset: 2px; }
.js-media--2 .jw-chip span, .js-media--3 .jw-chip span, .js-media--4 .jw-chip span { display: none; }
@keyframes jwSpin { 0%, 100% { transform: rotateY(0) } 50% { transform: rotate(18deg) } }
.jw-lbbtn { position: absolute; left: 50%; bottom: 2.4rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .55rem 1.1rem;
  border: 0; border-radius: 999px; cursor: pointer; background: #ffb534; color: #14110a; font: 800 .86rem/1 var(--font-body); box-shadow: 0 10px 30px rgb(0 0 0 / .45); }
.jw-lbbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

html.jw-lock, html.jw-lock body { overflow: hidden; }
.jw { position: fixed; inset: 0; z-index: 2147483000; background: #050608; color: #f4f1ea; opacity: 0; transition: opacity .25s ease;
  font-family: var(--font-body); overscroll-behavior: contain; touch-action: none; }
.jw.is-in { opacity: 1; }
.jw__bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) brightness(.32) saturate(1.3); transform: scale(1.1); }
.jw__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.jw__cv:active { cursor: grabbing; }
.jw.is-relight .jw__cv { cursor: crosshair; }
.jw__sun { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff6d8 0 18%, rgb(255 190 80 / .7) 30%, rgb(255 150 30 / 0) 70%); transition: opacity .3s; }
.jw.is-relight .jw__sun { opacity: 1; }

.jw__top { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: max(.8rem, env(safe-area-inset-top)) 1rem .8rem; background: linear-gradient(rgb(0 0 0 / .55), transparent); pointer-events: none; }
.jw__brand { display: inline-flex; align-items: center; gap: .45rem; font: 900 .95rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.jw__brand svg { width: 22px; height: 22px; fill: none; stroke: #ffb534; stroke-width: 1.8; stroke-linejoin: round; }
.jw__brand i { font-style: normal; font: 800 .6rem/1 var(--font-body); letter-spacing: .12em; padding: .25rem .4rem; border-radius: 4px; background: rgb(255 181 52 / .18); color: #ffc65c; }
.jw__tools { display: flex; gap: .5rem; pointer-events: auto; }
.jw__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; background: rgb(255 255 255 / .12); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.jw__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.jw__ic:hover { background: rgb(255 255 255 / .2); }
.jw button:focus-visible { outline: 3px solid #ffb534; outline-offset: 2px; }
.jw:not(.is-ready) [data-jw="reset"] { display: none; }

.jw__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .8rem; padding: 1.5rem; text-align: center; }
.jw__load[hidden] { display: none; }
.jw__ring { --p: 0; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#ffb534 calc(var(--p) * 1%), rgb(255 255 255 / .1) 0); -webkit-mask: radial-gradient(circle, transparent 48px, #000 49px); mask: radial-gradient(circle, transparent 48px, #000 49px); position: relative; }
.jw__ring b { position: absolute; font: 900 1.2rem/1 var(--font-display); color: #fff; }
.jw__load p { margin: 0; font-weight: 600; }
.jw__load small { color: rgb(255 255 255 / .6); }
.jw__ring + p { margin-top: -.2rem; }
.jw__intro { max-width: 30rem; display: grid; justify-items: center; gap: .7rem; padding: 1.6rem 1.4rem; border-radius: 20px;
  background: rgb(14 15 19 / .78); box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 30px 80px rgb(0 0 0 / .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.jw__intro > svg { width: 46px; height: 46px; fill: none; stroke: #ffb534; stroke-width: 1.5; stroke-linejoin: round; animation: jwSpin 5s ease-in-out infinite; }
.jw__intro h2 { margin: 0; font: 900 clamp(1.4rem, 1rem + 2vw, 2rem)/1.05 var(--font-display); letter-spacing: -.01em; }
.jw__intro p { margin: 0; color: rgb(255 255 255 / .82); font-weight: 400; line-height: 1.5; }
.jw__intro .jw__small { font-size: .82rem; color: rgb(255 255 255 / .6); }
.jw__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .4rem; }
.jw__go, .jw__no { min-height: 46px; padding: .7rem 1.3rem; border-radius: 999px; border: 0; cursor: pointer; font: 800 .92rem/1 var(--font-body); }
.jw__go { background: #ffb534; color: #14110a; }
.jw__no { background: rgb(255 255 255 / .1); color: #fff; }
.jw__err { max-width: 26rem; color: #ffd7a0; }

.jw__bar { position: absolute; left: 50%; bottom: calc(max(.8rem, env(safe-area-inset-bottom)) + 2.2rem); transform: translateX(-50%); width: min(560px, calc(100% - 1.6rem));
  display: grid; gap: .55rem; justify-items: center; animation: jwUp .5s .2s ease both; }
.jw__bar[hidden] { display: none; }
@keyframes jwUp { from { opacity: 0; transform: translate(-50%, 16px); } }
.jw__seg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; padding: 4px; border-radius: 16px; background: rgb(14 15 19 / .7);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.jw__seg button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; border: 0; border-radius: 12px; background: none; color: rgb(255 255 255 / .75);
  font: 700 .82rem/1 var(--font-body); cursor: pointer; transition: background .2s, color .2s; }
.jw__seg button svg, .jw__tg svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.jw__seg [data-m="points"] svg { fill: currentColor; stroke: none; }
.jw__seg button[aria-pressed="true"] { background: #ffb534; color: #14110a; }
.jw__row { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.jw__tg { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .45rem .85rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgb(14 15 19 / .7); color: #fff; font: 700 .8rem/1 var(--font-body); box-shadow: 0 0 0 1px rgb(255 255 255 / .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.jw__tg[aria-pressed="true"] { box-shadow: 0 0 0 1.5px #ffb534, 0 0 18px rgb(255 181 52 / .3); color: #ffd48a; }
.jw__tg--rec .jw-fill { fill: #ff4d4d; stroke: none; }
.jw.is-rec .jw__tg--rec { color: #ff8a8a; box-shadow: 0 0 0 1.5px #ff4d4d; }
.jw.is-rec .jw__tg--rec .jw-fill { animation: jwBlink 1s steps(2) infinite; }
@keyframes jwBlink { 50% { opacity: .2; } }
.jw__hint { margin: 0; font-size: .78rem; color: rgb(255 255 255 / .7); text-shadow: 0 1px 6px rgb(0 0 0 / .8); text-align: center; }
.jw__note { position: absolute; left: 0; right: 0; bottom: max(.5rem, env(safe-area-inset-bottom)); margin: 0; padding: 0 1rem; text-align: center; font-size: .7rem; color: rgb(255 255 255 / .5); pointer-events: none; }
@media (max-width: 420px) { .jw__seg button span { font-size: .74rem; } .jw__tg span { font-size: .74rem; } }
@media (prefers-reduced-motion: reduce) { .jw-chip svg, .jw__intro > svg, .jw__bar { animation: none; } .jw { transition: none; } }
