@font-face {
  font-family: Pixel;
  src: url("/jersey10.ttf");
}
* {
  box-sizing: border-box;
}
.audio-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #fff1cf;
  margin-bottom: 14px;
  font-size: 12px;
}
.audio-bar button {
  font-size: 12px;
  padding: 7px 10px;
  box-shadow: none;
}
.audio-bar label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 12px;
}
.audio-bar input {
  width: 95px;
  padding: 0;
  accent-color: #ffc66b;
}
.audio-bar small {
  color: #d0e2df;
  font-size: 11px;
}
button {
  transition:
    transform 0.12s,
    filter 0.12s;
}
button:active:not(:disabled) {
  transform: translateY(2px);
}
.heroart svg {
  animation: feast-arrival 0.6s ease-out;
}
.lot .foodart {
  animation: tray-bob 4s ease-in-out infinite;
}
.scene-open .bidbar {
  animation: feast-arrival 0.4s ease-out;
}
.scene-bid .bidbar strong {
  display: inline-block;
  animation: coin-pop 0.35s ease-out;
}
.scene-sold .lot h3 {
  animation: coin-pop 0.4s ease-out;
}
.scene-reveal .lot .foodart {
  animation: plate-reveal 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.scene-reveal .lot h2,
.scene-win h2 {
  animation: feast-arrival 0.5s ease-out;
}
.scene-win .panel {
  position: relative;
  overflow: hidden;
}
.scene-win .panel::after {
  content: "✦  ✧  ✦  ✧  ✦";
  position: absolute;
  top: 0;
  left: 10%;
  color: #fff4be;
  font-size: 45px;
  letter-spacing: 30px;
  pointer-events: none;
  animation: feast-confetti 1.6s ease-out forwards;
}
@keyframes tray-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes coin-pop {
  0% {
    transform: scale(0.92);
  }
  45% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes plate-reveal {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.65) rotate(-8deg);
  }
  65% {
    opacity: 1;
    transform: translateY(-8px) scale(1.07) rotate(3deg);
  }
  100% {
    transform: none;
  }
}
@keyframes feast-arrival {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes feast-confetti {
  from {
    opacity: 1;
    transform: translateY(-50px) rotate(-8deg);
  }
  to {
    opacity: 0;
    transform: translateY(300px) rotate(12deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  color: #222b30;
  background-color: #174f64;
  background-image:
    linear-gradient(
      45deg,
      #143e5080 25%,
      transparent 25%,
      transparent 75%,
      #143e5080 75%
    ),
    linear-gradient(
      45deg,
      #143e5080 25%,
      transparent 25%,
      transparent 75%,
      #143e5080 75%
    );
  background-position:
    0 0,
    9px 9px;
  background-size: 18px 18px;
  font:
    16px/1.5 "Trebuchet MS",
    Arial,
    sans-serif;
}
.shell {
  max-width: 1340px;
  margin: 32px auto;
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 28px;
  padding: 0 24px;
}
a {
  color: inherit;
}
aside {
  color: #fff0c5;
}
.brand {
  display: block;
  font-family: Pixel, monospace;
  font-size: 60px;
  line-height: 0.9;
  text-decoration: none;
  color: #ffe8a2;
  text-shadow: 3px 3px #162e40;
}
.brand span {
  color: #f8ab4b;
}
.brand small {
  display: block;
  font: 10px/3 Arial;
  letter-spacing: 2px;
}
.sidebox {
  padding: 20px;
  margin-top: 22px;
  border: 2px solid #102f43;
  border-radius: 6px;
  background: #246579;
  box-shadow: 4px 4px #102f43;
}
.sidebox p {
  font-size: 14px;
}
nav {
  display: grid;
  margin: 24px 0;
  gap: 6px;
}
nav a {
  text-decoration: none;
  padding: 12px;
  background: #133e53;
  border-radius: 4px;
}
footer {
  font-size: 12px;
  margin-top: 24px;
  color: #c5dee2;
}
.cream {
  background: #fff1cf;
  color: #29363b;
}
h1,
h2,
h3,
.pixel {
  font-family: Pixel, monospace;
  font-weight: 400;
  line-height: 1.05;
}
h1 {
  font-size: 76px;
  margin: 12px 0;
  color: #203b42;
}
h2 {
  font-size: 42px;
  margin: 12px 0;
}
h3 {
  font-size: 25px;
  margin: 8px 0;
}
.topline {
  font-size: 11px;
  letter-spacing: 2px;
  color: #d6e7e5;
  margin: 8px 0 16px;
  display: flex;
  justify-content: space-between;
}
.panel {
  border: 3px solid #172e3c;
  border-radius: 9px;
  background: #efa84b;
  box-shadow: 6px 6px #102f4380;
  padding: 22px;
  margin-bottom: 20px;
}
.card {
  background: #fff4d8;
  border: 2px solid #293b42;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 3px 3px #b4772c;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 12px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: bold;
}
.tag {
  display: inline-block;
  background: #254b55;
  color: #fff2d1;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
  margin: 3px;
}
.lead {
  font-size: 18px;
  max-width: 450px;
}
.heroart {
  width: 100%;
  height: 270px;
  background: #286275;
  border: 3px solid #193d4c;
  box-shadow: inset 0 -30px #1c4a5c;
  border-radius: 7px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
button,
.button {
  font:
    700 15px "Trebuchet MS",
    sans-serif;
  border: 2px solid #273a40;
  border-radius: 5px;
  background: #fff2cc;
  padding: 12px 17px;
  box-shadow: 0 3px #273a40;
  cursor: pointer;
  color: #26363b;
}
button.primary {
  background: #245c67;
  color: #fff4d7;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:hover:not(:disabled) {
  filter: brightness(1.07);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #1a8fff;
  outline-offset: 3px;
}
input,
select {
  width: 100%;
  padding: 12px;
  border: 2px solid #4e5a55;
  border-radius: 4px;
  font: inherit;
  background: #fffaf0;
  color: #203a40;
}
label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin: 12px 0 6px;
}
small,
.muted {
  font-size: 13px;
  color: #526364;
}
.avatars {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.avatars button {
  padding: 3px;
  box-shadow: none;
}
.avatars button.selected {
  background: #91c8b8;
  border: 3px solid #163f49;
}
.avatar {
  width: 43px;
  height: 55px;
  image-rendering: pixelated;
}
.foodart {
  width: 200px;
  height: 150px;
  image-rendering: pixelated;
  display: block;
  margin: auto;
}
.lot {
  text-align: center;
}
.lot h2 {
  margin: 5px 0 10px;
}
.auction-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
}
.bidbar {
  background: #183f4d;
  color: #fff3d0;
  border: 2px solid #152e3a;
  border-radius: 5px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bidbar strong {
  font-family: Pixel, monospace;
  font-size: 38px;
}
.timer {
  font-family: Pixel, monospace;
  font-size: 38px;
  color: #ffe5a0;
}
.players {
  display: grid;
  gap: 8px;
}
.player {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #d3c6a5;
  padding: 8px 0;
}
.player .stats {
  margin-left: auto;
  text-align: right;
  font-size: 13px;
}
.power {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 9px;
  padding: 10px;
}
.power small {
  display: block;
  font-weight: normal;
}
.collection {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.plate {
  background: #fff5de;
  border: 1px solid #b5a583;
  padding: 9px;
  border-radius: 5px;
  max-width: 180px;
  font-size: 13px;
}
.plate svg {
  width: 80px;
  height: 60px;
}
#notice:not(:empty) {
  padding: 12px;
  background: #fff5d8;
  border: 2px solid #243e48;
  border-radius: 5px;
  margin-bottom: 14px;
}
.reaction {
  background: #ffd8aa;
  border: 3px solid #9a4721;
}
.rank {
  font-family: Pixel, monospace;
  font-size: 30px;
}
.ad-slot {
  display: none;
}
.doc {
  max-width: 730px;
}
.doc p {
  line-height: 1.7;
}
.hide {
  display: none;
}
.seat-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.seat-ribbon button {
  font-size: 12px;
  padding: 7px 9px;
  box-shadow: none;
}
@media (max-width: 850px) {
  .shell {
    grid-template-columns: 1fr;
    margin: 14px auto;
    padding: 0 12px;
  }
  aside {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  aside .sidebox,
  aside footer {
    display: none;
  }
  .brand {
    font-size: 35px;
  }
  .brand small {
    font-size: 8px;
  }
  nav {
    display: flex;
    margin: 0;
    gap: 8px;
  }
  nav a {
    padding: 7px;
    font-size: 12px;
  }
  .topline span {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  h1 {
    font-size: 57px;
  }
  .heroart {
    height: 220px;
  }
  .auction-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 14px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .lead {
    font-size: 16px;
  }
}
@media (max-width: 500px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .heroart {
    height: 140px;
    grid-row: 2;
  }
  .heroart svg {
    height: 130px;
  }
  h1 {
    font-size: 55px;
  }
  nav a:first-child {
    display: none;
  }
  .topline {
    font-size: 9px;
  }
  .foodart {
    height: 120px;
  }
  .row button {
    flex: 1;
  }
  .card {
    padding: 14px;
  }
}
