/* UIの動き（2026-11-20）。どぱたん＋より多く・はっきり。
   transform を使っている部品（斜めのボタンなど）を壊さないよう、動きは translate / scale / rotate（個別のプロパティ）で付ける。
   「演出を控えめに」では app.css の .calm * ですべて止まる */
:root { --ez: cubic-bezier(.2,.85,.2,1); --ezb: cubic-bezier(.2,1.25,.3,1); }

/* ---------- 画面の切り替え ---------- */
#main > .mv-in { animation: mvPageUp 0.21s var(--ez) both; }
#main[data-dir=r] > .mv-in { animation-name: mvPageR; }
#main[data-dir=l] > .mv-in { animation-name: mvPageL; }
@keyframes mvPageUp { from { opacity: 0; translate: 0 18px; } }
@keyframes mvPageR { from { opacity: 0; translate: 48px 0; } }
@keyframes mvPageL { from { opacity: 0; translate: -48px 0; } }
/* 斜めの帯が横切る */
.mv-wipe { position: absolute; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; }
.mv-wipe i { position: absolute; top: -20%; bottom: -20%; width: 46%; left: -60%; rotate: 14deg; background: var(--lime); animation: mvWipe 0.275s cubic-bezier(.7,0,.3,1) both; }
.mv-wipe i:nth-child(2) { width: 14%; background: var(--or); animation-delay: 0.025s; }
.mv-wipe i:nth-child(3) { width: 5%; background: var(--wh); animation-delay: 0.045s; }
.mv-wipe.l i { animation-name: mvWipeL; }
@keyframes mvWipe { from { left: -60%; } to { left: 130%; } }
@keyframes mvWipeL { from { left: 130%; } to { left: -60%; } }

/* ---------- 見出し ---------- */
.mv-in .ttl { animation: mvTtl 0.25s var(--ez) both; }
.mv-in .ttl small { animation: mvFade 0.2s 0.09s both; }
@keyframes mvTtl { from { clip-path: inset(0 100% 0 0); translate: -12px 0; } to { clip-path: inset(0 0 0 0); } }
@keyframes mvFade { from { opacity: 0; } }
.mv-in .lx-sum, .mv-in .ch-now, .mv-in .ga-stone, .mv-in .revn { animation: mvSlideR 0.225s 0.04s var(--ez) both; }
@keyframes mvSlideR { from { opacity: 0; translate: -30px 0; } }

/* ---------- 一覧が順番に入る ---------- */
.mv-st { animation: mvItem 0.2s var(--ezb) both; animation-delay: calc(var(--i, 0) * 18ms + 40ms); }
@keyframes mvItem { from { opacity: 0; translate: 0 16px; scale: .94; } }
.lx-row.mv-st { animation-name: mvRow; }
@keyframes mvRow { from { opacity: 0; translate: 26px 0; } }
.lx-file.mv-st { animation-name: mvFile; animation-delay: calc(var(--i, 0) * 30ms + 40ms); }
@keyframes mvFile { from { opacity: 0; translate: 0 22px; rotate: -1.5deg; } }
.ch.mv-st, .qb.mv-st, .tile.mv-st, .type.mv-st { animation-name: mvChoice; animation-delay: calc(var(--i, 0) * 28ms + 30ms); }
@keyframes mvChoice { from { opacity: 0; translate: 40px 0; } 70% { translate: -4px 0; } }

/* ---------- 線・目盛りが伸びる ---------- */
.mv-in .lx-bar > i, .mv-in .rbar i, .mv-in .ga-info i { transform-origin: left; animation: mvBar 0.45s 0.125s var(--ez) both; }
@keyframes mvBar { from { scale: 0 1; } }
.mv-in .lx-dots i.on { animation: mvDot 0.15s var(--ezb) both; animation-delay: calc(var(--i, 0) * 18ms + 150ms); }
.mv-in .lx-parts i.on { animation: mvDot 0.175s var(--ezb) both; animation-delay: calc(var(--i, 0) * 30ms + 160ms); }
@keyframes mvDot { from { scale: 0 1; opacity: 0; } }
.mv-in .lx-parts i.on:nth-child(2) { animation-delay: calc(var(--i, 0) * 30ms + 190ms); }
.mv-in .lx-parts i.on:nth-child(3) { animation-delay: calc(var(--i, 0) * 30ms + 220ms); }
.mv-in .lx-parts i.on:nth-child(4) { animation-delay: calc(var(--i, 0) * 30ms + 250ms); }
.mv-in .lx-parts i.on:nth-child(5) { animation-delay: calc(var(--i, 0) * 30ms + 280ms); }

