:root {
  --ink: #2b1b4a;
  --pink: #ff5fa2;
  --yellow: #ffe14d;
  --green: #5fd38d;
  --paper: #fff8ec;
  /* The ball as the page draws it: its base color, then the colors on it.
     main.js sets these to the colors the player has chosen. */
  --ball-0: var(--pink);
  --ball-1: var(--yellow);
  --ball-2: var(--green);
  --ball-3: #6fb7ff;
  /* How far a phone's notch, rounded corners and home bar reach in from each
     edge. The 3D view runs under them; nothing to read or press does. */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  font-family: ui-rounded, 'Arial Rounded MT Bold', 'Avenir Next', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #1b1230;
  color: var(--ink);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Selection stays on where there is text to type or copy. */
input,
textarea,
#model-credits-list {
  -webkit-user-select: text;
  user-select: text;
}

#view {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

#view.looking {
  cursor: grabbing;
}

[hidden] {
  display: none !important;
}

/* --- HUD --- */
#hud {
  position: fixed;
  inset: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);
  pointer-events: none;
}

.hud-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
}

.pill {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 8px 16px;
  box-shadow: 0 4px 0 var(--ink);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  min-width: 120px;
  text-align: center;
}

.pill small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.7;
}

.pill.timer {
  background: var(--yellow);
  font-variant-numeric: tabular-nums;
}

.pill.timer.low {
  background: var(--pink);
  color: #fff;
}

.bar {
  height: 8px;
  margin-top: 6px;
  border-radius: 4px;
  background: rgba(43, 27, 74, 0.15);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--pink);
  border-radius: 4px;
  transition: width 0.3s;
}

#toast {
  position: absolute;
  left: 50%;
  top: 92px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s;
}

#toast.show {
  opacity: 1;
}

/* --- scale chart --- */
/* Under the size: a person, the ball and something about as tall, in a row
   (drawn by scale.js). */
#scale {
  display: block;
  width: 150px;
  height: 50px;
  margin: 8px auto 0;
  fill: var(--ink);
}

#scale .ground {
  stroke: var(--ink);
  stroke-width: 1.5;
  opacity: 0.25;
}

#scale-ball {
  fill: var(--ball-0);
}

#scale-ball .spot {
  fill: var(--ball-1);
}

#scale-ball .spot + .spot {
  fill: var(--ball-2);
}

#scale-ball .rim {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

/* Never wider than the chart, whatever it names. */
#scale-name {
  width: 0;
  min-width: 100%;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Where the size pill would reach across to it, the toast sits below. */
@media (max-width: 720px) {
  #toast {
    top: 178px;
  }
}

@media (max-width: 560px) {
  #scale {
    width: min(104px, 27vw);
    height: auto;
    margin-top: 6px;
  }
  #scale-name {
    font-size: 10px;
  }
  #toast {
    top: 146px;
  }
}

/* A phone on its side has no height to spare: the chart goes beside the size. */
@media (max-height: 560px) and (min-width: 561px) {
  .pill.size {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 14px;
  }
  .pill.size > * {
    grid-column: 1;
  }
  #scale {
    grid-area: 1 / 2 / span 2;
    width: 132px;
    height: 44px;
    margin: 0;
  }
  #scale-name {
    grid-area: 3 / 2;
    margin: 0;
  }
  #toast {
    top: 112px;
  }
}

.hud-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* --- overlays --- */
.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: 100%; /* so a card's 100% is the screen, not its widest row */
  place-items: center;
  padding: max(16px, var(--safe-top)) max(16px, var(--safe-right)) max(16px, var(--safe-bottom)) max(16px, var(--safe-left));
  overflow-y: auto;
  background: radial-gradient(circle at 30% 20%, rgba(255, 95, 162, 0.55), rgba(27, 18, 48, 0.85));
}

.card {
  width: min(520px, 100%);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 8px 0 var(--ink);
  padding: 28px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -1px;
}

h1 span {
  color: var(--pink);
}

h2 {
  margin: 0 0 4px;
  font-size: 30px;
}

.lede {
  margin: 10px 0 20px;
  font-weight: 600;
}

form {
  display: flex;
  gap: 8px;
}

input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}

button {
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  padding: 12px 20px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
}

