@font-face{font-family:BoxChinese;src:url('js/vendor/chinese.woff2') format('woff2');font-display:swap}body{font-family:BoxChinese,"PingFang SC",sans-serif}
:root{font-family:ui-rounded,"PingFang SC","Microsoft YaHei",sans-serif;color:#293f35;background:#eeeae0;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0}button:disabled{opacity:.4;cursor:default}#app{width:min(100%,480px);margin:auto;min-height:100dvh;background:#f8f5ed;padding:22px 24px 14px;position:relative;overflow:hidden}header{display:flex;justify-content:space-between;align-items:center}.brand{text-decoration:none;color:#304e3b;font-size:26px;font-weight:900;display:flex;gap:8px;align-items:center}.brand span{font-size:12px;letter-spacing:3px}.icon{width:34px;height:34px;border:1px solid #dbdfd2;background:transparent;border-radius:50%;font-size:22px}.heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 20px}.eyebrow{font-size:10px;letter-spacing:2px;color:#889383;margin:0 0 8px}h1{font-size:32px;letter-spacing:-1px;margin:0;font-weight:900}h1 span{color:#eaa34f;font-size:22px;margin-left:12px}.stats{display:flex;justify-content:space-between;padding:15px 16px;border:1px solid #dce2d4;border-radius:14px;background:#eff1e7}.stats small{display:block;font-size:10px;color:#81907c;margin-bottom:6px}.stats strong{font-size:21px;font-weight:800}.stats em{font-style:normal;font-size:10px;font-weight:400;color:#889383}#playfield{height:325px;position:relative;margin:10px -24px 0;background:radial-gradient(ellipse,#e3e9d8 0%,#f8f5ed 70%)}#scene{width:100%;height:100%;display:block;touch-action:none}.scene-note{position:absolute;top:12px;left:24px;right:24px;font-size:10px;color:#87957e;pointer-events:none;letter-spacing:1px}.live-dot{display:inline-block;width:5px;height:5px;background:#83a36e;border-radius:50%;margin-right:5px}#combo{float:right;color:#db8c34;font-weight:bold}.box-label{position:absolute;bottom:7px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:1.6px;color:#9b9f8e;pointer-events:none}.tray-area{margin-top:8px}.tray-heading{display:flex;justify-content:space-between;font-size:11px;align-items:center;margin-bottom:10px}.tray-heading strong{font-size:13px}.tray-heading strong span{font-size:10px;font-weight:400;color:#8d9685;margin-left:8px}#capacity{font-size:11px;color:#87917e}.tray{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;padding:8px;background:#e6e9dc;border:1px solid #d9dfcf;border-radius:13px;min-height:61px}.slot{min-width:0;aspect-ratio:1;border-radius:9px;background:#f8f8f0;box-shadow:inset 0 2px 4px #bdc8b333;display:flex;align-items:center;justify-content:center}.slot img,#holding img{width:100%;height:100%;object-fit:contain;animation:arrive .24s ease-out}.tools{display:flex;gap:10px;margin-top:18px}.tools button{flex:1;background:#fdfbf5;border:1px solid #dce0d2;border-radius:12px;padding:9px 0;display:grid;gap:4px;justify-items:center}.tools b{font-size:24px;font-weight:400;line-height:28px}.tools span{font-size:11px}.tools i{font-size:9px;font-style:normal;background:#e9eddf;padding:2px 5px;border-radius:4px;margin-left:4px}footer{color:#9ca391;text-align:center;font-size:10px;margin-top:20px;letter-spacing:1px}footer span{display:block;font-size:8px;margin-top:7px;opacity:.65}#overlay{position:absolute;inset:0;z-index:5;background:#eff0e2ab;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:25px}#overlay[hidden]{display:none}.modal{width:100%;background:#fdfbf4;border:1px solid white;border-radius:25px;padding:36px 22px 20px;text-align:center;box-shadow:0 24px 70px #344b3520}.modal-art{display:block;font-size:54px;color:#69865c;margin-bottom:24px}h2{font-size:25px;margin:15px 0}.modal p:not(.eyebrow){font-size:12px;line-height:2;color:#86917c}#primary{margin-top:20px;width:100%;padding:16px 20px;text-align:left;border-radius:12px;background:#365a40;color:#fff;font-weight:bold}#primary span{float:right}.modal .modal-foot{font-size:9px!important;margin-top:16px}#toast{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);background:#35583fe8;color:white;border-radius:25px;padding:12px 22px;font-size:14px;pointer-events:none;opacity:0;transition:opacity .2s;white-space:nowrap}#holding-wrap{font-size:10px;color:#87917e;margin-top:8px}#holding{display:flex;gap:5px;margin-top:4px}#holding button{width:40px;height:40px;border-radius:8px;background:#e9ecde}@keyframes arrive{from{transform:scale(.3) translateY(-30px)}to{transform:scale(1)}}.pop{animation:pop .35s}@keyframes pop{50%{transform:scale(1.05);background:#cadfb8}}@media(min-width:700px){body{padding:24px}#app{border-radius:24px;box-shadow:0 20px 100px #3c4b3320;min-height:820px}#playfield{height:355px}}@media(max-height:760px) and (max-width:699px){#app{padding-top:14px}.heading{margin:12px 0}#playfield{height:280px}.tools{margin-top:12px}footer{margin-top:12px}}
