/* ===== Avo Brawl (brawl-game.js) — mọi lớp đều có tiền tố br- ===== */
.br{display:flex;flex-direction:column;align-items:center;gap:10px}
.br-stage{position:relative;width:100%;max-width:1200px;height:min(calc(76vh * var(--vz, 1)),700px);min-height:440px;border-radius:16px;overflow:hidden;background:#A9D46E;box-shadow:0 18px 40px rgba(46,59,34,.22),0 0 0 2px #2E3B22;font-family:"Patrick Hand","Be Vietnam Pro",system-ui,sans-serif;color:#2E3B22;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.br-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.br-layer{position:absolute;inset:0;z-index:3}
.br-layer[hidden],.br-panel[hidden],.br-pause[hidden]{display:none}
.br-btn:focus-visible,.br-tog:focus-visible,.br-tm:focus-visible,.br-opt:focus-visible,.br-pause:focus-visible,.br-up:focus-visible{outline:3px solid #E07A1F;outline-offset:2px}

/* --- màn đầu --- */
.br-title{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px;text-align:center;background:radial-gradient(ellipse at 50% 45%,rgba(255,251,234,.5),rgba(255,251,234,0) 70%)}
.br-kicker{margin:0;letter-spacing:.28em;font-size:15px;color:rgba(46,59,34,.7);text-transform:uppercase}
.br-logo{position:relative;margin:0 0 2px;font-family:inherit;font-weight:400;line-height:.8;display:flex;align-items:baseline;gap:.12em;transform:rotate(-4deg)}
.br-logo span{font-size:clamp(40px,calc(7vh * var(--vz, 1)),64px);color:#FFFBEA;-webkit-text-stroke:2.5px #2E3B22;paint-order:stroke fill;text-shadow:3px 3px 0 #2E3B22;transform:rotate(-6deg) translateY(-.1em);display:inline-block}
.br-logo b{font-weight:400;font-size:clamp(70px,calc(13vh * var(--vz, 1)),124px);letter-spacing:.01em;background:linear-gradient(180deg,#E9F5A0 8%,#9BD873 45%,#4E9A3E 78%,#2F6B27 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:2.5px #2E3B22;filter:drop-shadow(4px 5px 0 #2E3B22);padding:0 .06em}
.br-logo i{position:absolute;right:-.62em;top:-.32em;width:clamp(36px,calc(6vh * var(--vz, 1)),54px);transform:rotate(-20deg);animation:brSway 2.6s ease-in-out infinite;transform-origin:10% 90%}
.br-logo i svg{width:100%;display:block}
@keyframes brSway{50%{transform:rotate(-4deg)}}
.br-how{margin:0 16px 4px;max-width:440px;font-family:"Be Vietnam Pro",system-ui,sans-serif;font-size:14px;line-height:1.45;background:rgba(255,251,234,.93);border:2px dashed rgba(46,59,34,.45);border-radius:12px;padding:6px 12px;transform:rotate(.6deg)}
.br-how b{color:#3E7A2E}
.br-menu{width:min(92%,430px);display:flex;flex-direction:column;align-items:center;gap:8px;background:rgba(255,251,234,.96);border:2.5px solid #2E3B22;border-radius:18px;box-shadow:4px 4px 0 #2E3B22;padding:12px 12px 9px}
.br-btn{font-family:inherit;font-size:24px;padding:3px 26px;border-radius:14px;border:2.5px solid #2E3B22;background:#fff;color:#2E3B22;cursor:pointer;box-shadow:3px 3px 0 #2E3B22;transition:background .12s,transform .08s}
.br-btn:hover{background:#F1F8E2}.br-btn:active{transform:translate(2px,2px);box-shadow:1px 1px 0 #2E3B22}
.br-btn.pri{background:#9BD873}.br-btn.pri:hover{background:#B3E492}
.br-menu>.br-btn.pri{min-width:180px;font-size:32px;line-height:1.15}
.br-src{display:flex;justify-content:center;width:100%}
.br-src .tp-btn{min-width:240px;max-width:320px;min-height:44px;border:2px solid #2E3B22;background:#fff;font-family:"Be Vietnam Pro",system-ui,sans-serif}
.br-src select:not(.tp-native){max-width:300px;font:inherit;font-size:16px;padding:4px 8px;border-radius:10px;border:2px solid #2E3B22}
.br-times{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;justify-content:center;font-size:17px;color:rgba(46,59,34,.82)}
.br-times>span{margin-right:3px;white-space:nowrap}
.br-tm{font-family:inherit;font-size:.95em;min-width:40px;padding:0 9px;border-radius:999px;border:2px solid #2E3B22;background:#fff;color:#2E3B22;cursor:pointer;line-height:1.5;white-space:nowrap}
.br-tm:hover{background:#F1F8E2}.br-tm.on{background:#2E3B22;color:#fff}
.br-row2{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;justify-content:center}
.br-tog{font-family:inherit;font-size:17px;border:0;background:none;color:rgba(46,59,34,.78);cursor:pointer;padding:2px 8px;border-radius:10px}
.br-tog:hover{background:rgba(155,216,115,.3);color:#2E3B22}.br-tog b{font-weight:400;color:#2E3B22}
.br-best{font-size:16px;color:rgba(46,59,34,.75)}.br-best b{font-weight:400;color:#3E7A2E;font-size:19px}
.br-keys{margin:0;font-size:14px;color:rgba(46,59,34,.62);line-height:1.6}
.br-keys kbd,.br-opt kbd,.br-up kbd{display:inline-block;min-width:20px;padding:0 4px;border:1.5px solid rgba(46,59,34,.5);border-radius:6px;background:#fff;font-family:"Patrick Hand","Be Vietnam Pro",system-ui,sans-serif;font-size:13px;line-height:18px;margin:0 1px;text-align:center;color:#2E3B22}

/* --- nút tạm dừng --- */
.br-pause{position:absolute;top:12px;right:12px;width:38px;height:30px;border-radius:9px;border:2.2px solid #2E3B22;background:#FFFBEA;color:#2E3B22;font-size:11px;letter-spacing:-1px;cursor:pointer;z-index:4;box-shadow:2px 2px 0 #2E3B22}

/* --- câu hỏi + nâng cấp (giữa màn, thế giới tạm dừng) --- */
.br-panel{position:absolute;inset:0;z-index:2;display:grid;place-items:center;padding:12px;background:rgba(34,48,26,.38)}
.br-panel.in>*{animation:brIn .24s cubic-bezier(.2,1.4,.5,1)}
@keyframes brIn{from{opacity:.2;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
.br-qc{position:relative;width:min(560px,100%);background:#FFFDF4;border:2.5px solid #2E3B22;border-radius:18px;padding:12px 14px 14px;box-shadow:5px 5px 0 #2E3B22}
.br-qc.chest{background:#FFF7E4;box-shadow:5px 5px 0 #2E3B22,0 0 40px rgba(255,210,74,.7)}
.br-qtop{display:flex;align-items:center;gap:10px;margin-bottom:8px;flex-wrap:wrap}
.br-qbadge{font-size:21px;line-height:1;padding:5px 12px 4px;border-radius:999px;background:#2E3B22;color:#FFF3A0;transform:rotate(-2deg)}
.br-qc.chest .br-qbadge{background:#B8743A;color:#FFFBEA}
.br-qsub{font-size:16px;color:rgba(46,59,34,.65)}
.br-qhead{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.br-timer{flex:1;height:10px;border-radius:6px;border:2px solid #2E3B22;background:#F3F1E4;overflow:hidden}
.br-timer i{display:block;height:100%;background:linear-gradient(90deg,#6EC6E6,#9BD873)}
.br-timer.hurry i{background:#E5484D;animation:brBlink .5s steps(2) infinite}
@keyframes brBlink{50%{opacity:.55}}
.br-tnum{flex:none;width:36px;height:36px;border-radius:50%;background:#fff;border:2.5px solid #2E3B22;display:grid;place-items:center;font-size:21px;line-height:1;box-shadow:2px 2px 0 #2E3B22}
.br-tnum.hurry{background:#E5484D;color:#fff}.br-tnum.beat{animation:brBeat .35s ease-out}
@keyframes brBeat{0%{transform:scale(1.35)}100%{transform:scale(1)}}
.br-ask{margin:2px 0 10px;font-family:"Be Vietnam Pro",system-ui,sans-serif;font-size:18px;font-weight:500;line-height:1.35;color:#2E3B22}
.br-ask b{font-weight:700;color:#2F6B27}
.br-sent{display:block;margin-top:6px;padding:7px 10px;border-radius:10px;background:#F1F8E2;border:1.5px dashed rgba(46,59,34,.35);font-size:15px;font-weight:400;font-style:italic;line-height:1.4}
.br-opts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.br-opt{position:relative;display:flex;align-items:center;gap:8px;min-height:52px;text-align:left;padding:7px 10px;border-radius:12px;border:2px solid #2E3B22;background:#fff;font-family:"Be Vietnam Pro",system-ui,sans-serif;font-size:14.5px;line-height:1.25;color:#2E3B22;cursor:pointer;box-shadow:2px 2px 0 #2E3B22;transition:background .1s,transform .06s}
.br-opt span{flex:1;overflow-wrap:anywhere}
.br-opt:hover:not([disabled]){background:#F1F8E2}.br-opt:active:not([disabled]){transform:translate(1px,1px);box-shadow:1px 1px 0 #2E3B22}
.br-opt[disabled]{cursor:default}
.br-opt.right{background:#9BD873}.br-opt.wrong{background:#F7B7B2;animation:brShake .3s}.br-opt.dim{opacity:.45}
.br-opt i{font-style:normal;font-weight:700;font-size:18px}.br-opt.right i{color:#2E6E26}.br-opt.wrong i{color:#C8243F}
@keyframes brShake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.br-fb{position:absolute;right:14px;top:-18px;transform:rotate(-2deg);margin:0;white-space:nowrap;padding:2px 14px;border-radius:999px;border:2.5px solid #2E3B22;font-size:19px;box-shadow:2px 2px 0 #2E3B22;animation:brPop .25s ease-out}
.br-fb.ok{background:#9BD873}.br-fb.bad{background:#FFB0A0}
@keyframes brPop{from{transform:scale(.6)}to{transform:rotate(-2deg) scale(1)}}
.br-ansline{margin:10px 0 0;padding:6px 10px;border-radius:10px;background:#FDECEA;font-family:"Be Vietnam Pro",system-ui,sans-serif;font-size:14px;line-height:1.4}
.br-ansline b{color:#C8243F}
.br-next{display:block;margin:10px auto 0;font-size:20px;padding:1px 20px}

/* thẻ lên cấp: bảng gỗ tối + gói hạt giống */
.br-pick{width:min(560px,100%);max-height:100%;overflow:auto;background:#2C3A26;background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.03) 0 14px,rgba(0,0,0,.04) 14px 28px);border:3px solid #1C2617;border-radius:22px;padding:14px 14px 16px;box-shadow:0 0 0 3px #6E8C4A,6px 8px 0 3px rgba(28,38,23,.6);color:#FFFBEA}
.br-ph{position:relative;text-align:center;margin:0 0 12px}
.br-ph h3{margin:0;font-family:"Patrick Hand",system-ui,sans-serif;font-weight:400;font-size:46px;line-height:1;color:#E9F5A0;text-shadow:3px 3px 0 #1C2617;transform:rotate(-2deg)}
.br-pick.chest .br-ph h3{color:#FFD24A}
.br-pick.bad .br-ph h3{color:#FFB0A0}
.br-ph p{margin:4px 0 0;font-family:"Be Vietnam Pro",system-ui,sans-serif;font-size:14px;color:rgba(255,251,234,.8)}
.br-sprout{position:absolute;left:calc(50% + 90px);top:-6px;width:40px;transform:rotate(-14deg)}
.br-sprout svg{width:100%;display:block}
.br-cards{display:flex;flex-direction:column;gap:10px}
.br-up{position:relative;display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:10px 12px 10px 10px;border-radius:14px;border:2.5px solid #1C2617;background:#FFF8E6;color:#2E3B22;cursor:pointer;box-shadow:0 4px 0 #1C2617;transition:transform .1s,box-shadow .1s,background .1s;font:inherit}
.br-up::before{content:"";position:absolute;left:0;top:0;bottom:0;width:8px;border-radius:12px 0 0 12px;background:var(--ic)}
.br-up:hover{transform:translateY(-2px);box-shadow:0 6px 0 #1C2617;background:#FFFDF4}
.br-up:active{transform:translateY(2px);box-shadow:0 2px 0 #1C2617}
.br-up>kbd{position:absolute;right:8px;top:8px}
.br-ic{flex:none;width:62px;height:62px;margin-left:6px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#fff,#F1F8E2 70%);border:2.5px solid #2E3B22;display:grid;place-items:center;box-shadow:inset 0 -4px 0 rgba(46,59,34,.12)}
.br-ic img{width:54px;height:54px}
.br-ub{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.br-un{font-family:"Patrick Hand",system-ui,sans-serif;font-size:24px;line-height:1.05;padding-right:26px}
.br-un small{font-size:16px;color:rgba(46,59,34,.6);margin-left:8px}
.br-new{display:inline-block;margin-left:8px;font-style:normal;font-size:15px;line-height:1;padding:3px 8px 2px;border-radius:6px;background:#E5484D;color:#fff;border:2px solid #2E3B22;transform:rotate(-6deg);vertical-align:3px;box-shadow:1px 1px 0 #2E3B22}
.br-ud{font-family:"Be Vietnam Pro",system-ui,sans-serif;font-size:13.5px;line-height:1.35;color:#3C4A30}
.br-um{display:flex;align-items:center;gap:10px;margin-top:3px}
.br-ut{font-size:13px;line-height:1;padding:2px 7px;border-radius:999px;background:rgba(46,59,34,.1);color:rgba(46,59,34,.75)}
.br-up.wpn .br-ut{background:rgba(229,72,77,.13);color:#A8323A}
.br-pips{display:flex;gap:4px}
.br-pips i{width:13px;height:13px;border-radius:50% 0 50% 0;border:1.8px solid #2E3B22;background:#fff;transform:rotate(-45deg)}
.br-pips i.on{background:#86C95A}
.br-pips i.new{background:#FFD24A;animation:brPip 1s ease-in-out infinite}
@keyframes brPip{50%{transform:rotate(-45deg) scale(1.3)}}
.br-up.is-new{background:#FFFBEA}

/* --- tạm dừng / hết ván --- */
.br-over{position:absolute;inset:0;display:grid;place-items:center;background:rgba(34,48,26,.42);backdrop-filter:blur(2px);padding:14px;cursor:pointer}
.br-card{cursor:default;width:min(440px,96%);max-height:calc(100% - 16px);overflow:auto;background:#FFFDF4;border:2.5px solid #2E3B22;border-radius:18px;box-shadow:5px 5px 0 #2E3B22;padding:16px 16px 14px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;animation:brCard .22s ease-out}
@keyframes brCard{from{opacity:0;transform:translateY(10px) rotate(-1deg)}to{opacity:1;transform:none}}
.br-card h3{margin:0;font-family:inherit;font-weight:400;font-size:31px;color:#2F6B27;line-height:1.1}
.br-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;width:100%}
.br-stats div{border:2px dashed rgba(46,59,34,.35);border-radius:12px;padding:4px 2px}
.br-stats b{display:block;font-weight:400;font-size:28px;color:#2E3B22;line-height:1.1}.br-stats b i{font-style:normal;font-size:17px;margin-left:1px}
.br-stats div:first-child b{color:#3E7A2E}
.br-stats small{font-size:14px;color:rgba(46,59,34,.6)}
.br-meta{margin:0;font-size:17px;color:rgba(46,59,34,.78);line-height:1.3}.br-meta b{font-weight:400;color:#2E3B22}
.br-build{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.br-bi{position:relative;width:40px;height:40px;border-radius:10px;border:2px solid #2E3B22;background:#F1F8E2;display:grid;place-items:center}
.br-bi img{width:34px;height:34px}
.br-bi b{position:absolute;right:-6px;bottom:-6px;min-width:18px;height:18px;border-radius:9px;background:#2E3B22;color:#FFF3A0;font-weight:400;font-size:13px;line-height:18px}
.br-row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.br-row .br-btn{font-size:21px;padding:3px 18px}
.br-review{width:100%;text-align:left;border-top:2px dashed rgba(46,59,34,.25);padding-top:9px}
.br-rv-h{margin:0 0 6px;font-size:19px}.br-rv-h small{font-size:14px;color:rgba(46,59,34,.6);margin-left:6px}
.br-review ul{list-style:none;margin:0;padding:0;display:grid;gap:4px;max-height:168px;overflow:auto}
.br-review li{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:baseline;padding:4px 8px;border-radius:8px;background:#F3F7EA;font-family:"Be Vietnam Pro",system-ui,sans-serif;font-size:13.5px}
.br-review li b{font-weight:700;color:#2E3B22}.br-review li span{color:#5a6650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.br-review li i{font-style:normal;font-weight:700;color:#3E8A2B}
.br-review li.bad{background:#FDECEA}.br-review li.bad i{color:#C8243F}
.br-rv-more,.br-rv-note,.br-rv-msg{margin:6px 0 0;font-size:14px;color:rgba(46,59,34,.65)}.br-rv-msg{color:#3E8A2B}
.br-save{margin-top:8px;font-size:18px!important;padding:3px 14px!important;width:100%}
.br-tip{margin:0;font-size:13px;color:var(--muted,#6b7563);text-align:center;max-width:620px}
body.br-playing .br-tip{display:none}
body.br-playing main{padding-bottom:10px}
@media (max-height:720px){.br-keys{display:none}.br-how{display:none}}
@media (prefers-reduced-motion:reduce){.br-card,.br-panel.in>*,.br-fb,.br-opt.wrong,.br-tnum.beat,.br-timer.hurry i,.br-logo i,.br-pips i.new{animation:none}}

/* --- điện thoại: khi vào trận, màn chơi phủ kín màn hình --- */
@media (max-width:760px){
  html:has(body.br-full),body.br-full{overflow:hidden;overscroll-behavior:none}
  body.br-full .br-stage{position:fixed;inset:0;z-index:400;width:calc(100vw * var(--vz, 1));height:calc(100dvh * var(--vz, 1));max-width:none;min-height:0;border-radius:0;box-shadow:none}
  body.br-full .br-pause{top:max(10px,env(safe-area-inset-top));width:42px;height:34px;font-size:13px}
  .br-stage{height:min(calc(72dvh * var(--vz, 1)),640px);min-height:500px}
  .br-panel{padding:10px 8px;align-items:center}
  .br-qc{padding:10px 10px 12px}
  .br-opts{grid-template-columns:1fr}
  .br-opt{min-height:50px;font-size:14.5px;padding:7px 9px}
  .br-ask{font-size:16.5px}
  .br-ph h3{font-size:40px}
  .br-up{padding:9px 10px 9px 8px;gap:10px}
  .br-ic{width:54px;height:54px}.br-ic img{width:46px;height:46px}
  .br-un{font-size:21px}
  .br-up>kbd{display:none}
  .br-stats{grid-template-columns:repeat(2,1fr)}
  .br-title{justify-content:flex-start;padding-top:18px}
  .br-logo b{font-size:clamp(66px,calc(11vh * var(--vz, 1)),100px)}
  .br-menu{gap:7px;padding:10px 10px 8px}
  .br-times{font-size:15.5px}.br-tm{min-width:36px;padding:0 7px}
  .br-src .tp-btn{min-height:42px;min-width:220px}
  .br-keys{display:none}
  .br-how,.br-kicker{display:none}
  .br-title{gap:10px;padding-top:26px}
}
@media (max-width:380px){.br-times{font-size:14px}.br-tm{min-width:32px;padding:0 5px}}
/* chọn nhân vật thay bơ (avatar.js → .hp-btn) */
.br-hero{display:flex;justify-content:center;width:100%;min-width:0}
.br-hero .hp-btn{min-height:40px;max-width:100%;border:2px solid #2E3B22;background:#fff;color:#2E3B22;box-shadow:2px 2px 0 #2E3B22;font-size:14px}
.br-hero .hp-btn:hover{background:#EEF7E2;border-color:#2E3B22}.br-hero .hp-btn:active{box-shadow:1px 1px 0 #2E3B22}
.br-hero .hp-thumb{width:31px;height:31px}.br-hero .hp-lab,.br-hero .hp-sep,.br-hero .hp-name small{color:rgba(46,59,34,.68)}.br-hero .hp-chg{color:#3E7A2E}
@media (max-width:760px){.br-hero .hp-btn{min-height:36px;font-size:13px;padding:2px 12px 2px 4px;gap:6px}.br-hero .hp-thumb{width:28px;height:28px}}
@media (max-width:380px){.br-hero .hp-lab{display:none}}
/* trả lời sai → mất ½ kinh nghiệm (thanh thu nhỏ có hoạt ảnh) */
.br-how .br-bad{color:#C8243F}
.br-loss{margin:10px 0 0;padding:8px 10px 7px;border-radius:12px;background:#FFF1EE;border:2px dashed rgba(200,36,63,.45);text-align:center}
.br-loss p{margin:6px 0 0;font-family:"Be Vietnam Pro",system-ui,sans-serif;font-size:14px;font-weight:600;line-height:1.35;color:#A8323A}
.br-lbar{position:relative;height:16px;border-radius:9px;border:2px solid #2E3B22;background:#FFFBEA;overflow:hidden}
.br-lbar i{position:absolute;left:0;top:0;bottom:0;width:50%;border-radius:7px;background:linear-gradient(90deg,#2FD3EE,#7FA2FF 60%,#B57BFF);animation:brLose 1.1s .35s cubic-bezier(.3,.7,.3,1) both}
.br-lbar::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:calc(var(--from,100%) - 50%);background:repeating-linear-gradient(-45deg,#F7B7B2 0 6px,#FDECEA 6px 12px);animation:brLoseR .9s 1.2s ease-out both}
.br-lbar b{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-family:"Patrick Hand",system-ui,sans-serif;font-weight:400;font-size:15px;line-height:1;color:#C8243F;animation:brLoseT .5s 1s ease-out both}
@keyframes brLose{from{width:var(--from,100%)}to{width:50%}}
@keyframes brLoseR{from{opacity:1}to{opacity:.35}}
@keyframes brLoseT{from{opacity:0;transform:translateY(-50%) scale(1.6)}to{opacity:1;transform:translateY(-50%) scale(1)}}
@media (prefers-reduced-motion:reduce){.br-lbar i,.br-lbar b,.br-lbar::before{animation:none}}

/* Logo: chữ Brawl tô màu từng chữ để từng chữ đập xuống riêng */
.br-logo b{background:none;-webkit-background-clip:border-box;background-clip:border-box;display:inline-flex}
.br-logo b em{font-style:normal;display:inline-block;background:linear-gradient(180deg,#E9F5A0 8%,#9BD873 45%,#4E9A3E 78%,#2F6B27 100%);-webkit-background-clip:text;background-clip:text;color:transparent;transform-origin:50% 100%}
.br-logo.br-intro span{animation:brSlamAvo .5s cubic-bezier(.3,1.6,.5,1) calc(.05s - var(--el,0s)) both}
.br-logo.br-intro b em{animation:brSlam .55s cubic-bezier(.2,1.5,.4,1) calc(.35s + var(--i)*.13s - var(--el,0s)) both}
.br-logo.br-intro b{animation:brShake .35s linear calc(1.05s - var(--el,0s)) both}
.br-logo.br-intro i{animation:brLeafIn .5s cubic-bezier(.3,1.6,.5,1) calc(1.15s - var(--el,0s)) both,brSway 2.6s ease-in-out calc(1.65s - var(--el,0s)) infinite}
@keyframes brSlam{0%{opacity:0;transform:translateY(-1.1em) scale(1.6) rotate(-12deg)}55%{opacity:1;transform:translateY(.06em) scale(1.12,.82) rotate(3deg)}75%{transform:translateY(-.05em) scale(.96,1.06)}100%{opacity:1;transform:none}}
@keyframes brSlamAvo{0%{opacity:0;transform:rotate(-6deg) translateY(-.1em) scale(.2)}100%{opacity:1;transform:rotate(-6deg) translateY(-.1em)}}
@keyframes brShake{0%,100%{translate:0 0}20%{translate:-6px 3px}40%{translate:5px -3px}60%{translate:-4px 2px}80%{translate:3px -1px}}
@keyframes brLeafIn{0%{opacity:0;scale:0}100%{opacity:1;scale:1}}
@media (prefers-reduced-motion:reduce){.br-logo.br-intro span,.br-logo.br-intro b,.br-logo.br-intro b em{animation:none}}