button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink);
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

button.ghost {
  background: #fff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.chips button {
  font-size: 13px;
  padding: 6px 12px;
  border-width: 2px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 2px 0 var(--ink);
}

.status {
  min-height: 1.3em;
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.status.error {
  color: #c2185b;
}

.keys {
  margin: 12px 0 0;
  font-size: 13px;
  opacity: 0.8;
}

kbd {
  display: inline-block;
  min-width: 22px;
  margin: 0 1px;
  padding: 2px 6px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.big {
  margin: 4px 0 12px;
  font-size: 54px;
  font-weight: 800;
  color: var(--pink);
}

#end-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

#end-list li {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43, 27, 74, 0.1);
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* --- mute --- */
#mute {
  position: fixed;
  right: 16px;
  bottom: 40px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  background: var(--paper);
}

#mute .off,
#mute.muted .on {
  display: none;
}

#mute.muted .off {
  display: inline;
}

#mute.muted {
  background: var(--pink);
  color: #fff;
}

@media (max-width: 560px) {
  .pill {
    font-size: 18px;
    min-width: 84px;
    padding: 6px 10px;
  }
  h1 {
    font-size: 36px;
  }
  form {
    flex-direction: column;
  }
}

.credits {
  margin-top: 12px;
  font-size: 12px;
  text-align: left;
}

.credits summary {
  cursor: pointer;
  text-align: center;
  font-weight: 700;
}

.credits pre {
  max-height: 120px;
  margin: 8px 0 0;
  overflow: auto;
  white-space: pre-wrap;
  font: inherit;
  font-size: 11px;
}

/* The buttons along the bottom move in from the edges with the rest of the HUD. */
#mute,
#zoom-control,
#hud-rate {
  translate: calc(0px - var(--safe-right)) calc(0px - var(--safe-bottom));
}

#tiles-retry {
  translate: 0 calc(0px - var(--safe-bottom));
}

/* --- zoom --- */
#zoom-control {
  position: fixed;
  right: 74px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 4px 0 var(--ink);
  font-weight: 800;
  font-size: 18px;
}

#zoom {
  flex: none;
  width: 110px;
  padding: 0;
  border: 0;
  background: none;
  accent-color: var(--pink);
}

#locate {
  background: var(--green);
}

/* --- minimap --- */
#minimap {
  position: absolute;
  left: 16px;
  bottom: 40px;
  width: 180px;
  height: 180px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--ink);
  background: #e8e4d8;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

#minimap.dragging {
  cursor: grabbing;
}

@media (max-width: 560px) {
  #minimap {
    width: 120px;
    height: 120px;
  }
}

/* --- famous places & high scores --- */
#presets {
  max-height: 190px;
  overflow-y: auto;
  padding: 2px 2px 6px;
}

.chips button small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.8;
}

.record {
  margin: 0 0 6px;
  font-weight: 800;
}

.scores {
  margin: 0 0 18px;
  padding: 0;
  list-style-position: inside;
  font-size: 13px;
  font-weight: 600;
}

.scores li.mine {
  color: #c2185b;
  font-weight: 800;
}

#other-scores-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-weight: 600;
}

/* --- loading screen --- */
.bar.big {
  height: 14px;
  margin: 16px 0 4px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.bar.big i {
  border-radius: 0;
}

.tip {
  min-height: 2.6em;
  margin: 14px 0 0;
  font-size: 13px;
  opacity: 0.75;
}

.roller {
  height: 64px;
  margin-bottom: 10px;
  overflow: hidden;
}

.roller span {
  display: block;
  width: 56px;
  height: 56px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--ball-1) 0 14%, transparent 15%),
    radial-gradient(circle at 70% 60%, var(--ball-2) 0 16%, transparent 17%),
    radial-gradient(circle at 35% 75%, var(--ball-3) 0 12%, transparent 13%), var(--ball-0);
  animation: roll 2.4s linear infinite;
}

@keyframes roll {
  from {
    transform: translateX(-60px) rotate(0deg);
  }
  to {
    transform: translateX(480px) rotate(720deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .roller span {
    animation: none;
    margin: 0 auto;
  }
}

/* --- touch stick --- */
/* Appears under the finger; the knob follows it. */
#stick {
  position: fixed;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border: 3px solid rgba(255, 248, 236, 0.8);
  border-radius: 50%;
  background: rgba(43, 27, 74, 0.25);
  pointer-events: none;
}

#stick i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 3px 0 var(--ink);
}

