@font-face{font-family:Kuaishou;src:url(pde-ui/fonts/KuaishouSansVF.ttf);font-weight:400 600;font-display:swap}
*{box-sizing:border-box} [hidden]{display:none!important}
:root{font:16px/1.45 -apple-system,"PingFang SC",sans-serif;color:#1e232a;background:#e9eaec}
body{margin:0}main{width:100%;max-width:480px;margin:auto;background:white;min-height:100dvh}
button{font:inherit;color:inherit;border:0;cursor:pointer;background:white;touch-action:manipulation}button:disabled{opacity:.48;cursor:default}
html{-webkit-tap-highlight-color:transparent}
:focus,:focus-visible{outline:none}

a{color:inherit;text-decoration:none}h1,h2,p{margin:0}h1{font-size:23px}h2{font-size:21px}
#home{padding:32px 20px}.entry{display:grid;gap:4px;margin-top:16px;padding:18px;border:1px solid #d9dee4;border-radius:12px}.entry span{color:#515b66;font-size:14px}
#game{padding:14px 12px 16px;background:#f2f3f4}header{display:flex;align-items:center;justify-content:space-between;gap:8px}#rules{border-radius:20px;padding:6px 13px;font-size:14px}
#status{display:flex;justify-content:space-around;text-align:center;gap:3px;margin-top:12px;padding:8px 2px;background:white;border-radius:10px;font-size:13px}
#hint{min-height:42px;padding:9px 0;color:#3c464f;font-size:14px}
#stage{position:relative}.primary{width:100%;min-height:46px;border-radius:25px;background:#e82d36;color:#fff;font-weight:700;margin-top:12px}
canvas{display:block;width:100%;height:auto;aspect-ratio:360/310;background:#ece3d7;border-radius:10px}
dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,480px);max-width:none;max-height:85dvh;border:0;border-radius:18px 18px 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom));color:inherit}dialog::backdrop{background:#1118}dialog p{margin-top:10px}dialog ul{padding-left:22px}dialog .close{float:right;font-size:25px;width:44px;height:44px}dialog .secondary{width:100%;min-height:42px;margin-top:8px;background:#eef0f2;border-radius:21px}
#inspect{position:fixed;right:8px;bottom:8px;z-index:10;border:1px solid #d1d6db;border-radius:20px;padding:4px 10px;font-size:12px}#properties{position:fixed;right:8px;bottom:43px;z-index:10;max-width:min(340px,92vw);background:#232a33;color:white;border-radius:8px;padding:10px;font-size:13px}.inspecting [data-design-id]{outline:1px dashed #9c7515;outline-offset:-1px}

