/* Match the supplied 1920×900 Figma canvas and scale it proportionally. */
html, body { width: 100%; height: 100%; }
body { display: grid; place-items: center; overflow: hidden; }
.app-shell {
  width: min(100vw, calc(100vh * 2.1333333));
  height: min(100vh, calc(100vw / 2.1333333));
  min-height: 0;
  max-width: none;
  aspect-ratio: 1920 / 900;
}
.game-view, .create-view { height: 100%; min-height: 0; }
.create-view { overflow: auto; }
.room-background { background-size: 100% 100%; }
.dialogue-view { min-height: 0; }
.topbar { top: 24px; left: 50px; right: 50px; align-items: flex-start; }
.time-status-image { display: block; width: 432px; height: 81px; object-fit: contain; image-rendering: pixelated; }
.icon-nav { top: 0; right: 0; gap: 12px; align-items: flex-start; }
.icon-nav button { width: 113px; height: 123px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer; }
.icon-nav button img { display: block; width: 113px; height: 123px; object-fit: contain; image-rendering: pixelated; }
.icon-nav button:hover { transform: translateY(-2px); filter: brightness(1.04); }
.character-status { top: 118px; left: 50px; width: 339px; height: 112px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.character-status img { display: block; width: 339px; height: 112px; object-fit: contain; image-rendering: pixelated; }
@media (max-aspect-ratio: 2.1333333) {
  body { background: #193447; }
}