.touch-keys {
  display: none;
}

@media (pointer: coarse) {
  .keys:not(.touch-keys) {
    display: none;
  }
  .touch-keys {
    display: block;
  }
}

/* --- rating places --- */
#hud-rate {
  position: fixed;
  right: 16px;
  bottom: 98px;
  display: flex;
  gap: 8px;
}

#hud-rate button {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  background: var(--paper);
  font-size: 18px;
}

.rate button.chosen,
.steer button.chosen,
.ball-picker .chips button.chosen {
  background: var(--yellow);
}

/* Stick or tilt, side by side under their label. */
.steer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}

.steer span,
.ball-picker > span {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.steer small {
  display: block;
  font-size: 11px;
}

.end-rate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
}

.end-rate button {
  font-size: 13px;
  padding: 6px 12px;
  background: #fff;
}

.end-rate input {
  flex: 1 1 100%;
  font-size: 13px;
  padding: 8px 10px;
}

.chips button.bad {
  opacity: 0.55;
}

/* --- pause menu --- */
.menu {
  display: grid;
  gap: 10px;
  margin: 16px 0 4px;
}

/* --- Google 3D didn't load --- */
#tiles-retry {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 14px;
  white-space: nowrap;
}

/* A phone's bottom row is full (map, zoom, mute): sit above its buttons. */
@media (max-width: 560px) {
  #tiles-retry {
    bottom: 160px;
  }
}

#tiles-retry .icon {
  margin-right: 4px;
}

body:not(.playing) #tiles-retry {
  display: none;
}

/* --- replays --- */
#hud-rate #replay-speed,
#hud-rate #save-video {
  width: auto;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 14px;
}

#hud-rate #save-video {
  background: var(--paper);
}

#hud-rate #save-video .icon {
  margin-right: 4px;
}

#hud-rate #save-video.filming {
  background: var(--pink);
  color: #fff;
}

#recent-runs-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-weight: 600;
}

.scores a,
#recent-runs-list a {
  color: #c2185b;
  text-decoration: none;
  font-weight: 800;
}

/* --- replay timeline --- */
/* Runs the full width of the bottom; the minimap and buttons sit above it. */
#timeline {
  position: fixed;
  left: calc(16px + var(--safe-left));
  right: calc(16px + var(--safe-right));
  bottom: calc(52px + var(--safe-bottom));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 14px 10px 10px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 4px 0 var(--ink);
  font-weight: 800;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#tl-biggest {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}

/* The size curve is the scrubber: drag anywhere on it. */
#tl-chart {
  grid-column: 1 / -1;
  width: 100%;
  height: 64px;
  cursor: ew-resize;
  touch-action: none;
}

#tl-play {
  width: 34px;
  height: 34px;
  padding: 0;
  border-width: 2px;
  border-radius: 50%;
  box-shadow: none;
  font-size: 14px;
}

.replaying #minimap {
  bottom: 196px;
}

.replaying #zoom-control {
  bottom: 200px;
}

.replaying #mute {
  bottom: 196px;
}

.replaying #hud-rate {
  bottom: 254px;
}

/* --- icons --- */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button .icon {
  margin-right: 2px;
}

#hud-rate button .icon,
#tl-play .icon {
  margin: 0;
}

/* --- headings inside cards --- */
.card-title {
  margin: -28px -28px 18px;
  padding: 16px 20px;
  border-bottom: 4px solid var(--ink);
  border-radius: 24px 24px 0 0;
  background: var(--yellow);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.section-title::before,
.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  border-radius: 1px;
  background: rgba(43, 27, 74, 0.15);
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}

.plain-list li {
  padding: 3px 0;
}

.plain-list a {
  color: inherit;
  text-decoration: none;
}

.plain-list a:hover {
  color: #c2185b;
}

.plain-list .icon {
  margin-right: 6px;
  color: #c2185b;
}

#end-record:empty,
#end-list:empty {
  display: none;
}

