* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-image: linear-gradient(90deg, #0A0A0A 1px, transparent 1px), linear-gradient(180deg, #0A0A0A 1px, #0F0F0F 1px);
  background-size: 20% 20%;
  background-attachment: fixed;
  width: 100%;
  overflow-x: hidden;
}

body p, body h1, body h2, body h3, body a, body span, body li, body label, body button, body input, body summary, body strong {
  font-family: "Helvetica";
  color: #FBFBFB;
}

body hr {
  width: 100%;
  border: none;
  border-top: 1px solid #FBFBFB;
}

body #title {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 55vh;
  padding: 1.2rem;
}

body #title #full {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body #title #full h1 {
  font-weight: 300;
  font-size: clamp(3rem, 11vw, 170px);
  text-transform: uppercase;
  line-height: .9;
}

body #title .uc-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

#uc-app {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.2rem 2rem;
  min-height: 60vh;
}

.uc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.uc-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.uc-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid #FBFBFB;
}

.uc-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -.03em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: .5rem;
}

.uc-num,
.uc-label,
.uc-round-label {
  font-size: .75rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #858585;
}

.uc-note {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 300;
  color: #A6A6A6;
  line-height: 1.6;
}

.uc-note strong {
  color: #FBFBFB;
  font-weight: 500;
}

.uc-flash {
  margin-bottom: 1.2rem;
  padding: .7rem 1.2rem;
  border: 1px solid #ff6b6b;
  border-radius: 999px;
  width: fit-content;
  font-size: .9rem;
  font-weight: 300;
  color: #ffb0b0;
}

.uc-input {
  width: 100%;
  padding: .6rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #2C2C2C;
  border-radius: 0;
  font-size: 1.2rem;
  font-weight: 300;
  color: #FBFBFB;
  outline: none;
  transition: border-color .3s;
}

.uc-input::placeholder {
  color: #555;
}

.uc-input:focus {
  border-color: #FBFBFB;
}

.uc-input--code {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
}

.uc-btn {
  align-self: flex-start;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  border: 1px solid #FBFBFB;
  background: transparent;
  font-size: .85rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #FBFBFB;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}

.uc-btn:hover:not(:disabled) {
  background-color: #FBFBFB;
  color: #0F0F0F;
}

.uc-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.uc-btn--fill {
  background-color: #FBFBFB;
  color: #0F0F0F;
}

.uc-btn--fill:hover:not(:disabled) {
  background-color: #A6A6A6;
  border-color: #A6A6A6;
}

.uc-btn--big {
  align-self: stretch;
  padding: 1.2rem 2rem;
  font-size: 1rem;
}

.uc-btn--ghost {
  border-color: #2C2C2C;
  color: #A6A6A6;
}

.uc-btn--vote {
  align-self: stretch;
  padding: 1.1rem 1rem;
  font-size: 1rem;
}

.uc-link {
  align-self: flex-start;
  background: none;
  border: 0;
  font-size: .8rem;
  font-weight: 300;
  color: #858585;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.uc-link:hover {
  color: #FBFBFB;
}

.uc-code-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.uc-code {
  display: flex;
  gap: .6rem;
}

.uc-code span {
  display: grid;
  place-items: center;
  width: clamp(3.5rem, 12vw, 6.5rem);
  aspect-ratio: 1 / 1.15;
  border: 1px solid #FBFBFB;
  border-radius: 1rem;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 500;
  color: #FBFBFB;
}

.uc-players {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.uc-player {
  font-size: .9rem;
  padding: .35rem .9rem;
}

.uc-player.is-me {
  border-color: #FBFBFB;
}

.uc-player.is-out {
  color: #858585;
  text-decoration: line-through;
}

.uc-tag {
  font-size: .65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #858585;
  text-decoration: none;
}

.uc-check {
  color: #5BE37D;
}

.uc-wait {
  color: #858585;
}

.uc-off {
  color: #858585;
  font-size: .7rem;
}

.uc-x {
  margin-left: .2rem;
  background: none;
  border: 0;
  color: #858585;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.uc-x:hover {
  color: #FBFBFB;
}

.uc-steppers {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.uc-stepper {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.uc-stepper div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.uc-round {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid #FBFBFB;
  background: transparent;
  font-size: 1.2rem;
  color: #FBFBFB;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}

.uc-round:hover:not(:disabled) {
  background: #FBFBFB;
  color: #0F0F0F;
}

.uc-round:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.uc-count {
  min-width: 1.5ch;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
}

.uc-compo {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.pill--role {
  font-size: .9rem;
  padding: .4rem 1rem;
  border-color: #FBFBFB;
}

.uc-word {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
  width: 100%;
  padding: 2rem;
  border: 1px solid #2C2C2C;
  border-radius: 1.5rem;
  background: rgba(15, 15, 15, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: left;
  cursor: pointer;
  transition: border-color .3s;
}

.uc-word:hover, .uc-word.is-shown {
  border-color: #FBFBFB;
}

.uc-word.is-out {
  cursor: default;
}

.uc-word.is-out p {
  font-weight: 200;
  color: #A6A6A6;
}

.uc-word__value {
  font-size: clamp(2.4rem, 8vw, 6rem);
  font-weight: 500;
  text-transform: uppercase;
  line-height: .95;
  word-break: break-word;
}

.uc-hint {
  font-size: .9rem;
  font-weight: 300;
  color: #A6A6A6;
}

.uc-round-label {
  margin-bottom: -1rem;
}

.uc-big {
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  font-weight: 300;
  text-transform: uppercase;
  line-height: .95;
}

.uc-order {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.uc-order .pill {
  font-size: .85rem;
  padding: .35rem .9rem;
}

.uc-order .is-first {
  background: #FBFBFB;
  border-color: #FBFBFB;
  color: #0F0F0F;
}

.uc-vote {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .8rem;
}

.uc-votes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
}

.uc-votes li {
  font-size: .85rem;
  font-weight: 300;
  color: #A6A6A6;
}

.uc-votes li span {
  color: #858585;
}

.uc-words {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.uc-words div {
  padding-top: 1rem;
  border-top: 1px solid #FBFBFB;
}

.uc-words p {
  margin-top: .5rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
}

.uc-rules {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.2rem 3.5rem;
}

.uc-rules details {
  border-top: 1px solid #2C2C2C;
  padding-top: 1rem;
}

.uc-rules summary {
  font-size: .85rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  color: #A6A6A6;
}

.uc-rules ol {
  margin-top: 1rem;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.uc-rules li {
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 300;
  line-height: 1.6;
  color: #A6A6A6;
}

.uc-rules li strong {
  color: #FBFBFB;
  font-weight: 500;
}

@media (max-width: 700px) {
  body #title {
    height: 40vh;
  }
  #uc-app {
    padding: 2rem 1.2rem;
  }
  .uc-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  .uc-btn {
    align-self: stretch;
    text-align: center;
  }
  .uc-link {
    align-self: center;
  }
  .uc-word {
    padding: 1.2rem;
  }
  .uc-words {
    grid-template-columns: 1fr;
  }
}

html body #title.page-head .uc-kicker {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .4rem;
}

html body #title.page-head .uc-kicker .pill {
  color: #FBFBFB;
}

#uc-app.sec {
  padding-top: clamp(4.5rem, 9vw, 8rem);
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
}

.uc-rules.sec {
  max-width: none;
  margin: 0;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 4vw, 4rem);
}

.uc-rules.sec details {
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  html body #title.page-head .uc-kicker {
    justify-content: flex-end;
  }
  #uc-app.sec,
.uc-rules.sec {
    padding: 3.5rem 1.2rem;
  }
}
