/* Wyld Tinker Games site addition: the WebGPU note and the back link, top
   right under the backend badge. A separate file, so index.html keeps its
   single hashed inline style block. */
#site-note {
  position: absolute;
  top: 84px;
  right: 34px;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
  color: #e6eeec;
}

/* Same pill as the demo's backend badge. */
#site-note span {
  display: inline-block;
  padding: 10px 13px;
  border: 1px solid #96cdb340;
  border-radius: 30px;
  background: #102825c9;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

#site-note a {
  display: inline-block;
  margin-top: 8px;
  padding-right: 13px;
  letter-spacing: 0.05em;
  color: #c4e3be;
  text-shadow: 0 1px 4px #000;
}

/* Phones: the title column runs deeper, so drop below it and let the pill wrap. */
@media (max-width: 800px) {
  #site-note {
    top: 160px;
    right: 20px;
    max-width: 28ch;
  }

  #site-note span {
    border-radius: 16px;
    white-space: normal;
  }
}

/* H hides the demo panels (body.hide); hide the note with them. */
.hide #site-note {
  display: none;
}
