/* Shared daily puzzle states for Classic, Deep Sea, and the embedded game. */
.water-stage .silhouette-error {
  position: absolute;
  z-index: 8;
  inset: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #082c39;
  color: #f1fafb;
  text-align: center;
}
.silhouette-error p { margin: 0; max-width: 34ch; font-size: .85rem; }
.water-stage .silhouette-error[hidden], .silhouette-frame img[hidden] { display: none; }
.media-unavailable .size-cue, .media-unavailable .feature-cue { visibility: hidden; }
.revealed-hints { margin: .7rem 1rem; padding: .8rem 1rem; border: 1px solid var(--line, #547984); border-radius: .8rem; }
.revealed-hints h2 { margin: 0 0 .4rem; font-size: .85rem; }
.revealed-hints ol { display: grid; gap: .35rem; margin: 0; padding-inline-start: 1.2rem; font-size: .85rem; line-height: 1.5; }
.search-feedback { min-height: 2.5em; margin: .5rem 0 0; color: var(--ink-soft, #b5d7de); font-size: .75rem; line-height: 1.4; }
.deep-sea-shell .search-feedback { color: #bbd5df; }
.guess-zone .suggestions { max-height: min(18rem, 40dvh); overflow-y: auto; overscroll-behavior: contain; }
.guess-zone .suggestions button { min-height: 44px; }
.guess-zone .button:disabled { opacity: .55; cursor: default; }
.guess-zone :focus-visible, .silhouette-error :focus-visible { outline: 3px solid #e8ba65; outline-offset: 3px; }
.deep-sea-shell .deep-sea-topbar { gap: .75rem; }
body:not(.discord-activity-body) .deep-sea-topbar {
  display: flex;
  justify-content: space-between;
  padding: .4rem .6rem;
  margin-bottom: .75rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body:not(.discord-activity-body) .deep-sea-identity { display: none; }
.deep-sea-shell .deep-sea-topbar-actions { display: flex; flex-wrap: wrap; align-items: center; }
.deep-sea-shell .deep-sea-topbar-actions::before { display: none; }
.deep-sea-shell .deep-sea-back > span:last-child {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}
.deep-sea-shell .water-stage { height: clamp(220px, 32svh, 340px); min-height: 0; }
.deep-sea-shell .deep-sea-tutorial { margin-bottom: .75rem; }
@media (max-width: 640px) {
  .deep-sea-shell .deep-sea-feedback-button, .deep-sea-shell .deep-sea-switch-form { display: none; }
  .deep-sea-shell .deep-sea-name small { font-size: .65rem; }
  .revealed-hints { margin-inline: .65rem; }
  .page-shell.deep-sea-game-shell { padding-top: .3rem; }
  .deep-sea-shell .water-stage { height: clamp(170px, 26svh, 240px); }
  .deep-sea-shell .deep-sea-back { width: auto; gap: .4rem; padding-inline: .6rem; }
  .deep-sea-shell .deep-sea-tutorial { padding: .65rem; }
  .deep-sea-shell .deep-sea-tutorial .eyebrow,
  .deep-sea-shell .deep-sea-tutorial p:last-child,
  .deep-sea-shell .deep-sea-tutorial .tutorial-example { display: none; }
  .deep-sea-shell .deep-sea-tutorial strong { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .silhouette-frame, .silhouette-frame img { animation: none !important; transition: none !important; }
}

.next-hint { margin: .5rem 1rem; font-size: .75rem; opacity: .85; }

.archive-filter { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.archive-filter select { min-height: 44px; padding: .5rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--white); color: var(--ink); font: inherit; }
