.full-game.hidden-search {
  --sequel-ink:#202d40;
  --sequel-scene:url("./hidden-art/workshop.webp");
  background:linear-gradient(#192231a3,#12192bef),var(--sequel-scene) center/cover;
  color:#fff1d3;
}
.hidden-search .full-game-header {
  background:linear-gradient(110deg,#202b3b,#452630);
}
.hidden-search .full-game-header h2 { flex:1; font-size:clamp(1rem,4.2vw,1.8rem); }
.hidden-search .full-game-header .hidden-sound { padding-inline:.45rem; font-size:.7rem; }
.hidden-sound[aria-pressed="false"] { opacity:.65; }
.hidden-ready-art {
  width:100%; max-height:clamp(8rem,32dvh,16rem); object-fit:cover;
  border:1px solid #d6b77d; border-radius:.65rem;
}
.hidden-play {
  width:min(60rem,calc(100% - 1rem)); margin:.55rem auto;
  display:grid; gap:.5rem; text-align:center;
}
.hidden-hud {
  min-width:0; display:grid; grid-template-columns:minmax(0,1fr) auto;
  align-items:center; gap:.18rem .45rem;
  border:1px solid #cead78; border-radius:.65rem;
  background:linear-gradient(110deg,#253548,#482935); padding:.36rem .55rem;
  text-align:left;
}
.hidden-hud :is(h3,.roster-badge) { margin:0; }
.hidden-hud h3 { grid-row:2; color:#ffe5a7; font:700 clamp(1rem,4vw,1.6rem)/1.1 Georgia,serif; }
.hidden-time { grid-row:1; grid-column:2; margin:0; font-variant-numeric:tabular-nums; font-size:1.2rem; color:#ffe2a1; }
.hidden-count { grid-row:2; grid-column:2; text-align:right; font-size:.78rem; }
.hidden-viewport {
  position:relative; overflow:auto; max-height:min(52dvh,33rem); border-radius:.7rem;
  border:2px solid #ddb37a; background:#211e2a;
  box-shadow:0 0 0 2px #251e2e,0 5px 18px #0c0e18;
  overscroll-behavior:contain; touch-action:pan-x pan-y;
}
.hidden-picture { position:relative; width:100%; }
.hidden-picture > img { display:block; width:100%; height:100%; pointer-events:none; object-fit:fill; }
.hidden-picture.hidden-zoomed { width:175%; cursor:grab; }
.hidden-search .hidden-object {
  position:absolute; width:7%; min-width:30px; aspect-ratio:1;
  height:auto; min-height:30px; translate:-50% -50%; transform:none;
  display:grid; place-items:center; margin:0; padding:0;
  border:0; border-radius:50%; background:none; box-shadow:none;
}
.hidden-search .hidden-object:is(:hover,:active,:focus) {
  background:none; transform:none; box-shadow:none;
}
.hidden-object img {
  display:block; width:86%; height:86%; object-fit:contain;
  transform:rotate(var(--tilt)); filter:drop-shadow(0 2px 2px #200b1ac7);
  pointer-events:none;
}
.hidden-search .hidden-object:focus-visible,.hidden-search .hidden-object.hidden-hint {
  outline:2px solid #ffe4a1; outline-offset:2px;
}
.hidden-object.hidden-hint { box-shadow:0 0 .8rem #ffe49ed2; }
.hidden-search .hidden-object.hidden-found { box-shadow:0 0 0 1.5px #ffe6ab,0 0 .5rem #ffb85ea6; }
.hidden-object.hidden-found::after {
  content:"✓"; position:absolute; top:-.3rem; right:-.28rem;
  display:grid; place-items:center; width:1rem; height:1rem;
  border-radius:50%; background:#27664c; color:#fff5d6; font-size:.64rem;
  animation:hidden-stamp .36s cubic-bezier(.2,1.4,.4,1) both;
}
@keyframes hidden-stamp { from { transform:scale(.3); opacity:0; } }
.hidden-checklist {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(4.1rem,24%),1fr));
  gap:.32rem; padding:.34rem; border:1px solid #c8a26e; border-radius:.65rem;
  background:#252535;
}
.hidden-target {
  display:grid; justify-items:center; align-content:start; gap:.13rem;
  padding:.15rem .14rem; border:1px solid #b9956359;
  border-radius:.35rem; background:#393144;
  font-size:.72rem; font-weight:680; line-height:1.13;
}
.hidden-target img { width:32px; height:32px; object-fit:contain; }
.hidden-target.hidden-checked { color:#c7ebbf; background:#263d36; }
.hidden-target.hidden-checked span::before { content:"✓ "; }
.hidden-status { margin:0; color:#fff0cc; font-size:.82rem; font-weight:730; min-height:1.35em; }
.hidden-tools { display:flex; flex-wrap:wrap; justify-content:center; gap:.38rem; }
.hidden-scores,.hidden-certificate {
  width:100%; box-sizing:border-box; padding:.65rem;
  border:1px solid #c6a771; border-radius:.6rem; background:#233343;
}
.hidden-scores h4,.hidden-scores p,.hidden-certificate h4 { margin:.14rem; }
.hidden-scores ol { margin:.36rem 0 0; padding-inline-start:1.55rem; }
.hidden-scores li { text-align:left; padding:.11rem .28rem; }
.hidden-scores li strong { float:right; color:#ffe4a6; }
.hidden-keepsakes { display:grid; gap:.48rem; width:100%; }
.hidden-certificate { background:linear-gradient(#fff2d3,#e0bf87); color:#5e3031; border:3px double #ab793d; }
.hidden-certificate strong { font:700 1.35rem Georgia,serif; }
.hidden-launch {
  width:100%; height:clamp(5rem,16dvh,8rem); overflow:hidden; border:1px solid #ca9e64;
  border-radius:.62rem; background:url("./packing-art/night.webp") center/cover;
}
.hidden-launch img { width:65%; height:100%; object-fit:contain; animation:hidden-takeoff 2.4s ease-in both; }
@keyframes hidden-takeoff { from { transform:translate(-45%,8%); } 45% { transform:translate(0,0) rotate(-6deg); } to { transform:translate(150%,-48%) rotate(-18deg); } }
@media (prefers-reduced-motion:reduce) { .hidden-launch img,.hidden-object.hidden-found::after { animation:none; } }

@media (max-width:600px) and (orientation:portrait) {
  .hidden-play:has(.hidden-expanded) {
    height:calc(100% - 1.1rem - env(safe-area-inset-bottom));
    grid-template-rows:auto minmax(11rem,1fr) auto auto auto;
    min-width:0;
  }
  .hidden-viewport.hidden-expanded {
    max-height:none;
    container-type:size;
  }
  .hidden-expanded .hidden-picture.hidden-zoomed {
    width:max(100%,calc(100cqh * var(--search-ratio)));
  }
  .hidden-checklist {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:.23rem;
  }
  .hidden-checklist:not(:has(.hidden-target:nth-child(6))) { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .hidden-target { padding:.13rem .1rem; }
  .hidden-target img { width:27px; height:27px; }
}
@media (max-width:380px) and (max-height:640px) and (orientation:portrait) {
  .hidden-play:has(.hidden-expanded) { gap:.35rem; }
  .hidden-checklist { padding:.24rem; gap:.17rem; }
  .hidden-target { gap:.07rem; padding:.09rem .06rem; font-size:.65rem; line-height:1.08; }
  .hidden-target img { width:22px; height:22px; }
  .hidden-viewport.hidden-expanded { scrollbar-width:thin; }
}