/* ---------- 次にやるもの：オレンジが脈打つ ---------- */
.lx-tile.nx, .lx-file.nx .lx-fb, .lx-row.nx .lx-num, .rec { animation: mvNext 1.6s ease-in-out infinite; }
.lx-tile.nx.mv-st { animation: mvItem 0.2s var(--ezb) both, mvNext 1.6s 0.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 18ms + 40ms), 0.5s; }
@keyframes mvNext { 50% { box-shadow: 3px 3px 0 var(--or), 0 0 0 4px color-mix(in srgb, var(--or) 30%, transparent); } }
.lx-tag, .lx-ck em.nx, .lx-ftab em { animation: mvBlink 1.2s steps(2) infinite; }
@keyframes mvBlink { 50% { opacity: .35; } }

/* ---------- タブ ---------- */
#tabs button.on { animation: mvTab 0.19s var(--ezb); }
#tabs button.on svg { animation: mvIcon 0.25s var(--ezb); }
@keyframes mvTab { from { scale: 1.25; } 50% { scale: .94; } }
@keyframes mvIcon { 0% { translate: 0 6px; scale: .6; } 60% { translate: 0 -4px; scale: 1.15; } }
.ltabs button.on, .lx-lvs button.on, .ch-seg button.on { animation: mvSel 0.175s var(--ezb); }
@keyframes mvSel { from { scale: .85; } 60% { scale: 1.06; } }

/* ---------- 押したとき ---------- */
button { transition: scale 0.05s ease-out, filter 0.06s, background-color 0.075s, color 0.075s, border-color 0.075s; }
button:not(:disabled):active { scale: .95; filter: brightness(1.18); }
.mv-tap { position: absolute; z-index: 80; pointer-events: none; width: 0; height: 0; }
.mv-tap::before { content: ''; position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border: 2px solid var(--lime); border-radius: 50%; animation: mvRing 0.25s ease-out both; }
.mv-tap i { position: absolute; left: -1px; top: -9px; width: 3px; height: 18px; background: var(--lime); transform-origin: 50% 50%; animation: mvSpark 0.225s ease-out both; }
.mv-tap i:nth-child(1) { rotate: 30deg; --dx: 22px; --dy: -26px; }
.mv-tap i:nth-child(2) { rotate: 120deg; --dx: 28px; --dy: 14px; background: var(--or); }
.mv-tap i:nth-child(3) { rotate: 210deg; --dx: -22px; --dy: 26px; }
.mv-tap i:nth-child(4) { rotate: 300deg; --dx: -28px; --dy: -14px; background: var(--or); }
.mv-tap.tab::before { border-color: var(--or); }
@keyframes mvRing { from { scale: .2; opacity: 1; } to { scale: 1.3; opacity: 0; } }
@keyframes mvSpark { from { translate: 0 0; opacity: 1; scale: 1 1; } to { translate: var(--dx) var(--dy); opacity: 0; scale: 1 .2; } }

