/* The frogs and enter pages, on top of site.css. */
.frogs-main {
  padding-bottom: 96px;
}
.frogs-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0 40px;
}
.frogs-hero h1 {
  margin: 0 0 14px;
  font-family: var(--hand);
  font-size: clamp(46px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -1.5px;
}
.frogs-hero .lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.map {
  display: block;
  width: 100%;
  aspect-ratio: 100 / 62;
}
.today {
  margin: 0;
}
.today figcaption {
  margin-top: 6px;
  text-align: center;
  font-size: 14px;
}
.note {
  color: var(--muted);
}

.adopt,
.rules {
  max-width: 640px;
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.adopt h2,
.frogs-list h2,
.rules h2 {
  margin: 0 0 18px;
  font-family: var(--hand);
  font-size: 34px;
  text-align: center;
}

/* numbered steps, each number in a hand-drawn-looking ring */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps > li {
  position: relative;
  padding: 0 0 26px 46px;
  counter-increment: step;
  font-size: 16px;
  line-height: 1.6;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--hand);
  font-size: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.steps .muted {
  color: var(--muted);
}
.action {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 20px;
  font-size: 16px;
  color: var(--paper);
  text-decoration: none;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
}
.action:hover {
  color: var(--paper);
  background: #45473d;
}
.action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.command {
  display: block;
  margin: 8px 0;
  padding: 10px 12px;
  font: 14px ui-monospace, Menlo, Consolas, monospace;
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow-wrap: anywhere;
}
.status {
  min-height: 1.6em;
  margin: 10px 0 0;
  font-size: 15px;
}
.closed {
  margin: 18px 0 0;
  font-family: var(--hand);
  font-size: 20px;
}
.closed a {
  color: var(--ink);
}
.waitlist {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  max-width: 420px;
}
.waitlist input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.waitlist .action {
  margin-top: 0;
  white-space: nowrap;
}

.rules ul {
  margin: 0;
  padding-left: 22px;
}
.rules li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.frogs-list {
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.frog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 34px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.frog-cards a {
  display: block;
  text-align: center;
  text-decoration: none;
}
.frog-cards canvas.face {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 4px;
  transform-origin: 50% 90%;
}
/* a little hop when you point at a frog */
.frog-cards a:hover canvas.face {
  animation: hop 0.55s cubic-bezier(0.3, 0.7, 0.4, 1);
}
@keyframes hop {
  0% { transform: translateY(0) scale(1, 1); }
  18% { transform: translateY(0) scale(1.08, 0.9); }
  50% { transform: translateY(-16px) scale(0.95, 1.06); }
  82% { transform: translateY(0) scale(1.06, 0.93); }
  100% { transform: translateY(0) scale(1, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .frog-cards a:hover canvas.face { animation: none; }
}
.frog-cards .meta,
.frog-cards .status,
.frog-cards .went {
  display: block;
}
.frog-cards .status {
  margin-top: 6px;
  font-size: 13px;
}
.frog-cards .status.here {
  color: var(--accent);
  font-weight: 600;
}
.frog-cards .status.here::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 6px 1px 0;
  border-radius: 50%;
  background: currentColor;
  animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe {
  50% { opacity: 0.35; }
}
.frog-cards .went {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
}
.frog-cards b {
  display: block;
  font-family: var(--hand);
  font-size: 24px;
}
.frog-cards span {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
}

/* ---- Ponds' own look, layered over the shared shapes above ---- */

.frogs-hero h1 {
  font-family: var(--display);
  font-weight: 560;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(44px, 6.4vw, 72px);
  letter-spacing: -1.6px;
}
.frogs-hero .lead {
  font-size: 18px;
}
.closed {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 18px;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  background: var(--accent-soft);
  border-radius: var(--round);
}
.adopt h2,
.frogs-list h2,
.rules h2 {
  font-family: var(--display);
  font-weight: 560;
  font-size: 36px;
  letter-spacing: -0.6px;
}
.adopt,
.rules {
  border-top: 0;
  background-image: var(--wave);
  background-repeat: repeat-x;
  background-size: 120px 14px;
}
.frogs-list {
  border-top: 0;
  background-image: var(--wave);
  background-repeat: repeat-x;
  background-size: 120px 14px;
}
.steps > li::before {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: var(--accent);
  border: 0;
}
.action {
  padding: 11px 22px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: var(--round);
  box-shadow: 0 2px 0 var(--accent-deep);
}
.action:hover {
  color: #fff;
  background: var(--accent-deep);
}
.waitlist input {
  border-radius: var(--round);
  padding: 10px 16px;
  background: var(--card);
}
.command {
  border-radius: 12px;
  background: var(--card);
}
.rules ul {
  padding: 22px 26px 22px 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rules li::marker {
  color: var(--accent);
}
.frog-cards a {
  padding: 16px 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.15s, border-color 0.15s;
}
.frog-cards a:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}
.frog-cards b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
}

/* burn to enter */
.price {
  margin: 14px 0 0;
  font-family: var(--hand);
  font-size: 21px;
  color: var(--ink);
}
.wallets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.wallets .action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.wallets img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.wallet-line {
  margin: 10px 0 0;
  font-size: 15px;
}
.wallet-line code {
  font-size: 14px;
}
.wallet-line button {
  margin-left: 6px;
  padding: 0;
  font: inherit;
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}
.action.quiet {
  color: var(--ink);
  background: transparent;
}
.action.quiet:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}
.my-frogs h3 {
  margin: 8px 0 12px;
  font-family: var(--hand);
  font-size: 26px;
}
.my-frogs ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.my-frogs li {
  margin-bottom: 14px;
  padding: 14px 16px;
}
.my-frogs .frog-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.my-frogs .frog-head strong {
  font-family: var(--hand);
  font-size: 22px;
}
.my-frogs .muted {
  color: var(--muted);
  font-size: 14px;
}
.my-frogs .copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.my-frogs .copy-row .action {
  margin: 0;
  padding: 7px 14px;
  font-size: 14px;
}
.claim {
  margin-top: 10px;
  font-size: 15px;
}
.claim summary {
  cursor: pointer;
  color: var(--muted);
}

[hidden] {
  display: none !important;
}
