.ww-embed {
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  margin: 1.25rem auto;
  background: #000;
  color: #f4efe4;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.ww-embed.alignwide { max-width: 1200px; }
.ww-embed.alignfull { max-width: none; }
.ww-embed #stage {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ww-embed #screen {
  position: relative;
  width: min(100%, calc(78vh * 4 / 3));
  aspect-ratio: 4 / 3;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  cursor: none;
  box-shadow:
    0 0 0 9px #14100d,
    0 0 0 12px #3d2c20,
    0 24px 70px rgba(0,0,0,.75),
    0 0 42px rgba(226,80,32,.16),
    inset 0 0 80px rgba(0,0,0,.5);
}
.ww-embed canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: auto;
}
.ww-embed .scan,
.ww-embed .vig,
.ww-embed .glare { pointer-events: none; position: absolute; inset: 0; }
.ww-embed .scan {
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.18) 0px, rgba(0,0,0,.18) 1px, transparent 1px, transparent 4px);
}
.ww-embed .vig {
  background: radial-gradient(ellipse at center, transparent 48%, rgba(0,0,0,.55) 100%);
  border-radius: 16px;
}
.ww-embed .glare { background: linear-gradient(118deg, rgba(255,255,255,.05), transparent 38%); }
.ww-embed #touch { display: none; }
.ww-embed .ww-once { margin: 1rem 0; color: #e25020; font-family: "Courier New", ui-monospace, monospace; }
@media (pointer: coarse), (max-width: 820px) {
  .ww-embed #screen { cursor: auto; width: 100%; }
  .ww-embed #touch { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .ww-embed #touch button {
    min-width: 104px; min-height: 48px; padding: 0 12px;
    font-family: "Courier New", ui-monospace, monospace;
    font-weight: 700; letter-spacing: .08em; font-size: 13px;
    background: #140e0c; color: #f4efe4; border: 2px solid #e25020; border-radius: 2px; cursor: pointer;
  }
  .ww-embed #touch button.alt { border-color: #c6f25a; color: #c6f25a; }
}
