:root {
  font-family: system-ui, sans-serif;
  color: #14353b;
  background: #f8f5ec;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 24px;
}
main {
  max-width: 1050px;
  margin: auto;
}
a {
  color: #126b62;
}
header {
  padding: 30px 0 12px;
}
h1 {
  font-size: clamp(32px, 6vw, 52px);
  margin: 10px 0;
}
h2 {
  margin-top: 0;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 800;
}
.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.game,
#hero {
  background: #fffdf7;
  border: 1px solid #dbe1d6;
  border-radius: 24px;
  padding: 24px;
  margin: 20px 0;
}
.game {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.game p {
  margin: 0;
  line-height: 1.5;
}
.game .actions {
  margin-top: auto;
}
.game-icon {
  width: 56px;
  height: 56px;
  background: #d9e6d2;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
}
button,
select {
  font: inherit;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #9fb9ad;
  border-radius: 14px;
  color: #14353b;
  background: #fffdf7;
  max-width: 100%;
  cursor: pointer;
}
button.primary {
  background: #ec7540;
  border-color: #ec7540;
  font-weight: 800;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #ec7540;
  outline-offset: 4px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.note,
small {
  color: #455d56;
  line-height: 1.6;
}
.progress {
  height: 10px;
  border-radius: 10px;
  background: #edf0e5;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: #d4ad43;
}
.picker {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
label {
  display: grid;
  gap: 8px;
}
dialog {
  max-width: min(440px, 94vw);
  border: 1px solid #9fb9ad;
  border-radius: 24px;
  padding: 24px;
  background: #fffdf7;
  color: #14353b;
}
dialog::backdrop {
  background: #14353b88;
}
#qr {
  text-align: center;
}
#qr svg {
  width: 240px;
  max-width: 100%;
  height: auto;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
#hero {
  display: flex;
  align-items: center;
  gap: 20px;
}
.portrait {
  width: 110px;
  flex: none;
}
.portrait svg,
.pip svg {
  display: block;
  width: 100%;
  height: auto;
}
.pip {
  width: 76px;
  margin-left: auto;
  flex: none;
}
@media (max-width: 450px) {
  body {
    padding: 16px;
  }
  #hero {
    padding: 16px;
    gap: 12px;
  }
  .portrait {
    width: 75px;
  }
  .pip {
    width: 44px;
  }
}


.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border-radius:14px;border:1px solid #9fb9ad;text-decoration:none;font-weight:700;color:#14353b;background:#fffdf7}.button.orange{background:#ef733e;border-color:#ef733e}nav.actions a{min-height:44px;display:inline-flex;align-items:center}#hero:empty{display:none}#signin[hidden]{display:none}#hero>div:nth-child(2){min-width:0;overflow-wrap:anywhere}@media(max-width:450px){#hero{flex-wrap:wrap}.pip{margin-left:0}}