.menu-pyre .menu-icon svg {
  fill: #ff9a3a;
  filter: drop-shadow(0 0 6px rgba(255, 140, 50, 0.55));
}
.py-body {
  display: flex;
  gap: 18px;
  flex: 1;
  min-height: 0;
}
.py-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #07050a;
  border: 1px solid rgba(255, 150, 80, 0.2);
}
.py-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.py-over {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  text-align: center;
}
.py-heat {
  color: #fff1d8;
  font: 400 64px/1 Georgia, "Palatino Linotype", serif;
  text-shadow: 0 0 24px rgba(255, 140, 50, 0.7);
}
.py-stage-name {
  color: #ffb070;
  font: 900 14px/1 Arial, sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.py-stage-line {
  color: rgba(255, 236, 214, 0.6);
  font: italic 13px/1.3 Georgia, serif;
}
.py-side {
  width: 380px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-right: 4px;
}
.py-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(20, 18, 28, 0.78);
  color: rgba(255, 255, 255, 0.6);
  font: 800 12px/1 Arial, sans-serif;
  letter-spacing: 1px;
  white-space: nowrap;
}
.py-chip.hot {
  border-color: rgba(255, 150, 70, 0.7);
  color: #ffb070;
  box-shadow: 0 0 18px rgba(255, 120, 40, 0.25);
}
.py-sum {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 18, 28, 0.82);
  border: 1px solid rgba(255, 150, 80, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.py-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font: 700 12.5px/1.2 Arial, sans-serif;
}
.py-row b {
  color: #f6ecdf;
}
.py-row b.gold {
  color: #ffd166;
}
.py-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font: 12px/1.35 Arial, sans-serif;
}
.py-note.warn {
  color: #ffc98a;
}
.py-h {
  margin-top: 4px;
  color: #ffb070;
  font: 900 11px/1 Arial, sans-serif;
  letter-spacing: 2px;
}
.py-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.py-brand {
  --c: #ffb070;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(20, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.py-brand:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.py-brand.on {
  border-color: var(--c);
  background: linear-gradient(90deg, rgba(255, 120, 40, 0.12), rgba(20, 18, 28, 0.75) 60%);
}
.py-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
}
.py-glyph {
  width: 24px;
  height: 24px;
  opacity: 0.55;
}
.py-brand.on .py-glyph {
  opacity: 1;
  filter: drop-shadow(0 0 5px var(--c));
}
.py-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.py-text b {
  color: #f6ecdf;
  font: 800 13.5px/1.2 Arial, sans-serif;
}
.py-text span {
  color: rgba(255, 255, 255, 0.62);
  font: 12px/1.3 Arial, sans-serif;
}
.py-text small {
  color: rgba(255, 255, 255, 0.4);
  font: 700 10.5px/1.3 Arial, sans-serif;
}
.py-ctl {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.py-step {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 900 15px/1 Arial, sans-serif;
  cursor: pointer;
}
.py-step:hover:not(:disabled) {
  border-color: var(--c);
  background: rgba(255, 140, 60, 0.18);
}
.py-step:disabled {
  opacity: 0.3;
  cursor: default;
}
.py-pips {
  display: flex;
  gap: 3px;
}
.py-pips i {
  width: 8px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.py-pips i.lit {
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}
.py-tools {
  display: flex;
  gap: 8px;
}
.py-tools .hub-btn {
  flex: 1;
  padding: 11px 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  font-size: 12px;
}
.hub-btn.py-stoke {
  border: 0;
  background: linear-gradient(180deg, #ffb060, #d8541e);
  color: #2a0e04;
}
.py-tools .hub-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.py-marks {
  display: flex;
  gap: 6px;
}
.py-mark {
  --rgb: 255, 170, 90;
  flex: 1;
  padding: 9px 8px;
  border-radius: 10px;
  background: rgba(20, 18, 28, 0.7);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}
.py-mark b {
  color: rgba(255, 255, 255, 0.7);
  font: 900 11px/1 Arial, sans-serif;
  letter-spacing: 1px;
}
.py-mark span {
  color: rgba(255, 255, 255, 0.45);
  font: 11px/1.25 Arial, sans-serif;
}
.py-mark.ready {
  border-color: rgba(var(--rgb), 0.6);
}
.py-mark.got {
  border-style: solid;
  border-color: rgba(var(--rgb), 0.8);
  background: rgba(var(--rgb), 0.1);
}
.py-mark.got b,
.py-mark.got span {
  color: rgb(var(--rgb));
}
.py-foot {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font: 11px/1.35 Arial, sans-serif;
}
@media (max-width: 820px) {
  .py-body {
    flex-direction: column;
    overflow-y: auto;
  }
  .py-stage {
    flex: none;
    height: 46vh;
    min-height: 260px;
  }
  .py-heat {
    font-size: 48px;
  }
  .py .screen-sub {
    display: none;
  }
  .py-side {
    width: 100%;
    overflow: visible;
    padding-right: 0;
  }
}
#screen-pyre {
  background: #07050a;
  overflow: hidden;
}
#screen-pyre > .py-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  border-radius: 0;
}
#screen-pyre > .py {
  position: relative;
  z-index: 1;
}
#screen-pyre .py-body {
  justify-content: flex-end;
}
#screen-pyre .py-over {
  top: 120px;
  right: 420px;
}
#screen-pyre .py-side {
  padding: 14px;
  border-radius: 18px;
  background: rgba(14, 10, 18, 0.72);
  border: 1px solid rgba(255, 150, 80, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 820px) {
  #screen-pyre .py-over {
    top: 110px;
    right: 0;
  }
  #screen-pyre .py-side {
    margin-top: 34vh;
  }
}
