/* $ALEC airdrop page: 采青 — the lion climbs the plum-blossom poles (one task per pole), the drum is the button,
   and the result is a breaking-news broadcast */
.drop { --ps: clamp(44px, 6.4svh, 62px); }
.sky { position: fixed; inset: 0; z-index: -1; background:
  linear-gradient(rgba(6, 7, 10, .82), rgba(6, 7, 10, .25) 30%, rgba(6, 7, 10, .35) 62%, rgba(6, 7, 10, .92)),
  url('/media/street-720.jpg') center 30% / cover no-repeat, var(--ink); }
@media (min-width: 900px) { .sky { background-image: linear-gradient(rgba(6, 7, 10, .82), rgba(6, 7, 10, .3) 30%, rgba(6, 7, 10, .45) 62%, rgba(6, 7, 10, .95)), url('/media/street-1080.jpg'); } }
.calli { position: fixed; z-index: 0; left: max(2vw, 8px); top: 50%; margin: 0; transform: translateY(-50%); writing-mode: vertical-rl; pointer-events: none;
  font: 400 clamp(90px, 22svh, 240px)/1 var(--brush); color: rgba(252, 213, 53, .07); letter-spacing: .05em; }
@media (min-width: 900px) { .calli { color: rgba(252, 213, 53, .16); left: max(6vw, 40px); } }

.climb { position: relative; z-index: 1; overflow-x: clip; width: min(520px, 100%); margin: 0 auto; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--top) - 8px) 0 calc(var(--crawl) + 8px); }