/* ---------- ホームの入り ---------- */
.home.mv-in { animation: none; }
.home.mv-in .rank { animation: mvSlideR 0.25s var(--ezb) both; }
.home.mv-in .rank > b { animation: mvSlam 0.225s 0.05s var(--ezb) both; }
.home.mv-in .streak { animation: mvDrop 0.25s 0.09s var(--ezb) both; }
.home.mv-in .gear { animation: mvPop 0.175s var(--ezb) both; }
.home.mv-in .gear:nth-of-type(1) { animation-delay: 0.12s; } .home.mv-in .gear:nth-of-type(2) { animation-delay: 0.15s; }
.home.mv-in .date { animation: mvTtl 0.25s 0.1s var(--ez) both; }
.home.mv-in .pa-fig { animation: mvRise 0.35s 0.05s var(--ez) both; }
.home.mv-in .pa-bub { transform-origin: 85% 90%; animation: mvBub 0.225s 0.275s var(--ezb) both; }
.home.mv-in .hbg .band { animation: mvBand 0.4s var(--ez) both; }
.home.mv-in .rec { animation: mvSlideR 0.225s 0.175s var(--ezb) both, mvNext 1.6s 0.6s ease-in-out infinite; }
.home.mv-in .sj { animation: mvSlam 0.225s var(--ezb) both; animation-delay: calc(var(--i, 0) * 35ms + 225ms); }
@keyframes mvSlam { from { opacity: 0; scale: 1.6; } 60% { opacity: 1; scale: .94; } }
@keyframes mvDrop { from { opacity: 0; translate: 0 -24px; } 70% { translate: 0 3px; } }
@keyframes mvPop { from { opacity: 0; scale: .3; } }
@keyframes mvRise { from { opacity: 0; translate: 0 40px; } }
@keyframes mvBub { from { opacity: 0; scale: .3; rotate: -6deg; } }
@keyframes mvBand { from { clip-path: polygon(0 35%, 0 35%, 0 100%, 0 100%); } }
/* 相棒がゆっくり呼吸する */
.pa-home .pa-fig img { animation: mvBreath 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes mvBreath { 50% { scale: 1.008 1.014; } }

/* ---------- 答えたとき ---------- */
.ch.ok, .qb.ok, .tile.ok { animation: mvOk 0.25s var(--ezb); }
@keyframes mvOk { 0% { scale: 1; } 30% { scale: 1.08; box-shadow: 0 0 0 6px color-mix(in srgb, var(--lime) 45%, transparent); } 100% { scale: 1; } }
.ngx { animation: mvNg 0.21s ease-in-out; }
@keyframes mvNg { 20% { translate: -9px 0; } 40% { translate: 8px 0; } 60% { translate: -6px 0; } 80% { translate: 4px 0; } }
.ch.ng:not(.ngx) { transition: opacity 0.15s; }

/* ---------- 出てくるもの ---------- */
.modal.mv-pop { animation: mvFade 0.1s both; }
.modal.mv-pop .mbox { animation: mvBox 0.19s var(--ezb) both; }
@keyframes mvBox { from { opacity: 0; scale: .8; translate: 0 20px; } }
.toast.mv-pop { animation: mvToast 0.175s var(--ezb) both; }
@keyframes mvToast { from { opacity: 0; translate: 0 20px; scale: .9; } }
.ga-res.mv-pop { animation: mvBox 0.225s var(--ezb) both; }

/* ---------- キャラ一覧：顔の円が回り込む ---------- */
.ch-card.mv-st .ch-face { animation: mvFace 0.25s var(--ezb) both; animation-delay: calc(var(--i, 0) * 18ms + 80ms); }
@keyframes mvFace { from { scale: .5; rotate: -25deg; opacity: 0; } }
.ga-stone { overflow: hidden; }
.ga-stone::after { content: ''; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); animation: mvShine 3.2s 1s ease-in-out infinite; pointer-events: none; }
@keyframes mvShine { 0%, 60% { left: -40%; } 100% { left: 130%; } }

@media (prefers-reduced-motion: reduce) { .mv-wipe, .mv-tap { display: none; } }

/* ================= バリエーション（2026-11-20「単調」） ================= */
/* ---------- 切り替えの形を行き先で変える ---------- */
.mv-wipe.iris i { top: 50%; left: 50%; width: 10px; height: 10px; bottom: auto; rotate: 0deg; border-radius: 50%; translate: -50% -50%; animation: mvIris .32s cubic-bezier(.7,0,.3,1) both; }
.mv-wipe.iris i:nth-child(2) { animation-delay: .04s; }
.mv-wipe.iris i:nth-child(3) { animation-delay: .08s; background: var(--bk); }
@keyframes mvIris { 0% { scale: 0; opacity: 1; } 70% { opacity: 1; } 100% { scale: 120; opacity: 0; } }
.mv-wipe.shutter { display: flex; }
.mv-wipe.shutter i { position: relative; inset: auto; left: auto; rotate: none; flex: 1; width: auto; height: 100%; top: 0; background: var(--or); transform-origin: top; animation: mvShut .34s cubic-bezier(.7,0,.3,1) both; animation-delay: calc(var(--k, 0) * 30ms); }
.mv-wipe.shutter i:nth-child(2) { --k: 1; background: var(--lime); } .mv-wipe.shutter i:nth-child(3) { --k: 2; }
.mv-wipe.shutter i:nth-child(4) { --k: 3; background: var(--lime); } .mv-wipe.shutter i:nth-child(5) { --k: 4; }
@keyframes mvShut { 0% { scale: 1 0; transform-origin: top; } 45% { scale: 1 1; transform-origin: top; } 55% { scale: 1 1; transform-origin: bottom; } 100% { scale: 1 0; transform-origin: bottom; } }
.mv-wipe.blind { display: flex; flex-direction: column; }
.mv-wipe.blind i { position: relative; inset: auto; left: auto; top: auto; rotate: none; flex: 1; width: 100%; background: var(--lime); animation: mvBlind .32s cubic-bezier(.7,0,.3,1) both; animation-delay: calc(var(--k, 0) * 25ms); }
.mv-wipe.blind i:nth-child(even) { background: var(--wh); }
.mv-wipe.blind i:nth-child(2) { --k: 1; } .mv-wipe.blind i:nth-child(3) { --k: 2; } .mv-wipe.blind i:nth-child(4) { --k: 3; } .mv-wipe.blind i:nth-child(5) { --k: 4; } .mv-wipe.blind i:nth-child(6) { --k: 5; }
.mv-wipe.blind.l i { animation-name: mvBlindL; }
@keyframes mvBlind { 0% { clip-path: inset(0 100% 0 0); } 50% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }
@keyframes mvBlindL { 0% { clip-path: inset(0 0 0 100%); } 50% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }

