:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#ece2cf;--panel:linear-gradient(180deg, #111a1e, #0b1215);--line:#24393e;--amber:#f0a645;--muted:#93a6a8;background:#070b0d;font-family:system-ui,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{overscroll-behavior:none;height:100%;margin:0;overflow:hidden}.app{max-height:100svh;padding:max(6px, env(safe-area-inset-top)) 6px calc(6px + env(safe-area-inset-bottom));flex-direction:column;gap:6px;display:flex;position:fixed;inset:0}header{flex-direction:column;gap:6px;display:flex}.title{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-wrap:wrap;align-items:baseline;gap:10px;padding:9px 12px;display:flex}.title b{letter-spacing:.2px;font-size:17px}.title span{color:var(--muted);font-size:13px}.title .count{color:var(--amber);margin-left:auto}.ticket{color:#2b2117;background:radial-gradient(120% 160% at 30% 0,#f1e3c2,#ddc89d);border-radius:4px 8px 8px 4px;padding:5px 6px 5px 30px;position:relative;box-shadow:0 3px 10px #00000080,inset 0 0 18px #78552838}.ticket:before{content:"";background:#070b0d;border-radius:50%;width:11px;height:11px;margin-top:-6px;position:absolute;top:50%;left:9px;box-shadow:0 0 0 2px #a8895a}.ticket p{border:1px solid #6e502d66;height:calc(5.2em + 8px);margin:0;padding:3px 8px;font:600 14px/1.3 Courier Prime,Courier New,ui-monospace,monospace;overflow-y:auto}.ticket p.ok{color:#1d5a2a}.ticket p.bad{color:#96330c}.stage{border:1px solid var(--line);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:14px;flex:1;min-height:0;position:relative;overflow:hidden}.stage canvas{touch-action:none}.stage:after{content:"";pointer-events:none;background:radial-gradient(115% 90% at 42% 46%,#0000 52%,#0305069e 100%);position:absolute;inset:0}footer{flex-direction:column;gap:6px;display:flex}.row{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}button{border:1px solid var(--line);background:var(--panel);min-height:44px;color:inherit;font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-size:14px;display:inline-flex}button.on{border-color:var(--amber);color:var(--amber);background:radial-gradient(90% 80% at 50% 35%,#f0a64547,#f0a6450f),#11181b;box-shadow:0 0 12px #f0a64561}button:disabled{opacity:.4;cursor:default}button:focus-visible{outline-offset:2px;outline:3px solid #ffd29a}.icon{background:currentColor;flex:none;width:20px;height:20px;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.icon.svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;background:0 0}.row.tools{scrollbar-width:none;border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-wrap:nowrap;justify-content:safe center;gap:3px;padding:6px 4px;overflow-x:auto}.tools button{letter-spacing:-.3px;flex-direction:column;flex:auto;gap:5px;min-width:0;max-width:92px;min-height:62px;padding:6px 0 4px;font-size:clamp(8.5px,2.45vw,12px)}.tools button span{max-width:100%;line-height:1.1}.tools .icon{width:28px;height:28px}.row.actions{flex-wrap:nowrap}.actions button{flex:1}.actions button.wide{flex:1.5}.actions button[aria-label]{flex:0 0 64px;font-size:20px}.float{z-index:2;flex-direction:column;gap:6px;display:flex;position:absolute;top:8px;right:8px}.float button{background:#0c1418d1;justify-content:flex-start}.stage .detach{z-index:2;white-space:nowrap;border-color:var(--amber);background:#0c1418f0;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.gauge{z-index:5;pointer-events:none;text-shadow:0 1px 3px #000;justify-items:center;gap:4px;font-size:13px;font-weight:600;display:grid;position:fixed;transform:translate(-50%)}.gauge i{background:#000000a6;border:1px solid #7a868e;border-radius:6px;width:110px;height:9px;display:block;overflow:hidden}.gauge b{background:var(--amber);height:100%;display:block}.gauge b.ready{background:#6fd07f}.gauge b.burn{background:#e8503a}.gauge.big{border:1px solid var(--amber);background:#0c1418f2;border-radius:14px;gap:8px;width:min(320px,78vw);padding:10px 16px 12px;font-size:20px;box-shadow:0 8px 22px #0009}.gauge.big i{border-radius:10px;width:100%;height:18px}.gauge-ring{--tone:var(--amber);z-index:5;pointer-events:none;background:conic-gradient(var(--tone) calc(var(--p) * 1turn), #00000080 0);border-radius:50%;width:140px;height:140px;margin:-70px 0 0 -70px;position:fixed;-webkit-mask:radial-gradient(closest-side,#0000 80%,#000 82%);mask:radial-gradient(closest-side,#0000 80%,#000 82%)}.gauge-ring.ready{--tone:#6fd07f}.gauge-ring.burn{--tone:#e8503a}.sheet{-webkit-user-select:text;user-select:text;touch-action:pan-y;z-index:4;background:#0c1418f7;border:1px solid #35545a;border-radius:14px;width:min(460px,100% - 16px);max-height:calc(100% - 16px);padding:14px 16px;position:absolute;bottom:8px;left:50%;overflow-y:auto;transform:translate(-50%);box-shadow:0 12px 30px #0009}.sheet h2{margin:0 40px 8px 0;font-size:18px}.sheet h3{color:var(--amber);margin:12px 0 4px;font-size:14px}.sheet p,.sheet li{font-size:14px;line-height:1.4}.sheet p{margin:6px 0 10px}.sheet ul{margin:4px 0;padding-left:18px}.sheet ul.checks{padding-left:0;list-style:none}.sheet li.ok{color:#9fe0a8}.sheet .row{margin-top:8px}.sheet .hint{color:var(--muted);font-size:13px}.sheet .spec{color:var(--amber);font-weight:600}.sheet a{color:var(--amber)}.sheet .close{min-width:44px;padding:0;position:absolute;top:8px;right:8px}@media (width<=480px){button{padding:0 11px;font-size:13px}.ticket p{letter-spacing:-.4px;height:calc(6.5em + 8px);font-size:16px;line-height:1.3}.sheet h2{font-size:20px}.sheet h3{font-size:16px}.sheet p,.sheet li{font-size:16.5px;line-height:1.45}.sheet .hint{font-size:14.5px}.home-foot .hint{font-size:13px}.title .sub{display:none}.float button{min-height:40px}}@media (width<=480px) and (height<=700px){.ticket p{height:calc(5.2em + 8px)}}@media (height<=520px){.ticket p{height:calc(2.6em + 8px)}.tools button{gap:2px;min-height:46px}.tools .icon{width:20px;height:20px}}@media (width>=760px){header,footer{align-self:center;width:min(760px,100%)}.ticket p{height:calc(2.6em + 8px)}}@media (pointer:coarse) and (width>=600px) and (height>=600px){.stage{order:1}.app>header{flex-direction:row;order:2;align-self:center;width:min(960px,100%)}.app>footer{order:3;align-self:center;width:min(960px,100%)}.float{top:auto;bottom:6px;right:5px}.float button{flex-direction:column;justify-content:center;gap:3px;width:64px;min-height:50px;padding:5px 1px;font-size:11px;line-height:1.1}.title{flex-flow:column;flex:0 0 86px;justify-content:center;align-items:center;gap:2px;padding:3px}.title b,.title .sub{display:none}.title .count{text-align:center;margin:0;font-size:10.5px;line-height:1.1}.title .to-home{min-height:30px}.ticket{flex:1;min-width:0}.ticket p{letter-spacing:-.45px;height:calc(3.9em + 8px);font-size:16px;line-height:1.3}.row.tools{padding:3px 4px}.tools button{gap:3px;min-height:50px;padding:4px 0 3px;font-size:12px}.tools .icon{width:23px;height:23px}.sheet h2{font-size:22px}.sheet h3{font-size:18px}.sheet p,.sheet li{font-size:18px;line-height:1.45}.sheet .hint{font-size:16px}.veil .sheet,.sheet{width:min(640px,100% - 20px)}}@media (pointer:coarse) and (width>=600px) and (width<=699px) and (height>=800px){.ticket p{height:calc(5.2em + 8px)}}@media (pointer:coarse) and (width>=900px) and (height>=600px) and (orientation:landscape){.app>header,.app>footer{width:min(1180px,100%)}.app>footer{flex-direction:row;align-items:stretch}.app>footer .tools{flex:1;min-width:0}.app>footer .actions{flex:none}.actions button,.actions button.wide{flex-direction:column;flex:0 0 66px;gap:3px;padding:0 3px;font-size:12px}.actions button[aria-label]{flex:0 0 48px}.ticket p{height:calc(2.6em + 8px)}}@media (pointer:coarse){.app,.app .sheet{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}}.screen-size{color:var(--muted);font-size:12px}.title .to-home{align-self:center;min-height:34px;padding:0 8px}.home{overscroll-behavior:contain;height:100%;padding:8px 8px calc(14px + env(safe-area-inset-bottom));overflow-y:auto}.home>*{width:min(1180px,100%);margin:0 auto 10px}.home-bar{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px;display:flex}.home-bar .ardoisia{border:1px solid var(--line);min-height:44px;color:inherit;border-radius:10px;align-items:center;gap:6px;padding:0 12px;font-size:14px;text-decoration:none;display:inline-flex}.langs{grid-template-columns:repeat(2,auto);gap:5px;display:grid}.langs button{min-height:36px;padding:0 10px;font-size:13px}.hero{border:1px solid var(--line);border-radius:14px;position:relative;overflow:hidden}.hero img{width:100%;height:auto;display:block}.hero div{text-shadow:0 2px 12px #000;position:absolute;top:14px;left:18px;right:18px}.hero h1{color:#f0e2c8;margin:0;font-size:clamp(30px,8.6vw,62px);line-height:1.04}.hero p{max-width:12em;color:var(--amber);margin:8px 0 0;font-size:clamp(14px,3.9vw,21px)}.home section{border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:12px}.home section h2{margin:0 0 10px;font-size:20px}.objects{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.objects li{border:1px solid var(--line);text-align:center;background:#0b1215;border-radius:12px;flex-direction:column;align-items:center;gap:8px;padding:8px 8px 10px;display:flex}.objects li.ready{border-color:var(--amber);box-shadow:0 0 14px #f0a64547}.objects img{border-radius:8px;width:100%;height:auto}.objects li.later img{filter:saturate(.75)brightness(.9)}.objects h3{flex:1;align-items:center;margin:0;font-size:14px;font-weight:600;display:flex}.objects .start{border-color:var(--amber);color:#1d1209;background:var(--amber);width:100%;font-weight:700}.objects .start.repaired{color:#0c1f12;background:#8fcf9a;border-color:#8fcf9a}.objects .again{border-color:var(--amber);width:100%;min-height:38px;color:var(--amber)}.objects .tag{border:1px solid var(--line);min-height:30px;color:var(--muted);border-radius:8px;align-items:center;padding:0 12px;font-size:13px;display:inline-flex}.home-actions{flex-wrap:wrap;gap:8px;display:flex}.home-actions button{flex:150px}.home-foot{text-align:center;color:var(--muted);font-size:13px}.home-foot .hint{margin:4px 0 0;font-size:12px}.home-foot a{color:var(--muted)}.veil{z-index:10;background:#0009;width:auto;margin:0;position:fixed;inset:0}.veil .sheet{width:min(560px,100% - 20px);max-height:calc(100% - 24px);top:50%;bottom:auto;transform:translate(-50%,-50%)}.veil li{margin-bottom:5px}.home .hint a,.home .sheet a{color:var(--amber)}@media (width>=760px){.langs{grid-template-columns:repeat(4,auto)}.hero img{object-fit:cover;object-position:60% 58%;height:clamp(300px,54vh,520px)}.hero div{width:36%;top:50%;left:40px;right:auto;transform:translateY(-50%)}.hero h1{font-size:clamp(36px,4.6vw,60px)}.hero p{font-size:18px}.objects{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=1080px){.objects{grid-template-columns:repeat(6,minmax(0,1fr))}.objects h3{font-size:13px}}.offer{border:1px solid var(--amber);background:var(--panel);text-align:center;border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.offer p{margin:0}.buy{background:var(--amber);color:#1d1209;border-radius:10px;justify-content:center;align-items:center;min-height:46px;padding:0 18px;font-weight:700;text-decoration:none;display:inline-flex}.sheet a.buy,.home .sheet a.buy{color:#1d1209}.activation{text-align:left}.activation summary{cursor:pointer;min-height:40px;color:var(--amber);justify-content:center;align-items:center;gap:6px;font-size:14px;display:flex}.activation form{flex-wrap:wrap;gap:6px;display:flex}.activation input{border:1px solid var(--line);min-width:0;min-height:44px;color:inherit;letter-spacing:1px;background:#070b0d;border-radius:10px;flex:180px;padding:0 12px;font:16px ui-monospace,monospace}.error{color:#ff9a7a}.full-note{text-align:center;color:#8fcf9a;margin:0;font-size:14px}.objects li.locked img{filter:saturate(.55)brightness(.7)}.objects .unlock{width:100%;color:var(--muted);padding:0 6px;font-size:13px}
