@font-face{
  font-family:LabMono;
  src:url(native-font.ttf?v=4af600ccbdd25258) format('truetype');
  font-display:swap}

:root{
  color-scheme:dark;
  font:14px LabMono,monospace;
  background:#080b0c;
  color:#eee}
*{
  box-sizing:border-box}
body{
  max-width:1440px;
  margin:auto;
  padding:24px}
h1{
  font-size:26px;
  margin:8px 0 20px}
h2{
  font-size:16px;
  margin:0 0 14px}
.eyebrow,footer,#ownership{
  color:#aab8b9}
p{
  line-height:1.5}
nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  border-block:1px solid #697b7d;
  padding:14px 0}
a{
  color:inherit}
a[aria-current]{
  color:#70f149}
main{
  display:grid;
  grid-template-columns:minmax(300px,1fr) minmax(300px,1fr);
  gap:24px;
  margin:24px 0}
.preview,.controls{
  border:1px solid #697b7d;
  padding:20px;
  min-width:0}
.preview{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px}
canvas{
  image-rendering:pixelated;
  background:repeating-conic-gradient(#1b2224 0 25%,#111719 0 50%) 0/16px 16px}
#actor{
  width:320px;
  height:auto;
  aspect-ratio:1;
  max-width:100%;
  object-fit:contain}
#slots{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px}
label{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0}
select,input,button{
  font:inherit;
  border:1px solid #819294;
  border-radius:0;
  background:#080b0c;
  color:inherit;
  padding:7px;
  min-width:0}
button{
  cursor:pointer}
button[aria-pressed=true]{
  background:#70f149;
  color:#080b0c}
.row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:end;
  margin:14px 0}
input[type=number]{
  width:65px}
input[type=color]{
  height:35px;
  width:90px;
  padding:3px}
input[type=range]{
  appearance:none;
  width:100%;
  height:24px;
  border:0;
  padding:0;
  background:transparent}
input[type=range]::-webkit-slider-runnable-track{
  height:2px;
  background:#819294}
input[type=range]::-webkit-slider-thumb{
  appearance:none;
  width:12px;
  height:18px;
  margin-top:-8px;
  border:1px solid #eee;
  border-radius:0;
  background:#70f149}
input[type=range]::-moz-range-track{
  height:2px;
  background:#819294}
input[type=range]::-moz-range-thumb{
  width:12px;
  height:18px;
  border:1px solid #eee;
  border-radius:0;
  background:#70f149}
input[type=checkbox]{
  align-self:start}
button:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{
  outline:2px solid #70f149;
  outline-offset:3px}
#sheet{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(168px,1fr));
  gap:10px}
figure{
  margin:0;
  border:1px solid #697b7d;
  padding:8px;
  min-width:0}
figure canvas{
  display:block;
  width:160px;
  height:160px;
  margin:0 auto;
  touch-action:pan-y;
  cursor:pointer}
figcaption{
  font-size:12px;
  min-height:3em;
  margin:8px 0;
  overflow-wrap:anywhere}
footer{
  border-top:1px solid #697b7d;
  margin-top:30px;
  padding-top:12px;
  font-size:12px;
  overflow-wrap:anywhere}
#rig-downloads{
  border-top:1px solid currentColor;
  margin-top:20px;
  padding-top:12px}
#rig-downloads input[type=number]{
  width:90px}
#rig-export-status{
  display:block;
  min-height:3em;
  margin-top:8px;
  overflow-wrap:anywhere}
[role=alert]{
  color:#ff8484}
@media(max-width:720px){
  body{
  padding:12px}
main{
  grid-template-columns:1fr}
.preview,.controls{
  padding:12px}
#actor{
  width:280px;
  height:auto}
#sheet{
  grid-template-columns:repeat(auto-fit,minmax(148px,1fr))}
figure canvas{
  width:120px;
  height:120px}
}
