:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#101119;color:#f2f3fb}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 49% 8%,#112b32,transparent 38%),radial-gradient(ellipse at 100% 45%,#271e30,transparent 45%);min-height:100vh}
[hidden]{display:none!important}button,input{font:inherit}button,a,input{outline-offset:4px}button{cursor:pointer}
.bar{height:64px;padding:0 clamp(18px,5vw,64px);display:flex;align-items:center;justify-content:space-between;background:#101119e8;border-bottom:1px solid #ffffff13}
.bar a{color:inherit;text-decoration:none}.brand{display:flex;align-items:center;gap:9px;font-weight:900;letter-spacing:.1em}.brand img{width:32px;height:32px;object-fit:contain}.back{font-size:14px;color:#c6cce0!important}
main{width:min(1280px,calc(100% - 44px));margin:auto;padding:32px 0 50px}.intro{text-align:center;margin:0 auto 34px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.21em;color:#8fadd0}
h1{font-size:clamp(29px,4vw,48px);letter-spacing:-.035em;line-height:1.12;margin:8px 0 10px}h1 span{color:#41d9ff}h1 em{color:#d6b5fa;font-style:normal}.intro p{color:#adbbd0;margin:0 auto;max-width:650px;line-height:1.6}
.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}aside{display:grid;gap:13px}.panel{min-width:0;background:#1a1c24e8;border:1px solid #ffffff1a;border-radius:20px;padding:16px;box-shadow:0 18px 65px #0002}
h2{display:flex;align-items:center;gap:8px;margin:0;font-size:16px}h2 i{font-size:11px;color:#102031;background:#67e6fa;width:19px;height:19px;display:grid;place-content:center;border-radius:50%;font-style:normal;font-weight:900}
.asset{margin-top:13px}.asset-label{font-size:12px;margin-bottom:6px}.asset-label span{color:#a9afbf;font-size:11px}
.drop{display:flex;position:relative;gap:10px;align-items:center;padding:10px 9px;border:1px dashed #9aafc84d;border-radius:12px;cursor:pointer;background:#151824;min-width:0}.drop>span{min-width:0}.drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.drop:focus-within,.drop.drag{outline:2px solid #61d6ff;outline-offset:2px}
.drop b{display:grid;place-items:center;background:#283342;color:#aee9ff;width:32px;height:32px;border-radius:50%;flex:none}.drop strong,.views strong{display:block;font-size:12px}.drop small,.views small{display:block;font-size:11px;color:#acb6c9;line-height:1.3;margin-top:2px}.file-detail{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reset{border:0;background:none;color:#91d9ff;padding:4px 0;font-size:11px}.feedback{display:block;color:#ffd099;font-size:11px}
.views{display:grid;gap:7px;margin-top:12px}.views button{display:flex;text-align:left;align-items:center;gap:10px;padding:9px 10px;background:#232633;color:inherit;border:1px solid #ffffff13;border-radius:11px}.views button[aria-pressed=true]{background:#132c43;border-color:#30bafc;box-shadow:inset 0 0 0 1px #30bafc77}.views i{width:20px;font-size:19px;text-align:center;color:#a6dfff;font-style:normal;flex:none}
.preview-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.preview-head button{background:#242734;color:#f3f5ff;border:1px solid #ffffff26;border-radius:20px;padding:7px 11px;font-size:12px;white-space:nowrap}.caption,.privacy{text-align:center;color:#a7b2c8;font-size:12px;margin:10px 0 0}.privacy{margin:24px 0 0}
.screen{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#0a0c20;isolation:isolate;container-type:inline-size}.layer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.screen:fullscreen{border-radius:0;width:min(100vw,calc(100dvh * 16 / 9));height:auto;max-height:100dvh;margin:auto}.screen::backdrop{background:#070813}
.screen.expanded{position:fixed;inset:0;z-index:10;margin:auto;width:min(100vw,calc(100dvh * 16 / 9));height:auto;box-shadow:0 0 0 100vmax #070813;border-radius:0}.exit-screen{position:absolute;right:1%;top:1%;z-index:2;color:white;background:#111526de;border:1px solid #ffffff55;border-radius:20px;padding:6px 11px;font-size:12px}
@media(max-width:820px){main{width:calc(100% - 26px)}.workspace{grid-template-columns:215px minmax(0,1fr);gap:10px}.panel{padding:11px}}
@media(max-width:640px){.workspace{grid-template-columns:minmax(0,1fr)}.workspace aside{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.intro{margin-bottom:19px}.intro p{font-size:13px}.panel{border-radius:13px}.drop,.views button{gap:6px;padding:7px}.preview{padding:9px}}
@media(max-width:360px){.workspace aside{grid-template-columns:1fr}}

.scenery{position:absolute;inset:0 0 auto;height:69%;overflow:hidden}
.screen[data-view=lobby] .scenery{height:67%}
#custom-bg{
  object-fit:cover;object-position:center 74%;
  transform:scale(1.008);
}
.screen[data-view=menu] #custom-bg{
  object-position:center bottom;
  transform:scale(1.055);
  transform-origin:center bottom;
}
.reference-scene{display:block;pointer-events:none}
#reference-ink{filter:drop-shadow(0 .06cqw .13cqw #11091dcc)}
.tile{
  position:absolute;display:grid;place-items:center;overflow:hidden;
  padding:0;border:0;background:#10121d;color:#c4cbe1;
  border-radius:.55cqw;font-size:1.02cqw;font-weight:800;text-transform:uppercase;
}
.tile img{display:block;width:100%;height:100%;object-fit:cover}
.background-slot{
  position:absolute;top:35%;left:59%;padding:.6cqw 1cqw;
  border:1px dashed #90a1be70;border-radius:.65cqw;
  background:#10121dee;color:#c4cbe1;
  font-size:1.25cqw;font-weight:800;text-transform:uppercase;
}
.screen[data-view=menu] .tile{left:4.25%;top:82.3%;width:13.2%;height:13.15%}
.screen[data-view=discover] .tile{left:3.64%;top:32.9%;width:12.49%;height:13.08%}
.private-player{
  position:absolute;left:61.8%;top:45.05%;width:5.85%;height:2.5%;
  display:grid;place-items:center;background:#170f25;color:#fff;
  font-size:.87cqw;font-weight:700;white-space:nowrap;
}
.screen:not([data-view=lobby]) .private-player{display:none}

.tester-guide{
  width:min(100%,800px);margin:clamp(44px,7vw,96px) auto 0;
  padding-top:clamp(24px,4vw,42px);border-top:1px solid #ffffff1a;
}
.tester-guide h2{font-size:clamp(22px,3vw,29px);line-height:1.22}
.tester-guide h3{font-size:21px;margin:36px 0 16px}
.tester-guide p{margin:16px 0 0;color:#b0bdd2;line-height:1.7}
.tester-guide strong{color:#f2f3fb}
.tester-faq{display:grid;gap:10px}
.tester-faq details{
  overflow:hidden;background:#1a1c24;border:1px solid #ffffff1a;border-radius:12px;
}
.tester-faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  list-style:none;cursor:pointer;padding:14px 16px;font-size:14px;font-weight:700;
}
.tester-faq summary::-webkit-details-marker{display:none}
.tester-faq summary::after{
  content:"";width:7px;height:7px;flex:none;margin-right:4px;
  border:solid #a7c4d9;border-width:0 2px 2px 0;transform:rotate(45deg);
}
.tester-faq details[open] summary::after{transform:rotate(225deg)}
.tester-faq summary:focus-visible{outline:2px solid #61d6ff;outline-offset:-3px;border-radius:10px}
.tester-faq details p{
  margin:0;padding:12px 16px 15px;border-top:1px solid #ffffff12;font-size:14px;
}

@media(hover:hover){
  .background-slot:hover,.tile:hover{outline:1px solid #61d6ff;outline-offset:1px;color:#fff}
  .drop:hover{background:#1d2b3b;border-color:#61d6ff}
  .drop:hover b{background:#31536b;color:#e1faff}
  .views button:hover,.preview-head button:hover,.exit-screen:hover{
    background:#234257;border-color:#61d6ff;color:#fff;
  }
  .views button[aria-pressed=true]:hover{background:#1b3950}
  .reset:hover{color:#e1faff;text-decoration:underline}
  .bar .back:hover{color:#8ee7ff!important;text-decoration:underline}
  .tester-faq summary:hover{background:#223345;color:#e6faff}
}
@media(prefers-reduced-motion:no-preference){
  .drop,.drop b,.views button,.preview-head button,.exit-screen,.tester-faq summary{
    transition:background-color .16s ease,border-color .16s ease,color .16s ease;
  }
}

