body[data-demo-page]{background:#f4f6fb!important;color:#172b49!important;color-scheme:light!important}body[data-demo-page] .demo-page{color:#172b49}body[data-demo-page] .demo-page h1,body[data-demo-page] .demo-page strong,body[data-demo-page] .demo-modes legend,body[data-demo-page] .demo-modes label{color:#172b49}body[data-demo-page] .demo-top a{color:#315b96}
.demo-page,.demo-top{width:min(1040px,calc(100% - 40px));margin:auto}.demo-top{display:flex;justify-content:space-between;padding:24px 0}.demo-page{padding:32px 0 64px}.demo-page h1{font-size:clamp(30px,5vw,46px);margin:18px 0 12px}.demo-intro{font-size:19px;max-width:760px;line-height:1.6;color:#475569}.demo-badge{display:inline-flex;padding:5px 10px;border-radius:9px;background:#fff1b8;color:#745315;font-size:13px;font-weight:700}.demo-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:32px 0}.demo-steps li,.demo-launch,.demo-card{background:#fff;border:1px solid #dbe5f3;border-radius:18px;padding:24px}.demo-steps li{display:grid;gap:10px}.demo-steps span,.demo-meta{color:#64748b;line-height:1.6}.demo-launch{max-width:760px}.demo-modes{border:0;margin:18px 0;padding:0;display:flex;flex-wrap:wrap;gap:12px}.demo-modes legend{font-weight:700;margin-bottom:10px}.demo-modes label{display:flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid #dbe5f3;border-radius:12px;cursor:pointer}.demo-modes label:has(input:checked){border-color:#2563eb;background:#edf3ff}.demo-modes input{accent-color:#2563eb;width:16px!important;min-width:16px!important;min-height:16px!important;margin:0}.demo-launch #demo-message{min-height:24px;color:#475569}.demo-launch #demo-message[data-error=true]{color:#b4233c}.demo-card{margin:18px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:4px solid #edc551;box-shadow:none}.demo-card h2{color:#172b49!important;margin:10px 0 6px;font-size:22px}.demo-card p{margin:6px 0;color:#64748b;line-height:1.5}.demo-card>a{flex-shrink:0;text-decoration:none}.demo-admin{flex-basis:100%;border-top:1px solid #e2e8f0;padding-top:14px}.demo-card:has(.demo-admin){flex-wrap:wrap}.demo-admin>summary{cursor:pointer;font-weight:700;color:#334155}.demo-admin-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}.demo-project-picker{position:relative}.demo-project-picker>summary{cursor:pointer;padding:9px 14px;border:1px solid #dbe5f3;border-radius:12px;list-style:none;color:#172b49;background:#f5f8fd}.demo-project-picker>summary::-webkit-details-marker{display:none}.demo-project-picker>summary::after{content:'';display:inline-block;width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:16px}.demo-project-options{position:absolute;top:calc(100% + 6px);left:0;z-index:10;min-width:260px;max-height:280px;overflow:auto;border:1px solid #dbe5f3;border-radius:12px;padding:6px;background:#fff;box-shadow:0 12px 36px #172b4924}.demo-project-options button{display:block!important;text-align:left;white-space:normal;width:100%;border-radius:8px!important;background:transparent!important;color:#172b49!important;box-shadow:none!important}.demo-project-options button:hover{background:#edf3ff!important}.demo-project-options button:focus-visible,.demo-project-picker>summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.demo-admin-status{font-size:14px;line-height:1.5}.demo-admin-status[data-error=true]{color:#b4233c}@media(max-width:680px){.demo-steps{grid-template-columns:1fr}.demo-card{align-items:flex-start;flex-direction:column;padding:20px}.demo-card>a{align-self:stretch}.demo-admin{width:100%}.demo-modes{display:grid}.demo-page,.demo-top{width:calc(100% - 28px)}.demo-page{padding-top:18px}}

/* Read-only game inspector: two live slide previews above the familiar field. */
@layer button-layout-details{
}
