.page-frame {
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  flex-shrink: 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.axl-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.volume-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: rgba(0, 0, 0, 0.3);
  padding: 4px;
  transition: color 0.2s;
}

.volume-icon:hover {
  color: rgba(0, 0, 0, 0.6);
}

.volume-icon.muted svg path:last-child,
.volume-icon.muted svg path:nth-child(2) {
  display: none;
}

/* Board Section */
.board-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
}

/* Footer */
.footer {
  display: flex;
  justify-content: center;
  padding: 16px 40px 24px;
  flex-shrink: 0;
}

.footer-hint {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.25);
  letter-spacing: 0.5px;
}

.footer-hint kbd {
  display: inline-block;
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 6px;
  border-radius: 3px;
  font-family: inherit;
  font-size: 11px;
  margin: 0 2px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Fullscreen: simplified layout with logo + board */
:fullscreen .footer {
  display: none !important;
}

:fullscreen .header {
  justify-content: center;
  padding: 32px 40px 0;
}

:fullscreen .header-nav {
  display: none;
}

:fullscreen .axl-logo {
  height: 56px;
}

:fullscreen .page-frame {
  justify-content: center;
}

:fullscreen .board-section {
  flex: 0;
  padding: 24px;
}

:fullscreen .board {
  border-radius: 12px;
  box-shadow: 0 4px 60px rgba(0, 0, 0, 0.15);
  --tile-size: clamp(28px, 2.6vw, 55px);
}
