/* DRY Records game shortcode styles. Loaded only by [dry_records_game]. */

.dry-records-game{
  --dry-game-bg:#05070b;
  --dry-game-panel:rgba(8,13,20,.86);
  --dry-game-line:rgba(255,255,255,.13);
  --dry-game-text:#f7fbff;
  --dry-game-muted:#aeb9c5;
  --dry-game-green:#34d399;
  --dry-game-blue:#60a5fa;
  --dry-game-red:#fb7185;
  position:relative;
  width:100%;
  height:var(--dry-records-game-height, 720px);
  height:min(var(--dry-records-game-height, 720px), 88svh);
  min-height:420px;
  overflow:hidden;
  isolation:isolate;
  color:var(--dry-game-text);
  background:
    radial-gradient(800px 420px at 22% -8%, rgba(52,211,153,.16), transparent 60%),
    radial-gradient(700px 420px at 88% 4%, rgba(96,165,250,.14), transparent 60%),
    linear-gradient(180deg, #080c12 0%, var(--dry-game-bg) 100%);
  border:1px solid var(--dry-game-line);
  border-radius:10px;
  box-shadow:0 22px 54px rgba(0,0,0,.42);
  font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dry-records-game,
.dry-records-game *{
  box-sizing:border-box;
}

.dry-records-game .dryGameCanvas{
  display:block;
  width:100%;
  height:100%;
  touch-action:none;
}

.dry-records-game .dryGameHud{
  position:absolute;
  top:14px;
  left:14px;
  right:14px;
  z-index:4;
  display:flex;
  gap:10px;
  align-items:center;
  pointer-events:none;
}

.dry-records-game .dryGameHudItem{
  min-width:92px;
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:8px;
  background:rgba(0,0,0,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(10px);
}

.dry-records-game .dryGameHudItem span{
  display:block;
  color:var(--dry-game-muted);
  font-size:11px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.dry-records-game .dryGameHudItem strong{
  display:block;
  margin-top:4px;
  font-size:20px;
  line-height:1;
  color:#fff;
}

.dry-records-game .dryGameOverlay{
  position:absolute;
  inset:0;
  z-index:8;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:linear-gradient(180deg, rgba(0,0,0,.74), rgba(0,0,0,.86));
  backdrop-filter:blur(8px);
}

.dry-records-game .dryGameOverlay.is-visible{
  display:flex;
}

.dry-records-game .dryGamePanel{
  width:min(520px, 100%);
  padding:26px;
  text-align:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  background:var(--dry-game-panel);
  box-shadow:0 22px 58px rgba(0,0,0,.48);
}

.dry-records-game .dryGameKicker{
  margin:0 0 8px;
  color:var(--dry-game-green);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.dry-records-game h2{
  margin:0 0 10px;
  color:#fff;
  font-size:clamp(28px, 4vw, 48px);
  line-height:1.05;
  letter-spacing:0;
}

.dry-records-game p{
  margin:0 auto 14px;
  max-width:42rem;
  color:#d8e1ea;
  font-size:16px;
  line-height:1.45;
}

.dry-records-game .dryGameHint,
.dry-records-game .dryGameStatus{
  color:var(--dry-game-muted);
  font-size:13px;
}

.dry-records-game .dryGameStatus{
  min-height:18px;
  margin-bottom:0;
}

.dry-records-game .dryGameButton{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin:8px 0 14px;
  padding:11px 20px;
  border:1px solid rgba(52,211,153,.50);
  border-radius:8px;
  color:#052014;
  background:linear-gradient(180deg, #86efac, #34d399);
  box-shadow:0 12px 28px rgba(52,211,153,.18);
  cursor:pointer;
  font:800 15px/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dry-records-game .dryGameModeChoices{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  width:min(390px, 100%);
  margin:12px auto 12px;
}

.dry-records-game .dryGameModeChoices .dryGameButton{
  width:100%;
  margin:0;
}

.dry-records-game .dryGameModeChoicesCompact{
  margin-top:10px;
  margin-bottom:0;
}

.dry-records-game .dryGameModeChoicesCompact .dryGameButton{
  min-height:42px;
  padding:10px 14px;
  font-size:14px;
}

.dry-records-game .dryGameButtonAlt{
  color:#dffcf0;
  border-color:rgba(96,165,250,.48);
  background:linear-gradient(180deg, #143329, #07140f);
  box-shadow:0 12px 28px rgba(96,165,250,.16), inset 0 1px 0 rgba(255,255,255,.10);
}

.dry-records-game .dryGameModeHint{
  max-width:34rem;
  margin-bottom:12px;
  color:#b8c6d4;
  font-size:13px;
}

.dry-records-game .dryGameButton:hover{
  filter:brightness(1.04);
}

.dry-records-game .dryGameButton:active{
  transform:translateY(1px);
}

@media (max-width:700px){
  .dry-records-game{
    height:min(var(--dry-records-game-height, 640px), 82svh);
    min-height:480px;
    border-radius:0;
    border-left:none;
    border-right:none;
  }

  .dry-records-game .dryGameHud{
    top:10px;
    left:10px;
    right:10px;
    gap:6px;
    flex-wrap:wrap;
  }

  .dry-records-game .dryGameHudItem{
    min-width:0;
    flex:1 1 calc(50% - 6px);
    padding:8px 9px;
  }

  .dry-records-game .dryGameHudItem strong{
    font-size:17px;
  }

  .dry-records-game .dryGamePanel{
    padding:22px 18px;
  }

  .dry-records-game p{
    font-size:15px;
  }

  .dry-records-game .dryGameModeChoices{
    grid-template-columns:1fr;
    gap:8px;
  }
}
