:root {
  --bg: #0d0f1a; --panel: #171a2b; --text: #f2f3f8; --muted: #a3a8c3; --line: #2a2e48;
  --primary: #6c5ce7; --secondary: #fdcb6e;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font-family: "Nunito", "Noto Sans", system-ui, sans-serif; }
a { color: var(--secondary); }
.top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; max-width: 1100px; margin: 0 auto; }
.top img { width: 40px; height: 40px; border-radius: 10px; }
.top h1 { font-size: 20px; margin: 0; flex: 1; font-weight: 900; }
.top a.brand { display: flex; align-items: center; gap: 6px; font-weight: 900; color: #3fdbe3; padding: 4px 12px 4px 4px; }
.top a.brand img { width: 32px; height: 32px; border-radius: 0; }
.top a.back, .top button { color: var(--text); background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 12px; text-decoration: none; font: inherit; cursor: pointer; }
.stage { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: #000; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
canvas { width: 100%; height: 100%; display: block; touch-action: none; }
#intro { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  background-size: cover; background-position: center; padding-bottom: 6%; transition: opacity .3s; }
.intro-title { position: absolute; top: 7%; left: 0; right: 0; margin: 0; text-align: center; color: #fff;
  font: 900 clamp(26px, 5.5vw, 60px)/1.05 "Lilita One", "Nunito", system-ui, sans-serif; letter-spacing: .5px;
  -webkit-text-stroke: 2px rgba(0, 0, 0, .35); text-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .5); padding: 0 16px; }
#intro.hidden { opacity: 0; pointer-events: none; }
#play-btn { font: 900 clamp(18px, 3vw, 28px) "Nunito", system-ui, sans-serif; color: #fff; border: 0; cursor: pointer;
  background: var(--primary); padding: .6em 2.2em; border-radius: 999px; box-shadow: 0 6px 0 rgba(0, 0, 0, .35); }
#play-btn:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.pad { display: none; justify-content: space-between; gap: 10px; margin-top: 10px; user-select: none; }
.pad div { display: flex; gap: 10px; }
.pad button { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); font-size: 24px; touch-action: none; }
@media (pointer: coarse) { .pad { display: flex; } }
.info { max-width: 1100px; margin: 20px auto 40px; padding: 0 16px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.card h2 { margin: 0 0 8px; font-size: 18px; }
.card p, .card li { color: var(--muted); line-height: 1.55; }
.card table { width: 100%; border-collapse: collapse; }
.card td { padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.card td:first-child { color: var(--text); font-weight: 700; padding-right: 12px; }
.tags span { display: inline-block; font-size: 12px; padding: 3px 9px; margin: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: var(--muted); }
.soon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.soon b { background: rgba(0, 0, 0, .6); padding: 10px 22px; border-radius: 999px; font-size: 20px; }
/* ?bare – canvas only (embeds, screenshots) */
.bare .top, .bare .info, .bare .pad { display: none !important; }
.bare .stage { padding: 0; max-width: none; }
.bare .frame { border-radius: 0; box-shadow: none; }