/* --- title screen --- */
/* The 3D backdrop shows through on the right; the left is darkened for text. */
.title-screen {
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: center;
  gap: 32px;
  padding: max(32px, var(--safe-top)) max(clamp(16px, 5vw, 72px), var(--safe-right)) max(32px, var(--safe-bottom))
    max(clamp(16px, 5vw, 72px), var(--safe-left));
  overflow-y: auto;
  background: linear-gradient(100deg, rgba(27, 18, 48, 0.88) 0%, rgba(27, 18, 48, 0.6) 45%, rgba(27, 18, 48, 0.2) 100%);
}

.title-hero {
  max-width: 560px;
  color: #fff;
}

.logo-mark {
  display: block;
  width: 96px;
  height: 96px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.35));
}

.title-hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  letter-spacing: -2px;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.35);
}

.title-hero .lede {
  margin: 12px 0 24px;
  font-size: clamp(16px, 2vw, 21px);
}

.title-hero form {
  margin-bottom: 12px;
}

.title-hero #go {
  padding-inline: 28px;
  font-size: 18px;
}

.title-hero .status {
  min-height: 2.6em;
  margin: 14px 0 0;
  opacity: 0.9;
}

.title-hero .status.error {
  color: #ffb3cf;
}

.title-hero .keys {
  opacity: 0.85;
}

.title-hero kbd {
  color: var(--ink);
}

.title-panel {
  width: 100%;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 8px 22px 22px;
}

.title-panel #presets {
  max-height: none;
  margin-top: 0;
}

.chips button .icon {
  width: 1em;
  height: 1em;
}

.chips button small .icon {
  margin-right: 3px;
}

@media (max-width: 900px) {
  .title-screen {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    background: rgba(27, 18, 48, 0.6);
  }

  .title-hero {
    margin: 0 auto;
    text-align: center;
  }

  .logo-mark {
    margin-inline: auto;
  }

  .title-panel {
    max-height: none;
    margin: 0 auto;
  }
}

/* --- size ladder on the loading screen --- */
/* One rung per ball size; the ball drawn on the left grows down the list. */
.ladder {
  max-height: 300px;
  padding: 2px;
  overflow-y: auto;
  text-align: left;
}

.rung {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 2px dashed rgba(43, 27, 74, 0.18);
}

.rung:first-child {
  border-top: 0;
}

.rung-ball {
  display: grid;
  justify-items: center;
  font-size: 13px;
  line-height: 1.15;
}

.rung-ball i {
  display: block;
  margin-bottom: 3px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
}

.rung-ball i,
.swatches button {
  background: radial-gradient(circle at 32% 30%, var(--ball-1) 0 16%, transparent 17%),
    radial-gradient(circle at 68% 62%, var(--ball-2) 0 18%, transparent 19%), var(--ball-0);
}

.rung-ball small {
  font-size: 9px;
  font-weight: 700;
  opacity: 0.7;
}

.rung-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rung-items li {
  width: 62px;
  padding: 3px 2px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.rung.now .rung-items li {
  background: #e3f7ea;
}

.rung-items img,
.rung-items .icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 1px;
}

.rung-items b {
  display: block;
  font-size: 9px;
  color: #c2185b;
}

/* In-game controls stay out of the way until a round is running. */
body:not(.playing) #zoom-control,
body:not(.playing) #mute {
  display: none;
}

/* --- choosing the ball --- */
/* A row of choices under a label for each thing about it that can change. */
.ball-picker {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.ball-picker > span {
  margin-top: 8px;
}

#ball-toggle[aria-expanded='true'] {
  background: var(--yellow);
}

.ball-picker .chips {
  margin-top: 0;
}

.ball-picker .chips button {
  background: #fff;
}

/* Sets of colors: a dot of each, ringed when it is the one chosen. */
.swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.swatches button {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 2px 0 var(--ink);
}

.swatches button.chosen {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* Skins and knobs: a picture of the ball wearing each, over its name. */
.ball-picker .pictures button {
  padding: 4px 8px 5px;
  border-radius: 14px;
  font-size: 11px;
}

.ball-picker .pictures img {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 1px;
}

.skin-hint {
  max-width: 44ch;
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
}

.ball-picker .skin-note {
  margin: 0;
}

.skin-note:empty {
  display: none;
}
