:root {
  color-scheme: dark;
  color: #faf6ed;
  background: #38382f;
  font: 16px/1.65 system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
header {
  padding: .85rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid #777262;
  color: #e3c9a3; font-size: .84rem; letter-spacing: .1em;
}
header span { margin-inline-start: 1em; }
.status {
  position: relative; isolation: isolate; display: grid; align-items: center;
  flex: 1; padding: clamp(1rem, 5vw, 3rem);
}
[data-cover] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.with-cover .status::before { content: ''; position: absolute; inset: 0; background: linear-gradient(75deg, #111710e8, #11171073); z-index: -1; }
.copy { max-width: 38rem; overflow-wrap: anywhere; }
h1 { font: 500 clamp(1.13rem, 3.1vw, 1.8rem)/1.5 Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif; }
h1,p { margin: 0; }
p:not(:empty) { margin-top: .75rem; font-size: .94rem; }
button {
  margin: .85rem .45rem 0 0; padding: .52rem .9rem;
  border: 1px solid #dcc6a4; border-radius: 3px; background: #38382f; color: #fff8ed;
  font: inherit; font-size: .88rem; cursor: pointer;
}
button:focus-visible { outline: 3px solid #f7ce90; outline-offset: 2px; }
[data-frame-container] { flex: 1; min-height: 9rem; position: relative; background: #272820; }
iframe { position: absolute; inset: 0; display: block; height: 100%; width: 100%; border: 0; }
.embedded header { display: none; }
.rendering main { height: 100vh; height: 100svh; }
.rendering .status { display: block; padding: .45rem .7rem; flex: none; }
.rendering .copy { max-width: none; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.rendering h1 { font: 500 .95rem/1.4 system-ui, sans-serif; }
.rendering button { margin: 0; flex: none; }
