.mad-bottom{position:fixed;z-index:80;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#211820f5;border-top:1px solid #77533c;padding:5px 8px calc(5px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.mad-bottom a{flex:1;max-width:150px;display:flex;flex-direction:column;align-items:center;gap:3px;color:#edbd7e;text-decoration:none;font:600 11px system-ui;padding:6px;border-radius:9px}.mad-bottom a[aria-current]{background:#54302d}.mad-bottom svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}body.mad-nav-ready{padding-bottom:calc(85px + env(safe-area-inset-bottom))!important}.mad-transition{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;background:radial-gradient(ellipse,#51272a,#130e12);pointer-events:none;overflow:hidden;animation:mad-in .18s both}.mad-transition svg{width:min(85vw,420px);height:auto;overflow:visible}.mad-roll{transform-origin:center bottom;animation:mad-roll .8s both}.mad-bear{font-size:120px;animation:mad-bear .8s both}.mad-claw{stroke-dasharray:300;stroke-dashoffset:300;animation:mad-draw .3s .35s forwards}.mad-left{animation:mad-left .7s both}.mad-right{animation:mad-right .7s both}.mad-spark{transform-origin:center;animation:mad-spark .45s .35s both}.mad-rise{stroke-dasharray:450;stroke-dashoffset:450;animation:mad-draw .75s both}@keyframes mad-in{from{opacity:0}to{opacity:1}}@keyframes mad-roll{from{transform:translateY(65vh) scaleY(.05)}to{transform:none}}@keyframes mad-bear{from{transform:translateY(65vh) scale(.5)}60%{transform:scale(1.3)}to{transform:scale(1.5)}}@keyframes mad-draw{to{stroke-dashoffset:0}}@keyframes mad-left{from{transform:translate(-140px,120px) rotate(-20deg)}to{transform:none}}@keyframes mad-right{from{transform:translate(140px,120px) rotate(20deg)}to{transform:none}}@keyframes mad-spark{0%,100%{opacity:0;transform:scale(.2)}50%{opacity:1;transform:scale(1.5)}}@media(prefers-reduced-motion:reduce){.mad-transition{display:none}}
.mad-bottom{align-items:center;gap:0}.mad-bottom a{min-width:0;padding:6px 2px;font-size:clamp(9px,2.7vw,11px)}.mad-upload-slot{flex:1;max-width:85px;min-width:48px;display:flex;flex-direction:column;align-items:center;gap:3px;color:#edbd7e;font:600 11px system-ui}.mad-upload{display:grid;place-items:center;width:46px;height:46px;margin-top:-20px;border-radius:50%;border:2px solid #edbd7e;background:linear-gradient(145deg,#a76c39,#633025);color:#ffe0ad;box-shadow:0 0 15px #d99b4a55;padding:0;cursor:pointer}.mad-upload-dialog{position:fixed;inset:auto 0 calc(65px + env(safe-area-inset-bottom)) 0;margin:0 auto;padding:0;border:0;background:transparent;color:#f5cf8b;width:min(100%,360px);max-width:100%;overflow:visible;font-family:system-ui}.mad-upload-dialog::backdrop{background:#130e12c9}.mad-radial{height:220px;position:relative}.mad-choice{position:absolute;display:flex;flex-direction:column;align-items:center;gap:5px;color:#f5cf8b!important;text-decoration:none;font:600 12px system-ui;animation:mad-choice-in .25s both}.mad-choice b,.mad-choice-close{display:grid;place-items:center;width:60px;height:60px;border:1px solid #d5a36a;border-radius:50%;background:#48282a;font-size:27px;box-shadow:0 0 18px #d99b4a33}.mad-choice-left{left:12%;bottom:45px}.mad-choice-top{left:50%;top:5px;transform:translateX(-50%)}.mad-choice-right{right:12%;bottom:45px}.mad-choice-close{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:44px;height:44px;color:#f5cf8b;padding:0;cursor:pointer}.mad-denied{margin:12px;padding:24px;text-align:center;background:#302129;border:1px solid #77533c;border-radius:18px}.mad-denied h2{font:700 22px system-ui;color:#f5cf8b}.mad-denied p{color:#e5c9b6}.mad-denied button{background:#85502f;border:1px solid #d5a36a;border-radius:10px;padding:10px 24px;color:white;cursor:pointer}@keyframes mad-choice-in{from{opacity:0;scale:.4}to{opacity:1;scale:1}}@media(prefers-reduced-motion:reduce){.mad-choice{animation:none}}
.mad-upload-dialog .mad-choice:focus{outline:none!important}.mad-upload-dialog .mad-choice:focus-visible b{outline:2px solid #edbd7e;outline-offset:4px}.mad-upload-dialog .mad-choice{-webkit-tap-highlight-color:transparent}.mad-upload-dialog .mad-choice-close:focus-visible{outline:2px solid #edbd7e;outline-offset:3px}

.mad-radial{height:250px}.mad-choice-left{left:5%;bottom:58px}.mad-choice-right{right:5%;bottom:58px}.mad-choice-top{left:32%;top:12px}.mad-choice-players{left:68%;top:12px;transform:translateX(-50%)}
