html,body,#app{width:100%;height:100%;min-height:0}#app{position:relative;height:100vh;height:var(--app-height,100vh)}
html{touch-action:manipulation}body{-webkit-touch-callout:none}
.iconbutton,.brandmark{display:flex;align-items:center;justify-content:center}#modal{align-items:center;justify-items:center}
button:focus,a:focus,input:focus,select:focus{outline:2px solid #ffd175;outline-offset:3px}
button:focus:not(:focus-visible),a:focus:not(:focus-visible){outline:none}
.topbar{top:calc(20px + var(--host-top-offset,0px));left:calc(24px + var(--safe-area-inset-left,env(safe-area-inset-left,0px)));right:calc(24px + var(--safe-area-inset-right,env(safe-area-inset-right,0px)))}
.intro{top:calc(83px + var(--host-top-offset,0px))}footer{bottom:calc(22px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)))}
.patternpreview{height:0;padding-top:100%}
.opening-bottom{padding-bottom:30px;padding-bottom:calc(30px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)))}
.simple-sea{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.simple-sea[hidden]{display:none}
.dialog-fallback[hidden]{display:none}.dialog-fallback{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:rgba(6,28,45,.86);padding:16px;padding-top:calc(16px + var(--host-top-offset,0px));padding-bottom:calc(16px + var(--safe-area-inset-bottom,0px))}
.dialog-fallback dialog{position:relative!important;top:auto;bottom:auto;left:auto;margin:0;max-height:calc(100vh - 32px);max-height:calc(var(--app-height,100vh) - 32px - var(--host-top-offset,0px) - var(--safe-area-inset-bottom,0px));min-width:0;box-sizing:border-box;-webkit-overflow-scrolling:touch}
.dialog-fallback dialog:not([open]){display:none}.dialog-fallback dialog[open]{display:block}
#storage-notice{position:absolute;z-index:9;left:16px;right:16px;bottom:88px;margin:0;padding:8px 12px;border-radius:10px;background:#fff1cd;color:#503a22;font-size:11px;text-align:center}#storage-notice[hidden]{display:none}
.gallerymore{display:block;margin:0 auto 18px;padding:11px 28px;font-size:12px}
.gallerymore[hidden]{display:none}.opening-top{padding-top:calc(25px + var(--host-top-offset,0px))}
dialog{top:var(--host-top-offset,0px);bottom:var(--safe-area-inset-bottom,0px)}
@media(min-width:1100px){.topbar{top:calc(24px + var(--host-top-offset,0px))}.intro{top:calc(24px + var(--host-top-offset,0px))}footer{bottom:calc(24px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)))}}
@media(max-width:520px){.topbar{top:calc(14px + var(--host-top-offset,0px));left:calc(16px + var(--safe-area-inset-left,env(safe-area-inset-left,0px)));right:calc(16px + var(--safe-area-inset-right,env(safe-area-inset-right,0px)))}.intro{top:calc(69px + var(--host-top-offset,0px))}footer{bottom:calc(18px + var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)))}}
@media(max-width:600px){.opening-top{padding-top:calc(21px + var(--host-top-offset,0px))}}
@media(max-height:700px) and (max-width:1099px){
 .topbar{top:calc(8px + var(--host-top-offset,0px))}.brandmark,.topbar .iconbutton{width:32px;height:32px}.brand>span:last-child{font-size:14px}.brand small{font-size:7px}
 .intro{top:calc(48px + var(--host-top-offset,0px));padding:7px 10px}.levelnav .levelchoice{min-height:38px}.levelchoice strong{font-size:14px}.choose-caption{font-size:8px}.levelnav small{font-size:8px}.stats b{font-size:20px}.patternbar{margin-top:4px}#pattern-open{min-height:26px;padding:4px 8px}
}
