/* Embed-only layout for /embed/wordunscrambler/. The widget visuals come from
   the tool's /css/wordunscrambler.css; this file just frames them for an iframe. */
html, body.lk-embed {
  margin: 0;
  padding: 0;
  background: transparent;
  min-height: 100vh;
}
body.lk-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px;
  box-sizing: border-box;
}
.embed-stage {
  width: 100%;
  max-width: 560px;
}
/* Keep the result list from pushing the iframe indefinitely tall. */
.embed-stage #results-area {
  max-height: 46vh;
  overflow-y: auto;
}
.embed-attrib {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
  opacity: 0.85;
}
.embed-attrib:hover { opacity: 1; text-decoration: underline; }

/* The letter field is a flex:1 input, but a flex item's default min-width:auto
   keeps it at the text input's intrinsic (size-based) width, so in a narrow
   embed it overflows the iframe. Let it shrink to fit its container. */
.lk-embed .letter-input { min-width: 0; }
