.chest-hit{position:absolute;z-index:1;border:0;padding:0;background:none;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border-radius:8px}
.chest-hit:focus-visible{outline:2px dashed #ebd3a2;outline-offset:7px}
.chest-hit[aria-disabled="true"]{cursor:default}
.chest-prompt{position:absolute;z-index:2;box-sizing:border-box;margin:0;padding:17px 18px 18px;color:#ebd3a2;background:#0b2025;border:1px solid #659c9c;box-shadow:0 10px 35px #020b10a6;font:15px/1.4 ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace}
.chest-prompt[hidden],.chest-hit[hidden]{display:none}
.chest-prompt::before{content:"";position:absolute;top:-6px;left:calc(50% - 5px);width:9px;height:9px;border-top:1px solid #659c9c;border-left:1px solid #659c9c;background:#0b2025;transform:rotate(45deg)}
.chest-prompt label{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;margin-bottom:14px}
.chest-friend{display:inline-flex;align-items:center;transform-origin:50% 65%;color:#f0e7cd}
.chest-friend svg{display:block;width:112px;height:29px;overflow:visible}
.chest-friend.is-hint{filter:brightness(1.22)}
.chest-input-row{display:flex;min-height:44px;border:1px solid #759b9d;background:#08171e}
.chest-input-row:focus-within{outline:1px solid #ebd3a2;outline-offset:2px}
.chest-input-row:has(input[aria-invalid="true"]){border-color:#ebd3a2}
.chest-input-row input{box-sizing:border-box;min-width:0;width:100%;border:0;outline:0;background:transparent;color:#f0e7cd;font:16px/1.3 ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;padding:10px 12px;border-radius:0}
.chest-input-row button{flex:0 0 44px;min-height:44px;border:0;border-left:1px solid #759b9d;background:transparent;color:#ebd3a2;font:24px/1 monospace;cursor:pointer;touch-action:manipulation}
.chest-input-row button:hover,.chest-input-row button:active{background:#174149}
.chest-input-row button:focus-visible{outline:2px solid #ebd3a2;outline-offset:2px}
.chest-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:360px){.chest-prompt{padding-inline:12px;font-size:13px}.chest-prompt label{gap:6px}.chest-friend svg{width:102px}}
