/* Path-mode shell — product HUD on cream paper tokens */
.path-mode {
  margin: 0;
  overflow: hidden;
  background: #1a2e1c;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.path-mode #app {
  position: relative;
  width: 100vw;
  height: 100dvh;
}
.path-mode #game-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.path-boot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 30;
  background: radial-gradient(circle at 50% 20%, rgba(90, 140, 80, 0.35), rgba(8, 16, 10, 0.94));
}
.path-boot-card {
  width: min(480px, 100%);
  background: linear-gradient(180deg, #fff8ee, #efe4d2);
  color: #2c2416;
  border-radius: 20px;
  padding: 22px 20px 16px;
  border: 1px solid rgba(44, 36, 22, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.path-boot-card .eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 700;
}
.path-boot-card h1 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}
.path-boot-card .lede {
  margin: 0 0 12px;
  line-height: 1.5;
  font-size: 0.92rem;
}
.path-tips {
  margin: 0 0 16px;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  line-height: 1.55;
}
.path-boot-card .fineprint {
  margin: 12px 0 0;
  font-size: 0.75rem;
  text-align: center;
}
.path-boot-card a {
  color: #2e7d32;
}
.path-hud.hidden,
.hidden {
  display: none !important;
}
.path-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px 8px;
  z-index: 10;
}
.path-hud .hud-top,
.path-hud .hud-bottom,
.path-hud .chip,
.path-hud .seed,
.path-hud .sun-badge {
  pointer-events: auto;
}
.path-hud .sun-badge {
  background: linear-gradient(180deg, #fff8ee, #f0e0c0);
  color: #2c2416;
  border: 1px solid rgba(44, 36, 22, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.path-hud .level-title {
  color: #fff8ee;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  font-weight: 800;
}
.path-hud .level-sub {
  color: rgba(255, 248, 238, 0.85);
  font-size: 0.75rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.path-hud .hint {
  color: rgba(255, 248, 238, 0.9);
}
.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}
.btn.primary {
  background: linear-gradient(180deg, #5cb85c, #3d8b40);
  color: #fff;
}
.btn.secondary {
  background: #e8e0d4;
  color: #2c2416;
}
.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.modal-actions .btn {
  flex: 1;
}
