[data-lock-skin=martin_wood]{--lk-accent:#cda666!important;--lk-accent-fg:#352316!important;--lk-fg:#fff1cc!important;--lk-muted:#f1d6ac!important;--lk-well:linear-gradient(100deg,#573821,#67452a)!important;--lk-well-border:#b99258!important;--lk-slot:linear-gradient(#f9e9bf,#d7b77d)!important;--lk-slot-border:#75502e!important;--lk-key:linear-gradient(115deg,#eed19a,#c39b59)!important;--lk-key-edge:#58381f!important;--lk-key-fg:#352316!important;--lk-good:#88a46b!important;--lk-bad:#edb18b!important;border-radius:16px!important;font-family:Fredoka CZ,sans-serif!important}[data-lock-skin=martin_wood]:before,[data-lock-skin=martin_wood]:after{content:"";background:#bc995d;border:2px solid #573821;border-radius:50%;width:9px;height:9px;position:absolute;top:8px;box-shadow:inset 1px 1px #f5dfad}[data-lock-skin=martin_wood]:before{left:9px}[data-lock-skin=martin_wood]:after{right:9px}[data-lock-skin=martin_wood]>header{border-bottom:1px solid #bd955a;padding:9px 0 12px}[data-lock-skin=martin_wood]>header>span{color:#f4e4b9;box-shadow:none!important;background:0 0!important}[data-lock-skin=martin_wood] .lk-key{text-shadow:0 1px #f7e5bd;border:1px solid #76502d;border-radius:8px!important;box-shadow:0 3px #4b2b17,inset 0 1px #f7e5bd!important}[data-lock-skin=martin_wood] .lk-submit{border:2px solid #51331c;border-radius:9px!important;box-shadow:0 3px #4b2b17,inset 0 1px #f7e5bd!important}[data-lock-skin=martin_wood] [data-lock-slot]{text-shadow:0 1px #fff0cb;color:#352316!important;border-radius:7px!important;box-shadow:inset 0 1px 2px #6a44283d!important}[data-lock-skin=martin_wood] [data-lock-display]{border-radius:10px!important;box-shadow:inset 0 2px 5px #30201580!important}.martin-wood-register{background:#4e3320;border:2px solid #c3a16b;border-radius:7px;margin:0 0 18px;padding:10px;box-shadow:inset 0 2px 5px #23150c80}.martin-wood-digit{color:#352316;text-shadow:0 1px #fff3d4;background:linear-gradient(#f9e9bf,#d7b77d);border:1px solid #7a532e;border-radius:4px;justify-content:center;align-items:center;font-size:23px;font-weight:600;width:34px!important;height:40px!important;display:inline-flex!important}.martin-wood-key{color:#352316;text-shadow:0 1px #f9e5bd;cursor:pointer;background:linear-gradient(115deg,#eed19a,#c39b59);border:2px solid #76502d;border-radius:9px;font-weight:600;box-shadow:0 3px #4b2b17,inset 0 1px #f7e5bd}.martin-letter-tray{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;display:grid}.martin-letter-tray>div{display:contents}.martin-letter-tray .lk-key{width:100%;min-height:44px;font-size:16px;min-width:0!important;padding:0!important}.martin-letter-tray>div:last-child .lk-key{grid-column:span 4}.martin-arrow-slots{gap:4px;display:grid}.martin-arrow-slots [data-lock-slot]{height:48px;font-size:27px;width:100%!important;min-width:0!important}[data-lock-skin=martin_wood] button[title=Reset]{color:#352316!important}.martin-wood-key:hover{filter:brightness(1.06)}.martin-wood-key:active{transform:translateY(2px)}.martin-wood-confirm{background:linear-gradient(#d9c18c,#b6a06c)}.martin-wood-reset{color:#f4e4b9;min-height:44px;text-decoration:underline}[data-lock-skin=martin_wood] [data-cryptex-wheel]{background:linear-gradient(90deg,#8b6738,#d8b879 28%,#f0d59c 50%,#d8b879 72%,#8b6738)!important;border-radius:7px!important;box-shadow:inset 0 0 0 2px #6b4927!important}[data-lock-skin=martin_wood] [data-cryptex-wheel]>.text-white{text-shadow:0 1px #f9e8bd;color:#382618!important}[data-lock-skin=martin_wood] [data-cryptex-wheel] .drop-shadow-\[0_2px_2px_rgba\(0\,0\,0\,0\.5\)\]{filter:none}[data-lock-skin=martin_wood] [data-cryptex-wheel]>.pointer-events-none:last-child{background:linear-gradient(#58381f40,#0000 32% 68%,#58381f40)!important}.shape-anim{transform-origin:50% 80%;animation:2.8s ease-in-out infinite shape-float}@keyframes shape-float{0%,to{transform:translateY(0)rotate(0)}50%{transform:translateY(-6%)rotate(-3deg)}}button:active .shape-anim,.shape-pop{animation:.35s cubic-bezier(.3,1.6,.5,1) shape-pop}@keyframes shape-pop{0%{transform:scale(.6)}60%{transform:scale(1.15)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.shape-anim,button:active .shape-anim,.shape-pop{animation:none}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;top:0;left:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:0 0}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{-webkit-transform-origin:0 0;width:1600px;height:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{width:auto;padding:0;max-width:none!important;max-height:none!important}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:#33b5e566}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;z-index:800;width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{z-index:800;pointer-events:visiblePainted;pointer-events:auto;position:relative}.leaflet-top,.leaflet-bottom{z-index:1000;pointer-events:none;position:absolute}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{outline-offset:1px;background:#ddd}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{text-align:center;color:#000;background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;text-decoration:none;display:block}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.leaflet-bar a.leaflet-disabled{cursor:default;color:#bbb;background-color:#f4f4f4}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{text-indent:1px;font:700 18px Lucida Console,Monaco,monospace}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{color:#333;background:#fff;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{padding-right:5px;overflow:hidden scroll}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{font-size:1.08333em;display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{width:1em;height:.6669em;vertical-align:baseline!important;display:inline!important}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{white-space:nowrap;box-sizing:border-box;text-shadow:1px 1px #fff;background:#fffc;border:2px solid #777;border-top:none;padding:2px 5px 1px;line-height:1.1}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{text-align:center;margin-bottom:20px;position:absolute}.leaflet-popup-content-wrapper{text-align:left;border-radius:12px;padding:1px}.leaflet-popup-content{min-height:1px;margin:13px 24px 13px 20px;font-size:1.08333em;line-height:1.3}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{pointer-events:none;width:40px;height:20px;margin-top:-1px;margin-left:-20px;position:absolute;left:50%;overflow:hidden}.leaflet-popup-tip{pointer-events:auto;width:17px;height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#333;background:#fff;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{text-align:center;color:#757575;background:0 0;border:none;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;text-decoration:none;position:absolute;top:0;right:0}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";width:24px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.707107, M12=.707107, M21=-.707107, M22=.707107);margin:0 auto}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{color:#222;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;background-color:#fff;border:1px solid #fff;border-radius:3px;padding:6px;position:absolute;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{pointer-events:none;content:"";background:0 0;border:6px solid #0000;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{margin-left:-6px;left:50%}.leaflet-tooltip-top:before{border-top-color:#fff;margin-bottom:-12px;bottom:0}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-top:-12px;margin-left:-6px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;margin-left:-12px;left:0}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.geo-lock{box-sizing:border-box;flex-direction:column;gap:14px;width:100%;min-width:0;max-width:680px;margin-inline:auto;display:flex}.geo-lock *{box-sizing:border-box}.geo-lock .geo-destination{text-align:center;overflow-wrap:anywhere;margin:0;font-weight:700;font-size:16px!important;line-height:1.45!important}.geo-lock .geo-hint{border-left:3px solid hsl(var(--primary));background:hsl(var(--primary)/.08);border-radius:8px;margin:0;padding:10px 12px;font-size:13px!important;line-height:1.5!important}.geo-navigation{border:1px solid hsl(var(--border));background:hsl(var(--background)/.55);border-radius:20px;padding:16px}.geo-hero{justify-content:center;align-items:center;gap:24px;min-width:0;display:flex}.geo-dial{border:1px solid hsl(var(--primary)/.35);background:radial-gradient(circle,hsl(var(--primary)/.14),transparent 70%);width:152px;height:152px;color:hsl(var(--primary));border-radius:50%;flex:0 0 152px;position:relative}.geo-dial[data-muted=true]{opacity:.5}.geo-cardinal{color:inherit;font:700 11px/1 sans-serif;position:absolute}.geo-arrow{fill:currentColor;width:44%;height:44%;filter:drop-shadow(0 3px 7px hsl(var(--primary)/.22));position:absolute;inset:28%}.geo-awaiting{opacity:.6;width:40%;height:40%;position:absolute;inset:30%}.geo-distance-block{text-align:left;min-width:0}.geo-lock .geo-distance{font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-weight:800;font-size:clamp(28px,5vw,42px)!important;line-height:1.1!important}.geo-lock .geo-caption{color:hsl(var(--muted-foreground));margin:6px 0 0;font-size:12px!important;line-height:1.4!important}.geo-lock .geo-direction{overflow-wrap:anywhere;margin:8px 0 0;font-weight:650;font-size:14px!important;line-height:1.45!important}.geo-state{border-top:1px solid hsl(var(--border));text-align:center;margin-top:14px;padding-top:12px}.geo-lock .geo-status{margin:0;font-size:14px!important;line-height:1.5!important}.geo-lock .geo-meta{color:hsl(var(--muted-foreground));margin:5px 0 0;font-size:12px!important;line-height:1.5!important}.geo-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px;display:flex}.geo-lock .geo-actions button,.geo-lock .geo-map-toggle,.geo-lock .geo-map-tools button{white-space:normal;height:auto;min-height:44px;padding:10px 14px;font-size:13px!important;line-height:1.35!important}.geo-lock .geo-map-toggle{justify-content:center;gap:8px;width:100%;display:flex}.geo-map-panel{border:1px solid hsl(var(--border));border-radius:16px;min-width:0;overflow:hidden}.geo-map-tools{background:hsl(var(--background));flex-wrap:wrap;justify-content:center;gap:4px;padding:6px;display:flex}.geo-map-canvas{isolation:isolate;height:260px;position:relative}.geo-lock .geo-map-legend{flex-wrap:wrap;justify-content:center;gap:12px;margin:0;padding:8px;display:flex;font-size:12px!important;line-height:1.4!important}.geo-map-legend span{align-items:center;gap:5px;display:inline-flex}.geo-map-dot{background:#2563eb;border-radius:50%;width:9px;height:9px}.geo-map-dot.target{background:#8652bb}.geo-lock .geo-footnote{color:hsl(var(--muted-foreground));text-align:center;margin:0;font-size:12px!important;line-height:1.5!important}.geo-preview{border:1px dashed hsl(var(--primary)/.4);border-radius:12px;min-width:0;padding:10px;font-size:12px}.geo-preview summary{cursor:pointer;min-height:36px;font-weight:650}.geo-preview-controls{flex-wrap:wrap;gap:6px;margin:6px 0;display:flex}.geo-preview .geo-meta{font-size:12px!important}.geo-lock button:focus-visible,.geo-lock summary:focus-visible{outline:3px solid hsl(var(--primary));outline-offset:3px}@media (width<=480px){.geo-lock{gap:12px}.geo-navigation{padding:12px}.geo-hero{gap:14px}.geo-dial{flex-basis:124px;width:124px;height:124px}.geo-lock .geo-distance{font-size:30px!important}.geo-map-canvas{height:220px}.geo-lock .geo-destination{font-size:15px!important}.geo-actions>*{flex:135px}.geo-lock .geo-direction{font-size:13px!important}}@media (width<=350px){.geo-hero{gap:9px}.geo-dial{flex-basis:108px;width:108px;height:108px}.geo-lock .geo-distance{font-size:26px!important}.geo-navigation{padding:10px}}@media (forced-colors:active){.geo-dial,.geo-navigation,.geo-map-panel{border:1px solid canvastext}.geo-arrow{fill:highlight}}.reading-tools{letter-spacing:normal;color:inherit;flex-wrap:wrap;align-items:center;gap:3px;font-size:14px;line-height:1.2;display:inline-flex}.reading-tools button,.reading-close{min-width:44px;min-height:44px;color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:1px solid;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:6px 9px;font-family:inherit;font-weight:600;display:inline-flex}.reading-tools button:hover:not(:disabled),.reading-close:hover{background:color-mix(in srgb,currentColor 10%,transparent)}.reading-tools button:disabled{opacity:.35;cursor:default}.reading-tools .reading-percent{border-color:#0000;min-width:54px;padding:4px;font-size:12px;font-weight:400}.reading-tools button:focus-visible,.reading-close:focus-visible{outline-offset:3px;outline:3px solid}.reading-dialog{border:1px solid hsl(var(--game-border,37 30% 74%));background:hsl(var(--game-surface,40 100% 97%));width:min(1200px,100vw - 32px);max-width:none;height:calc(100dvh - 32px);max-height:none;color:hsl(var(--game-text,180 19% 20%));border-radius:20px;margin:auto;padding:0;font-family:Fredoka CZ,sans-serif;position:fixed;inset:0;overflow:hidden;box-shadow:0 18px 80px #0000004d}.reading-dialog::backdrop{background:#000000a6}.reading-sheet{flex-direction:column;gap:12px;height:100%;min-height:0;padding:clamp(16px,3vw,36px);display:flex}.reading-sheet>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.reading-sheet h2{overflow-wrap:anywhere;margin:0;font-size:clamp(22px,2.5vw,32px);font-weight:600;line-height:1.2}.reading-close{flex-shrink:0}.reading-dialog-tools{border-bottom:1px solid hsl(var(--game-border,37 30% 74%));flex-shrink:0;padding-bottom:12px}.reading-body{overscroll-behavior:contain;overflow-wrap:anywhere;scrollbar-width:thin;scrollbar-color:hsl(var(--game-border,37 30% 74%)) transparent;min-height:0;padding:8px clamp(0px,2vw,28px) 24px;font-size:clamp(22px,2.5vw,34px);line-height:1.55;overflow:auto}.reading-body .game-reading-text{max-width:45em;margin-inline:auto}.reading-body p{margin-bottom:.8em}.reading-caption{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.reading-caption>span{letter-spacing:.12em;color:var(--martin-gold);font-size:10px;font-weight:650}.game-reading-text{overflow-wrap:anywhere}.illustrated-scene .martin-mission:has(.reading-caption){flex-direction:column;display:flex;overflow:hidden}.illustrated-scene .martin-mission>.game-reading-text{overscroll-behavior:contain;min-height:0;overflow:auto}.illustrated-scene .martin-mission .reading-caption{flex-shrink:0}@media (width<=600px){.reading-dialog{border-radius:12px;width:calc(100vw - 12px);height:calc(100dvh - 12px)}.reading-sheet{gap:10px;padding:14px}.reading-tools .reading-open span{display:none}.reading-caption{gap:4px}.reading-caption>.reading-tools{margin-left:auto}.reading-body{font-size:22px}}@container (width<=760px){.illustrated-scene .martin-mission:has(.reading-caption){max-height:26dvh}}.materials-preview{--preview-paper:0 0% 100%;--preview-line:35 18% 79%;--preview-shadow:260 24% 16%;min-width:0;margin:22px 0 0}.materials-preview-stack{isolation:isolate;width:min(100%,310px);height:220px;margin:0 auto;position:relative}.materials-preview-sheet{aspect-ratio:210/297;background:hsl(var(--preview-paper));border:1px solid hsl(var(--preview-line)/.55);width:140px;box-shadow:0 9px 18px hsl(var(--preview-shadow)/.17),0 1px 3px hsl(var(--preview-shadow)/.12);position:absolute;top:10px;left:calc(50% - 120px);overflow:hidden;transform:rotate(-11deg)}.materials-preview-sheet:nth-child(2){z-index:1;top:15px;left:calc(50% - 18px);transform:rotate(10deg)}.materials-offer-group{isolation:isolate;width:100%;min-width:0;position:relative}.materials-offer-group>.materials-offer{z-index:2;position:relative}.materials-preview-behind{z-index:1;pointer-events:none;margin:-38px 0 0;padding:0 12px 14px;position:relative}.materials-preview-behind .materials-preview-stack{width:min(100%,360px);height:264px}.materials-preview-behind .materials-preview-sheet{width:170px;box-shadow:0 12px 22px hsl(var(--preview-shadow)/.28);top:0;left:calc(50% - 145px);transform:rotate(-12deg)}.materials-preview-behind .materials-preview-sheet:nth-child(2){top:12px;left:calc(50% - 14px);transform:rotate(11deg)}.materials-preview-behind .materials-preview-status{pointer-events:auto;padding-top:65px}.materials-preview-original{object-fit:contain;width:100%;height:100%;display:block}.materials-preview figcaption{text-align:center;color:inherit;opacity:.7;margin-top:10px;font-size:11px;line-height:1.4}.materials-preview-status{text-align:center;opacity:.8;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;font-size:12px;display:flex}.materials-preview-status button{cursor:pointer;min-height:44px;padding:6px 12px;text-decoration:underline}.materials-preview-status button:focus-visible{outline-offset:2px;outline:2px solid}@media (width<=720px){.materials-preview-behind{margin-top:-30px}.materials-preview-behind .materials-preview-stack{height:228px}.materials-preview-behind .materials-preview-sheet{width:145px;left:calc(50% - 126px)}.materials-preview-behind .materials-preview-sheet:nth-child(2){left:calc(50% - 12px)}}@media (width<=380px){.materials-preview-stack{width:250px;max-width:100%;height:203px}.materials-preview-sheet{width:128px;left:calc(50% - 110px)}.materials-preview-sheet:nth-child(2){left:calc(50% - 17px)}}@media (height<=520px) and (orientation:landscape){.materials-preview{margin-top:14px}.materials-preview-stack{width:220px;height:163px}.materials-preview-sheet{width:100px;left:calc(50% - 87px)}.materials-preview-sheet:nth-child(2){left:calc(50% - 12px)}.materials-preview figcaption{margin-top:5px}.materials-preview-behind{margin-top:-24px}.materials-preview-behind .materials-preview-stack{height:190px}.materials-preview-behind .materials-preview-sheet{width:120px;left:calc(50% - 104px)}.materials-preview-behind .materials-preview-sheet:nth-child(2){left:calc(50% - 10px)}}.materials-preview-sheet-landscape{width:200px;top:34px;left:calc(50% - 178px);transform:rotate(-7deg)}.materials-preview-sheet-landscape:nth-child(2){top:50px;left:calc(50% - 30px);transform:rotate(6deg)}.materials-preview-behind .materials-preview-sheet-landscape{width:230px;top:58px;left:calc(50% - 190px);transform:rotate(-7deg)}.materials-preview-behind .materials-preview-sheet-landscape:nth-child(2){top:76px;left:calc(50% - 40px);transform:rotate(6deg)}@media (width<=720px){.materials-preview-behind .materials-preview-sheet-landscape{width:180px;top:52px;left:calc(50% - 158px)}.materials-preview-behind .materials-preview-sheet-landscape:nth-child(2){top:68px;left:calc(50% - 22px)}}@media (width<=380px){.materials-preview-sheet-landscape,.materials-preview-behind .materials-preview-sheet-landscape{width:150px;left:calc(50% - 130px)}.materials-preview-sheet-landscape:nth-child(2),.materials-preview-behind .materials-preview-sheet-landscape:nth-child(2){left:calc(50% - 20px)}}@media (height<=520px) and (orientation:landscape){.materials-preview-sheet-landscape,.materials-preview-behind .materials-preview-sheet-landscape{width:150px;top:26px;left:calc(50% - 128px)}.materials-preview-sheet-landscape:nth-child(2),.materials-preview-behind .materials-preview-sheet-landscape:nth-child(2){top:40px;left:calc(50% - 18px)}}.jig{-webkit-user-select:none;user-select:none;flex-direction:column;gap:8px;width:100%;display:flex}.jig-bar{color:var(--lk-fg,#2b2140);flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.jig-count{flex:1}.jig-rot{gap:4px;display:inline-flex}.jig-bar button{color:#5a3a1c;min-width:40px;min-height:40px;font:inherit;cursor:pointer;background:#fff8ee;border:1px solid #d9c3a3;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-weight:700;display:inline-flex}.jig-bar button:disabled{opacity:.4;cursor:default}.jig-bar button[aria-pressed=true]{background:#f3d9a8}.jig-bar button:focus-visible{outline-offset:2px;outline:3px solid #8e4fd6}.jig-host{justify-content:center;width:100%;display:flex;position:relative}.jig-table{touch-action:none;border-radius:16px;max-width:100%;position:relative;overflow:hidden;box-shadow:inset 0 0 0 2px #a07444,0 6px 18px #0002}.jig-svg{width:100%;height:100%;display:block}.jig-tray{fill:#00000010;stroke:#7a5530;stroke-opacity:.35;stroke-width:.01px;stroke-dasharray:.05 .04}.jig-piece{cursor:grab;outline:none}.jig-piece:active{cursor:grabbing}.jig-piece.is-placed{cursor:default}.jig-piece.is-sel:not(.is-placed)>g>path:last-child{stroke:#8e4fd6;stroke-opacity:.95;stroke-width:.018px}.jig-piece:focus-visible>g>path:last-child{stroke:#8e4fd6;stroke-opacity:1;stroke-width:.022px}.jig-ref-img{cursor:pointer;border:3px solid #fff;border-radius:10px;width:min(34%,220px);position:absolute;top:10px;right:10px;box-shadow:0 6px 20px #0005}.jig-ref-img.is-round{aspect-ratio:1;object-fit:cover;border-radius:50%}.jig-done-svg{opacity:0;transform-box:fill-box;transform-origin:50%;animation:.45s cubic-bezier(.3,1.6,.5,1) forwards jig-pop}.jig-done{color:#2b2140;background:#fff;border-radius:999px;width:max-content;margin:auto;padding:8px 18px;font-weight:800;animation:.4s cubic-bezier(.3,1.6,.5,1) jig-pop;position:absolute;inset:auto 0 14px;box-shadow:0 6px 20px #0004}@keyframes jig-pop{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}.jig-help{color:var(--lk-muted,#6b6280);margin:0;font-size:12px}.jig-loading{color:var(--lk-muted,#6b6280);justify-content:center;align-items:center;gap:8px;padding:40px;display:flex}@media (prefers-reduced-motion:reduce){.jig-piece,.jig-piece *,.jig-stage{transition:none!important}.jig-done-svg{opacity:1;animation:none}.jig-done{animation:none}.jig-snap-flash{display:none}}.jig-full-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;color:inherit;background:#f3e6cf;border:0;margin:0;padding:0;position:fixed;inset:0}.jig-full-dialog::backdrop{background:#0008}.jig-full{z-index:300;background:#f3e6cf;flex-direction:column;gap:8px;padding:12px;display:flex;position:fixed;inset:0;overflow:hidden}.jig-full .jig-host{flex:1;align-items:center}.jig-launch{color:#5a3a1c;width:100%;font:inherit;cursor:pointer;background:#fff8ec;border:2px dashed #c79a5e;border-radius:16px;flex-direction:column;align-items:center;gap:10px;padding:18px;display:flex}.jig-launch img{aspect-ratio:4/3;object-fit:cover;border-radius:12px;width:min(60%,200px);box-shadow:0 4px 14px #0003}.jig-launch img.is-round{aspect-ratio:1;border-radius:50%;width:min(50%,160px)}.jig-launch span{color:#fff8ec;background:#6b4423;border-radius:14px;align-items:center;gap:8px;padding:10px 18px;font-size:16px;font-weight:800;display:inline-flex}.jig-launch small{opacity:.75;font-size:12px}.jig-launch:focus-visible{outline-offset:3px;outline:3px solid #8e4fd6}.jig-placeholder{text-align:center;opacity:.7;padding:24px;font-size:13px}.jig-snap-flash{opacity:0;pointer-events:none;animation:.6s ease-out .15s jig-flash}@keyframes jig-flash{0%{opacity:0}30%{opacity:.9}to{opacity:0}}.jig-glow{opacity:0;animation:1.6s ease-in-out .3s forwards jig-glow}@keyframes jig-glow{0%{opacity:0}35%{opacity:1}70%{opacity:.55}to{opacity:.85}}.jig-lock-pop{transform-box:fill-box;transform-origin:50%;opacity:0;animation:.5s cubic-bezier(.3,1.6,.5,1) .5s forwards jig-lockpop;transform:scale(.3)}@keyframes jig-lockpop{to{opacity:1;transform:scale(1)}}.illustrated-scene[data-compact] [data-flashlight-scene] .mv-tools{z-index:45}.illustrated-scene[data-compact] [data-flashlight-scene] .mv-tools button{flex-basis:44px;min-width:44px;min-height:44px}.terraquest-exploration{border:1px solid var(--quest-line,#8e7eaa);border-radius:18px;margin-bottom:20px;overflow:hidden}.terraquest-exploration .mv-scroll{min-height:180px}[data-flashlight-scene] .mv-gallery img{filter:brightness(.12)}[data-flashlight-scene] button[data-scene-interactive]{min-width:var(--flashlight-hit-min,44px);min-height:var(--flashlight-hit-min,44px)}[data-flashlight-scene] button[data-scene-interactive]>svg{min-width:var(--flashlight-icon-min,20px);min-height:var(--flashlight-icon-min,20px)}.flashlight-layer{z-index:35;pointer-events:none;--light-x:50%;--light-y:50%;--light-rx:90px;--light-ry:90px;position:absolute;inset:0}.flashlight-veil,.flashlight-glow{pointer-events:none;position:absolute;inset:0}.flashlight-layer[data-light-off] .flashlight-veil{background:rgba(5,4,9,var(--light-darkness))}.flashlight-layer[data-light-off] .flashlight-glow{display:none}.flashlight-laser{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}.flashlight-layer:is([data-light-shape=laser],[data-light-shape=cone]):not([data-light-off])>.flashlight-veil,.flashlight-layer:is([data-light-shape=laser],[data-light-shape=cone])>.flashlight-glow,.flashlight-layer[data-light-off]>.flashlight-laser{display:none}.flashlight-controls{flex-wrap:wrap}.flashlight-controls button img{object-fit:contain;width:28px;height:28px}.flashlight-controls button:disabled{opacity:.7;cursor:default}.flashlight-controls .flashlight-hint{flex:120px}.flashlight-kit-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.flashlight-kit-options button{border:2px solid hsl(var(--border));background:hsl(var(--card));border-radius:14px;min-width:0;padding:8px;font-size:12px}.flashlight-kit-options button[aria-pressed=true]{border-color:hsl(var(--primary));background:hsl(var(--primary)/.08)}.flashlight-kit-options img{object-fit:contain;width:100%;height:92px}.flashlight-prop{object-fit:contain;filter:drop-shadow(0 4px 3px hsl(var(--foreground)/.3));pointer-events:none}@media (width<=400px){.flashlight-controls .flashlight-hint{flex-basis:100%;order:3;font-size:10px}}.flashlight-veil{background:radial-gradient(ellipse var(--light-rx) var(--light-ry) at var(--light-x) var(--light-y),transparent 0%,transparent var(--light-core),rgba(5,4,9,var(--light-darkness)) 100%)}.flashlight-glow{background:radial-gradient(ellipse var(--light-rx) var(--light-ry) at var(--light-x) var(--light-y),rgba(var(--light-tint),.03) 25%,rgba(var(--light-tint),.12) 65%,transparent 100%)}.flashlight-controls{color:#fff7e4;font:inherit;pointer-events:none;align-items:center;gap:9px;font-size:12px;line-height:1.35;display:flex;position:absolute;bottom:10px;left:10px;right:10px}.flashlight-controls button{color:#fff1c8;min-width:44px;min-height:44px;font:inherit;cursor:pointer;pointer-events:auto;background:#28202eee;border:1px solid #f1c978;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-weight:600;display:inline-flex;box-shadow:0 3px 12px #0006}.flashlight-controls button[aria-pressed=true]{color:#302333;background:#f4ce83}.flashlight-controls button:focus-visible{outline-offset:3px;outline:3px solid #fff}.flashlight-hint{text-wrap:pretty;background:#1a1427e6;border-radius:10px;max-width:330px;padding:6px 9px}.flashlight-keyboard{margin-left:auto}[data-flashlight-host]{position:relative}.game-theme [data-flashlight-scene] .mv-scroll[data-flashlight-host]{background:#0b0911}[data-flashlight-host]:focus-visible{outline-offset:-3px;outline:3px solid #f4ce83}@media (width<=600px){.flashlight-controls{gap:6px;font-size:11px;bottom:6px;left:6px;right:6px}.flashlight-controls button{padding:7px 9px}.flashlight-hint{max-width:220px}.flashlight-controls .flashlight-keyboard{display:none}}@media (width<=360px){.flashlight-hint{font-size:10px}.flashlight-controls{gap:4px}}.flashlight-blackout{pointer-events:auto;background:rgba(5,4,9,var(--light-darkness,.94));place-items:center;padding:16px;animation:1.9s step-end both flashlight-flicker;display:grid;position:absolute;inset:0}.flashlight-blackout-card{text-align:center;color:#fff3d2;opacity:0;max-width:min(420px,92%);animation:.45s ease-out 1.85s forwards flashlight-card}.flashlight-blackout-card p{text-shadow:0 2px 8px #000;margin:0 0 14px;font-size:clamp(15px,2.4vw,20px);font-weight:600;line-height:1.4}.flashlight-blackout-card button{color:#302333;min-height:48px;font:inherit;cursor:pointer;background:#f4ce83;border:1px solid #f1c978;border-radius:14px;align-items:center;gap:8px;padding:10px 18px;font-weight:700;display:inline-flex;box-shadow:0 4px 18px #f4ce8355}.flashlight-blackout-card button:focus-visible{outline-offset:3px;outline:3px solid #fff}@keyframes flashlight-flicker{0%{opacity:0}7%{opacity:.8}10%{opacity:0}19%{opacity:.9}23%{opacity:.1}27%{opacity:0}38%{opacity:.95}42%{opacity:.25}50%{opacity:1}55%{opacity:.4}62%{opacity:1}to{opacity:1}}@keyframes flashlight-card{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.flashlight-blackout{animation:none}.flashlight-blackout-card{opacity:1;animation:none}}.flashlight-controls{flex-flow:column;align-items:stretch;gap:6px;width:auto;inset:50% 8px auto auto;transform:translateY(-50%)}.flashlight-controls button{opacity:.82;border-radius:12px;flex-direction:column;gap:2px;min-width:52px;min-height:48px;padding:5px 6px;font-size:10.5px;line-height:1.1;transition:opacity .15s}.flashlight-controls button:hover,.flashlight-controls button:focus-visible,.flashlight-controls button[aria-pressed=true]{opacity:1}.flashlight-controls .flashlight-keyboard{margin-left:0}.flashlight-tip{color:#fff7e4;text-align:center;pointer-events:none;text-wrap:pretty;background:#1a1427e6;border-radius:10px;max-width:min(360px,100% - 90px);padding:6px 11px;font-size:12px;line-height:1.35;animation:.25s ease-out flashlight-tip-in;position:absolute;top:10px;left:50%;transform:translate(-50%)}@keyframes flashlight-tip-in{0%{opacity:0;transform:translate(-50%,-4px)}to{opacity:1;transform:translate(-50%)}}@media (width<=600px){.flashlight-controls{gap:5px;bottom:auto;left:auto;right:5px}.flashlight-controls button{min-width:46px;min-height:44px;padding:4px 5px;font-size:10px}.flashlight-tip{font-size:11px;top:6px}}@media (prefers-reduced-motion:reduce){.flashlight-tip{animation:none}}.martin-visual{--mv-paper:#f4e4b9;--mv-ink:#382c24;--mv-frame:#755135;--mv-gold:#d1a36b;border:2px solid var(--mv-frame);background:var(--mv-ink);color:var(--mv-paper);border-radius:20px;font-family:Fredoka CZ,sans-serif;overflow:hidden}.mv-tools{justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:14px;line-height:1.4;display:flex}.mv-tools>div{flex-wrap:wrap;flex-shrink:0;gap:8px;display:flex}.mv-tools button{border:1px solid var(--mv-gold);min-height:44px;color:var(--mv-paper);cursor:pointer;background:0 0;border-radius:9px;align-items:center;gap:6px;padding:8px 12px;display:flex}.mv-tools button:focus-visible{outline:3px solid var(--mv-paper);outline-offset:2px}.mv-scroll{scrollbar-color:var(--mv-gold) var(--mv-ink);scrollbar-width:thin;touch-action:pan-x pan-y;overflow:auto}.mv-canvas{aspect-ratio:3/2;width:100%;height:auto;display:block}.mv-pan-active{touch-action:none;cursor:grab}.mv-pan-active:active{cursor:grabbing}.mv-prop,.mv-cord{cursor:zoom-in;outline:none}.mv-prop:focus-visible{filter:drop-shadow(0 0 6px var(--mv-paper))}.mv-cord{cursor:pointer}.mv-cord:focus-visible{stroke:var(--mv-paper);stroke-opacity:.35}.mv-scroll::-webkit-scrollbar{width:10px;height:10px}.mv-scroll::-webkit-scrollbar-thumb{background:var(--mv-gold);border:2px solid var(--mv-ink);border-radius:10px}.mv-scroll::-webkit-scrollbar-track{background:var(--mv-ink)}.martin-template-scene{background:#f3eadb;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:20px;min-height:100dvh;padding:70px 16px 24px;display:grid}.martin-template-scene>aside{min-width:0}@media (width<=900px){.martin-template-scene{grid-template-columns:1fr}.martin-template-scene>aside{width:100%;max-width:500px;margin:auto}}@media (width<=600px){.mv-tools{flex-direction:column;align-items:flex-start;padding:12px;font-size:13px}.mv-tools>div{width:100%}.mv-tools button{font-size:13px}.martin-visual{border-radius:14px}}.mv-tools{flex-wrap:wrap;gap:8px;padding:8px 12px}.mv-tools .mv-tool-buttons{flex-wrap:wrap;flex-shrink:1;gap:6px;max-width:100%;display:flex}.mv-tools button{background:#4b3829;min-width:44px;min-height:44px;padding:7px 11px;font-size:14px}.mv-tools button[aria-pressed=true]{background:var(--mv-paper);color:var(--mv-ink)}.mv-tools button:disabled{opacity:.4;cursor:default}.mv-instruction{opacity:.85;font-size:12px}.mv-viewer{min-height:0;position:relative}.mv-scroll{position:relative}.mv-lens{border:4px solid var(--mv-paper);pointer-events:none;z-index:3;background:var(--mv-ink);border-radius:50%;width:174px;height:174px;position:absolute;overflow:hidden;box-shadow:0 5px 22px #0009}.mv-lens svg{width:100%;height:100%}.mv-lens>span{background:var(--mv-ink);border-radius:8px;padding:2px 6px;font-size:12px;position:absolute;bottom:7px;left:70px}.mv-loupe-active{touch-action:none;cursor:crosshair}.martin-playfield .mv-scroll{background:#302820;justify-content:safe center;align-items:flex-start;height:auto;display:flex}.martin-playfield .mv-canvas{flex-shrink:0;width:100%;max-width:min(100%,1.5*clamp(400px,72dvh,1000px));height:auto}.mv-fullscreen{z-index:1000;flex-direction:column;width:100vw;height:100dvh;display:flex;border-radius:0!important;position:fixed!important;inset:0!important}.mv-fullscreen .mv-viewer{flex:1;min-height:0;container-type:size}.mv-fullscreen .mv-scroll{justify-content:safe center;align-items:center;display:flex;height:100%!important}.mv-fullscreen .mv-canvas{flex-shrink:0;width:min(100cqw,150cqh);max-width:100%;height:auto}@media (width<=600px){.mv-tools{flex-direction:row;gap:4px;padding:6px}.mv-tools button{flex:0 0 44px;justify-content:center;width:44px;height:44px;padding:0;font-size:12px}.mv-tool-buttons button>span{display:none}.mv-tool-buttons button>svg{flex-shrink:0;width:22px;height:22px}.mv-tools .mv-tool-buttons{gap:4px;width:auto}.mv-instruction{width:100%;font-size:11px}.martin-playfield .mv-scroll{height:auto;min-height:0}.martin-playfield .mv-canvas{width:100%;height:auto}.mv-fullscreen .mv-canvas{width:min(100cqw,150cqh);height:auto}}@media (height<=550px) and (width>=601px){.martin-active .martin-header{display:none}.martin-active .martin-progress{margin-top:4px}.martin-playfield .mv-scroll{height:auto;min-height:0}.martin-playfield .mv-canvas{max-width:min(100%,1.5*max(160px,100dvh - 220px))}.mv-instruction{display:none}}.mv-gallery{background:var(--martin-paper,#fffaf0);flex:none;justify-content:center;gap:8px;padding:6px 10px;display:flex;overflow-x:auto}.mv-gallery button{min-height:44px;color:var(--martin-ink,#302344);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:2px solid #0000;border-radius:10px;align-items:center;gap:8px;padding:3px 10px 3px 3px;font-size:13px;display:flex}.mv-gallery button img,.mv-thumbnail-video{object-fit:cover;border-radius:6px;width:58px;height:36px;display:block}.mv-gallery button[aria-pressed=true]{background:var(--martin-pale,#eee5f5);border-color:currentColor;font-weight:700}.mv-gallery button:focus-visible{outline-offset:2px;outline:3px solid #ea9b27}.mv-scene-video{object-fit:contain;width:100%;height:100%;min-height:0;max-height:100%;display:block}.mv-scroll:has(.mv-scene-video){min-height:180px}@media (width<=600px){.mv-gallery{gap:4px;padding:4px}.mv-gallery button{padding-right:7px;font-size:12px}.mv-gallery button img{width:48px;height:32px}}.workbench-dialog{border:1px solid hsl(var(--border));background:hsl(var(--background));color:hsl(var(--foreground));width:min(960px,100vw - 20px);max-height:calc(100dvh - 20px);box-shadow:0 20px 70px hsl(var(--foreground)/.3);border-radius:1.4rem;margin:auto;padding:0;font-family:inherit}.workbench-dialog::backdrop{background:hsl(var(--foreground)/.65);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.workbench-dialog header,.workbench-dialog footer{background:hsl(var(--muted));justify-content:space-between;align-items:center;gap:16px;padding:16px 22px;display:flex}.workbench-dialog h2{font-size:clamp(1.15rem,3vw,1.7rem);font-weight:700}.workbench-dialog h3{margin:8px 0;font-weight:650}.workbench-dialog small{letter-spacing:.15em;color:hsl(var(--primary));font-size:.65rem}.workbench-dialog main{overscroll-behavior:contain;max-height:calc(100dvh - 210px);padding:20px;overflow:auto}.workbench-instruction{white-space:pre-line;margin-bottom:20px;line-height:1.6}.workbench-dialog button{border:1px solid hsl(var(--border));background:hsl(var(--background));min-width:46px;min-height:46px;color:hsl(var(--foreground));touch-action:manipulation;border-radius:12px;padding:8px 14px;font-weight:600}.workbench-dialog button:hover{background:hsl(var(--accent))}.workbench-dialog button:focus-visible{outline:3px solid hsl(var(--ring));outline-offset:2px}.workbench-dialog button:disabled{opacity:.4}.workbench-dialog button[aria-pressed=true]{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.workbench-switches,.workbench-controls{flex-wrap:wrap;justify-content:center;gap:8px;margin:12px 0;display:flex}.workbench-switches button{gap:6px;min-width:85px;display:grid}.workbench-switches b{font-size:1.8rem}.workbench-switches span{font-size:.7rem}.workbench-output{text-align:center;padding:16px;font-size:1.4rem;font-weight:700;display:block}.workbench-traces{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;display:grid}.workbench-traces section{border:1px solid hsl(var(--border));border-radius:16px;padding:12px}.workbench-traces svg{background:hsl(var(--muted));border-radius:10px;width:100%;height:170px}.workbench-arrows{letter-spacing:.08em;overflow-wrap:anywhere;margin:8px 0;font-size:1.35rem}.workbench-stack-layout{grid-template-columns:1fr 1fr;gap:20px;display:grid}.workbench-events li{border-radius:6px;padding:7px}.workbench-events [data-current=true]{outline:2px solid hsl(var(--primary))}.workbench-events [data-past=true]{opacity:.55}.workbench-crates>div{border:2px solid hsl(var(--primary));background:hsl(var(--muted));text-align:center;border-radius:6px;margin:3px;padding:10px}.workbench-grid{gap:5px;max-width:480px;margin:auto;display:grid}.workbench-grid span{aspect-ratio:1;border:1px solid hsl(var(--border));background:hsl(var(--muted));border-radius:8px;place-items:center;font-size:clamp(1rem,4vw,1.6rem);display:grid}.workbench-grid [data-active=true]{background:hsl(var(--primary));color:hsl(var(--primary-foreground));outline:3px solid hsl(var(--ring));outline-offset:1px}.workbench-grid [data-empty=true]{visibility:hidden}.workbench-dotgrid{gap:6px;margin:24px auto;display:grid}.workbench-dotgrid span{aspect-ratio:1;background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:50%}.workbench-dotgrid [data-lit=true]{background:hsl(var(--primary));box-shadow:0 0 7px hsl(var(--primary)/.5)}.workbench-dialog details{border:1px solid hsl(var(--border));border-radius:12px;margin-top:20px;padding:12px}.workbench-dialog summary{cursor:pointer;min-height:30px}.workbench-dialog details p{white-space:pre-line;margin-top:10px}.workbench-dialog footer p{max-width:32rem;font-size:.85rem}@media (width<=600px){.workbench-dialog header,.workbench-dialog footer{padding:12px}.workbench-dialog main{max-height:calc(100dvh - 225px);padding:14px}.workbench-dialog footer{flex-direction:column;align-items:stretch;gap:6px}.workbench-stack-layout{grid-template-columns:1fr}.workbench-dialog footer p{font-size:.75rem}.workbench-switches{gap:5px}.workbench-switches button{min-width:52px;padding:7px}.workbench-switches b{font-size:1.4rem}.workbench-switches span{font-size:.5rem}}@media (height<=500px){.workbench-dialog header{padding:8px 14px}.workbench-dialog footer{flex-direction:row;padding:8px 14px}.workbench-dialog footer p{display:none}.workbench-dialog main{max-height:calc(100dvh - 140px)}}.crossword-dialog{--cw-paper:var(--martin-paper,hsl(var(--card)));--cw-ink:var(--martin-ink,hsl(var(--foreground)));--cw-line:var(--martin-line,hsl(var(--border)));--cw-accent:var(--martin-gold,hsl(var(--primary)));--cw-soft:var(--martin-soft,hsl(var(--muted)));--cw-green:var(--martin-green,hsl(var(--primary)));border:2px solid var(--cw-accent);background:var(--cw-paper);width:min(800px,100vw - 20px);max-height:calc(100dvh - 20px);color:var(--cw-ink);font:inherit;box-shadow:0 14px 70px color-mix(in srgb,var(--cw-ink) 35%,transparent);border-radius:18px;margin:auto;padding:0;overflow:hidden}.crossword-dialog[open]{flex-direction:column;display:flex}.crossword-dialog::backdrop{background:color-mix(in srgb,var(--cw-ink) 65%,transparent);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.crossword-dialog header{border-bottom:1px solid var(--cw-line);justify-content:space-between;align-items:center;gap:12px;padding:16px 22px;display:flex}.crossword-dialog h2{font:inherit;margin:0;font-size:25px;font-weight:700}.crossword-dialog header small{color:var(--cw-accent);letter-spacing:.14em;font-size:11px}.crossword-dialog button{font:inherit;cursor:pointer;border:1px solid var(--cw-line);background:var(--cw-soft);min-height:44px;color:var(--cw-ink);border-radius:10px;padding:8px 14px;font-weight:600}.crossword-dialog header button{flex-shrink:0;padding:10px}.crossword-dialog button:disabled{opacity:.5;cursor:default}.crossword-dialog :is(button,input,summary):focus-visible{outline:3px solid var(--cw-accent);outline-offset:3px}.crossword-scroll{overscroll-behavior:contain;scrollbar-color:var(--cw-accent) var(--cw-paper);scrollbar-width:thin;padding:14px 22px;overflow:auto}.crossword-scroll::-webkit-scrollbar{width:9px}.crossword-scroll::-webkit-scrollbar-thumb{background:var(--cw-accent);border:2px solid var(--cw-paper);border-radius:8px}.crossword-scroll::-webkit-scrollbar-track{background:var(--cw-paper)}.crossword-scroll>p{margin:0 0 18px;font-size:15px;line-height:1.5}.crossword-art{border:1px solid var(--cw-line);border-radius:8px;margin:0 0 18px;overflow:hidden}.crossword-art summary{cursor:pointer;background:var(--cw-soft);min-height:44px;padding:10px 12px;font-size:14px;font-weight:600}.crossword-art img{object-fit:contain;background:var(--cw-soft);width:100%;height:auto;max-height:360px;display:block}.crossword-rows{gap:22px;margin:0;padding:0;list-style:none;display:grid}.crossword-rows li{border-bottom:1px solid var(--cw-line);padding-bottom:18px}.crossword-rows label{margin-bottom:10px;font-size:17px;line-height:1.5;display:block}.crossword-rows label b{color:var(--cw-accent);margin-right:6px}.crossword-cells{grid-template-columns:repeat(var(--cw-columns),minmax(0,1fr));max-width:calc(var(--cw-columns) * 35px);gap:4px;margin-bottom:10px;display:grid}.crossword-cells>span{aspect-ratio:1;border:1px solid var(--cw-line);background:var(--cw-soft);border-radius:4px;place-items:center;font-size:clamp(12px,2.6vw,21px);font-weight:700;display:grid;position:relative}.crossword-cells>span[data-secret]{border:2px solid var(--cw-accent);background:color-mix(in srgb,var(--cw-accent) 22%,var(--cw-paper))}.crossword-cells small{color:var(--cw-accent);background:var(--cw-paper);font-size:8px;position:absolute;bottom:-4px;right:-3px}.crossword-entry{gap:8px;max-width:460px;display:flex}.crossword-entry input{border:1px solid var(--cw-line);background:var(--cw-paper);min-width:0;color:var(--cw-ink);font:inherit;border-radius:8px;flex:1;padding:10px;font-size:17px}.crossword-entry button,.crossword-dialog .crossword-return{background:var(--cw-green);color:var(--cw-paper)}.crossword-correct{color:var(--cw-green);align-items:center;gap:6px;margin:0;font-size:14px;display:flex}.crossword-feedback{color:var(--cw-ink);margin:6px 0;font-size:14px;line-height:1.4}.crossword-feedback:empty{display:none}.crossword-rows summary{cursor:pointer;min-height:36px;color:var(--cw-green);align-items:center;font-size:14px;text-decoration:underline;display:flex}.crossword-rows details p{margin:5px 0;font-size:14px}.crossword-dialog footer{background:var(--cw-soft);border-top:1px solid var(--cw-line);flex-shrink:0;padding:12px 22px}.crossword-secret{flex-wrap:wrap;align-items:center;gap:10px;font-size:16px;display:flex}.crossword-secret strong{letter-spacing:.04em;overflow-wrap:anywhere;font-size:22px}.crossword-dialog footer p{margin:6px 0 10px;font-size:13px}.crossword-return{width:100%}@media (width<=480px){.crossword-dialog header,.crossword-dialog footer{padding:10px 14px}.crossword-scroll{padding:12px 14px}.crossword-dialog h2{font-size:21px}.crossword-cells{gap:3px}.crossword-secret strong{font-size:19px}.crossword-rows label{font-size:16px}}.martin-game{--martin-paper:#fffaf0;--martin-ground:#f3eadb;--martin-ink:#293c3c;--martin-muted:#65726b;--martin-gold:#b36929;--martin-line:#dcd0b8;--martin-green:#365c4b;--martin-white:#fff;--martin-soft:#efe2c7;--martin-night:#233d42;background:var(--martin-ground);min-height:100dvh;color:var(--martin-ink);font-family:Fredoka CZ,sans-serif}.martin-game *{box-sizing:border-box}.martin-game button,.martin-game a{touch-action:manipulation}.martin-game button:focus-visible,.martin-game a:focus-visible,.martin-game summary:focus-visible{outline:3px solid var(--martin-gold);outline-offset:4px}.martin-header{justify-content:space-between;align-items:center;gap:16px;max-width:1440px;margin:auto;padding:22px 32px;display:flex}.martin-brand{color:inherit;align-items:center;gap:12px;font-size:24px;font-weight:650;line-height:1.1;text-decoration:none;display:flex}.martin-brand>svg{width:36px;height:36px;color:var(--martin-gold)}.martin-brand small{margin-top:5px;font-size:15px;font-weight:450;display:block}.martin-counter{border:1px solid var(--martin-line);white-space:nowrap;border-radius:24px;align-items:center;gap:8px;padding:10px 16px;font-size:15px;display:flex}.martin-counter svg{color:var(--martin-gold);width:20px}.martin-progress{gap:8px;max-width:1376px;margin:0 auto 20px;padding:0 0 10px;display:flex;overflow-x:auto}.martin-progress>div{white-space:nowrap;background:var(--martin-paper);border:1px solid var(--martin-line);color:var(--martin-muted);border-radius:40px;flex:1;justify-content:center;align-items:center;gap:10px;padding:12px 15px;font-size:16px;display:flex}.martin-progress>div>span{border:1px solid;border-radius:50%;place-items:center;width:24px;height:24px;font-size:13px;display:grid}.martin-progress>div.current{background:var(--martin-gold);color:var(--martin-white);border-color:var(--martin-gold)}.martin-progress>div.complete{color:var(--martin-green);background:var(--martin-soft)}.martin-wrap{max-width:1440px;margin:auto;padding:0 32px}.martin-playing{grid-template-columns:minmax(0,2.4fr) minmax(400px,1fr)!important}.martin-playing .martin-paper{padding:16px}.martin-playing .martin-paper h1{font-size:29px}.martin-playing .martin-task,.martin-playing .martin-story{font-size:17px}.martin-playing .martin-art{box-shadow:none;background:0 0;overflow:visible}.martin-playing .martin-art-caption{background:var(--martin-night);border-radius:0 0 20px 20px}.martin-playing .martin-visual{border-radius:20px 20px 0 0}.martin-wrap:has(.martin-playing){max-width:1840px;padding:0 20px}.martin-playing .martin-paper{border-radius:20px}.martin-game{scrollbar-color:var(--martin-gold) var(--martin-ground)}.martin-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.martin-art{background:var(--martin-night);box-shadow:0 12px 30px color-mix(in srgb,var(--martin-ink) 10%,transparent);border-radius:26px;position:sticky;top:20px;overflow:hidden}.martin-art img{aspect-ratio:3/2;object-fit:cover;width:100%;height:auto;display:block}.martin-art-caption{color:var(--martin-paper);justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;display:flex}.martin-art-caption>span{letter-spacing:1.5px;max-width:180px;font-size:11px;font-weight:600}.martin-lanterns{gap:8px;display:flex}.martin-lanterns svg{width:22px;stroke:color-mix(in srgb,var(--martin-white) 25%,transparent)}.martin-lanterns .lit{stroke:var(--martin-soft);fill:var(--martin-gold)}.martin-paper{background:var(--martin-paper);border:1px solid var(--martin-line);border-radius:26px;min-width:0;padding:30px}.martin-eyebrow{color:var(--martin-gold);letter-spacing:1.2px;text-transform:uppercase;margin:0 0 10px;font-size:13px;font-weight:600}.martin-paper h1{text-wrap:balance;outline:none;margin:0 0 20px;font-size:clamp(26px,3vw,44px);font-weight:700;line-height:1.12}.martin-lead{margin:0 0 20px;font-size:20px;line-height:1.65}.martin-facts{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.martin-facts span{border:1px solid var(--martin-line);border-radius:20px;padding:6px 10px;font-size:13px}.martin-primary{background:var(--martin-green);color:var(--martin-white);cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:54px;padding:16px 20px;font-size:18px;font-weight:600;display:flex}.martin-primary:hover{filter:brightness(1.12)}.martin-small{color:var(--martin-muted);margin:18px 0 0;font-size:14px;line-height:1.6}.martin-story{margin-bottom:20px;font-size:18px;line-height:1.6}.martin-task{border-top:1px solid var(--martin-line);padding-top:16px;font-size:18px;line-height:1.55}.martin-task p{margin-bottom:14px}.martin-task strong{letter-spacing:.025em;font-weight:650}.martin-task li{margin-bottom:10px}.martin-controls{min-width:0;margin-top:24px}.martin-controls button{min-width:44px;min-height:44px}.martin-controls>div{width:100%;max-width:100%}.martin-feedback{color:var(--martin-gold);margin:12px 0;font-size:15px;line-height:1.5}.martin-hint-button,.martin-text-button{color:var(--martin-green);border:1px solid var(--martin-line);cursor:pointer;background:0 0;border-radius:14px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;padding:10px;font-size:16px;display:flex}.martin-text-button{margin-top:10px}.martin-hint{background:var(--martin-soft);border-radius:14px;margin-top:12px;padding:16px;font-size:17px;line-height:1.5}.martin-success{background:var(--martin-soft);text-align:center;border-radius:18px;margin-top:24px;padding:24px}.martin-success>svg{color:var(--martin-gold);width:36px;height:36px;margin:0 auto 10px}.martin-success h2{margin-bottom:10px;font-size:24px;font-weight:650}.martin-success p{margin-bottom:20px;font-size:17px;line-height:1.5}.martin-map{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:18px 0;display:grid}.martin-map>div{background:var(--martin-soft);border:1px solid var(--martin-line);border-radius:12px;flex-direction:column;align-items:center;min-width:0;padding:10px 2px;display:flex}.martin-map span{font-size:30px}.martin-map strong{letter-spacing:.04em;font-size:11px}.martin-teacher{background:var(--martin-paper);border:1px solid var(--martin-line);border-radius:18px;margin:28px 0;padding:20px 24px;line-height:1.65}.martin-teacher summary{cursor:pointer;min-height:32px;font-weight:600}.martin-teacher p{margin:14px 0}.martin-teacher ol{padding-left:24px;list-style:decimal}.martin-footer{color:var(--martin-muted);justify-content:space-between;gap:16px;padding:28px 0;font-size:13px;display:flex}.martin-footer button{cursor:pointer;min-height:44px;text-decoration:underline}@media (width>=1500px){.martin-layout{grid-template-columns:1.15fr 1fr}.martin-paper{padding:38px}.martin-task{font-size:21px}.martin-story{font-size:20px}}@media (width<=1100px){.martin-playing{grid-template-columns:1fr!important}.martin-playing .martin-art{position:relative;top:0}.martin-playing .martin-paper{width:100%;max-width:760px;margin:auto}}@media (width<=1000px){.martin-header{padding:18px 20px}.martin-wrap{padding:0 20px}.martin-progress{margin-left:20px;margin-right:20px}.martin-layout{grid-template-columns:1fr;gap:18px}.martin-art{position:relative;top:0}.martin-art img{object-position:center 48%;max-height:350px}.martin-intro .martin-art img{max-height:none}.martin-paper{padding:28px}.martin-paper h1{font-size:34px}.martin-controls{max-width:460px;margin:24px auto 0}}@media (width<=520px){.martin-header{padding:16px 14px}.martin-brand{gap:7px;font-size:20px}.martin-brand small{font-size:11px}.martin-brand>svg{width:25px}.martin-counter{padding:8px 10px;font-size:13px}.martin-counter>span{display:none}.martin-progress{gap:6px;margin:0 14px 12px}.martin-progress>div{padding:8px 12px;font-size:13px}.martin-progress>div>span{width:20px;height:20px;font-size:11px}.martin-wrap{padding:0 12px}.martin-art{border-radius:18px}.martin-art img{max-height:230px}.martin-art-caption{padding:14px}.martin-lanterns{gap:5px}.martin-lanterns svg{width:18px}.martin-art-caption>span{font-size:9px}.martin-paper{border-radius:18px;padding:20px 16px}.martin-paper h1{font-size:28px}.martin-lead,.martin-task,.martin-story{font-size:17px}.martin-controls{margin-left:-8px;margin-right:-8px}.martin-controls .grid.grid-cols-4{gap:4px}.martin-controls .grid.grid-cols-4 button{width:54px;height:54px}.martin-footer{align-items:center;font-size:11px}.martin-teacher{padding:18px}.martin-primary{font-size:17px}}@media (prefers-reduced-motion:reduce){.martin-game *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.martin-active .martin-header{max-width:none;padding:10px 22px}.martin-active .martin-brand{font-size:19px}.martin-active .martin-brand small{font-size:12px}.martin-active .martin-brand>svg{height:28px}.martin-active .martin-counter{padding:6px 12px}.martin-active .martin-progress{gap:6px;max-width:none;margin:0 20px 8px;padding:0}.martin-active .martin-progress>div{padding:6px 10px;font-size:13px}.martin-active .martin-progress>div>span{width:20px;height:20px}.martin-active .martin-wrap{max-width:1920px;padding:0 20px}.martin-playfield{min-width:0}.martin-scene-heading{justify-content:space-between;align-items:center;gap:12px;margin:8px 0;display:flex}.martin-scene-heading h1{outline:none;margin:0;font-size:clamp(20px,2vw,28px);font-weight:650;line-height:1.2}.martin-story-popover{z-index:5;flex-shrink:0;position:relative}.martin-story-popover summary{cursor:pointer;border:1px solid var(--martin-line);background:var(--martin-paper);border-radius:12px;align-items:center;gap:8px;min-height:44px;padding:8px 14px;list-style:none;display:flex}.martin-story-popover summary::-webkit-details-marker{display:none}.martin-story-popover p{background:var(--martin-paper);border:1px solid var(--martin-line);border-radius:14px;width:min(360px,85vw);margin:6px 0;padding:20px;font-size:17px;line-height:1.6;position:absolute;top:100%;right:0;box-shadow:0 10px 30px #382c2433}.martin-game-dock{align-items:center;gap:24px;padding:14px 4px;display:flex}.martin-mission{flex:1;min-width:0;font-size:17px;line-height:1.4}.martin-mission>span{letter-spacing:.12em;color:var(--martin-gold);font-size:10px;font-weight:650}.martin-mission p{margin:2px 0}.martin-open-lock{background:var(--martin-night);border:2px solid var(--martin-gold);flex-shrink:0;width:auto;min-width:210px;min-height:52px;box-shadow:0 3px #172a2e}.martin-active .martin-footer{padding:8px 0;font-size:11px}.martin-lock-dialog{border:1px solid var(--martin-line);background:var(--martin-paper);color:var(--martin-ink);scrollbar-color:var(--martin-gold) var(--martin-paper);border-radius:22px;width:min(520px,100vw - 20px);max-height:calc(100dvh - 24px);margin:auto;padding:0;font-family:Fredoka CZ,sans-serif;overflow:auto}.martin-lock-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#172523a6}.martin-lock-sheet{padding:18px}.martin-lock-sheet>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.martin-lock-sheet h2{font-size:22px;font-weight:650}.martin-close{background:var(--martin-soft);border:1px solid var(--martin-line);cursor:pointer;border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.martin-lock-task{margin:10px 0;font-size:15px;line-height:1.45}.martin-lock-dialog .martin-controls{max-width:440px;margin:12px auto 0}.martin-lock-dialog .lk-shell{width:100%;max-width:100%;padding:12px;min-width:0!important}.martin-lock-dialog .martin-success{margin:12px 0 0}@media (width<=600px){.martin-active .martin-header{padding:8px 12px}.martin-active .martin-brand small{font-size:10px}.martin-active .martin-wrap{padding:0 8px}.martin-active .martin-progress{margin:0 8px 5px}.martin-active .martin-progress>div{flex:none;padding:6px 9px}.martin-scene-heading{margin:4px 0}.martin-scene-heading h1{font-size:20px}.martin-story-popover summary{padding:6px 10px;font-size:13px}.martin-game-dock{flex-direction:column;align-items:stretch;gap:10px;padding:10px 4px}.martin-mission{font-size:16px}.martin-open-lock{width:100%;min-height:48px}.martin-lock-sheet{padding:12px}.martin-lock-dialog .martin-controls{margin:12px 0 0}}.illustrated-player{--playfield-width:1280px;box-sizing:border-box;background:var(--martin-ground,#f4ebdd);overscroll-behavior:none;flex-direction:column;align-items:center;gap:8px;min-width:0;height:100dvh;min-height:0;padding:clamp(8px,1.5vh,16px);display:flex;overflow:hidden}.illustrated-player-embedded{width:100%;height:100%}.illustrated-player [data-inventory-bar]{display:none}.illustrated-player>div:not(.game-progress-rail){flex:1;width:100%;min-height:0}.illustrated-player>.game-progress-rail{width:100%;min-height:32px;max-width:var(--playfield-width);color:inherit;background:0 0;flex:none;height:auto!important;position:relative!important;inset:auto!important}.illustrated-player>.game-progress-rail>div{max-width:none;min-height:32px;padding:0}.illustrated-scene{width:100%;height:100%;overflow:hidden;min-height:0!important;padding:0!important}.illustrated-scene>.martin-playfield{width:100%;height:100%;min-height:0;max-width:var(--playfield-width);grid-template-rows:auto minmax(100px,1fr) auto;grid-template-columns:minmax(0,1fr);margin:auto;display:grid;container-type:inline-size}.illustrated-scene .martin-scene-heading{min-width:0;min-height:40px;margin:0 0 8px}.illustrated-scene .martin-scene-heading h1{overflow-wrap:anywhere;font-size:clamp(20px,2.2vw,28px)}.illustrated-scene .martin-story-popover{z-index:10}.illustrated-scene .scene-further-hint{border-top:1px solid var(--martin-line);margin-top:12px;padding-top:8px}.illustrated-scene .scene-further-hint>summary{cursor:pointer;min-height:44px;color:var(--martin-green);align-items:center;text-decoration:underline;display:flex}.illustrated-scene .scene-further-hint>summary:focus-visible{outline:2px solid var(--martin-green);outline-offset:2px}.illustrated-scene .martin-story-content{overscroll-behavior:contain;background:var(--martin-paper);border:1px solid var(--martin-line);overflow-wrap:anywhere;border-radius:14px;width:min(360px,100vw - 32px);max-height:55dvh;margin-top:6px;padding:18px;font-size:17px;line-height:1.5;position:absolute;top:100%;right:0;overflow:auto;box-shadow:0 8px 28px #30261d33}.illustrated-scene .martin-story-content p{width:auto;box-shadow:none;font:inherit;line-height:inherit;background:0 0;border:0;margin:0 0 .7em;padding:0;position:static}.illustrated-scene .martin-visual{border-radius:14px 14px 0 0;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.illustrated-scene .mv-tools{flex:none;gap:6px;padding:5px 8px}.illustrated-scene .mv-viewer{flex:1;min-height:0;container-type:size}.illustrated-scene .mv-scroll{justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden;height:100%!important}.illustrated-scene .mv-canvas{-webkit-user-select:none;user-select:none;touch-action:manipulation;width:100%;max-width:100%;height:100%;min-height:0;max-height:100%}.illustrated-scene .mv-canvas.mv-pan-active,.illustrated-scene .mv-canvas.mv-loupe-active{touch-action:none}.illustrated-scene .mv-instruction{text-align:right;max-width:220px;font-size:12px;line-height:1.3}.illustrated-scene .mv-fullscreen{border-radius:0;width:100vw!important;height:100dvh!important}.illustrated-scene .martin-game-dock{border:1px solid var(--martin-line);background:var(--martin-paper);border-top:0;border-radius:0 0 14px 14px;align-items:stretch;gap:14px;min-height:0;max-height:40dvh;margin:0;padding:12px 14px;overflow:hidden}.illustrated-scene .martin-mission{overscroll-behavior:contain;overflow-wrap:anywhere;min-height:0;font-size:16px;line-height:1.4;overflow:auto}.illustrated-scene .martin-mission p+p{margin-top:.6em}.illustrated-scene .martin-open-lock{align-self:center;width:auto;min-width:160px;min-height:48px;padding:10px 16px;font-size:16px}.illustrated-scene .martin-lock-dialog{overscroll-behavior:contain}.illustrated-scene .martin-lock-sheet>header{z-index:5;background:var(--martin-paper);padding:4px 0 8px;position:sticky;top:-1px}.illustrated-scene .martin-lock-sheet>p[role=status]:empty{display:none}.illustrated-scene .martin-lock-sheet>p[role=status]:not(:empty){margin:10px 0;font-size:16px;line-height:1.4}.illustrated-lock-beside{--playfield-width:1540px}.illustrated-lock-beside>.martin-playfield{grid-template-columns:minmax(0,1fr) clamp(300px,31%,380px);column-gap:14px}.illustrated-lock-beside .martin-scene-heading{grid-column:1/-1}.illustrated-lock-beside .martin-visual{grid-area:2/1}.illustrated-lock-beside .martin-game-dock{grid-area:3/1;max-height:30dvh}.illustrated-lock-beside .martin-open-lock{display:none}.illustrated-lock-beside .martin-lock-dialog[open]{grid-area:2/2/4;width:100%;max-width:none;height:100%;max-height:100%;margin:0;position:relative;inset:auto;overflow:auto}.illustrated-lock-beside .martin-lock-sheet{padding:10px}.illustrated-lock-beside .martin-lock-sheet h2{font-size:20px}.illustrated-lock-beside .mv-tool-buttons button>span,.illustrated-lock-beside .mv-instruction{display:none}.illustrated-lock-beside [data-lock-shell]>header{margin-bottom:8px}.illustrated-lock-beside .martin-wood-register{margin-bottom:12px}.illustrated-ending-actions{flex-direction:column;flex:0 300px;gap:8px;min-width:240px;min-height:0;display:flex;overflow:auto}.illustrated-complete{color:var(--martin-green);align-items:center;gap:7px;font-size:15px;font-weight:600;display:flex}.illustrated-ending-actions .martin-primary{min-height:48px;padding:10px 14px;font-size:16px}.illustrated-ending-links{color:var(--martin-green);flex-wrap:wrap;gap:8px;font-size:14px;display:flex}.illustrated-ending-links a,.illustrated-ending-links button{border:1px solid var(--martin-line);background:var(--martin-paper);border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:8px 12px;font-weight:600;display:flex}.certificate-ready{align-items:center;gap:6px;margin-top:8px;font-size:14px;text-decoration:underline;display:flex}.certificate-download [role=alert]{margin-top:8px;font-size:14px;line-height:1.4}.scene-edit-text{min-height:32px;color:var(--martin-green);margin-top:6px;font-size:13px;text-decoration:underline;display:block}@container (width<=760px){.illustrated-scene .mv-tool-buttons button>span,.illustrated-scene .mv-instruction{display:none}.illustrated-scene .mv-tool-buttons button{justify-content:center;width:44px;padding:7px}.illustrated-scene .martin-scene-heading h1{font-size:21px}.illustrated-scene .martin-game-dock{flex-direction:column;gap:8px;max-height:44dvh;padding:10px 12px}.illustrated-scene .martin-mission{flex:auto;max-height:18dvh}.illustrated-scene .martin-open-lock{flex-shrink:0;width:100%}.illustrated-ending-actions{flex:0 auto;min-width:0}.illustrated-complete{display:none}}@media (height<=550px){.illustrated-player{gap:4px;padding:6px}.illustrated-player>.game-progress-rail,.illustrated-player>.game-progress-rail>div{min-height:32px}.illustrated-scene .martin-scene-heading{min-height:32px;margin-bottom:4px}.illustrated-scene .martin-game-dock{max-height:32dvh}.illustrated-scene .mv-tools{padding:2px 6px}.illustrated-scene .mv-instruction{display:none}}.illustrated-scene[data-compact] .martin-visual{position:relative}.illustrated-scene[data-compact] .mv-tools{z-index:6;flex-direction:row;align-items:center;gap:4px;top:6px;left:6px;background:0 0!important;padding:0!important;position:absolute!important}.illustrated-scene[data-compact] .mv-tools .mv-tool-buttons{gap:4px;width:auto}.illustrated-scene[data-compact] .mv-tools button,.illustrated-scene[data-compact] .mv-tool-buttons button{color:#fff;border-color:#ffffff59;border-radius:8px;flex:0 0 32px;justify-content:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;background:#140e0a8c!important}.illustrated-scene[data-compact] .mv-tool-buttons button>span,.illustrated-scene[data-compact] .mv-instruction{display:none}.illustrated-scene[data-compact] .mv-tool-buttons button>svg{width:17px;height:17px}.illustrated-scene[data-compact] .mv-fullscreen .mv-tools{top:10px;left:10px}.illustrated-scene[data-compact] .martin-scene-heading{min-height:0;margin-bottom:4px}.illustrated-scene[data-compact] .martin-scene-heading h1{font-size:18px;line-height:1.2}.illustrated-scene[data-heading=off] .martin-scene-heading{min-height:0;margin:0 0 4px}.illustrated-scene[data-heading=off] .martin-scene-heading h1{display:none}.illustrated-scene[data-layout=side]>.martin-playfield{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) clamp(240px,34%,380px);gap:0 8px}.illustrated-scene[data-layout=side] .martin-scene-heading{grid-area:1/2}.illustrated-scene[data-layout=side] .martin-visual{border-radius:12px;grid-area:1/1/3}.illustrated-scene[data-layout=side] .martin-game-dock{border-top:1px solid var(--martin-line);border-radius:12px;flex-direction:column;grid-area:2/2;gap:6px;height:100%;max-height:none;padding:8px 10px}.illustrated-scene[data-layout=side] .martin-mission{flex:auto;min-height:0;max-height:none;overflow:auto}.illustrated-scene[data-layout=side] .martin-open-lock{flex-shrink:0;width:100%;min-width:0;min-height:44px}.illustrated-scene[data-layout=side].illustrated-lock-beside>.martin-playfield{grid-template-columns:minmax(0,1fr) clamp(260px,40%,420px)}.illustrated-scene[data-layout=side].illustrated-lock-beside .martin-scene-heading,.illustrated-scene[data-layout=side].illustrated-lock-beside .martin-game-dock{display:none}.illustrated-scene[data-layout=side].illustrated-lock-beside .martin-visual{grid-row:1/3}.illustrated-scene[data-layout=side].illustrated-lock-beside .martin-lock-dialog[open]{border-radius:12px;grid-area:1/2/3}.illustrated-scene[data-layout=side][data-compact].illustrated-lock-beside .martin-lock-sheet{padding:8px}.illustrated-scene[data-layout=side][data-compact].illustrated-lock-beside .martin-lock-sheet h2{font-size:17px}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-sheet{padding:8px 10px}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-sheet>header{margin-bottom:4px}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-sheet h2{font-size:16px}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-close{width:36px;height:36px}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-dialog [data-lock-shell]{border-radius:18px;padding:10px!important}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-dialog [data-lock-shell]>header{gap:6px;margin-bottom:8px;padding:2px 0 6px}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-dialog [data-lock-shell]>header>span:first-child,.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-dialog [data-lock-shell]>header h2{display:none}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-dialog [data-lock-shell]>header p{margin:0;font-size:13px}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-dialog [data-lock-shell]>header:not(:has(p)){display:none}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-sheet>p[role=status]:not(:empty){margin:6px 0;font-size:14px}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-wood-register{margin-bottom:10px;padding:8px}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-sheet{position:relative}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-sheet>header{z-index:4;margin:0;position:absolute;top:6px;right:6px}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-sheet>header h2{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-close{width:32px;height:32px;box-shadow:0 1px 4px #0003}.illustrated-scene:is([data-compact],[data-layout=side]) .martin-lock-dialog [data-lock-shell]>header{padding-right:34px}.illustrated-scene[data-layout=side] .martin-game-dock:has(.illustrated-ending-actions) .illustrated-ending-actions{flex:none;order:-1;min-width:0;overflow:visible}.illustrated-scene[data-layout=side] .martin-game-dock:has(.illustrated-ending-actions) .martin-mission{min-height:48px}.illustrated-scene[data-layout=side] .illustrated-ending-actions .martin-primary{min-height:44px}.scene-circuit-hud{flex-direction:column;flex:none;align-self:center;gap:8px;min-width:260px;max-width:420px;display:flex}.scene-circuit-valves{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.scene-circuit-valve{border:1.5px solid var(--martin-line);background:var(--martin-paper);border-radius:999px;align-items:center;gap:2px;padding:4px 8px 4px 5px;transition:background .3s,border-color .3s;display:inline-flex}.scene-circuit-valve[data-done]{background:color-mix(in srgb,#4fb3d9 16%,var(--martin-paper));border-color:#4fb3d9}.scene-circuit-count{margin-left:4px;font-size:15px}.scene-circuit-message{border-left:5px solid var(--martin-gold);background:color-mix(in srgb,var(--martin-gold) 10%,var(--martin-paper));border-radius:8px;margin:0;padding:8px 12px;font-size:15px;font-weight:700;line-height:1.35}.scene-circuit-hud[data-solved] .scene-circuit-message{background:color-mix(in srgb,#4fb3d9 18%,var(--martin-paper));border-color:#4fb3d9;font-size:17px}.scene-circuit-reset{border:1.5px solid var(--martin-line);background:var(--martin-paper);cursor:pointer;border-radius:10px;align-self:flex-start;min-height:40px;padding:6px 14px;font-weight:700}.scene-circuit-reset:disabled{opacity:.5;cursor:default}.illustrated-scene[data-layout=side] .scene-circuit-hud{width:100%;min-width:0;max-width:none}@media (width<=700px){.scene-circuit-hud{width:100%;min-width:0;max-width:none}}.author-lock-actions{flex-direction:column;flex-shrink:0;align-self:center;align-items:stretch;gap:6px;display:flex}.author-lock-settings{border:1.5px dashed var(--martin-line);background:var(--martin-paper);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;border-radius:10px;max-width:260px;min-height:36px;padding:6px 12px;font-size:14px;font-weight:700;overflow:hidden}.author-lock-settings:hover{border-style:solid}.scene-circuit-fill{border:1.5px solid var(--martin-line);background:var(--martin-paper);border-radius:999px;height:22px;position:relative;overflow:hidden}.scene-circuit-fill>span{background:color-mix(in srgb,#4fb3d9 45%,var(--martin-paper));transition:width .25s;position:absolute;inset:0 auto 0 0}.scene-circuit-fill>em{text-align:center;font-size:13px;font-style:normal;font-weight:700;line-height:19px;display:block;position:relative}.scene-circuit-title{font-size:15px}.scene-circuit-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.scene-circuit-keys{opacity:.7;font-size:12px}.illustrated-scene .martin-game-dock{overscroll-behavior:contain;scrollbar-width:thin;overflow-y:auto}.illustrated-scene .martin-game-dock:has(.scene-circuit-hud) .martin-mission{flex:0 auto;min-height:64px;max-height:38%}.illustrated-scene[data-layout=side] .martin-game-dock:has(.scene-circuit-hud){justify-content:flex-start}.illustrated-scene .martin-game-dock .scene-circuit-hud,.illustrated-scene .martin-game-dock .author-lock-actions{flex-shrink:0}.illustrated-scene[data-scene-task][data-layout=stacked] .martin-game-dock{align-items:center;gap:10px;max-height:22dvh;padding:8px 14px}.illustrated-scene[data-scene-task][data-layout=stacked] .martin-mission{max-height:calc(22dvh - 16px);font-size:15px}.terraquest-scene{overscroll-behavior:contain;height:100dvh;padding:calc(var(--progress-rail-h,100px) + 24px) 20px max(28px,env(safe-area-inset-bottom));color:#292036;background:radial-gradient(at 15% 0,#e5d8fb 0,#0000 48%),radial-gradient(at 100% 100%,#f5e4d2 0,#0000 45%),#f8f5fc;overflow:auto}.terraquest-content{width:100%;max-width:720px;margin:0 auto}.terraquest-brand{letter-spacing:.12em;color:#5e3680;align-items:center;gap:10px;margin:0 4px 20px;font-size:14px;font-weight:600;display:flex}.terraquest-brand-caption{overflow-wrap:anywhere;text-align:right;letter-spacing:0;color:#70617e;min-width:0;max-width:55%;margin-left:auto;font-size:13px;font-weight:400}.terraquest-story{background:#fffdfa;border:1px solid #dfd1eb;border-radius:24px;padding:clamp(20px,4vw,36px);box-shadow:0 18px 60px #48205f12}.terraquest-story-heading{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.terraquest-story h1{flex:1;min-width:200px;font-size:clamp(25px,4vw,34px);font-weight:600;line-height:1.15}.terraquest-scene .game-reading-text{overflow-wrap:anywhere;font-size:18px;line-height:1.65!important}.terraquest-scene .game-reading-text p{margin-bottom:1em}.terraquest-scene .game-reading-text img{object-fit:contain;border-radius:14px;width:auto;max-width:100%;margin:4px auto 20px;max-height:360px!important}.terraquest-scene .game-reading-text a{color:#4b246e;overflow-wrap:anywhere;background:#ede2ff;border:1px solid #baa0dc;border-radius:12px;padding:10px 14px;font-size:16px;display:inline-block}.terraquest-scene .lk-shell{border-radius:24px;width:100%;min-width:0;max-width:100%;box-shadow:0 18px 60px #48205f20!important}.terraquest-scene .lk-body-frame{min-width:0;max-width:100%}.terraquest-scene .lk-shell h2{white-space:normal!important;overflow:visible!important}.terraquest-scene .lk-shell .overflow-y-auto{max-height:none!important;overflow:visible!important}.terraquest-scene .lk-shell .game-reading-text{padding:8px 4px 16px}.terraquest-scene input,.terraquest-scene textarea{min-height:48px;font-size:18px!important}.terraquest-scene button{min-height:44px}.terraquest-continue{color:#fff;background:#623d83;border-radius:14px;justify-content:center;align-items:center;gap:12px;width:100%;margin-top:26px;padding:14px 20px;font-size:18px;font-weight:500;display:flex}.terraquest-continue:hover{background:#4e2c6d}.terraquest-scene :focus-visible{outline-offset:4px;outline:3px solid #ac7de1}.terraquest-footer{text-align:center;color:#756980;margin:20px 12px 0;font-size:13px}.terraquest-trophy{color:#8d5d14;background:#f8e9c8;border-radius:50%;place-items:center;width:80px;height:80px;margin-bottom:24px;display:grid}.terraquest-team{margin-top:20px;font-weight:600}@media (width<=600px){.terraquest-scene .lk-shell>header{grid-template-columns:44px minmax(0,1fr);display:grid}.terraquest-scene .lk-shell>header>div.min-w-0{min-width:0}.terraquest-scene .lk-shell>header>[role=group]{grid-column:1/-1}.terraquest-scene .lk-shell>header>div.shrink-0{margin-left:auto}.terraquest-scene .lk-shell h2{font-size:19px}.terraquest-scene{padding-left:12px;padding-right:12px;padding-top:calc(var(--progress-rail-h,100px) + 16px)}.terraquest-brand{margin-bottom:14px}.terraquest-brand-caption{font-size:12px}.terraquest-story{border-radius:20px}.terraquest-scene .game-reading-text{font-size:17px}}.terraquest-scene.quest-appearance,.tq-author-device.quest-appearance,.quest-theme-sample.quest-appearance{--q-ground:var(--quest-classic-ground);--q-tint:var(--quest-classic-tint);--q-accent:var(--quest-classic-accent);--q-label:var(--q-accent);--q-line:var(--quest-line);color:hsl(var(--quest-ink));background-color:hsl(var(--q-ground));background-image:radial-gradient(ellipse at 0 0,hsl(var(--q-tint)/.75),transparent 60%),radial-gradient(ellipse at 100% 100%,hsl(var(--q-tint)/.35),transparent 50%);scrollbar-width:thin;scrollbar-color:hsl(var(--q-label)/.6) hsl(var(--q-ground))}.quest-appearance[data-quest-theme=parchment]{--q-ground:var(--quest-parchment-ground);--q-tint:var(--quest-parchment-tint);--q-accent:var(--quest-parchment-accent);background-image:linear-gradient(hsl(var(--q-accent)/.04) 1px,transparent 1px),linear-gradient(90deg,hsl(var(--q-accent)/.04) 1px,transparent 1px),radial-gradient(ellipse at 0 0,hsl(var(--q-tint)/.75),transparent 70%);background-size:32px 32px,32px 32px,100% 100%}.quest-appearance[data-quest-theme=midnight]{--q-ground:var(--quest-midnight-ground);--q-tint:var(--quest-midnight-tint);--q-accent:var(--quest-midnight-accent);--q-label:var(--quest-midnight-label);background-image:radial-gradient(circle at 85% 8%,hsl(var(--q-label)/.16),transparent 30%),radial-gradient(ellipse at 0 100%,hsl(var(--q-tint)),transparent 65%)}.quest-appearance[data-quest-theme=forest]{--q-ground:var(--quest-forest-ground);--q-tint:var(--quest-forest-tint);--q-accent:var(--quest-forest-accent);background-image:radial-gradient(ellipse at 0 0,hsl(var(--q-tint)/.8),transparent 65%),repeating-linear-gradient(125deg,transparent 0 48px,hsl(var(--q-accent)/.035) 48px 49px)}.quest-appearance .terraquest-brand,.quest-appearance .terraquest-brand-caption,.quest-appearance .terraquest-footer,.quest-appearance .tq-author-brand,.quest-appearance .tq-author-brand>span,.quest-appearance .tq-author-device-footer{color:hsl(var(--q-label))}.quest-appearance .terraquest-story,.quest-appearance .tq-author-card{background:hsl(var(--quest-paper));color:hsl(var(--quest-ink));border-color:hsl(var(--q-accent)/.22)}.quest-appearance .terraquest-continue,.quest-appearance .tq-author-submit{background:hsl(var(--q-accent));color:hsl(var(--primary-foreground))}.quest-appearance .terraquest-continue:hover,.quest-appearance .tq-author-submit:hover{filter:brightness(.92)}.quest-appearance .tq-author-kind,.quest-appearance .tq-author-kind>button,.quest-appearance .tq-author-edit-tag,.quest-appearance .tq-author-title>svg{color:hsl(var(--q-accent))}.quest-appearance .tq-author-kind>button,.quest-appearance .tq-author-mission{background:hsl(var(--q-ground));color:hsl(var(--q-label))}.quest-appearance .tq-author-mission span,.quest-appearance .tq-author-mission small{color:inherit}.quest-appearance .tq-author-edit:hover{background:hsl(var(--q-accent)/.05);border-color:hsl(var(--q-accent)/.5)}.quest-appearance .tq-author-progress{background:hsl(var(--q-label)/.18)}.quest-appearance .tq-author-progress span{background:hsl(var(--q-label))}.quest-appearance :focus-visible{outline:3px solid hsl(var(--q-accent));outline-offset:3px}.quest-appearance .terraquest-story h1{overflow-wrap:anywhere;min-width:min(200px,100%)}@media (width<=600px){.quest-appearance .terraquest-story-heading h1{flex-basis:100%;margin-bottom:4px}}.quest-theme-picker{border:1px solid hsl(var(--border));background:hsl(var(--card));color:hsl(var(--card-foreground));border-radius:12px}.quest-theme-picker summary{cursor:pointer;min-height:44px;padding:10px 12px;font-size:13px;font-weight:600}.quest-theme-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 12px;display:grid}.quest-theme-options button{text-align:left;border:2px solid hsl(var(--border));border-radius:12px;min-width:0;padding:0;overflow:hidden}.quest-theme-options button[aria-pressed=true]{border-color:hsl(var(--primary));box-shadow:0 0 0 1px hsl(var(--primary))}.quest-theme-sample{justify-content:center;align-items:center;gap:8px;height:76px;padding:10px;display:flex}.quest-theme-sample>svg{color:hsl(var(--q-label));flex-shrink:0}.quest-theme-sample>span{background:hsl(var(--quest-paper));color:hsl(var(--quest-ink));border-radius:8px;padding:8px 12px;font-size:12px}.quest-theme-name{padding:7px 9px 0;font-size:12px;font-weight:600;display:block}.quest-theme-note{color:hsl(var(--muted-foreground));padding:2px 9px 9px;font-size:11px;line-height:1.4;display:block}.quest-theme-help{color:hsl(var(--muted-foreground));padding:0 12px 12px;font-size:12px;line-height:1.5}.tq-author-appearance{width:min(100%,720px);margin:0 auto 16px}@media (forced-colors:active){.quest-appearance,.quest-theme-options button{border:1px solid canvastext}.quest-theme-options button[aria-pressed=true]{outline:2px solid highlight}}