/* ---------- 画面の入り方も行き先で変える ---------- */
#main[data-to=chara] > .mv-in { animation: mvZoomIn .26s var(--ez) both; }
#main[data-to=gacha] > .mv-in { animation: mvFromTop .26s var(--ez) both; }
#main[data-to=record] > .mv-in { animation: mvUnblur .3s var(--ez) both; }
@keyframes mvZoomIn { from { opacity: 0; scale: 1.08; } }
@keyframes mvFromTop { from { opacity: 0; translate: 0 -30px; } }
@keyframes mvUnblur { from { opacity: 0; filter: blur(8px); } }

/* ---------- 単語のタイル：カードがめくれて出る（左右の列で向きを変える） ---------- */
.lx-tiles { perspective: 700px; }
.lx-tile.mv-st { animation-name: mvFlipL; animation-duration: .3s; }
.lx-tile.mv-st:nth-child(even) { animation-name: mvFlipR; }
@keyframes mvFlipL { from { opacity: 0; rotate: y -90deg; } 70% { rotate: y 8deg; } }
@keyframes mvFlipR { from { opacity: 0; rotate: y 90deg; } 70% { rotate: y -8deg; } }
.lx-tile.mv-st .lx-no { animation: mvNumUp .3s var(--ezb) both; animation-delay: calc(var(--i, 0) * 18ms + 140ms); }
@keyframes mvNumUp { from { translate: 0 60%; opacity: 0; } }

