.work-game-launch{position:relative;display:block;aspect-ratio:1;background:#0c1020}
.work-game-launch img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.work-game-play{position:absolute;right:16px;bottom:16px;padding:12px 18px;background:#fff;color:#1d211e;font-size:14px;line-height:1.4}
.work-game-launch:hover .work-game-play,.work-game-launch:focus-visible .work-game-play{text-decoration:underline;text-underline-offset:4px}
.work-game-instructions{font-size:13px;line-height:1.65;color:var(--muted);margin:12px 0 0;max-width:540px}
.work-game-dialog{position:fixed;inset:0;width:calc(100vw - 48px);height:calc(100dvh - 48px);max-width:1600px;max-height:none;margin:auto;padding:0;border:0;background:#0c1020;color:#fff;overflow:hidden}
.work-game-dialog::backdrop{background:#000c}
.work-game-dialog:fullscreen,.work-game-dialog.is-fullscreen{width:100vw;height:100dvh;max-width:none;margin:0}
.work-game-player{display:grid;grid-template-rows:auto minmax(0,1fr);height:100%}
.work-game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;background:#111}
.work-game-toolbar h2{margin:0;font-size:15px;font-weight:400;letter-spacing:0}
.work-game-actions{display:flex;align-items:center;gap:6px;font-size:13px}
.work-game-actions button,.work-game-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;background:none;color:inherit;border:0;font:inherit;cursor:pointer;text-decoration:none}
.work-game-actions button:hover,.work-game-actions a:hover{text-decoration:underline;text-underline-offset:4px}
.work-game-actions :focus-visible,.work-game-launch:focus-visible{outline:2px solid #e8c936;outline-offset:2px}
.work-game-stage{min-height:0;position:relative}
.work-game-stage iframe{display:block;border:0;width:100%;height:100%;background:#0c1020}
.work-game-loading{position:absolute;inset:0;display:grid;place-content:center;padding:24px;margin:0;text-align:center;font-size:14px;line-height:1.7;pointer-events:none;background:#0c1020}
.work-game-loading[hidden]{display:none}
@media(max-width:680px){.work-game-dialog{width:100vw;height:100dvh;max-width:none}.work-game-toolbar{gap:6px;padding:4px 8px}.work-game-actions{gap:0;font-size:12px}.work-game-actions button,.work-game-actions a{padding:8px}.work-game-play{right:12px;bottom:12px;padding:10px 14px}}
