
/* In-game settings reuse the menu overlay without its own backdrop; the board stays visible behind the card. */
#setup.in-game {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#btnSettings svg {
  width: 20px;
  height: 20px;
}
.aux-jump {
  width: 100%;
  margin-bottom: 12px;
}
/* Tap-to-start unlocks audio after a player gesture. */
.tap-start {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
  font: 700 clamp(26px, 5vw, 40px)/1.1 var(--font-display);
  background: radial-gradient(
    circle at 50% 55%,
    rgba(255, 255, 255, 0) 0,
    rgba(70, 50, 130, 0.28) 100%
  );
  transition: opacity 0.22s;
}
.tap-start .tap-label {
  text-shadow:
    0 2px 2px #27215c,
    0 0 10px #29235c,
    0 0 24px #29235c;
  animation: tap-pulse 1.6s ease-in-out infinite;
}
.tap-paw {
  display: grid;
  place-items: center;
  font-size: clamp(70px, 14vw, 110px);
  width: clamp(72px, 14vw, 112px);
  height: clamp(72px, 14vw, 112px);
  color: #fff;
  filter: drop-shadow(0 6px 0 rgba(86, 62, 150, 0.5));
  animation: tap-bounce 1.6s ease-in-out infinite;
}
.tap-paw svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tap-start:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -12px;
}
.tap-start.tap-leaving {
  opacity: 0;
}
body.tap-wait #setup .menu-shell,
body.tap-wait #setup .menu-hud {
  visibility: hidden;
}
@keyframes tap-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
@keyframes tap-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-10px) rotate(6deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tap-start .tap-label,
  .tap-paw {
    animation: none;
  }
}
/* In-game logo is a little larger on desktop so the brand stays readable. */
@media (min-width: 900px) {
  .logo .hud-logo {
    width: 150px;
    height: 72px;
  }
  .top {
    height: 76px;
  }
}

/* Color symbols (accessibility option): a small white badge with one shape per color. */
.chip i {
  position: relative;
}
.chip .sym {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 16px;
  height: 16px;
}
.seat .sym {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}




.group-picker { box-sizing: border-box; max-width: calc(100vw - 32px); border: 3px solid #b9b7e6; border-radius: 24px; padding: 22px; color: #353466; background: #faf8ff; box-shadow: 0 16px 45px #17153d70; width: min(340px, calc(100vw - 40px)); text-align: center; }
.group-picker::backdrop { background: #191737a6; }
.group-picker h2 { margin: 0 0 16px; font-size: 19px; }
.group-picker-hint { margin: -8px 0 12px; color: #4d4b6c; font-size: 13px; line-height: 1.25; }
.group-picker-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.group-picker-piece:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 10px) / 2); }
.group-picker-piece { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: 8px; row-gap: 0; min-height: 72px; padding: 5px 3px; border: 2px solid #d7d4f2; border-radius: 16px; background: #eeedfb; color: #37356b; font: inherit; font-size: 20px; font-weight: 800; cursor: pointer; }
.group-picker-piece img { width: 50px; height: 50px; object-fit: contain; }
.group-picker-portrait { position: relative; display: block; width: 50px; height: 50px; flex: none; }
.group-picker-portrait .sym { position: absolute; right: -4px; top: -3px; width: 20px; height: 20px; }
.group-picker-back { margin-top: 14px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 14px; background: #dedcf2; color: #3e3c72; font-weight: 700; cursor: pointer; }
.group-picker button:focus-visible { outline: 3px solid #51439b; outline-offset: 2px; }

.group-picker-shield { flex-basis: 100%; font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
.group-picker-piece:disabled { background: #e4e3ed; border-color: #bdbdce; color: #4d4b6c; cursor: default; }
.group-picker-owner { flex-basis: 100%; font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }

@media (max-width: 340px) and (min-height: 560px) and (orientation: portrait) {
  body:not(.tutorial-active) .stage:not(.wide) .score { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 5px; }
  body:not(.tutorial-active) .stage:not(.wide) .chip { font-size: 13px; min-height: 27px; }
  body:not(.tutorial-active) .stage:not(.wide) .chip i { width: 22px; height: 22px; }
}

/* End of css/game-04.css */
