/* FISHMASH: pixel-faithful to a 2003 basement. Crimson, serif, bevels. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f3eee1;
  color: #1c1a16;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: center;
}

#masthead {
  background: #a51c30;
  color: #fff;
  padding: 14px 10px 12px;
  border-bottom: 4px double #7d1425;
}
#masthead h1 {
  margin: 0;
  font-size: 2.4rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}
#masthead .tagline {
  margin: 2px 0 0;
  font-style: italic;
  font-size: 0.85rem;
  color: #f2d7dc;
}

#stage {
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 14px 30px;
}

.epigraph {
  font-size: 1.35rem;
  font-style: italic;
  margin: 34px 0 12px;
  line-height: 1.5;
}
.fineprint {
  font-size: 0.9rem;
  color: #4a453b;
  line-height: 1.6;
}
.legal {
  font-size: 0.75rem;
  color: #8a8271;
  margin-top: 18px;
}

.big-btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: #a51c30;
  color: #fff;
  border: 2px outset #c9455a;
  padding: 10px 26px;
  margin-top: 18px;
  cursor: pointer;
}
.big-btn:active { border-style: inset; }

.share-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}
.share-row .big-btn { margin-top: 12px; }
.quiet-btn {
  background: #fffdf6;
  color: #a51c30;
  border: 2px outset #d8cfba;
}

.round-count {
  margin: 4px 0 2px;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: #8a8271;
}
.instruction {
  margin: 2px 0 16px;
  font-size: 1.05rem;
  font-style: italic;
}

.arena {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.contender {
  margin: 0;
  width: 330px;
  max-width: 42vw;
  background: #fffdf6;
  border: 1px solid #b8ac91;
  padding: 8px 8px 10px;
  box-shadow: 2px 2px 0 #d8cfba;
  cursor: pointer;
}
.contender:hover { outline: 3px solid #a51c30; }
.contender img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 2px inset #c9c0aa;
  background: #ddd;
}
.fish-name {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 8px;
}
.fish-meta {
  display: block;
  font-size: 0.8rem;
  color: #4a453b;
  font-style: italic;
}
.vs {
  font-size: 1.5rem;
  font-weight: 700;
  color: #a51c30;
  flex-shrink: 0;
}

#overlay[hidden] { display: none; }
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 22, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10;
}
.verdict-box {
  background: #fffdf6;
  border: 3px double #a51c30;
  max-width: 460px;
  padding: 22px 26px 24px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}
.verdict-kicker {
  margin: 0 0 6px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: #a51c30;
  font-weight: 700;
}
.fb-name {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.15rem;
}
#fb-text { margin: 0 0 10px; line-height: 1.55; }
.fb-aside {
  margin: 0;
  font-size: 0.85rem;
  font-style: italic;
  color: #4a453b;
}

#end h2 {
  letter-spacing: 0.18em;
  margin: 26px 0 14px;
}
.ledger {
  background: #fffdf6;
  border: 1px solid #b8ac91;
  box-shadow: 2px 2px 0 #d8cfba;
  display: inline-block;
  padding: 14px 26px;
  margin-bottom: 14px;
  line-height: 1.7;
}
.verdict { font-style: italic; max-width: 480px; margin: 8px auto 0; }

footer {
  border-top: 1px solid #c9c0aa;
  padding: 14px 10px 26px;
  font-size: 0.75rem;
  color: #8a8271;
}
footer p { margin: 4px 0; }
.counter { font-family: 'Courier New', monospace; }

@media (max-width: 560px) {
  .arena { flex-direction: column; }
  .contender { max-width: 88vw; width: 330px; }
  .vs { margin: 2px 0; }
}
