.game {
  position: relative; z-index: 1;
  max-width: 460px; margin: 0 auto;
  min-height: 100dvh;
  padding: calc(env(safe-area-inset-top) + 14px) 16px calc(env(safe-area-inset-bottom) + 20px);
  display: flex; flex-direction: column; gap: 18px;
  user-select: none; -webkit-user-select: none;
}
.top { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; }
.brand img { border-radius: 10px; }
.round { font-size: 14px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.round b { color: var(--text); }

.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 18px 20px;
  display: grid; gap: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}
.picker { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.picker__arrow {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  color: #b8c6e6; transition: background .15s, transform .12s;
}
.picker__arrow:hover { background: rgba(255, 255, 255, .05); }
.picker__arrow:active { transform: scale(.92); }
.picker__arrow[disabled] { opacity: .25; cursor: default; }
.picker__value { text-align: center; display: grid; line-height: 1.1; }
.picker__value b { font-size: 34px; font-weight: 800; }
.picker__value span { font-size: 14px; color: var(--muted); }
.picker__value b.bump { animation: bump .25s ease; }
@keyframes bump { 50% { transform: scale(1.25); color: var(--red-1); } }

.dots { display: flex; justify-content: center; gap: 8px; margin-top: -4px; }
.dots button {
  min-width: 44px; height: 32px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.dots button[aria-pressed="true"] { color: #fff; border-color: rgba(255, 93, 108, .6); background: rgba(255, 93, 108, .14); }

.star-hint { margin: -4px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.star-hint b { color: var(--orange-1); }

.legend { display: flex; justify-content: center; gap: 18px; margin: 0; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend svg { width: 18px; height: 18px; }
