:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#edf0eb;background:#273746;font-synthesis:none;--ink: #edf0eb;--muted: rgba(237, 240, 235, .72);--accent: #eebf9b;--panel: rgba(18, 30, 40, .8)}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a,input,select{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button{border:0;background:none}button:disabled{opacity:.5;cursor:wait}button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}button:hover{color:#fff}button[aria-pressed=true]{color:var(--accent)}[hidden]{display:none!important}#app,#canvas{position:absolute;inset:0;width:100%;height:100%}#canvas{display:block;touch-action:none;cursor:crosshair;outline-offset:-4px!important}.edge-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(10,19,29,.22),transparent 38%),linear-gradient(180deg,rgba(10,19,29,.24),transparent 20%,transparent 58%,rgba(10,19,29,.45))}.topbar{position:absolute;left:40px;right:40px;top:30px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ink);font-size:17px;letter-spacing:.015em;font-weight:450}.brand>svg{width:35px;height:39px;stroke:var(--ink);stroke-width:1.1}.brand small{display:block;font-size:10px;letter-spacing:.09em;margin-top:6px;color:var(--muted);font-weight:400}.top-actions{display:flex;align-items:center;gap:20px}.icon-button{width:29px;height:29px;border:1px solid #edf0eb55;border-radius:50%;font-family:Georgia,serif;font-size:15px}.camera-button{display:flex;align-items:center;gap:11px;border:1px solid #edf0eb44;padding:12px 18px;border-radius:7px;background:#15253220;font-size:12px;transition:background .2s}.camera-button:hover,.camera-button.active{background:#edf0eb15;border-color:#edf0eb88}.camera-button.active{color:var(--accent)}.introduction{position:absolute;top:23%;left:5%;pointer-events:none;max-width:275px;text-shadow:0 2px 22px #15202e40;transition:opacity .8s}.element-context{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:10px;letter-spacing:.07em}.element-context>span:first-child{display:block;width:19px;height:1px;background:var(--accent)}h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(56px,6vw,90px);line-height:1.05;font-weight:400;letter-spacing:-.04em;margin:16px 0 19px}.introduction p{font-family:Georgia,Times New Roman,serif;font-size:18px;line-height:1.65;letter-spacing:.01em;margin:0;color:#edf0ebbb}.world-caption{position:absolute;bottom:205px;left:5%;display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.025em;color:var(--muted);pointer-events:none}.live-dot{width:4px;height:4px;border-radius:50%;background:var(--accent);box-shadow:0 0 7px #fff3}.utilities{position:absolute;top:45%;right:35px;display:flex;flex-direction:column;gap:7px;align-items:center}.utilities button{width:32px;height:32px;color:#edf0eb99;border-radius:4px;display:grid;place-items:center}.utilities button:hover,.utilities button[aria-pressed=true]{background:#edf0eb15;color:var(--ink)}.utility-divider{height:1px;width:14px;margin:5px 0;background:#edf0eb33}.bottom-ui{position:absolute;bottom:26px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;width:max-content;max-width:calc(100% - 32px)}.element-nav{display:flex;align-items:center;gap:6px;padding:7px;background:#16232d66;border:1px solid #edf0eb24;border-radius:14px;backdrop-filter:blur(20px);box-shadow:0 8px 40px #07101920}.element-nav button{display:flex;align-items:center;gap:13px;padding:16px 22px;border-radius:8px;min-width:130px;position:relative;color:#edf0ebaa;transition:background .3s,color .3s}.element-nav button svg{width:27px;height:27px;stroke-width:1.15}.element-nav button span{font-size:13px}.element-nav button[aria-pressed=true]{background:#edf0eb13;color:var(--ink)}.element-nav button[aria-pressed=true]:after{content:"";position:absolute;bottom:5px;width:16px;height:2px;background:var(--accent);left:50%;transform:translate(-50%)}.element-nav button:hover{background:#edf0eb0c;color:#fff}kbd{font-family:inherit;font-size:9px;color:#edf0eb55;font-weight:400}.element-nav kbd{position:absolute;right:8px;top:8px}.gesture-bar{display:flex;gap:10px;margin-top:18px}.gesture-bar button{font-size:11px;padding:6px 12px;border-radius:4px;color:#edf0eb88;position:relative;transition:color .2s}.gesture-bar button[aria-pressed=true]{color:var(--accent);background:#edf0eb0b}.gesture-bar button:hover{color:var(--ink)}.interaction-hint{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:9px;margin:14px 0 0;letter-spacing:.015em}.hint-separator{margin:0 5px;color:#edf0eb33}.mouse-icon{width:9px;height:13px;border:1px solid #edf0eb66;border-radius:5px;position:relative}.mouse-icon:before{content:"";position:absolute;left:3px;top:2px;width:1px;height:3px;background:#edf0eb88}.corner-note{position:absolute;left:40px;bottom:30px;font-size:9px;letter-spacing:.05em;color:#edf0eb66;display:flex;flex-direction:column;gap:6px}.hand-cursor{position:absolute;width:46px;height:46px;border:1px solid #f8e3c977;border-radius:50%;pointer-events:none;display:none;transform:translate(-50%,-50%);box-shadow:0 0 22px #f8e3c914}.hand-cursor:before,.hand-cursor:after{content:"";position:absolute;width:5px;height:1px;background:var(--accent);top:22px;left:-3px}.hand-cursor:after{left:auto;right:-3px}.hand-cursor span{position:absolute;top:56px;left:50%;transform:translate(-50%);font-size:9px;color:var(--ink);text-shadow:0 1px 5px #000;white-space:nowrap}.panel{position:absolute;right:83px;top:42%;width:250px;background:var(--panel);backdrop-filter:blur(25px);border:1px solid #edf0eb22;border-radius:10px;padding:24px;box-shadow:0 15px 70px #0003}.panel h2{font-family:Georgia,serif;font-weight:400;font-size:20px;margin:0 0 24px}.settings label{display:block;font-size:12px;color:#edf0ebba;margin:19px 0}.settings output{float:right;color:var(--muted);font-size:10px}.settings input{width:100%;display:block;margin:14px 0 0;accent-color:var(--accent);height:3px}.settings select{background:#23313c;color:var(--ink);border:1px solid #edf0eb22;padding:5px 8px;float:right;border-radius:3px}.settings p{font-size:10px;line-height:1.5;color:var(--muted);margin:25px 0 0}#camera-preview{position:absolute;right:38px;bottom:30px;width:180px;border:1px solid #edf0eb30;border-radius:7px;overflow:hidden;background:#142430cc}#tracking-preview{display:block;width:100%;height:auto}#tracking-status{display:block;padding:9px 10px;font-size:9px;color:var(--muted)}#stop-camera{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;background:#14243088}.practice{position:absolute;left:5%;top:55%;width:245px;background:#14243077;border:1px solid #edf0eb24;border-radius:8px;padding:20px;backdrop-filter:blur(15px)}.practice>button{position:absolute;right:8px;top:5px}.practice small{font-size:9px;color:var(--muted)}.practice h2{font:22px Georgia,serif;margin:10px 0}.practice p{font-size:11px;line-height:1.6;color:#edf0ebaa}.practice-progress{height:2px;background:#edf0eb20;margin:18px 0 9px}.practice-progress i{display:block;width:0;height:100%;background:var(--accent)}#practice-count{font-size:9px;color:var(--muted)}#toast{position:absolute;top:100px;left:50%;transform:translate(-50%,-5px);background:var(--panel);border:1px solid #edf0eb22;padding:12px 20px;border-radius:7px;max-width:90%;font-size:12px;line-height:1.5;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;text-align:center}#toast.visible{opacity:1;transform:translate(-50%)}dialog{color:var(--ink);border:1px solid #edf0eb26;border-radius:14px;background:#172630ed;backdrop-filter:blur(25px);max-width:700px;width:calc(100% - 32px);padding:42px 48px;box-shadow:0 20px 100px #0005}dialog::backdrop{background:#07131a88;backdrop-filter:blur(6px)}.dialog-close{position:absolute;right:18px;top:12px;font-size:25px;font-weight:200}.guide-symbol{color:var(--accent);font-size:24px}dialog h2{font:400 40px/1.15 Georgia,serif;letter-spacing:-.02em;margin:18px 0}dialog p{font-size:12px;line-height:1.8;color:#edf0ebb0;max-width:510px}.guide-columns{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin:27px 0 20px}.guide-columns h3{font-size:12px;font-weight:500;color:var(--ink)}.guide-columns p{font-size:11px}.keyboard-guide{border-top:1px solid #edf0eb22;padding-top:16px;display:flex;gap:14px;flex-wrap:wrap;font-size:10px;color:var(--muted)}.keyboard-guide kbd{padding:3px 5px;border:1px solid #edf0eb30;border-radius:3px;color:var(--ink);margin-right:4px}.privacy-note{font-size:10px!important;margin-top:24px;color:var(--muted)!important}.primary-button{background:#e4d7c1;color:#243039;padding:12px 21px;border-radius:5px;font-size:12px;margin-top:10px}.primary-button:hover{background:#f3e6d0;color:#243039}#loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;background:#22313e;transition:opacity .8s;z-index:20}#loading.done{opacity:0;pointer-events:none}#loading p{font:16px Georgia,serif;color:#edf0eb99}.loading-orbit{width:44px;height:44px;border:1px solid #edf0eb20;border-top-color:var(--accent);border-radius:50%;animation:orbit 2s linear infinite}@keyframes orbit{to{transform:rotate(360deg)}}body.interacting .introduction{opacity:.32}body[data-world=fire]{--accent: #ffb270;--panel: rgba(23, 23, 25, .86)}body[data-world=water]{--accent: #a5d9df}body[data-world=earth]{--accent: #d6d7a5}body[data-world=earth] .introduction{top:20%}@media (min-width: 1600px){.introduction{left:6%;top:26%}.world-caption{left:6%}.bottom-ui{bottom:35px}.element-nav button{min-width:150px;padding:19px 26px}.topbar{left:50px;right:50px;top:38px}}@media (max-width: 1000px){.introduction{left:32px;top:20%;max-width:190px}.introduction p{font-size:15px}h1{font-size:64px}.world-caption{left:32px;font-size:9px;bottom:208px}.corner-note{bottom:16px;left:25px;font-size:8px}.element-nav button{min-width:115px;padding:15px 20px}.utilities{right:23px}.topbar{left:28px;right:28px;top:25px}#camera-preview{width:130px;right:25px;bottom:210px}.practice{left:32px;top:48%;width:220px}.panel{right:65px}}@media (max-width: 650px){.topbar{left:20px;right:20px;top:20px}.brand{font-size:14px;gap:9px}.brand small{font-size:8px;letter-spacing:.025em}.brand>svg{width:27px;height:31px}.top-actions{gap:12px}.icon-button{width:25px;height:25px}.camera-button{padding:9px 10px;gap:7px}.camera-button span{font-size:10px}.camera-button svg{width:16px;height:16px}.introduction{top:16%;left:24px;max-width:170px}.element-context{font-size:8px;gap:7px}.element-context>span:first-child{width:12px}h1{font-size:49px;margin:12px 0}.introduction p{font-size:13px}.world-caption{display:none}.bottom-ui{bottom:25px;width:calc(100% - 32px)}.element-nav{width:100%;justify-content:space-around;gap:0;padding:5px;border-radius:12px}.element-nav button{min-width:0;flex:1;flex-direction:column;gap:8px;padding:12px 6px}.element-nav button span{font-size:11px}.element-nav button svg{width:24px;height:24px}.element-nav kbd{display:none}.element-nav button[aria-pressed=true]:after{bottom:4px;width:10px;height:1px}.gesture-bar{gap:0;width:100%;justify-content:space-around;margin-top:13px}.gesture-bar button{font-size:10px;padding:7px 9px}.interaction-hint{font-size:9px;margin-top:9px;gap:6px;text-align:center;line-height:1.5}.hint-separator,.hint-separator+span{display:none}.utilities{top:auto;bottom:205px;right:18px;gap:4px;flex-direction:row}.utilities button{width:28px;height:28px}.utilities button svg{width:16px;height:16px}.utility-divider{width:1px;height:12px;margin:0 3px}.corner-note{left:20px;bottom:8px;font-size:7px}.panel{top:auto;bottom:246px;right:20px;width:220px;padding:20px}#camera-preview{right:20px;bottom:255px;width:112px}.practice{top:auto;bottom:247px;left:20px;width:190px;padding:16px}.practice h2{font-size:19px}.practice p{font-size:10px}dialog{padding:30px 26px;max-height:85vh}dialog h2{font-size:32px}.guide-columns{grid-template-columns:1fr;gap:5px;margin:15px 0}.keyboard-guide{display:none}.privacy-note{margin-top:15px}#toast{font-size:11px;top:83px;width:max-content;max-width:calc(100% - 40px)}}@media (max-height: 650px) and (min-width: 651px){.introduction{top:21%}.introduction p{font-size:14px}.introduction h1{font-size:52px}.world-caption{display:none}.bottom-ui{bottom:15px}.element-nav button{padding:10px 20px}.utilities{top:22%;gap:2px}.practice{top:21%;left:auto;right:85px}.gesture-bar{margin-top:10px}.interaction-hint{margin-top:8px}.panel{top:18%}dialog{max-height:90vh;overflow:auto}}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}body.immersed .topbar,body.immersed .introduction,body.immersed .world-caption,body.immersed .utilities,body.immersed .bottom-ui,body.immersed .corner-note,body.immersed .practice{opacity:0;pointer-events:none}body.immersed .topbar>*{pointer-events:none}
