/* ALEC WORLD (/world): ALEC claim styles (same as /agents) + the live world. Loaded after site.css. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.h2 { margin: 0; font: 900 clamp(26px, 7vw, 40px)/1.05 var(--disp); color: #fff; }
.h2 em { display: block; font-style: normal; color: var(--bnb2); }
html[data-lang="zh"] .h2 { font-family: var(--huang); font-weight: 400; }
.lead { margin: 10px 0 18px; color: var(--soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid transparent; transition: border-color .3s, background .3s; }
.num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 900 16px/1 var(--disp); color: var(--gold); border: 1.5px solid var(--line2); background: #1B1A12; }
.s-tx { min-width: 0; }
.s-tx b { display: block; font-size: 16px; line-height: 1.3; }
.s-tx small { display: block; margin-top: 3px; color: var(--mute); font-size: 13.5px; line-height: 1.35; }
.s-go { display: inline-flex; align-items: center; justify-content: center; min-width: 84px; min-height: 44px; padding: 0 14px; border-radius: 12px; text-decoration: none; cursor: pointer;
  font: 800 14px/1 var(--body); color: #1A1200; background: linear-gradient(180deg, var(--bnb2), var(--bnb)); }
.s-go.wait { pointer-events: none; opacity: .75; }
.step.now { border-color: var(--line2); background: #17160F; }
.step.done .num { background: var(--green); border-color: var(--green); color: #04150D; font-size: 0; }
.step.done .num::before { content: '✓'; font-size: 18px; }
.step.done .s-go { background: transparent; color: var(--green); border: 1px solid rgba(46, 189, 133, .4); }
.step.last { grid-template-columns: 38px 1fr; align-items: start; }
.s-form { display: grid; gap: 10px; min-width: 0; }
.s-form > b { font-size: 16px; line-height: 1.3; padding-top: 9px; }
.fld { display: flex; align-items: center; border-radius: 12px; background: #0A0C10; border: 1px solid #2A2E37; }
.fld:focus-within { border-color: var(--bnb); }
.fld span { flex: none; width: 36px; text-align: center; color: var(--gold); font-weight: 800; }
.fld input { flex: 1; min-width: 0; height: 50px; border: 0; background: none; color: var(--text); font: 600 16px var(--body); outline: none; padding-right: 12px; }
.fld input::placeholder { color: #5B626E; }
.pick-k { margin: 4px 0 0; font: 800 11px/1 var(--disp); letter-spacing: .12em; color: var(--mute); text-transform: uppercase; }
.pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .pick { grid-template-columns: repeat(4, 1fr); } }
.pick button { display: grid; justify-items: start; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid #2A2E37; background: #0A0C10; color: var(--text); cursor: pointer; text-align: left; }
.pick button i { font-style: normal; font-size: 18px; }
.pick button b { font-size: 14px; }
.pick button small { color: var(--mute); font-size: 12px; }
.pick button[aria-pressed="true"] { border-color: var(--bnb); background: #1A170C; box-shadow: 0 0 0 1px var(--bnb) inset; }
.pick.guild button { grid-template-columns: 14px 1fr; align-items: center; gap: 8px; }
.pick.guild button i { width: 14px; height: 14px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); }
.pick.guild button[aria-pressed="true"] { border-color: var(--g); box-shadow: 0 0 0 1px var(--g) inset; }
.f-err { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(232, 64, 44, .12); border: 1px solid rgba(232, 64, 44, .4); color: #FFB4A8; font-size: 14px; }
.s-form .cta { width: 100%; font-size: 17px; }
.s-form .cta[disabled] { filter: grayscale(.7) brightness(.7); cursor: not-allowed; }
.f-note { margin: 0; font-size: 13px; color: var(--mute); text-align: center; }
.spin { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(0, 0, 0, .25); border-top-color: #1A1200; animation: rot .7s linear infinite; }
.claim { padding: 24px 18px; border-radius: 22px; background: radial-gradient(120% 80% at 50% 0%, rgba(240, 185, 11, .16), rgba(240, 185, 11, .02) 60%), #0E0C07;
  border: 2px solid var(--bnb); box-shadow: 0 0 0 6px rgba(240, 185, 11, .08), 0 24px 60px rgba(0, 0, 0, .5); scroll-margin-top: 12px; }
.c-tag { margin: 0 0 12px; display: inline-flex; align-items: stretch; border-radius: 8px; overflow: hidden; border: 1px solid rgba(252, 213, 53, .45); font: 800 12px/1 var(--disp); letter-spacing: .08em; }
.c-tag b { background: var(--red); color: #fff; padding: 8px 10px; }
.c-tag span { background: rgba(6, 7, 10, .7); color: var(--bnb2); padding: 8px 10px; }
.c-tag.bonus b { background: #2a2e37; color: var(--gold); }
.c-h { margin: 0; font: 900 clamp(30px, 8.6vw, 54px)/1.02 var(--disp); color: #fff; }
.c-h em { font-style: normal; display: block; background: linear-gradient(180deg, #FFF3C4, #FCD535 45%, #C99406); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-h .c-t { color: var(--bnb2); }
.cta.big { min-height: 62px; font-size: 19px; }
.dropst { padding: 22px 18px; border-radius: 22px; background: #0E0C07; border: 2px solid var(--bnb); text-align: center; }
.d-k { margin: 0; font: 800 12px/1 var(--disp); letter-spacing: .14em; color: var(--gold); }
.d-amt { margin: 10px 0 14px; font: 900 clamp(40px, 12vw, 64px)/1 var(--disp); color: var(--bnb2); }
.d-amt span { font-size: .45em; color: #fff; }
.d-steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.d-steps li { display: grid; justify-items: center; gap: 6px; font-size: 12.5px; color: var(--mute); }
.d-steps i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #3a3f4a; display: block; }
.d-steps li.on { color: #fff; } .d-steps li.on i { border-color: var(--bnb); background: radial-gradient(circle, var(--bnb) 40%, transparent 42%); }
.d-steps li.ok { color: var(--green); } .d-steps li.ok i { border-color: var(--green); background: var(--green); }
.d-msg { margin: 0 0 14px; color: var(--soft); font-size: 15px; }
.d-msg b { color: var(--bnb2); }
.d-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lock { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(252, 213, 53, .07); border: 1px dashed var(--line2); color: var(--gold); font-size: 14.5px; }
.join.locked .agent-form { opacity: .45; pointer-events: none; }
.agent-form { display: grid; gap: 10px; }
.c-est { margin: 8px 0 0; font-size: 13.5px; color: var(--mute); }
.d-usd { margin: -6px 0 14px; color: var(--soft); font-size: 15px; }
.d-usd b { color: #7CF0B9; }
@keyframes rot { to { transform: rotate(360deg); } }

/* STOXA WORLD (/world): hero → claim → live world → cities → events → leaderboard → FAQ */
.wpg { --wg: #FCD535; --wg2: #2EBD85; --sky: #5fd4ff; --gold: #FFE7A0; --bear: #E8402C; --gpanel: rgba(10, 9, 6, .9); --dim: #5B626E; --line-2: rgba(240, 185, 11, .32); --mono: ui-monospace, 'SF Mono', Menlo, monospace; --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  background: transparent; }
.wg { color: var(--wg); }
.wbtn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: 54px; padding: 0 26px; border-radius: 16px; white-space: nowrap;
  background: linear-gradient(180deg, #FFE27A, var(--bnb) 55%, #D9A406); color: #0B0B0B; font: 800 15px/1 var(--body); letter-spacing: .02em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -3px 0 rgba(0, 0, 0, .18) inset, 0 12px 34px -10px rgba(252, 213, 53, .7); transition: transform .2s var(--ease-spring), filter .2s; }
.wbtn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.wbtn:active { transform: translateY(1px) scale(.98); }
.wbtn[disabled] { opacity: .5; pointer-events: none; }
.wbtn.ghost { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset; }
.wbtn.small { height: 44px; padding: 0 18px; font-size: 14px; border-radius: 13px; }
.wmute { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 17px; }

/* ---------------- hero ---------------- */
.whero { position: relative; isolation: isolate; padding: 96px max(16px, calc((100% - 1180px) / 2)) 26px; min-height: min(92svh, 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.wh-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.wh-poster, .wh-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wh-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 7, 10, .55) 0%, rgba(4, 7, 10, .15) 30%, rgba(4, 7, 10, .55) 62%, var(--ink) 100%),
  radial-gradient(80% 60% at 20% 70%, rgba(4, 7, 10, .7), transparent 70%); }
.wh-kick { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 13px; border-radius: 99px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(252, 213, 53, .35);
  font: 700 11.5px/1 var(--mono); letter-spacing: .08em; color: var(--wg); backdrop-filter: blur(6px); }
.wh-kick .dot, .wworld .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; position: relative; }
@keyframes wpulse { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); } }
.wh-title { margin: 14px 0 0; font: 900 clamp(52px, 10vw, 128px)/.88 var(--disp); letter-spacing: -.04em; text-shadow: 0 8px 40px rgba(0, 0, 0, .6); }
.wh-title span { color: var(--wg); text-shadow: 0 0 40px rgba(252, 213, 53, .45), 0 8px 40px rgba(0, 0, 0, .6); }
.wh-sub { max-width: 640px; margin: 16px 0 0; font-size: clamp(16px, 1.6vw, 19px); color: #dfe6dc; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.wh-sub b { color: #fff; }
.wh-amounts { display: flex; align-items: stretch; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.wh-amt { padding: 14px 18px; border-radius: 18px; background: rgba(6, 10, 12, .72); border: 1px solid rgba(252, 213, 53, .45); backdrop-filter: blur(8px); min-width: 220px; }
.wh-amt small { display: block; font: 700 11px/1 var(--mono); letter-spacing: .1em; color: var(--mute); }
.wh-amt b { display: block; margin-top: 8px; font: 900 clamp(26px, 3.4vw, 38px)/1 var(--disp); color: var(--wg); letter-spacing: -.02em; }
.wh-amt b i { font-style: normal; font-size: .55em; color: #fff; }
.wh-amt span { display: block; margin-top: 6px; font-size: 13px; color: var(--mute); }
.wh-amt.bonus { border-color: rgba(255, 212, 90, .45); }
.wh-amt.bonus b { color: var(--gold); }
.wh-plus { align-self: center; font: 900 30px/1 var(--disp); color: var(--mute); }
.wh-cta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.wh-stats { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.wh-stats li { padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .5); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.wh-stats b { display: block; font: 800 20px/1 var(--disp); color: #fff; }
.wh-stats span { font-size: 12px; color: var(--mute); }
.wh-cities { list-style: none; margin: 22px 0 0; position: relative; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.wh-cities li { padding: 10px 12px; border-radius: 14px; background: rgba(6, 10, 12, .7); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.wh-cities b { display: block; font: 700 13px/1.2 var(--body); }
.wh-cities span { display: flex; justify-content: space-between; gap: 6px; margin-top: 4px; font: 600 11.5px/1 var(--mono); color: var(--mute); }
.mk { font: 800 10px/1 var(--mono); letter-spacing: .06em; padding: 3px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--mute); }
.mk.open { background: rgba(125, 255, 106, .16); color: var(--wg2); }
.mk.bell { background: var(--gold); color: #000; }
@media (max-width: 980px) { .wh-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .whero { padding-top: 26px; min-height: 0; }
  .wh-amt { min-width: 0; flex: 1 1 140px; padding: 12px 14px; }
  .wh-plus { display: none; }
  .wh-cta .wbtn { flex: 1 1 100%; }
  .wh-stats li { flex: 1 1 calc(50% - 10px); }
  .wh-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.wb-amts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.wb-amts div { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.wb-amts small { display: block; font: 700 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--mute); }
.wb-amts b { display: block; margin: 8px 0 4px; font: 900 24px/1 var(--disp); color: var(--wg); }
.wb-amts div:nth-child(2) b { color: var(--gold); }
.wb-amts div:nth-child(3) b { color: #fff; }
.wb-amts span { font-size: 12px; color: var(--mute); }
.banks { display: grid; gap: 6px; margin: 4px 0 14px; }
.banks .bk { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 212, 90, .06); border: 1px solid rgba(255, 212, 90, .2); font-size: 13.5px; }
.banks .bk em { font-style: normal; color: var(--mute); }
/* ---------------- the live world ---------------- */
.wworld { padding: 30px 0 30px; scroll-margin-top: 0; }
.ww-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; flex-wrap: wrap; }
.ww-head .lede { max-width: 640px; }
.ww-stats { display: flex; gap: 10px; margin: 0; }
.ww-stats div { padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.ww-stats dt { font: 600 11px/1 var(--mono); color: var(--mute); }
.ww-stats dd { margin: 6px 0 0; font: 800 20px/1 var(--disp); }
.ww-note { margin-top: 10px; color: var(--dim); font-size: 13px; text-align: center; }
.game { position: relative; width: min(1400px, 100% - 24px); margin-inline: auto; aspect-ratio: 16 / 9; max-height: 86svh; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: #0a0906; border: 1px solid rgba(252, 213, 53, .25); box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .02);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; }
@media (max-width: 760px) { .game { aspect-ratio: auto; height: min(78svh, 720px); width: calc(100% - 16px); border-radius: 18px; } }
.game.fs { position: fixed; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; z-index: 300; border: 0; }
body.gfs { overflow: hidden; }
.g-cover { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; }
.g-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.6); }
.g-cover-in { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 20px; }
.g-cover-in b { font: 900 clamp(30px, 5vw, 60px)/1 var(--disp); letter-spacing: -.03em; text-shadow: 0 6px 30px rgba(0, 0, 0, .7); }
.g-cover-in span { color: #dfe6dc; font-size: 15px; max-width: 420px; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.g-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; }

/* HUD */
.hud { position: absolute; inset: 0; z-index: 10; pointer-events: none; font-family: var(--body); }
.hud > * { pointer-events: auto; }
.h-top { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; pointer-events: none; }
.h-top > * { pointer-events: auto; }
.h-city { padding: 8px 12px; border-radius: 14px; background: var(--gpanel); border: 1px solid var(--line-2); display: grid; gap: 3px; min-width: 0; }
.h-city b { font: 800 15px/1.1 var(--disp); white-space: nowrap; }
.h-city span { display: flex; gap: 6px; align-items: center; font: 600 11.5px/1 var(--mono); color: var(--mute); white-space: nowrap; }
.h-right { display: flex; gap: 6px; align-items: center; }
.h-pill { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 12px; background: var(--gpanel); border: 1px solid var(--line-2); font: 800 14px/1 var(--disp); white-space: nowrap; }
.h-pill img { width: 22px; height: 22px; }
.h-pill.coins { color: var(--gold); }
.h-pill.on { font: 700 12px/1 var(--mono); color: var(--mute); }
.h-pill.on i { width: 8px; height: 8px; border-radius: 50%; background: #3dff6e; box-shadow: 0 0 8px #3dff6e; }
.h-pill.bump { animation: hbump .5s var(--ease-spring); }
@keyframes hbump { 40% { transform: scale(1.16); } }
.h-ev { position: absolute; left: 50%; top: 60px; transform: translateX(-50%); padding: 7px 14px; border-radius: 99px; background: rgba(255, 212, 90, .95); color: #1b1300; font: 800 12.5px/1.2 var(--body);
  white-space: nowrap; box-shadow: 0 8px 30px rgba(0, 0, 0, .4); }
.h-ev.cool { background: var(--gpanel); color: var(--text); border: 1px solid var(--line-2); font-weight: 600; }
.h-ev button { margin-left: 8px; padding: 3px 8px; border-radius: 99px; background: #000; color: var(--gold); font: 800 11px/1 var(--body); }
.h-side { position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 8px; }
.g-btn { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--gpanel); border: 1px solid var(--line-2); font-size: 22px; line-height: 1;
  position: relative; transition: transform .15s; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.g-btn:active { transform: scale(.92); }
.g-btn small { position: absolute; bottom: -1px; left: 0; right: 0; font: 700 8.5px/1.6 var(--mono); color: var(--mute); text-align: center; }
.g-btn .badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--bear); color: #fff; font: 800 10px/18px var(--body); text-align: center; }
.h-mini { position: absolute; right: 10px; bottom: 10px; width: 176px; height: 99px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.h-mini canvas { width: 100%; height: 100%; }
.h-act { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; }
.h-act .wbtn { height: 50px; padding: 0 20px; font-size: 15px; animation: actin .35s var(--ease-spring); }
@keyframes actin { from { transform: translateY(20px) scale(.9); opacity: 0; } }
.h-feed { position: absolute; right: 10px; top: 60px; display: grid; gap: 4px; justify-items: end; max-width: 52%; pointer-events: none; }
.h-feed div { padding: 5px 10px; border-radius: 10px; background: rgba(0, 0, 0, .62); font: 600 12px/1.3 var(--body); color: #e6ece2; animation: feedin .4s var(--ease-out); }
@keyframes feedin { from { transform: translateX(16px); opacity: 0; } }
.h-tug { position: absolute; left: 50%; top: 96px; transform: translateX(-50%); width: min(420px, 80%); padding: 8px 10px; border-radius: 14px; background: var(--gpanel); border: 1px solid var(--line-2); }
.h-tug .tb { position: relative; height: 12px; border-radius: 8px; background: var(--bear); overflow: hidden; }
.h-tug .tb i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #39d86a, var(--wg)); transition: width .45s var(--ease-out); }
.h-tug .tl { display: flex; justify-content: space-between; font: 700 11px/1 var(--mono); margin-bottom: 6px; color: var(--mute); }
.h-tug .tl b { color: #fff; }
@media (max-width: 760px) {
  .h-mini { width: 112px; height: 63px; }
  .h-city b { font-size: 13px; }
  .h-pill { height: 34px; padding: 0 9px; font-size: 13px; }
  .h-pill.on span { display: none; }
  .g-btn { width: 44px; height: 44px; font-size: 19px; border-radius: 13px; }
  .h-act { bottom: 82px; }
  .h-act .wbtn { height: 46px; font-size: 14px; padding: 0 16px; }
  .h-ev { top: 58px; font-size: 11.5px; max-width: 94%; overflow: hidden; text-overflow: ellipsis; }
  .h-feed { top: 94px; max-width: 70%; }
  .h-tug { top: 92px; }
}
.g-toast { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 40; padding: 12px 18px; border-radius: 16px; background: rgba(6, 10, 12, .94); border: 1px solid rgba(252, 213, 53, .5);
  font: 800 16px/1.3 var(--body); text-align: center; pointer-events: none; animation: gtoast 2.6s var(--ease-out) forwards; max-width: 86%; }
.g-toast.bad { border-color: rgba(255, 90, 106, .6); }
.g-toast small { display: block; font-weight: 600; color: var(--mute); font-size: 13px; margin-top: 2px; }
@keyframes gtoast { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.9); } 12%, 75% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -70%); } }

/* sheets (panels inside the game) */
.sheet { position: absolute; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0, 0, 0, .5); backdrop-filter: blur(3px); animation: shin .25s ease-out; }
@keyframes shin { from { opacity: 0; } }
.sh-box { position: relative; width: min(560px, calc(100% - 20px)); max-height: calc(100% - 20px); overflow: auto; overscroll-behavior: contain; padding: 20px; border-radius: 22px;
  background: linear-gradient(180deg, #16130a, #0b0a07); border: 1px solid rgba(252, 213, 53, .3); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: shbox .35s var(--ease-spring); touch-action: pan-y; }
.sh-box.wide { width: min(880px, calc(100% - 20px)); }
@keyframes shbox { from { transform: translateY(24px) scale(.96); } }
.sh-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .07); font-size: 16px; }
.sh-h { margin: 0 40px 4px 0; font: 900 22px/1.15 var(--disp); letter-spacing: -.02em; }
.sh-p { margin: 0 0 14px; color: var(--mute); font-size: 14px; }
.sh-p b { color: var(--text); }
.sh-row { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.opt { display: grid; justify-items: center; gap: 4px; padding: 8px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font: 700 12px/1.2 var(--body); }
.opt.on { border-color: var(--wg); background: rgba(252, 213, 53, .08); }
.opt img { width: 64px; height: 64px; object-fit: contain; }
.opt[disabled] { opacity: .4; }
.tabs { display: flex; gap: 6px; margin: 4px 0 14px; overflow-x: auto; }
.tabs button { flex: none; height: 36px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); font: 700 13px/1 var(--body); color: var(--mute); }
.tabs button.on { color: #000; background: var(--wg); border-color: var(--wg); }

/* travel map */
.tmap { position: relative; width: 100%; aspect-ratio: 1000 / 383; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 120% at 50% 40%, #1d1708, #060504); border: 1px solid var(--line-2); }
.tmap > img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.tmap svg.routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 3px; }
.pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--wg); box-shadow: 0 0 0 4px rgba(252, 213, 53, .25), 0 0 16px var(--wg); }
.pin.here i { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3), 0 0 18px #fff; }
.pin.ev i { background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 212, 90, .3), 0 0 18px var(--gold); }
.pin span { padding: 3px 7px; border-radius: 8px; background: rgba(0, 0, 0, .78); font: 700 10.5px/1.2 var(--mono); white-space: nowrap; }
.tlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.tcity { display: grid; gap: 4px; padding: 10px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); text-align: left; }
.tcity.here { border-color: rgba(255, 255, 255, .5); }
.tcity b { font: 800 14px/1.1 var(--body); }
.tcity span { display: flex; justify-content: space-between; gap: 6px; font: 600 11px/1 var(--mono); color: var(--mute); }
.tcity em { font-style: normal; font-size: 11.5px; color: var(--gold); }
@media (max-width: 560px) { .tlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.flight { position: absolute; inset: 0; z-index: 60; background: #000; display: grid; place-items: center; }
.flight video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flight b { position: relative; padding: 10px 18px; border-radius: 14px; background: rgba(0, 0, 0, .55); font: 900 clamp(22px, 4vw, 40px)/1 var(--disp); letter-spacing: -.02em; animation: shbox .5s var(--ease-spring); }
.flight b small { display: block; margin-top: 6px; font: 600 13px/1 var(--mono); color: var(--mute); letter-spacing: .05em; }

/* exchange */
.syms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sym { display: grid; justify-items: center; gap: 3px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font: 800 11.5px/1 var(--mono); }
.sym img { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; background: #fff; padding: 2px; }
.sym em { font: 600 10.5px/1 var(--mono); font-style: normal; color: var(--mute); }
.sym.on { border-color: var(--wg); background: rgba(252, 213, 53, .1); }
.updown { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.updown button { height: 64px; border-radius: 16px; font: 900 20px/1 var(--disp); }
.updown .up { background: linear-gradient(180deg, #4dff8b, #19c25a); color: #021507; }
.updown .dn { background: linear-gradient(180deg, #ff7686, #e0283f); color: #1d0004; }
.callbox { margin-top: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); text-align: center; }
.callbox b { font: 900 34px/1 var(--disp); }
.callbox .cd { font: 800 46px/1 var(--disp); color: var(--wg); }
@media (max-width: 560px) { .syms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* card pack reveal */
.wreveal { display: grid; justify-items: center; gap: 12px; padding: 10px 0; perspective: 900px; }
.wcard { width: 190px; aspect-ratio: 5 / 7; border-radius: 16px; position: relative; transform-style: preserve-3d; animation: flipin 1.1s var(--ease-out) both; }
@keyframes flipin { 0% { transform: rotateY(180deg) scale(.6); } 60% { transform: rotateY(-12deg) scale(1.06); } 100% { transform: rotateY(0) scale(1); } }
.wcard .face { position: absolute; inset: 0; border-radius: 16px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 16px;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--rc) 35%, #120f08), #090806); border: 2px solid var(--rc); box-shadow: 0 0 40px -6px var(--rc); backface-visibility: hidden; }
.wcard .face img { width: 86px; height: 86px; border-radius: 18px; background: #fff; padding: 6px; object-fit: contain; }
.wcard .face b { font: 900 26px/1 var(--disp); }
.wcard .face span { font: 800 12px/1 var(--mono); letter-spacing: .1em; color: var(--rc); }
.wcard .face em { font-style: normal; font: 800 15px/1 var(--body); color: var(--gold); }
.album { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.album div { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border-radius: 10px; border: 1px solid var(--line); font: 700 10.5px/1 var(--mono); }
.album img { width: 28px; height: 28px; border-radius: 7px; background: #fff; padding: 2px; object-fit: contain; }
.album .miss { opacity: .25; filter: grayscale(1); }
.album em { font-style: normal; color: var(--gold); }

/* passport */
.stamps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stamp { aspect-ratio: 1; border-radius: 14px; border: 2px dashed rgba(255, 255, 255, .15); display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; font: 700 11px/1.2 var(--mono); color: var(--dim); }
.stamp.got { border: 3px solid var(--wg); color: var(--wg); background: rgba(252, 213, 53, .07); transform: rotate(-4deg); }
.stamp.got:nth-child(2n) { transform: rotate(3deg); }
.stamp i { font-style: normal; font-size: 28px; filter: grayscale(1); opacity: .5; }
.stamp.got i { filter: none; opacity: 1; }

/* quests */
.quests { display: grid; gap: 8px; }
.q { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.q b { font-size: 14px; }
.q em { font-style: normal; font: 800 13px/1 var(--mono); color: var(--gold); }
.q .qb { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.q .qb i { display: block; height: 100%; background: var(--wg); }
.q.done { border-color: rgba(252, 213, 53, .35); }
.q.done b::after { content: ' ✓'; color: var(--wg); }

/* tug + wheel + bank */
.tugpad { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tugpad button { height: 120px; border-radius: 20px; display: grid; place-items: center; align-content: center; gap: 6px; font: 900 22px/1 var(--disp); transition: transform .08s; }
.tugpad button:active { transform: scale(.94); }
.tugpad button img { width: 64px; height: 64px; }
.tugpad .tb-bull { background: linear-gradient(180deg, #47e27b, #138c40); color: #021507; }
.tugpad .tb-bear { background: linear-gradient(180deg, #ff7a88, #b5162b); color: #1d0004; }
.tugpad button.mine { box-shadow: 0 0 0 4px #fff; }
.tugbig { margin: 12px 0; }
.tugbig .tb { height: 22px; border-radius: 12px; }
.wheel { position: relative; width: 240px; height: 240px; margin: 6px auto 14px; }
.wheel .wd { width: 100%; height: 100%; border-radius: 50%; border: 6px solid var(--gold); box-shadow: 0 0 40px rgba(255, 212, 90, .3);
  background: conic-gradient(#2a1d08 0 72deg, #3a1410 72deg 144deg, #2a1d08 144deg 216deg, #3a1410 216deg 288deg, #5a1a10 288deg 360deg); transition: transform 4.2s cubic-bezier(.12, .8, .14, 1); }
.wheel .wd span { position: absolute; left: 50%; top: 50%; transform-origin: 0 0; font: 900 18px/1 var(--disp); color: var(--gold); }
.wheel::after { content: ''; position: absolute; left: 50%; top: -10px; transform: translateX(-50%); border: 12px solid transparent; border-top: 22px solid #fff; }
.bankbig { text-align: center; padding: 10px 0; }
.bankbig b { display: block; font: 900 44px/1 var(--disp); color: var(--gold); }
.bankbig span { color: var(--mute); }
.lbx { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lbx li { display: grid; grid-template-columns: 26px 40px 1fr auto; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 14px; }
.lbx li img { width: 40px; height: 40px; object-fit: contain; }
.lbx li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbx li em { font-style: normal; font: 800 14px/1 var(--disp); color: var(--gold); }
.lbx .no { font: 800 13px/1 var(--mono); color: var(--mute); }
.lbx .me { border-color: rgba(252, 213, 53, .5); }
.chatpad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.chatpad button { height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 22px; }
.saypad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.saypad button { min-height: 40px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font: 700 13px/1.2 var(--body); text-align: left; }

/* ---------------- cities, events, things ---------------- */
.wcities, .wevents { padding: 60px 0 10px; }
.phead { max-width: 780px; margin-bottom: 20px; }
.phead .h2 { margin-top: 10px; }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cc { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #0e0c07; display: grid; }
.cc .ci { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.cc .ci img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s; }
.cc .ci .n { opacity: var(--night, 0); }
.cc .cb { padding: 12px 14px 14px; display: grid; gap: 6px; }
.cc .ct { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cc .ct b { font: 800 17px/1.1 var(--disp); }
.cc .cm { display: flex; gap: 8px; flex-wrap: wrap; font: 600 12px/1 var(--mono); color: var(--mute); align-items: center; }
.cc .cx { color: var(--mute); font-size: 13.5px; }
.cc .ol { position: absolute; left: 10px; top: 10px; padding: 5px 9px; border-radius: 99px; background: rgba(0, 0, 0, .7); font: 700 11.5px/1 var(--mono); }
@media (max-width: 980px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cgrid { grid-template-columns: 1fr; } }
.evgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ev { padding: 16px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); display: grid; gap: 6px; }
.ev.live { border-color: rgba(255, 212, 90, .6); background: rgba(255, 212, 90, .06); }
.ev i { font-style: normal; font-size: 28px; }
.ev b { font: 800 16px/1.1 var(--disp); }
.ev span { color: var(--mute); font-size: 13px; }
.ev em { font-style: normal; font: 800 22px/1 var(--disp); color: var(--gold); }
@media (max-width: 980px) { .evgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.things { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.th { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); display: grid; gap: 6px; align-content: start; }
.th img, .th-i { width: 56px; height: 56px; object-fit: contain; font-size: 38px; line-height: 56px; }
.th b { font: 800 15px/1.2 var(--body); }
.th span { color: var(--mute); font-size: 13px; line-height: 1.45; }
@media (max-width: 980px) { .things { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------- live + faq ---------------- */
.wlive { padding: 70px 0 20px; }
.pulls { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.ph3 { margin: 0 0 10px; font: 800 16px/1.2 var(--body); }
.lb { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lb li { display: grid; grid-template-columns: 26px 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.lb li img { width: 44px; height: 44px; object-fit: contain; }
.lb li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb li small { display: block; color: var(--mute); font-size: 12px; }
.lb li em { font-style: normal; font: 800 15px/1 var(--disp); color: var(--gold); }
.lb li .no { font: 800 13px/1 var(--mono); color: var(--mute); }
.lb li.empty { display: block; color: var(--mute); text-align: center; }
@media (max-width: 760px) { .pulls { grid-template-columns: 1fr; } }
.faq { padding: 70px 0 90px; }
.faq-list { display: grid; gap: 10px; margin-top: 18px; max-width: 860px; }
.faq details { border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; background: rgba(255, 255, 255, .025); padding: 16px 18px; }
.faq details[open] { border-color: rgba(252, 213, 53, .35); }
.faq summary { cursor: pointer; font: 700 16px/1.35 var(--body); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--wg); font: 800 20px/1 var(--disp); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--mute); line-height: 1.6; }
.faq p b { color: var(--text); }
.faq a { color: var(--wg); }
.terms { margin: 26px 0 0; max-width: 860px; color: var(--dim); font-size: 12.5px; line-height: 1.6; }
.terms b { color: var(--mute); }
.offscreen * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .wcard, .sh-box, .g-toast, .h-act .wbtn { animation: none !important; } }

.wh-kick b { margin-left: 6px; padding: 3px 8px; border-radius: 99px; background: var(--red); color: #fff; font: 800 11px/1 var(--mono); }
html[data-lang="zh"] .wh-title span { font-family: var(--huang); letter-spacing: .04em; }
.wh-cta .cta, .wh-cta .ghost { min-height: 56px; }
.wwrap { width: min(1180px, 100%); margin: 0 auto; padding: 18px 16px 80px; display: grid; gap: 26px; }
.wwrap > .claim, .wwrap > .dropst { width: min(760px, 100%); margin-inline: auto; }
.wworld { width: 100vw; margin-left: calc(50% - 50vw); }
.wworld .ww-head { width: min(1180px, 100% - 32px); margin: 0 auto 16px; display: block; }
.wworld .ww-stats { margin-top: 12px; }
.wcities, .wevents, .wlive, .faq { padding: 30px 0 0; }
.wcities .lead, .wevents .lead { max-width: 760px; }
.h2 { margin: 0; font: 900 clamp(26px, 6vw, 44px)/1.05 var(--disp); color: #fff; }
.h2 em { display: block; font-style: normal; color: var(--bnb2); }
html[data-lang="zh"] .h2 em { font-family: var(--huang); font-weight: 400; letter-spacing: .04em; }
.reset { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--mute); font-size: 13px; text-decoration: underline; cursor: pointer; }
.dropst .wb-amts { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
.dropst .banks { text-align: left; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: relative; }
.cc .cx, .ev span, .th span { line-height: 1.45; }
html[data-lang="zh"] .g-cover-in b, html[data-lang="zh"] .sh-h { letter-spacing: .02em; }
.mk.open { background: rgba(46, 189, 133, .18); color: #2EBD85; }
.mk.bell { background: var(--bnb); color: #000; }
@media (max-width: 560px) { .whero { padding-top: 84px; } .dropst .wb-amts { grid-template-columns: 1fr 1fr; } }
.wh-amt b span { display: inline; margin: 0; font-size: inherit; color: inherit; }
/* while the world fills the screen, ALEC's floating mark + couplet step aside (they would cover the HUD) */
.mark, .couplet { transition: opacity .3s, transform .3s; }
body.inworld .mark, body.inworld .couplet { opacity: 0; pointer-events: none; transform: translateY(-12px); }
/* phones: a compact hero so the claim starts right below it */
@media (max-width: 560px) {
  .whero { padding: 74px 14px 8px; min-height: 0; }
  .wh-kick { max-width: calc(100% - 64px); font-size: 10.5px; }
  .wh-kick span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wh-title { font-size: clamp(46px, 15vw, 64px); margin-top: 10px; }
  .wh-sub { font-size: 15px; margin-top: 10px; }
  .wh-amounts { flex-wrap: nowrap; gap: 8px; margin-top: 14px; }
  .wh-amt { flex: 1 1 0; min-width: 0; padding: 10px 12px; }
  .wh-amt b { font-size: clamp(20px, 6.4vw, 26px); white-space: nowrap; }
  .wh-amt span { font-size: 11.5px; line-height: 1.3; }
  .wh-cta { gap: 8px; margin-top: 14px; flex-wrap: nowrap; }
  .wh-cta .cta, .wh-cta .ghost { flex: 1 1 0; min-height: 50px; padding: 0 10px; font-size: 14.5px; }
  html[data-lang="zh"] .wh-cta .cta { font-size: 17px; }
  .wh-stats, .wh-cities { display: none; }
  .wwrap { padding-top: 10px; }
}
@media (max-width: 560px) {
  .wh-in { padding-right: 56px; }
  .pin span { font-size: 9px; padding: 2px 4px; }
  .pin span .pc { display: none; }
}
/* the live dot: a ring that grows and fades (transform + opacity only, no repaint) */
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: wring 1.6s ease-out infinite; }
@keyframes wring { 0% { transform: scale(1); opacity: .65; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
body.inworld .mark img, body.inworld .couplet::after, body.inworld .gong .disc, body.inworld .seal::after { animation-play-state: paused; }
.offscreen *::before, .offscreen *::after, .offscreen::before, .offscreen::after { animation-play-state: paused !important; }
.offscreen .game *, .offscreen .game *::before, .offscreen .game *::after { animation-play-state: running !important; }
