/* Keep every section readable before JavaScript loads or when it is disabled. */
body, body * { font-family: Nunito, sans-serif !important; }
.button { box-sizing: border-box; display: inline-grid; grid-template-columns: 18px 1fr 18px; align-items: center; gap: 0; width: 126px; min-width: 0; padding: 0 14px; }
.button::before { content: '↗'; grid-column: 1; visibility: hidden; font-size: 18px; }
.button > span { grid-column: 2; text-align: center; }
.button b { position: static; grid-column: 3; justify-self: end; }
.button--small { width: 104px; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 760px) { .js .reveal { opacity: 1; transform: none; transition: none; } }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Party Games wordmark: shared TV screen, with phones as controllers. */
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  letter-spacing: -1.45px;
  line-height: 1;
}
.brand-image { display: block; width: 168px; height: auto; }
.brand-mark {
  position: relative;
  display: block;
  width: 31px;
  height: 28px;
  filter: drop-shadow(0 0 8px rgba(225, 74, 221, .44));
}
.brand-screen {
  position: absolute;
  z-index: 1;
  left: 4px;
  top: 3px;
  width: 23px;
  height: 17px;
  border: 1.5px solid #ee72df;
  border-radius: 6px 6px 5px 5px;
  background:
    radial-gradient(circle at 33% 55%, #fff3fd 0 1.5px, transparent 2px),
    radial-gradient(circle at 50% 38%, #fff3fd 0 1.5px, transparent 2px),
    radial-gradient(circle at 67% 55%, #fff3fd 0 1.5px, transparent 2px),
    linear-gradient(140deg, #d53bc9, #624de9);
}
.brand-screen::after {
  content: '';
  position: absolute;
  left: 8px;
  bottom: -5px;
  width: 5px;
  height: 3px;
  border-bottom: 1.5px solid #ee72df;
  border-right: 1.5px solid #ee72df;
  border-left: 1.5px solid #ee72df;
  border-radius: 0 0 3px 3px;
}
.brand-phone {
  position: absolute;
  z-index: 2;
  bottom: 0;
  width: 6px;
  height: 11px;
  border: 1.5px solid #f6e8fa;
  border-radius: 2px;
  background: #18102f;
  box-shadow: inset 0 0 0 1px rgba(226, 84, 218, .38);
}
.brand-phone::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 1.5px; height: 1.5px; border-radius: 50%; background: #ef68dd; transform: translateX(-50%); }
.brand-phone--left { left: 0; transform: rotate(-12deg); }
.brand-phone--right { right: 0; transform: rotate(12deg); }
.brand-word { display: inline-flex; align-items: baseline; font-size: 23px; font-weight: 800; }
.brand-word b { color: #f05bd8; font-weight: 800; }
.brand-word em { margin-left: 4px; color: var(--ink); font-style: normal; font-weight: 800; }
.brand:hover .brand-mark { filter: drop-shadow(0 0 13px rgba(225, 74, 221, .8)); transform: translateY(-1px); }
footer .brand-image { width: 145px; }
@media (max-width: 760px) { .brand-image { width: 156px; } }