/* ------------------------------------------------------------------ the arena */
.arena { position: relative; min-height: max(330px, calc(100svh - var(--top) - var(--crawl) - 196px)); margin: 0 60px 0 6px; }
.posts { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.posts line { stroke-linecap: round; }
.poles { position: absolute; inset: 0; }
.pole { position: absolute; left: var(--x); top: var(--y); width: var(--ps); height: var(--ps); transform: translate(-50%, -50%); padding: 0; border: 0; background: none; cursor: default; -webkit-tap-highlight-color: transparent; }
.pole .top { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, #3A2A18, #1A120A 70%); box-shadow: 0 0 0 2px #6B4E1F, 0 0 0 4px rgba(0, 0, 0, .6), 0 10px 18px rgba(0, 0, 0, .6); transition: .45s; }
.pole .top::before { content: ''; position: absolute; inset: 18%; border-radius: 50%; opacity: .35;
  background: radial-gradient(circle, transparent 38%, #8D6A2B 40% 46%, transparent 48%), conic-gradient(from 0deg, #8D6A2B 0 4%, transparent 4% 20%, #8D6A2B 20% 24%, transparent 24% 40%, #8D6A2B 40% 44%, transparent 44% 60%, #8D6A2B 60% 64%, transparent 64% 80%, #8D6A2B 80% 84%, transparent 84%); }
.pole .ic { position: relative; font: 800 calc(var(--ps) * .34)/1 var(--disp); color: #A88A55; transition: .4s; }
.pole .lb { position: absolute; left: 50%; top: calc(100% + 5px); transform: translateX(-50%); white-space: nowrap; font: 400 12.5px/1 var(--huang); color: rgba(234, 236, 239, .5); letter-spacing: .08em; transition: .4s; text-shadow: 0 1px 4px #000; }
html[data-lang="en"] .pole .lb { font: 700 10px/1 var(--disp); letter-spacing: .04em; }
.pole.now .top { background: radial-gradient(circle at 50% 38%, #5C3A10, #2A1A08 70%); box-shadow: 0 0 0 2px var(--bnb), 0 0 0 5px rgba(240, 185, 11, .25), 0 0 26px rgba(240, 185, 11, .55); }
.pole.now .top::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(252, 213, 53, .7); animation: ping 1.5s ease-out infinite; }
@keyframes ping { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.pole.now .ic, .pole.now .lb { color: var(--gold); }
.pole.done .top { background: radial-gradient(circle at 45% 35%, #FFF0B0, #F0B90B 45%, #9A7206); box-shadow: 0 0 0 2px #FFE27A, 0 0 18px rgba(240, 185, 11, .5), 0 10px 18px rgba(0, 0, 0, .6); }
.pole.done .top::before { opacity: .25; filter: brightness(.3); }
.pole.done .ic { color: #3B2600; }
.pole.done .lb { color: var(--bnb2); }
.pole.done::after { content: '✓'; position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font: 900 11px/1 var(--body); box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }

.prize { position: absolute; left: var(--x, 42%); top: var(--y, 7%); width: calc(var(--ps) * 1.15); aspect-ratio: 1; transform: translate(-50%, -50%); }
.prize img { position: relative; width: 100%; height: 100%; animation: prize 3s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(240, 185, 11, .55)); }
@keyframes prize { 50% { transform: rotate(-7deg) translateY(3px); } }
.prize .ribbon { position: absolute; left: 50%; bottom: 82%; width: 3px; height: 70px; margin-left: -1.5px; background: linear-gradient(transparent, var(--red)); }
.prize .leaf { position: absolute; width: 46%; height: 30%; border-radius: 0 100% 0 100%; background: linear-gradient(135deg, #59C26E, #1F6E34); top: -6%; }
.prize .l1 { left: 4%; transform: rotate(-35deg); } .prize .l2 { left: 30%; top: -14%; transform: rotate(10deg); } .prize .l3 { right: 2%; transform: rotate(55deg); }
.prize.ready img { animation: prize .9s ease-in-out infinite; filter: drop-shadow(0 0 26px rgba(252, 213, 53, .95)); }
.prize.got { animation: grab .8s ease-out forwards; }
@keyframes grab { 40% { transform: translate(-50%, -50%) scale(1.5); } 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; } }

.lion { position: absolute; left: 0; top: 0; width: calc(var(--ps) * 1.32); aspect-ratio: 1; z-index: 3; pointer-events: none; will-change: transform; }
.lion img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 2px #FFE27A, 0 8px 20px rgba(0, 0, 0, .6); animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px) rotate(-3deg); } }
.lion .shadow { position: absolute; left: 15%; right: 15%; bottom: -8%; height: 16%; border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(3px); }
.lion.jump img { animation: none; }

/* ------------------------------------------------------------------ the dock: scroll + drum */
.dock { position: sticky; bottom: calc(var(--crawl) + 8px); z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0; margin: 0 10px; }
.scroll { position: relative; min-width: 0; min-height: 128px; padding: 14px 58px 14px 20px; margin-right: -48px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(28, 22, 14, .95), rgba(14, 11, 8, .96)); border-top: 1px solid rgba(252, 213, 53, .4); border-bottom: 1px solid rgba(252, 213, 53, .4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.scroll::before { content: ''; position: absolute; left: -7px; top: -6px; bottom: -6px; width: 12px; border-radius: 6px; background: linear-gradient(90deg, #8A6406, #FFE27A 45%, #8A6406); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.sc-k { margin: 0 0 3px; font: 400 14px/1 var(--huang); color: #FF9C88; letter-spacing: .2em; }
html[data-lang="en"] .sc-k { font: 700 10.5px/1.2 var(--disp); letter-spacing: .1em; }
.sc-t { margin: 0 0 4px; font: 400 clamp(22px, 6vw, 28px)/1.15 var(--huang); color: var(--text); }
html[data-lang="en"] .sc-t { font: 800 clamp(17px, 4.8vw, 22px)/1.2 var(--disp); }
.sc-d { margin: 0; color: var(--soft); font-size: 14px; line-height: 1.45; }
.sc-d b { color: var(--gold); }
.sc-in { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; padding-bottom: 4px; position: relative; }
.sc-in::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(240, 185, 11, .9), rgba(240, 185, 11, .2)); transition: .3s; }
.sc-in.ok::after { background: linear-gradient(90deg, var(--green), rgba(46, 189, 133, .2)); }
.sc-in.bad::after { background: linear-gradient(90deg, var(--red), rgba(232, 64, 44, .2)); }
.sc-in.bad { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.sc-in span { color: var(--bnb); font: 800 20px/1 var(--disp); }
.sc-in input { flex: 1; min-width: 0; height: 38px; border: 0; outline: 0; background: none; color: var(--text); font: 600 18px/1 var(--body); }
.sc-in.w input { font: 600 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.sc-in input::placeholder { color: #6A6050; }
.sc-hint { min-height: 18px; margin: 6px 0 0; font-size: 12.5px; color: var(--mute); }
.sc-hint.ok { color: #7FE0B6; } .sc-hint.bad { color: #FF8A78; }
.sc-err { margin: 6px 0 0; color: #FF8A78; font-size: 13.5px; font-weight: 600; }
.sc-err:empty { display: none; }
.scroll.swap { animation: unroll .45s cubic-bezier(.2, .9, .3, 1); }
@keyframes unroll { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.drum { position: relative; z-index: 2; width: clamp(92px, 27vw, 108px); height: clamp(92px, 27vw, 108px); margin-bottom: 10px; border-radius: 50%; display: block; text-decoration: none; -webkit-tap-highlight-color: transparent; cursor: pointer;
  background: repeating-conic-gradient(from 0deg, #FFE27A 0 2deg, transparent 2deg 22.5deg), radial-gradient(circle, #8E1A0E 62%, #5E0F08 63% 70%, #3A0804 71%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .7), 0 0 0 3px #B88606, 0 0 0 6px rgba(0, 0, 0, .55); transition: transform .12s; }
.drum-rim { position: absolute; inset: 13px; border-radius: 50%; background: #B88606; padding: 3px; }
.drum-skin { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 45% 38%, #FFF6DE, #EED9A8 60%, #C9A869); box-shadow: inset 0 -6px 12px rgba(120, 70, 10, .35); }
.drum-skin b { font: 400 25px/1.05 var(--huang); color: #9E1B0D; letter-spacing: .04em; padding: 0 6px; }
html[data-lang="en"] .drum-skin b { font: 900 14px/1.1 var(--disp); letter-spacing: 0; }
.drum::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid rgba(252, 213, 53, .75); animation: drumping 1.6s ease-out infinite; pointer-events: none; }
@keyframes drumping { from { transform: scale(.96); opacity: .9; } to { transform: scale(1.32); opacity: 0; } }
.drum.hit { animation: hit .32s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hit { 30% { transform: scale(.88); } }
.drum.off { filter: saturate(.3) brightness(.7); pointer-events: none; }
.drum.off::after, .drum.wait::after { animation: none; opacity: 0; }
.drum.wait .drum-skin b { font-size: 13px; color: #6A4A2A; }
.drum.final { width: clamp(100px, 30vw, 120px); height: clamp(100px, 30vw, 120px); }
.drum.final .drum-skin b { font-size: 30px; }
html[data-lang="en"] .drum.final .drum-skin b { font-size: 17px; }
.drum.final::after { border-color: rgba(255, 240, 180, .9); animation-duration: 1s; }
.spin { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(110, 60, 20, .25); border-top-color: #9E1B0D; animation: rot .7s linear infinite; vertical-align: middle; }
@keyframes rot { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ------------------------------------------------------------------ the result: a breaking-news broadcast */
.tv { position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: radial-gradient(80% 50% at 50% 20%, rgba(240, 185, 11, .14), transparent 70%), #050608; padding-bottom: calc(var(--crawl) + 30px); animation: tvon .55s ease-out; }
@keyframes tvon { 0% { clip-path: inset(49.5% 0 49.5% 0); filter: brightness(3); } 45% { clip-path: inset(49.5% 0 49.5% 0); } 100% { clip-path: inset(0 0 0 0); filter: none; } }
.tv-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: max(12px, env(safe-area-inset-top)) 72px 12px 14px; background: linear-gradient(90deg, #B4200F, #E8402C 60%, #B4200F); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.tv-tag { font: 400 21px/1 var(--huang); color: #fff; letter-spacing: .2em; }
html[data-lang="en"] .tv-tag { font: 900 15px/1 var(--disp); letter-spacing: .06em; }
.tv-live { font: 800 11px/1 var(--disp); color: #fff; background: rgba(0, 0, 0, .25); padding: 5px 8px; border-radius: 4px; letter-spacing: .1em; }
.tv-clock { margin-left: auto; font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #FFE7E0; }
.tv-body { width: min(560px, 100%); margin: 0 auto; padding: 18px 18px 0; text-align: center; }
.tv-frame { position: relative; width: min(64vw, 280px); aspect-ratio: 16 / 11; margin: 0 auto 14px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 2px #2A2E36, 0 18px 40px rgba(0, 0, 0, .6); }
.tv-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.tv-frame::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 2px, rgba(0, 0, 0, .14) 2px 3px); pointer-events: none; }
.tv-bug { position: absolute; left: 8px; top: 8px; z-index: 1; font: 900 11px/1 var(--disp); color: #111; background: var(--bnb); padding: 4px 6px; border-radius: 3px; }
.tv-k { margin: 0 0 6px; font: 700 11px/1 var(--disp); color: var(--bnb); letter-spacing: .14em; }
html[data-lang="zh"] .tv-k { font: 400 14px/1 var(--huang); letter-spacing: .24em; }
.tv-h { margin: 0 0 6px; font: 400 clamp(28px, 8vw, 40px)/1.15 var(--huang); color: var(--text); overflow-wrap: anywhere; }
html[data-lang="en"] .tv-h { font: 900 clamp(22px, 6.2vw, 32px)/1.15 var(--disp); }
.tv-amt { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; margin: 6px 0 6px; }
.tv-amt b { font: 900 clamp(46px, 14vw, 76px)/1 var(--disp); color: var(--bnb2); text-shadow: 0 0 34px rgba(240, 185, 11, .5); }
.tv-amt span { font: 800 20px/1 var(--disp); color: var(--text); }
.tv-sub { margin: 0 auto 16px; max-width: 30em; color: var(--soft); font-size: 15px; }
.tv-sub[data-s="blocked"] { color: #FF8A78; }
.tv-act { display: grid; gap: 10px; justify-items: center; margin-bottom: 18px; }
.tv-act .cta { width: min(100%, 360px); }
.tv-lower { list-style: none; margin: 0 auto 22px; padding: 0; width: min(560px, calc(100% - 28px)); display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 6px; overflow: hidden; box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
.tv-lower li { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 6px; background: #15181F; color: var(--mute); font-size: 13.5px; font-weight: 700; }
.tv-lower li + li { border-left: 1px solid #0A0B0E; }
.tv-lower i { width: 9px; height: 9px; border-radius: 50%; background: #343944; flex: none; }
.tv-lower li.on { background: linear-gradient(var(--bnb2), var(--bnb)); color: #1A1200; }
.tv-lower li.on i { background: #1A1200; }
.tv-lower li.now { color: var(--gold); }
.tv-lower li.now i { background: var(--bnb); animation: blink 1s infinite; }
.tv-wire { width: min(560px, 100%); margin: 0 auto; padding: 0 14px; }
.tv-wt { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font: 400 19px/1 var(--huang); color: var(--text); }
html[data-lang="en"] .tv-wt { font: 800 15px/1 var(--disp); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(232, 64, 44, .2); animation: blink 1.2s infinite; }
.link { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--mute); font-size: 13px; text-decoration: underline; cursor: pointer; }
.tv-on .mark, .tv-on .calli { display: none; }

/* ------------------------------------------------------------------ live counter badge (under the mark) */
.livebadge { position: fixed; z-index: 41; top: calc(max(12px, env(safe-area-inset-top)) + 54px); left: max(14px, env(safe-area-inset-left)); display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 9px; border-radius: 999px; background: rgba(10, 8, 6, .78); border: 1px solid rgba(252, 213, 53, .35); text-decoration: none; color: var(--soft); font-size: 12.5px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.livebadge b { font: 800 14px/1 var(--disp); color: var(--bnb2); }
.livebadge .live-dot { width: 7px; height: 7px; box-shadow: 0 0 0 3px rgba(232, 64, 44, .2); }
.tv-on .livebadge { display: none; }

/* ------------------------------------------------------------------ 金钱串: every airdrop is a coin strung on a red cord, with a paper slip */
.chain { position: relative; z-index: 1; width: min(560px, 100%); margin: 0 auto; padding: 34px 16px calc(var(--crawl) + 40px); scroll-margin-top: 110px; }
.ch-head { padding-right: 64px; }
.ch-k { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 400 14px/1 var(--huang); color: #FF9C88; letter-spacing: .2em; }
html[data-lang="en"] .ch-k { font: 700 11px/1 var(--disp); letter-spacing: .1em; }
.ch-t { margin: 0 0 16px; font: 400 clamp(28px, 8vw, 40px)/1.1 var(--huang); color: var(--text); }
html[data-lang="en"] .ch-t { font: 900 clamp(22px, 6vw, 32px)/1.15 var(--disp); }
.plaque { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 22px; padding: 14px 6px; border-radius: 8px; text-align: center;
  background: linear-gradient(180deg, #2A1408, #1A0C05); box-shadow: inset 0 0 0 2px #B88606, inset 0 0 0 4px #2A1408, inset 0 0 0 5px rgba(252, 213, 53, .5), 0 14px 30px rgba(0, 0, 0, .5); }
.plaque div + div { border-left: 1px solid rgba(252, 213, 53, .2); }
.plaque b { display: block; font: 900 clamp(20px, 6.4vw, 30px)/1.1 var(--disp); color: var(--bnb2); text-shadow: 0 0 18px rgba(240, 185, 11, .35); }
.plaque small { display: block; margin-top: 5px; color: #D9C08A; font-size: 12px; }
.cash { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; display: grid; gap: 12px; }
.cash::before { content: ''; position: absolute; left: 24px; top: -14px; bottom: 6px; width: 3px; border-radius: 2px; background: linear-gradient(#E8402C, #8E1A0E); box-shadow: 0 0 8px rgba(232, 64, 44, .4); }
.cash li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; }
.cash li.empty { display: block; padding: 20px 14px 20px 52px; color: var(--mute); }
.bead { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #FFF0B0, #F0B90B 50%, #9A7206); box-shadow: 0 4px 12px rgba(0, 0, 0, .55); }
.bead .av { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #2B1608; color: var(--bnb2); font: 800 14px/1 var(--disp); box-shadow: inset 0 0 0 2px #7A5605; }
.bead .av img { width: 100%; height: 100%; object-fit: cover; }
.cash li.wait .bead { filter: saturate(.25) brightness(.65); }
.slip { position: relative; min-width: 0; padding: 9px 12px 9px 14px; background: linear-gradient(90deg, #7A140B, #5A0E07); color: #FFE7C4;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%, 6px 50%); box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
.cash li:nth-child(odd) .slip { transform: rotate(-.5deg); }
.cash li:nth-child(even) .slip { transform: rotate(.5deg); }
.cash li.wait .slip { background: linear-gradient(90deg, #2A1E14, #1C140D); color: #B9A88C; }
.slip-a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 3px; }
.slip-a a { font-weight: 800; font-size: 14.5px; text-decoration: none; color: #FFF3DC; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.slip-a b { flex: none; font: 900 14.5px/1 var(--disp); color: var(--bnb2); }
.slip-a b i { font-style: normal; font-size: 10.5px; color: #FFE7A0; }
.slip-b { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; color: rgba(255, 231, 196, .75); }
.slip-b .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.slip-tx, .slip-st { margin-left: auto; flex: none; font-weight: 800; font-size: 11.5px; padding: 5px 8px; border-radius: 4px; text-decoration: none; }
.slip-tx { background: var(--bnb); color: #1A1200; }
.slip-st { border: 1px solid rgba(255, 231, 196, .3); }
.cash li.fresh { animation: drop .7s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes drop { from { opacity: 0; transform: translateY(-26px); } }
.cash li.fresh .bead { animation: beadspin .9s ease-out; }
@keyframes beadspin { from { transform: rotateY(540deg); } }
.ch-more { display: flex; margin: 16px auto 0; }
.tv-tag { white-space: nowrap; }
html[data-lang="en"] .tv-tag { font-size: 14px; }
