:root{--ink:#282449;--pink:#f2a8dc;--yellow:#ffd768}*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent}body{margin:0;min-height:100vh;color:#fff;background:radial-gradient(circle at 50% 18%,#6e6198 0,#332d59 36%,#1f1c39 100%);font-family:ui-rounded,"SF Pro Rounded","PingFang SC",system-ui,sans-serif}.app{width:min(720px,calc(100% - 24px));margin:auto;padding:24px 0 60px}header{display:flex;justify-content:space-between;align-items:center}header span{font-size:9px;font-weight:900;letter-spacing:.18em;color:#d8cfff}h1{margin:3px 0 0;font:700 34px Georgia,"Songti SC",serif}header button{padding:10px 13px;border:1px solid rgba(255,255,255,.2);border-radius:12px;color:#fff;background:rgba(255,255,255,.08);font-weight:800;cursor:pointer}.roundbar{display:flex;justify-content:space-between;margin-top:19px;padding:13px 17px;border:1px solid rgba(255,255,255,.11);border-radius:17px;background:rgba(255,255,255,.07)}.roundbar small,.roundbar strong{display:block}.roundbar small{font-size:8px;color:#aaa1ca}.roundbar strong{margin-top:2px;font-size:13px}.roundbar>div:last-child{text-align:right}.arena{position:relative;min-height:430px;margin-top:12px;overflow:hidden;border-radius:27px;background:linear-gradient(160deg,#584b83,#292442);box-shadow:0 25px 70px rgba(0,0,0,.25)}.arena:after{content:"";position:absolute;left:-10%;right:-10%;bottom:-18%;height:48%;border-radius:50%;background:#b98ad5;opacity:.35}.orb{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.16)}.o1{width:280px;height:280px;left:-130px;top:-100px}.o2{width:330px;height:330px;right:-130px;bottom:-160px}.fighter{position:absolute;z-index:2}.fighter.enemy{right:8%;top:26px}.fighter.player{left:8%;bottom:26px}.name span,.name b{display:block}.name span{font-size:8px;color:#cfc8e1}.name b{font-size:17px}.enemy .name{text-align:right}.hp{width:170px;height:10px;margin-top:7px;overflow:hidden;border:2px solid rgba(255,255,255,.3);border-radius:99px;background:rgba(0,0,0,.25)}.hp i{display:block;width:100%;height:100%;border-radius:inherit;background:#73df91;transition:width .3s}.fighter>small{display:block;margin-top:3px;color:#c9c2d8;font-size:8px}.enemy>small{text-align:right}.beast{position:relative;width:130px;height:140px;display:grid;place-items:center;border:7px solid rgba(255,255,255,.78);border-radius:49% 51% 44% 56%;font-size:49px;box-shadow:0 18px 35px rgba(0,0,0,.25)}.beast span{position:relative;z-index:2}.beast i{position:absolute;width:24px;height:34px;bottom:-11px;border-radius:10px;background:inherit}.beast i:nth-of-type(1){left:18px}.beast i:nth-of-type(2){right:18px}.frost{margin:10px 20px 0 auto;background:#73b9ed}.spark{margin:0 0 10px 20px;background:#f49b57}.versus{position:absolute;z-index:4;left:50%;top:50%;width:48px;height:48px;display:grid;place-items:center;border:4px solid rgba(255,255,255,.25);border-radius:50%;color:var(--yellow);background:#282449;font-weight:900;font-size:12px;transform:translate(-50%,-50%) rotate(-8deg)}.console{position:relative;z-index:3;margin:-6px 14px 0;padding:17px;border-radius:20px;background:#f8f5ee;color:var(--ink);box-shadow:0 18px 50px rgba(0,0,0,.2)}.energy{display:flex;justify-content:space-between;align-items:center}.energy small{display:block;color:#8b849b;font-size:8px}.energy strong{color:#7b63e0;font-size:13px;letter-spacing:.13em}.energy p{margin:0;color:#746d82;font-size:11px}.skills{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.skill{padding:12px 7px;border:1px solid #e4dfea;border-radius:13px;background:#fff;text-align:left;cursor:pointer}.skill:disabled{opacity:.38}.skill span,.skill strong,.skill small{display:block}.skill span{font-size:22px}.skill strong{margin-top:5px;font-size:11px}.skill small{margin-top:3px;color:#8a8292;font-size:8px}.modal{position:fixed;z-index:10;inset:0;display:grid;place-items:center;padding:20px;background:rgba(18,15,34,.72);backdrop-filter:blur(8px)}.hidden{display:none}.modal>div{width:min(350px,100%);padding:30px;border-radius:27px;background:#fff;color:var(--ink);text-align:center}.modal span{display:block;font-size:55px}.modal small{color:#8d869c;font-size:9px;letter-spacing:.13em}.modal h2{margin:7px 0;font:700 29px Georgia,serif}.modal p{color:#766f82;font-size:12px;line-height:1.6}.modal button{width:100%;padding:13px;border:0;border-radius:13px;color:#fff;background:#6957ce;font-weight:900;cursor:pointer}@media(max-width:500px){.app{padding-top:17px}h1{font-size:29px}.arena{min-height:390px}.beast{width:105px;height:116px;font-size:40px}.hp{width:130px}.fighter.enemy{right:5%}.fighter.player{left:5%}.console{margin-inline:5px}.energy p{max-width:160px;text-align:right}.skill{padding:10px 5px}.skill strong{font-size:10px}}