/* ---------- 文法の行：番号が回って押され、単元名が左から書かれる ---------- */
.lx-row.mv-st { animation-name: mvFade; animation-duration: .15s; }
.lx-row.mv-st .lx-num { animation: mvStamp .3s var(--ezb) both; animation-delay: calc(var(--i, 0) * 22ms + 40ms); }
.lx-row.mv-st .lx-tx b { animation: mvType .32s steps(12) both; animation-delay: calc(var(--i, 0) * 22ms + 110ms); }
.lx-row.mv-st .lx-ck { animation: mvPop .25s var(--ezb) both; animation-delay: calc(var(--i, 0) * 22ms + 260ms); }
@keyframes mvStamp { from { opacity: 0; scale: 2; rotate: -90deg; } 70% { scale: .9; rotate: 6deg; } }
@keyframes mvType { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.lx-row.mv-st { border-bottom-color: transparent; background-image: linear-gradient(var(--ln), var(--ln)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; animation: mvLine .4s var(--ez) both; animation-delay: calc(var(--i, 0) * 22ms + 60ms); }
.lx-row.mv-st.nx { background-image: linear-gradient(var(--ln), var(--ln)), linear-gradient(90deg, color-mix(in srgb, var(--or) 14%, transparent), transparent 70%); background-size: 0 1px, 100% 100%; }
@keyframes mvLine { to { background-size: 100% 1px; } }

/* ---------- 読解のファイル：引き出しから落ちてくる。つまみは後から横に出る ---------- */
.lx-files { perspective: 900px; }
.lx-file.mv-st { animation-name: mvDrawer; animation-duration: .38s; transform-origin: top; }
@keyframes mvDrawer { from { opacity: 0; rotate: x -70deg; translate: 0 -10px; } 70% { rotate: x 6deg; } }
.lx-file.mv-st .lx-ftab { animation: mvTab2 .25s var(--ezb) both; animation-delay: calc(var(--i, 0) * 30ms + 220ms); }
@keyframes mvTab2 { from { clip-path: inset(0 100% 0 0); translate: -10px 0; } to { clip-path: inset(0 0 0 0); } }

/* ---------- キャラ：配られるカードのように中央から散る ---------- */
.ch-card.mv-st { animation-name: mvDeal; animation-duration: .36s; }
.ch-card.mv-st:nth-child(3n+1) { --dx: 110%; --rt: -14deg; }
.ch-card.mv-st:nth-child(3n+2) { --dx: 0%; --rt: 6deg; }
.ch-card.mv-st:nth-child(3n) { --dx: -110%; --rt: 14deg; }
@keyframes mvDeal { from { opacity: 0; translate: var(--dx, 0) 40px; rotate: var(--rt, 0deg); scale: .7; } }

/* ---------- ガチャ：石の欄はシャッターが上がる、情報は中央から割れる、ボタンは押される ---------- */
.mv-in .ga-stone { animation: mvShutUp .35s .05s var(--ez) both; }
@keyframes mvShutUp { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.ga-info > div.mv-st:nth-child(1) { animation-name: mvFromR; } .ga-info > div.mv-st:nth-child(2) { animation-name: mvFromL; }
@keyframes mvFromR { from { opacity: 0; translate: 50% 0; } } @keyframes mvFromL { from { opacity: 0; translate: -50% 0; } }
.ga-btn.mv-st { animation-name: mvSlam; animation-duration: .3s; animation-delay: calc(var(--i, 0) * 60ms + 200ms); }

/* ---------- 記録：数字の札は上から落ちる、暦は斜めの波 ---------- */
.rc.mv-st { animation-name: mvDrop; animation-duration: .32s; animation-delay: calc(var(--i, 0) * 50ms + 40ms); }
.cal > span.mv-st, .cal > i.mv-st { animation: mvCell .25s var(--ezb) both; animation-delay: calc(var(--d, 0) * 22ms + 120ms); }
@keyframes mvCell { from { opacity: 0; scale: 0; rotate: 45deg; } }

/* ---------- レベル：ドミノのように倒れて出る ---------- */
.lx-lvs { perspective: 400px; }
.lx-lvs button.mv-st { animation-name: mvDomino; animation-duration: .26s; transform-origin: bottom; }
@keyframes mvDomino { from { opacity: 0; rotate: x 90deg; } }
/* 見出しの下の線が伸びる */
.mv-in .lx-h { border-bottom-color: transparent; background: linear-gradient(var(--ln), var(--ln)) 0 100% / 0 1px no-repeat; animation: mvLine .45s .1s var(--ez) both; }
/* まとめの欄に光が走る */
.lx-sum { position: relative; overflow: hidden; }
.mv-in .lx-sum::after { content: ''; position: absolute; top: 0; bottom: 0; left: -30%; width: 25%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent); animation: mvSweep .55s .2s ease-out both; }
@keyframes mvSweep { to { left: 120%; } }
/* 科目のタブは左右に揺れて入る */
.ltabs button.mv-st { animation-name: mvSwing; animation-duration: .3s; transform-origin: top; }
@keyframes mvSwing { from { opacity: 0; rotate: -12deg; } 60% { rotate: 4deg; } }

/* ---------- 答え：正解は光の輪が弾ける、不正解は色がぶれる ---------- */
.ch.ok, .qb.ok, .tile.ok { position: relative; }
.ch.ok::after, .qb.ok::after { content: ''; position: absolute; inset: -2px; border: 3px solid var(--lime); pointer-events: none; animation: mvOkRing .45s ease-out both; }
@keyframes mvOkRing { from { opacity: 1; scale: 1; } to { opacity: 0; scale: 1.25 1.6; } }
.ngx { animation: mvNg .42s ease-in-out, mvGlitch .42s steps(3); }
@keyframes mvGlitch { 0% { filter: drop-shadow(-3px 0 0 var(--or)) drop-shadow(3px 0 0 #3cf); } 50% { filter: drop-shadow(3px 0 0 var(--or)) drop-shadow(-3px 0 0 #3cf); } 100% { filter: none; } }

/* ================= グラつきを止める（2026-11-20「グラグラしている」） =================
   回転・跳ね返り（行き過ぎて戻る）・3Dのめくれ・呼吸をやめる。
   動きの種類は「切り抜きで現れる・まっすぐ滑る・大きさだけ変わる」で分ける */
:root { --ezb: cubic-bezier(.2,.8,.2,1); }
@keyframes mvFlipL { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mvFlipR { from { opacity: 0; clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes mvDrawer { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mvDeal { from { opacity: 0; translate: 0 18px; scale: .92; } }
@keyframes mvSwing { from { opacity: 0; translate: 0 -10px; } }
@keyframes mvDomino { from { opacity: 0; clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mvStamp { from { opacity: 0; scale: 1.6; } }
@keyframes mvChoice { from { opacity: 0; translate: 32px 0; } }
@keyframes mvCell { from { opacity: 0; scale: .4; } }
@keyframes mvFace { from { opacity: 0; scale: .7; } }
@keyframes mvFile { from { opacity: 0; translate: 0 18px; } }
@keyframes mvItem { from { opacity: 0; translate: 0 12px; } }
@keyframes mvTab { from { scale: 1.12; } }
@keyframes mvIcon { from { translate: 0 5px; opacity: .4; } }
@keyframes mvSel { from { scale: .92; } }
@keyframes mvSlam { from { opacity: 0; scale: 1.35; } }
@keyframes mvDrop { from { opacity: 0; translate: 0 -18px; } }
@keyframes mvBub { from { opacity: 0; scale: .6; } }
@keyframes mvOk { 0%, 100% { scale: 1; } 35% { scale: 1.04; box-shadow: 0 0 0 6px color-mix(in srgb, var(--lime) 45%, transparent); } }
.pa-home .pa-fig img { animation: none; }
.lx-tiles, .lx-files, .lx-lvs { perspective: none; }
button:not(:disabled):active { scale: .97; }

/* 起動の帯スラッシュ（どぱたん＋の起動と同じ形。2026-11-20 アオイ指示） */
#bnd{position:fixed;inset:0;z-index:300;background:#0a0b0d;pointer-events:none;overflow:hidden;transition:background .3s ease .2s}
#bnd .bnb{position:absolute;left:-30%;right:-30%;top:46%;height:84px;margin-top:-42px;background:var(--lime,#d4ff1e);transform:rotate(-14deg) translateX(-130%);transition:transform .3s cubic-bezier(.2,.9,.2,1)}
#bnd.in .bnb{transform:rotate(-14deg) translateX(0)}
#bnd .bnl{position:absolute;left:0;right:0;top:46%;margin-top:-34px;display:flex;justify-content:center;align-items:baseline;gap:1px;transform:rotate(-14deg);font:400 54px/68px "Dela Gothic One",sans-serif;color:#0a0b0d;letter-spacing:-.02em}
#bnd .bnl span{opacity:0;transform:translateY(-40px) scale(1.6);transition:opacity .12s,transform .2s cubic-bezier(.2,1.4,.4,1)}
#bnd .bnl .bnp{font:400 34px/1 "Anton",sans-serif;margin-left:.18em;letter-spacing:.02em;background:#0a0b0d;color:var(--lime,#d4ff1e);padding:3px 7px 2px;transform:translateY(-40px) scale(1.6) skewX(-10deg)}
#bnd.in .bnl span{opacity:1;transform:none}
#bnd.in .bnl .bnp{transform:skewX(-10deg)}
#bnd.in .bnl span:nth-child(1){transition-delay:.26s}#bnd.in .bnl span:nth-child(2){transition-delay:.32s}#bnd.in .bnl span:nth-child(3){transition-delay:.38s}#bnd.in .bnl span:nth-child(4){transition-delay:.44s}#bnd.in .bnl span:nth-child(5){transition-delay:.54s}
#bnd.up{background:transparent;transition:background .3s ease}
#bnd.up .bnb,#bnd.up .bnl{transform:rotate(-14deg) translateY(-62vh) scale(.6);opacity:0;transition:transform .5s cubic-bezier(.6,0,.2,1),opacity .4s ease .15s}
html.calm #bnd{display:none}
