main.layout {
  max-width: 1480px;
  grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.game-panel iframe {
  display: block;
  width: 100%;
  height: min(73svh, 780px);
  border: 0;
}
.game-panel .game-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.workshop-view {
  min-height: 44px; padding: 4px 14px; color: #30382b; background: #faf3df;
  border: 1px solid #4e6148; border-radius: 18px; font: inherit; cursor: pointer;
}
body.workshop-open { overflow: hidden; }
body.workshop-open .game-panel {
  position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column;
  height: 100%; height: 100dvh; width: 100%; box-sizing: border-box;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  border: 0 !important; border-radius: 0 !important;
}
body.workshop-open .game-panel iframe { flex: 1; min-height: 0; }
@media (max-width: 900px) {
  main.layout { grid-template-columns: minmax(0, 1fr); max-width: 800px; padding-inline: clamp(4px, 1.5vw, 12px); }
  main.layout article { padding-inline: 12px; }
  .game-panel iframe { height: min(144vw, 78svh); }
  .crumb { margin-block: 8px; }
}
@media (orientation: landscape) and (max-height: 540px) {
  .game-panel iframe { height: 76svh; }
}
.game-panel .game-bar { padding: 2px 10px; }
