.et-page {
  padding-top: 35px;
  padding-bottom: 60px;
}
.et-page > a {
  font-size: 12px;
  color: var(--muted, #81948b);
}
.et-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 35px 0;
}
.et-title h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin: 12px 0;
}
.et-title > div > span {
  font: 10px monospace;
  letter-spacing: 0.16em;
  color: #78968b;
}
.et-title p {
  color: #90a699;
}
.et-preview {
  font-size: 11px;
  border: 1px solid #9fbb9b50;
  padding: 11px;
  border-radius: 20px;
}
.et-cabinet {
  background: #0d1d20;
  color: #e5eee8;
  border: 1px solid #526b6044;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 70px #0002;
}
.et-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: #162a2c;
  border-bottom: 1px solid #fff1;
  font-size: 12px;
}
.et-toolbar > div {
  display: flex;
  gap: 15px;
  align-items: center;
}
.et-toolbar span {
  font: 9px monospace;
  letter-spacing: 0.08em;
  color: #9db1a8;
}
.et-toolbar b {
  display: block;
  font: 15px monospace;
  letter-spacing: 0;
  margin-top: 5px;
  color: #ecedcc;
}
.et-cabinet button,
.et-touch button {
  font: 11px system-ui;
  background: #28403e;
  color: #e8f3e8;
  border: 1px solid #7c9e8133;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
}
.et-cabinet button:hover {
  background: #3c5c50;
}
.et-cabinet button:focus-visible,
.et-touch button:focus-visible {
  outline: 2px solid #a5dfc7;
  outline-offset: 2px;
}
.et-world {
  position: relative;
  aspect-ratio: 16/9;
  background: #071012;
}
.et-world canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  touch-action: none;
  image-rendering: auto;
}
.et-overlay {
  position: absolute;
  inset: 0;
  background: #0c1c26d9;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 25px;
  backdrop-filter: blur(6px);
}
.et-overlay[hidden] {
  display: none;
}
.et-overlay h2 {
  font-size: 30px;
  color: #eaf6df;
  margin: 10px;
}
.et-overlay p {
  max-width: 430px;
  color: #b0c7bd;
  font-size: 13px;
  line-height: 1.8;
}
.et-overlay button {
  background: #b9dfb7;
  color: #173b2b;
  padding: 12px 30px;
  font-weight: 700;
}
.et-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 15px 20px;
  color: #9db4aa;
  font-size: 11px;
}
.et-footer i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
}
.et-fire {
  background: #ff9b60;
}
.et-water {
  background: #83e3f2;
}
.et-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}
.et-notes h2 {
  font-size: 17px;
}
.et-notes p,
.et-notes a {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted, #8da396);
}
.et-touch {
  display: none;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  flex-shrink: 0;
}
.et-touch > div {
  display: flex;
  gap: 7px;
  align-items: center;
}
.et-touch b {
  font-size: 10px;
}
.et-touch button {
  min-width: 42px;
  min-height: 42px;
  touch-action: none;
  user-select: none;
}
.et-touch button[data-character="0"] {
  border-color: #eea26355;
}
.et-touch button[data-character="1"] {
  border-color: #83e3f255;
}
@media (pointer: coarse) {
  .et-touch {
    display: flex;
  }
}
@media (max-width: 700px) {
  .et-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .et-toolbar {
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
  }
  .et-toolbar > strong {
    width: 100%;
  }
  .et-toolbar > div {
    gap: 7px;
  }
  .et-toolbar button {
    font-size: 10px;
    padding: 8px;
  }
  .et-notes {
    grid-template-columns: 1fr;
  }
  .et-footer {
    font-size: 9px;
    padding: 12px;
  }
  .et-touch b {
    display: none;
  }
}

.et-level-picker {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 20px;
  font-size: 12px;
}
.et-level-picker label {
  font-weight: 700;
}
.et-level-picker select {
  min-width: 260px;
  padding: 12px 36px 12px 14px;
  border: 1px solid #78968b55;
  border-radius: 12px;
  background: var(--card, #f5f8f4);
  color: var(--text, #20392f);
  font: inherit;
}
.et-level-picker span {
  color: var(--muted, #81948b);
  font-size: 11px;
}
.et-overlay-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.et-overlay-actions button[hidden] {
  display: none;
}
@media (max-width: 600px) {
  .et-level-picker select {
    min-width: 0;
    flex: 1;
  }
  .et-level-picker span {
    width: 100%;
  }
}

body.et-expanded-body { overflow: hidden; }
.et-cabinet.et-expanded, .et-cabinet:fullscreen {
 position: fixed; inset: 0; width: 100vw; height: 100dvh;
 z-index: 2147483000; border-radius: 0; display: flex; flex-direction: column;
}
.et-cabinet.et-expanded .et-world, .et-cabinet:fullscreen .et-world {
 flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
}
.et-cabinet.et-expanded canvas, .et-cabinet:fullscreen canvas {
 width: 100%; height: 100%; object-fit: contain;
}
body.et-expanded-body .site-header,
body.et-expanded-body .site-footer,
body.et-expanded-body #site-ai-launcher { visibility: hidden; }

#etMirrorControl{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem}#etMirrorControl[hidden]{display:none}#etMirrorAngle{width:7rem;accent-color:#9edfd5}#etMirrorSelect{max-width:9rem;background:#1c3435;color:#ecf6ee;border:1px solid #597371;border-radius:.4rem;padding:.3rem}
