/* Embed-only layout for /embed/minesweeper/. The game UI (board, solver, modal)
   comes from the inline <style> copied verbatim from the game page; this file
   just frames it for an iframe. */
html, body.lk-embed {
  margin: 0;
  padding: 0;
  background: transparent;
}
body.lk-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px;
  box-sizing: border-box;
}
body.lk-embed main {
  width: 100%;
  max-width: 640px;
  margin: 0;
  padding: 0;
}
/* Trim the on-page hero padding and keep the HUD / message bar inside the
   framed width even when the game computes a wider --panel-w for big boards
   (the board itself scrolls inside #board-scroll). */
body.lk-embed #ms-wrap { min-height: 0; padding: 8px 4px 20px; }
body.lk-embed #ms-inner { max-width: 100%; }
body.lk-embed #status-bar,
body.lk-embed #msg { max-width: 100%; }
.embed-attrib {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #f59e0b;
  text-decoration: none;
  opacity: 0.85;
}
.embed-attrib:hover { opacity: 1; text-decoration: underline; }
