@font-face {
  font-family: Jersey;
  src: url("/jersey10.ttf") format("truetype");
  font-display: swap;
}
body {
  font-family: Arial, sans-serif;
  background-color: #087b97;
  background-image:
    repeating-linear-gradient(
      135deg,
      #043b5633 0 3px,
      transparent 3px 11px,
      #72ae6540 11px 14px,
      transparent 14px 22px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0 22px,
      #022f4840 22px 24px,
      transparent 24px 44px
    );
  background-size: 36px 36px;
}
.shell {
  max-width: 1536px;
  margin: 18px auto;
  padding: 0 32px;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
}
.logo {
  font-family: Jersey;
  font-size: 89px;
  letter-spacing: -1px;
  color: #ffcf37;
  line-height: 0.9;
  -webkit-text-stroke: 2px #090f16;
  text-shadow:
    3px 0 #080e16,
    -3px 0 #080e16,
    0 3px #080e16,
    0 -3px #080e16,
    4px 6px #f46922,
    7px 8px #101a23;
  margin: 16px 0 34px;
}
.logo span {
  display: none;
}
aside {
  padding-top: 0;
}
.intro {
  margin-top: 46px;
  min-height: 134px;
  padding: 18px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #103e51;
  border-radius: 17px;
}
.intro strong {
  color: #ffd14b;
  font-size: 24px;
  line-height: 1.1;
}
.intro p {
  color: #d7f6ff;
  font-size: 18px;
  margin: 8px 0 0;
  line-height: 1.25;
}
aside nav {
  display: none;
}
.cream {
  border-radius: 13px;
  border: 2px solid #11191e;
  background: linear-gradient(115deg, #fff8dd, #fff3c9);
  box-shadow:
    inset 0 0 0 2px #fffaf0,
    0 2px 0 #17323c;
}
#side {
  margin-top: 20px;
  padding: 16px 24px;
}
#side h3 {
  font-family: Jersey;
  font-size: 25px;
  border: 0;
  margin: 0;
  padding: 0;
}
ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin-top: 20px;
}
li {
  counter-increment: step;
  position: relative;
  padding: 0 0 20px 82px;
  line-height: 1.15;
  font-size: 18px;
  min-height: 77px;
}
li:last-child {
  padding-bottom: 0;
}
li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  background: #ffd249;
  border: 2px solid #10171c;
  border-radius: 9px;
  width: 38px;
  height: 43px;
  text-align: center;
  font: 40px/0.98 Jersey;
  box-shadow: 2px 3px #ce8120;
}
#side li:nth-child(1)::after {
  content: "✚";
  position: absolute;
  left: 51px;
  top: 8px;
  font-size: 30px;
  color: #182736;
}
#side li:nth-child(2)::after {
  content: "↗";
  position: absolute;
  left: 52px;
  top: 4px;
  font-size: 32px;
  color: #182736;
}
#side li:nth-child(3)::after {
  content: "◉";
  position: absolute;
  left: 50px;
  top: 6px;
  font-size: 30px;
  color: #674bc1;
}
footer {
  font-size: 14px;
  margin-top: 24px;
  line-height: 1.8;
}
.topnote {
  height: 94px;
  margin: 0 0 17px;
  background: linear-gradient(#6497d8, #a5bfed);
  color: #082543;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 10px;
  box-shadow: inset 0 0 0 3px #94d5e7;
  font-family: Jersey;
  font-size: 30px;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}
.topnote span:last-child {
  margin: 0;
}
.topnote small {
  font-size: 16px;
  margin: 1px 0;
  letter-spacing: 2px;
}
.topnote::after,
.topnote::before {
  content: "";
  position: absolute;
  background: #c7dbf8;
  width: 105px;
  height: 9px;
  bottom: 13px;
  left: 24px;
  box-shadow:
    15px -8px #c7dbf8,
    30px -16px #c7dbf8;
  width: 75px;
}
.topnote::after {
  left: auto;
  right: 34px;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 7px;
  position: relative;
  top: 2px;
  padding-left: 120px;
}
.tabs a {
  display: block;
  color: #14100c;
  text-decoration: none;
  background: linear-gradient(#f1aa36, #d78720);
  border: 2px solid #11191e;
  border-radius: 12px 12px 0 0;
  min-width: 180px;
  font: 25px/1 Jersey;
  text-align: center;
  padding: 9px 22px 7px;
}
.tabs a:first-child {
  background: #ffca33;
}
.board {
  border: 2px solid #11191e;
  border-radius: 18px;
  padding: 20px 22px 19px;
  background: linear-gradient(115deg, #ffbd28, #f6a414);
  box-shadow:
    inset 0 0 0 3px #ffda69,
    0 3px 0 #123b48;
}
.scene {
  height: 243px;
  border-radius: 17px;
  border: 2px solid #11191e;
  box-shadow: 0 0 0 2px #fff4c9;
}
.scene img {
  object-fit: cover;
}
#app {
  padding: 16px 7px 0;
}
.hero h1 {
  font-family: Jersey;
  font-size: 58px;
  letter-spacing: 0.1px;
  line-height: 1;
  margin-bottom: 7px;
  font-weight: 400;
}
.hero p {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 20px;
}
.actions {
  gap: 38px;
  margin: 0 50px;
}
.actions > .primary {
  max-width: 340px;
}
.large {
  font-size: 28px;
  padding: 16px 28px;
}
.primary {
  background: linear-gradient(#12ad45, #0d9b47);
  box-shadow:
    inset 0 0 0 3px #65ce76,
    0 4px 0 #102b26;
}
.btn,
button {
  border-radius: 8px;
  border: 2px solid #11191e;
  box-shadow: 0 3px #11191e;
  padding: 9px 17px;
  font-size: 19px;
  font-weight: 800;
}
.primary.large {
  font-family: Arial;
  font-size: 29px;
}
.joinline {
  padding: 9px 26px 11px;
  max-width: 455px;
  background: #fff3d6;
  border-radius: 10px;
}
.joinline label {
  font-size: 20px;
  margin-bottom: 5px;
}
.joinline input {
  font-size: 16px;
  padding: 8px 12px;
  min-width: 0;
}
.joinline button {
  background: #10a747;
  color: #fff;
  min-height: 38px;
  padding: 3px 23px;
}
.cards {
  border: 0;
  margin-top: 15px;
  padding-top: 26px;
  gap: 20px;
  position: relative;
}
.cards::before {
  content: "OUR PARTY GAMES";
  position: absolute;
  top: 0;
  left: 4px;
  font: 24px/1 Jersey;
  letter-spacing: 1px;
  background: #ffb724;
  padding-right: 20px;
  z-index: 1;
}
.cards::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  right: 4px;
  border-top: 1px solid #4b3211;
}
.gamecard {
  padding: 8px 10px 11px;
}
.gameart {
  height: 108px;
  display: block;
  position: relative;
  overflow: hidden;
  border: 0;
  background: linear-gradient(130deg, #b7a0f2, #a37df0);
  border-radius: 11px;
}
.gameart.red {
  background: linear-gradient(130deg, #ff776e, #f85550);
}
.gameart.blueart {
  background: linear-gradient(130deg, #6fb8fa, #44a8ea);
}
.gameart > b {
  display: block;
  font-family: Jersey;
  font-size: 33px;
  color: #fff;
  -webkit-text-stroke: 1px #080e17;
  text-shadow:
    2px 2px #11131c,
    -2px -2px #11131c;
  line-height: 0.85;
  margin-top: 6px;
  font-weight: 400;
}
.bubbles,
.paperbits,
.words {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 13px 0;
}
.bubbles span {
  background: #fff9de;
  border: 2px solid #17202b;
  border-radius: 5px;
  padding: 0 12px;
  line-height: 1.1;
  font-size: 22px;
  color: #7360d4;
  transform: rotate(-9deg);
  box-shadow: 2px 4px #39246c;
}
.bubbles span:nth-child(2) {
  transform: rotate(2deg);
  font-size: 19px;
  padding: 6px;
}
.bubbles span:last-child {
  background: #7469e9;
  transform: rotate(9deg);
  color: #f9e9fc;
}
.paperbits {
  margin-top: 10px;
}
.paperbits span {
  background: #fff9de;
  border: 2px solid #17202b;
  border-radius: 5px;
  width: 43px;
  height: 40px;
  font-size: 28px;
  transform: rotate(-18deg);
}
.paperbits span:nth-child(2) {
  transform: rotate(0);
  background: #f7dba3;
}
.paperbits span:last-child {
  transform: rotate(15deg);
  color: #e4474a;
}
.words {
  gap: 3px;
  margin: 17px 3px 0;
}
.words span {
  font: bold 12px Arial;
  background: #fff9de;
  border: 2px solid #17202b;
  border-radius: 3px;
  padding: 5px 3px;
  transform: rotate(-12deg);
}
.words span:nth-child(even) {
  transform: rotate(12deg);
}
.gamecard h2 {
  display: none;
}
.gamecard p {
  font-size: 16px;
  font-weight: 700;
  margin: 7px 0 8px;
  line-height: 1.15;
}
.gamecard .btn {
  width: 80%;
  padding: 5px;
  font-size: 17px;
  min-height: 34px;
  background: #b9a0ef;
  box-shadow:
    inset 0 0 0 2px #ded1fc,
    0 2px #151a23;
}
.badge {
  background: #f0dcaa;
  font-size: 12px;
}
.bottomnote {
  display: none;
}
.inroom aside nav {
  display: grid;
}
.inroom .intro {
  display: none;
}
.inroom .tabs {
  display: none;
}
.inroom .logo {
  margin-bottom: 34px;
}
.inroom .board {
  margin-top: 0;
}
.inroom .scene {
  height: 188px;
}
.inroom .roomhead h1 {
  font: 65px/0.9 Jersey;
  color: #fff7db;
  -webkit-text-stroke: 1px #131519;
  text-shadow:
    3px 3px #121519,
    -2px -2px #121519;
  letter-spacing: 0;
}
.inroom .actions {
  margin: 20px 0 0;
  gap: 14px;
}
.inroom .actions > .primary {
  max-width: none;
}
.roomhead .eyebrow {
  font: 24px Jersey;
  letter-spacing: 0;
}
.question,
h2,
h3 {
  font-family: Jersey;
  font-weight: 400;
  letter-spacing: 0;
}
.question {
  font-size: 36px;
}
.prompt h2 {
  font-size: 35px;
}
.timer {
  font-family: Jersey;
  font-size: 29px;
}
.cream h2 {
  font-size: 30px;
}
.player b {
  font-size: 18px;
}
.avatars {
  grid-template-columns: repeat(3, 1fr);
}
.support li {
  padding-left: 62px;
}
.support h1 {
  font: 54px Jersey;
}
.support h2 {
  font: 30px Jersey;
}
@media (max-width: 1350px) {
  .shell {
    grid-template-columns: 280px minmax(0, 1fr);
    padding: 0 28px;
    gap: 25px;
  }
  .logo {
    font-size: 75px;
  }
  .scene {
    height: 210px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero p {
    font-size: 18px;
  }
  .actions {
    margin: 0 25px;
    gap: 25px;
  }
  .tabs {
    padding-left: 40px;
  }
  .tabs a {
    min-width: 160px;
    font-size: 23px;
  }
  .gameart > b {
    font-size: 29px;
  }
  li {
    font-size: 17px;
    padding-left: 72px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 235px minmax(0, 1fr);
    padding: 0 18px;
    gap: 20px;
  }
  .logo {
    font-size: 64px;
  }
  .scene {
    height: 180px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .tabs {
    padding: 0;
  }
  .tabs a {
    min-width: 130px;
    padding: 9px 12px;
  }
  .actions {
    margin: 0;
    gap: 15px;
  }
  .joinline {
    padding: 10px;
  }
  .joinline label {
    font-size: 17px;
  }
  .primary.large {
    font-size: 24px;
  }
  .cards {
    gap: 10px;
  }
  .gameart > b {
    font-size: 25px;
  }
  .gameart {
    height: 100px;
  }
  .gamecard p {
    font-size: 14px;
  }
  #side {
    padding: 16px;
  }
  li {
    padding-left: 52px;
  }
  #side li::after {
    display: none;
  }
  .intro strong {
    font-size: 20px;
  }
  .intro p {
    font-size: 16px;
  }
  .board {
    padding: 16px;
  }
  .topnote {
    font-size: 26px;
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
    margin: 15px auto;
    padding: 0 12px;
  }
  .logo {
    font-size: 60px;
    margin: 5px 0 20px;
  }
  .intro {
    display: none;
  }
  .topnote {
    height: 65px;
    font-size: 24px;
    margin-bottom: 12px;
  }
  .topnote small {
    font-size: 13px;
  }
  .topnote::before,
  .topnote::after {
    display: none;
  }
  .tabs {
    gap: 5px;
  }
  .tabs a {
    min-width: 0;
    flex: 1;
    font-size: 20px;
    padding: 9px 3px;
    border-radius: 8px 8px 0 0;
  }
  .board {
    padding: 12px 10px;
  }
  .scene {
    height: 125px;
    border-radius: 9px;
  }
  #app {
    padding: 17px 4px 0;
  }
  .hero h1 {
    font-size: 39px;
    line-height: 0.97;
  }
  .hero p {
    font-size: 16px;
    line-height: 1.25;
    margin-top: 9px;
  }
  .actions {
    margin: 0;
  }
  .actions > .primary {
    max-width: none;
  }
  .primary.large {
    font-size: 26px;
  }
  .joinline {
    max-width: none;
    width: 100%;
    padding: 12px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 30px;
    margin-top: 17px;
  }
  .gamecard {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px 12px;
  }
  .gameart {
    height: 103px;
    grid-row: span 2;
  }
  .gameart > b {
    font-size: 27px;
  }
  .gamecard p {
    font-size: 16px;
    text-align: center;
    align-self: center;
  }
  .gamecard .btn {
    width: 100%;
  }
  .gamecard .badge {
    justify-self: center;
  }
  .words {
    gap: 1px;
  }
  .words span {
    font-size: 9px;
    padding: 4px 2px;
  }
  .bubbles {
    gap: 5px;
  }
  .bubbles span {
    padding: 0 8px;
    font-size: 18px;
  }
  .paperbits {
    gap: 6px;
  }
  .paperbits span {
    width: 31px;
    font-size: 24px;
  }
  .inroom .scene {
    height: 110px;
  }
  .inroom .roomhead h1 {
    font-size: 42px;
  }
  .roomhead .eyebrow {
    font-size: 20px;
  }
  .timer {
    font-size: 20px;
  }
  .question {
    font-size: 28px;
  }
  .prompt h2 {
    font-size: 31px;
  }
  .inroom aside nav {
    display: none;
  }
  .support h1 {
    font-size: 42px;
  }
  .support li {
    font-size: 16px;
  }
  .gameart.blueart b {
    font-size: 26px;
  }
}
