*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{background:#2e2b52;display:flex;align-items:center;justify-content:center;overflow:hidden;
  font-family:"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;color:#3b2f2a;
  -webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
#frame{position:relative;border-radius:54px;box-shadow:0 0 0 12px #1f1b18,0 30px 60px rgba(10,8,30,.55);overflow:hidden}
body.mobile #frame{border-radius:0;box-shadow:none}
#stage{position:absolute;left:0;top:0;width:390px;height:844px;transform-origin:0 0;overflow:hidden}
.desk{position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(255,255,255,.08),rgba(0,0,0,.06)),
  repeating-linear-gradient(92deg,#e6cfa8 0 18px,#e0c79e 18px 40px,#e9d3ae 40px 62px)}
.stack{position:absolute;top:66px;height:728px;background:#fffaf0;border-radius:2px 4px 4px 2px}
#stack-r{left:30px;width:322px}
#stack-l{left:-292px;width:322px;display:none}
#stack-l.on{display:block}
#gl{position:absolute;left:0;top:0;width:390px;height:844px;opacity:0;transition:opacity .35s}
body.ready #gl{opacity:1}
#left-tabs{position:absolute;inset:0;pointer-events:none}
.ltab{position:absolute;left:0;width:30px;border-radius:8px 0 0 8px;display:flex;align-items:center;justify-content:center;
  font-family:"DiaryPen","Nanum Pen Script",cursive;font-size:18px;color:#3b2f2a;letter-spacing:-.5px;
  box-shadow:-1px 1px 3px rgba(70,45,20,.25);opacity:0;transform:translateX(-10px);transition:opacity .22s,transform .28s cubic-bezier(.2,.8,.3,1)}
.ltab.on{opacity:1;transform:none}
#hit{position:absolute;inset:0;touch-action:none;cursor:grab}
#hit:active{cursor:grabbing}
.top{position:absolute;left:0;right:0;top:0;height:60px;display:flex;align-items:center;justify-content:space-between;padding:12px 12px 0 16px;pointer-events:none}
.hint{font-size:12.5px;font-weight:600;color:#6d584a;background:rgba(255,250,240,.82);padding:6px 11px;border-radius:14px;letter-spacing:-.2px;
  box-shadow:0 1px 0 rgba(120,90,60,.15)}
#sound{pointer-events:auto;width:44px;height:44px;border-radius:50%;border:0;background:#fffaf0;color:#3e3a6e;display:flex;align-items:center;justify-content:center;
  box-shadow:0 1px 0 rgba(120,90,60,.2),0 2px 6px rgba(70,45,20,.18);cursor:pointer}
#sound:focus-visible{outline:3px solid #d9687a;outline-offset:2px}
#sound .off-only{display:none}
#sound[aria-pressed="false"]{color:#9a8a7e}
#sound[aria-pressed="false"] .on-only{display:none}
#sound[aria-pressed="false"] .off-only{display:inline}
.credit{position:absolute;left:0;right:0;bottom:16px;text-align:center;font-size:10px;color:rgba(60,45,30,.85);pointer-events:none}
#nogl{position:absolute;left:40px;right:40px;top:300px;padding:18px;background:#fffaf0;border-radius:12px;font-size:15px;line-height:1.5}
