/*
 * The welcome setup (setup.js): one Liquid Glass card over the Frosted Horizon (.hz-day / .hz-night from home.css),
 * dark ink by day, white at night. Over the lock (6), under the startup (7). No CSS variables, grid or backdrop-filter
 * (old TVs); only transform and opacity animate.
 */

#setup { z-index: 6; color: #1D1D1F; opacity: 0; visibility: hidden; }
.night #setup { color: #FFF; }

#setup .card {
  position: absolute;
  left: 300px;
  top: 120px;
  width: 1320px;
  height: 840px;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 40px 100px rgba(22, 33, 45, 0.22), inset 1.5px 1.5px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.night #setup .card { background: rgba(30, 35, 48, 0.62); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.42), inset 1.5px 1.5px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.frosted #setup .card { box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25); }
#setup .content { position: absolute; left: 0; top: 0; width: 1320px; height: 840px; text-align: center; }

#setup .dots { position: absolute; left: 0; right: 0; top: 40px; font-size: 0; }
#setup .dots .dot { display: inline-block; width: 10px; height: 10px; margin: 0 7px; border-radius: 5px; background: currentColor; opacity: 0.22; }
#setup .dots .dot.on { opacity: 0.85; }

/* Welcome: the wordmark, big, then the title and a line. */
#setup .mark { margin-top: 180px; font-size: 120px; line-height: 130px; letter-spacing: -0.03em; white-space: nowrap; }
#setup .mark .m { font-weight: 300; }
#setup .mark .t { font-weight: 700; }
#setup .title { margin-top: 90px; font-size: 52px; font-weight: 600; letter-spacing: -0.02em; line-height: 62px; }
#setup .mark + .title { margin-top: 24px; font-size: 44px; }
#setup .line { margin-top: 12px; font-size: 26px; font-weight: 400; line-height: 34px; opacity: 0.62; }
#setup .head { margin: 28px 0 12px; font-size: 19px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.55; }

/* Choices side by side: a picture of each (the sky by day and at night, the two glasses), its name under it. */
#setup .options { font-size: 0; white-space: nowrap; }
#setup .option {
  position: relative;
  display: inline-block;
  width: 232px;
  height: 168px;
  margin: 0 14px;
  border-radius: 26px;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  -webkit-transition: -webkit-transform 0.26s cubic-bezier(0.25, 1.1, 0.4, 1), background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition: transform 0.26s cubic-bezier(0.25, 1.1, 0.4, 1), background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.night #setup .option { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
#setup .option .swatch { position: absolute; left: 20px; top: 18px; width: 192px; height: 96px; border-radius: 16px; overflow: hidden; }
#setup .option .label { position: absolute; left: 0; right: 0; top: 124px; font-size: 24px; font-weight: 600; white-space: nowrap; }
#setup .option.picked { box-shadow: inset 0 0 0 3px #007AFF; }
#setup .option.focus, .night #setup .option.focus { background: #FFF; color: #1D1D1F; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22); -webkit-transform: scale(1.06); transform: scale(1.06); }
#setup .option.focus.picked { box-shadow: inset 0 0 0 3px #007AFF, 0 16px 34px rgba(0, 0, 0, 0.22); }
.swatch-day { background: -webkit-linear-gradient(top, #8EC5F0, #DCEBF7 70%, #F7E4CF); background: linear-gradient(#8EC5F0, #DCEBF7 70%, #F7E4CF); }
.swatch-night { background: -webkit-linear-gradient(top, #0B1220, #1C2638 70%, #3B3F6B); background: linear-gradient(#0B1220, #1C2638 70%, #3B3F6B); }
.swatch-auto { background: -webkit-linear-gradient(left, #A9D2F2 50%, #1C2638 50%); background: linear-gradient(90deg, #A9D2F2 50%, #1C2638 50%); }
.swatch-liquid {
  background: -webkit-linear-gradient(135deg, #7DD3FC, #A78BFA 50%, #FEF3C7);
  background: linear-gradient(135deg, #7DD3FC, #A78BFA 50%, #FEF3C7);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.9), inset -2px -2px 0 rgba(255, 255, 255, 0.35), inset 0 0 22px rgba(255, 255, 255, 0.6);
}
.swatch-frosted { background: -webkit-linear-gradient(top, #E6EAF0, #C9D1DC); background: linear-gradient(#E6EAF0, #C9D1DC); }

/* A list of choices (the Top Shelf): its name, a line about it, a check on the picked one. */
#setup .list { width: 1080px; margin: 40px auto 0; text-align: left; }
#setup .item {
  position: relative;
  height: 84px;
  margin-bottom: 10px;
  padding: 0 72px 0 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-transition: -webkit-transform 0.26s cubic-bezier(0.25, 1.1, 0.4, 1), background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition: transform 0.26s cubic-bezier(0.25, 1.1, 0.4, 1), background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.night #setup .item { background: rgba(255, 255, 255, 0.1); }
#setup .item .label { padding-top: 14px; font-size: 26px; font-weight: 600; white-space: nowrap; }
#setup .item .desc { margin-top: 2px; font-size: 19px; opacity: 0.62; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#setup .item .check { position: absolute; right: 26px; top: 28px; width: 28px; height: 28px; color: #007AFF; opacity: 0; }
#setup .item.picked .check { opacity: 1; }
#setup .item.focus, .night #setup .item.focus { background: #FFF; color: #1D1D1F; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2); -webkit-transform: scale(1.02); transform: scale(1.02); }

/* The profiles and the city (the last step). */
#setup .people { margin-top: 40px; font-size: 0; white-space: nowrap; }
#setup .who { display: inline-block; width: 150px; vertical-align: top; }
#setup .who .face { display: block; width: 104px; height: 104px; margin: 0 auto; border-radius: 23px; background-size: cover; background-position: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
#setup .who .name { display: block; margin-top: 12px; font-size: 22px; font-weight: 600; }
#setup .city { margin-top: 26px; font-size: 26px; font-weight: 600; }
#setup .city .sym { width: 30px; height: 30px; margin-right: 10px; vertical-align: -5px; }
#setup .people ~ .head { margin-top: 26px; }
#setup .people ~ .options .option { width: 150px; height: 84px; }
#setup .people ~ .options .option .label { top: 24px; font-size: 30px; }

/* The button that goes on: glass, white when focused. */
#setup .button {
  position: absolute;
  left: 50%;
  bottom: 56px;
  min-width: 300px;
  height: 76px;
  padding: 0 52px;
  border-radius: 38px;
  font-size: 28px;
  font-weight: 600;
  line-height: 76px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: -webkit-transform 0.26s cubic-bezier(0.25, 1.1, 0.4, 1), background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition: transform 0.26s cubic-bezier(0.25, 1.1, 0.4, 1), background-color 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.night #setup .button { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
#setup .button.focus, .night #setup .button.focus { background: #FFF; color: #1D1D1F; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25); -webkit-transform: translateX(-50%) scale(1.06); transform: translateX(-50%) scale(1.06); }
