/* Pescando regalos - the teacher's page, on top of carrera/style.css (the
   look every room game's teacher page shares): the class fishing on the
   projector, and the shelf of everything they caught. */
.nv-length-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-length-cards .race-mode-card { text-align: center; }

.nv-host-total { margin: 6px 0 14px; text-align: center; font-size: clamp(24px, 3vw, 36px); }

/* everyone with their fisher, their sack and how many they've caught */
.nv-host-class { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.nv-host-class li { position: relative; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: end; justify-content: center; gap: 2px 4px;
  padding: 10px 8px 8px; border-radius: 14px; background: #fff8ea; box-shadow: 0 3px 0 #0b142a22; }
.nv-host-fisher { width: 46px; height: 66px; }
.nv-host-sack { width: 38px; }
.nv-host-name { grid-column: 1 / -1; text-align: center; font: 700 14px var(--am-readable-font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-host-count { position: absolute; top: 6px; right: 8px; min-width: 30px; padding: 1px 8px; border-radius: 999px; background: #c33248; color: #fff; text-align: center; font-weight: normal; font-size: 18px; }
.nv-host-class li.is-catch .nv-host-sack { animation: nvHostPlop .45s steps(4); }
@keyframes nvHostPlop { 33% { scale: 1.2 .8; } 66% { scale: .92 1.08; } }
.race-roster .nv-host-fisher { width: 28px; height: 40px; }

/* the ending: the class's toys, side by side on a shelf */
.nv-host-shelf { list-style: none; margin: 4px 0 18px; padding: 0 10px 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px;
  background: linear-gradient(transparent calc(100% - 16px), #c49a63 calc(100% - 16px), #9c7343) ; }
.nv-host-shelf li { position: relative; width: 72px; height: 76px; display: flex; align-items: flex-end; justify-content: center; }
.nv-host-shelf img { width: 60px; height: 60px; object-fit: contain; }
.nv-host-shelf span { position: absolute; top: 0; right: 0; padding: 0 6px; border-radius: 999px; background: #c33248; color: #fff; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .nv-host-class li.is-catch .nv-host-sack { animation: none; } }
