.frame-stage {
  box-sizing: border-box;
  min-width: 0;
  margin: 24px 0;
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid #c8c4b9;
  border-radius: 12px;
  background: #faf8f4;
  color: #263932;
  font: 16px/1.5 system-ui, sans-serif;
}
.frame-stage * { box-sizing: border-box; }
.frame-stage h2 { margin: 4px 0 8px; font: 600 clamp(24px, 3vw, 35px)/1.1 Georgia, serif; color: #253d35; }
.frame-stage .frame-kicker { margin: 0; font: 650 12px/1.4 ui-monospace, monospace; letter-spacing: .07em; color: #526258; }
.frame-stage .frame-intro { max-width: 72ch; margin: 0 0 14px; }
.frame-stage figure { margin: 0; border: 1px solid #cbc9be; background: #f4f2ea; border-radius: 8px; }
.frame-stage canvas { display: block; width: 100%; height: clamp(165px, 24vw, 240px); background-image: radial-gradient(#c8c6ba 0.75px, transparent 0.75px); background-size: 13px 13px; }
.frame-stage figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 12px; border-top: 1px solid #d4d0c4; color: #394940; font-size: 13px; }
.frame-stage figcaption span { display: inline-flex; align-items: center; gap: 6px; }
.frame-stage figcaption span::before { content: ''; width: 11px; height: 11px; border: 1px solid #566459; border-radius: 2px; background: #6eb5a8; }
.frame-stage figcaption [data-key]::before { background: #efb056; }
.frame-stage[data-check=canary] figcaption [data-key]::before { background: #5c87ba; }
.frame-stage .frame-controls { display: flex; align-items: end; gap: 8px 12px; flex-wrap: wrap; margin: 14px 0 10px; }
.frame-stage label { display: grid; gap: 3px; font-weight: 600; font-size: 13px; }
.frame-stage select, .frame-stage button { min-width: 0; max-width: 100%; min-height: 44px; border: 1px solid #99a298; border-radius: 5px; padding: 7px 10px; background: #fffefa; color: #263932; font: 600 14px/1.3 system-ui, sans-serif; }
.frame-stage button { cursor: pointer; background: #294d41; color: #fff; border-color: #294d41; }
.frame-stage button:hover { background: #1f3b32; }
.frame-stage :is(select, button):focus-visible { outline: 3px solid #24609b; outline-offset: 3px; }
.frame-stage [data-result] { margin: 0; min-height: 3em; line-height: 1.45; }
