/* Compatibility layer for Android 5.x stock Browser and WebView (Chrome 37-era). */
html,
body {
  margin: 0;
  min-height: 100%;
  background: #050605;
  color: #faf7ef;
}

.legacy-kiosk-page,
.legacy-kiosk-page * {
  box-sizing: border-box;
}

.legacy-kiosk-page {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  padding: 12px 14px;
  background: #070806;
  background-image: -webkit-radial-gradient(50% -8%, ellipse, rgba(255, 222, 132, 0.42), rgba(214, 166, 58, 0.18) 38%, transparent 72%);
  background-image: radial-gradient(ellipse at 50% -8%, rgba(255, 222, 132, 0.42), rgba(214, 166, 58, 0.18) 38%, transparent 72%);
  box-shadow: inset 0 1px 0 rgba(255, 222, 132, 0.2);
  color: #faf7ef;
  font-family: Arial, sans-serif;
}

.legacy-kiosk-form {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  width: 100%;
  max-width: 672px;
  height: 100%;
  margin: 0 auto;
}

.legacy-kiosk-header {
  position: relative;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 64px;
  flex: 0 0 64px;
  height: 64px;
  text-align: center;
}

.legacy-kiosk-header img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.legacy-kiosk-header p {
  margin: 7px 0 0;
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: 21px;
}

.legacy-kiosk-ratings {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  min-height: 0;
  margin-top: 12px;
  padding: 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.1);
}

.legacy-rating-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0;
  flex: 1 1 0;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legacy-rating-row:last-child {
  border-bottom: 0;
}

.legacy-rating-row legend {
  display: block;
  float: left;
  width: 44%;
  margin: 0;
  padding: 0;
  color: #f4f1ea;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.legacy-stars {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  width: 180px;
}

.legacy-star-pair {
  display: block;
  width: 36px;
  height: 36px;
}

.legacy-star-pair input {
  position: absolute;
  left: -9999px;
}

.legacy-star-pair label {
  display: block;
  width: 36px;
  height: 36px;
  color: #81745a;
  font-family: Arial, sans-serif;
  font-size: 31px;
  line-height: 34px;
  text-align: center;
}

.legacy-star-pair input:checked + label {
  color: #ffd875;
  text-shadow: 0 0 7px rgba(255, 216, 117, 0.65);
}

.legacy-star-pair input:focus + label {
  outline: 2px solid #ffd875;
}

.legacy-recommendation legend {
  width: 51%;
}

.legacy-choices {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.legacy-choices input {
  position: absolute;
  left: -9999px;
}

.legacy-choices label {
  display: block;
  min-width: 56px;
  margin-left: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e1ddd5;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.legacy-choices input:checked + label {
  border-color: #d6a63a;
  background: #d6a63a;
  color: #050605;
  box-shadow: 0 0 14px rgba(255, 216, 117, 0.3);
}

.legacy-error {
  margin: 4px 0 0;
  color: #f4a49c;
  font-size: 11px;
  text-align: center;
}

.legacy-kiosk-footer {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  padding-top: 8px;
}

.legacy-kiosk-footer button {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid #d6a63a;
  border-radius: 0;
  background: #d6a63a;
  color: #050605;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.legacy-kiosk-footer p {
  margin: 5px 0 0;
  color: #8d8981;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}

.legacy-signature {
  display: block;
  margin-top: 4px;
  color: #aaa69e;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.legacy-signature span {
  color: #ffd875;
}

.legacy-thanks {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
}

.legacy-thanks-logo {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 128px;
  margin-bottom: 34px;
}

.legacy-thanks-logo img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.legacy-thanks-logo span {
  position: absolute;
  right: -4px;
  bottom: -16px;
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid #ffd875;
  border-radius: 50%;
  background: #080906;
  color: #ffd875;
  font-size: 28px;
  line-height: 42px;
}

.legacy-thanks h1 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.legacy-thanks > p {
  margin: 20px 0 0;
  color: #aaa69e;
  font-size: 14px;
}

.legacy-thanks-name {
  color: #ffffff;
  font-size: 21px;
  font-weight: 600;
}

.legacy-thanks-signature {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
}

@media (max-width: 350px) {
  .legacy-kiosk-page { padding-right: 10px; padding-left: 10px; }
  .legacy-stars { width: 160px; }
  .legacy-star-pair,
  .legacy-star-pair label { width: 32px; }
  .legacy-rating-row legend { font-size: 13px; }
}

@media (max-height: 680px) {
  .legacy-kiosk-page { padding-top: 8px; padding-bottom: 7px; }
  .legacy-kiosk-header { -webkit-flex-basis: 48px; flex-basis: 48px; height: 48px; }
  .legacy-kiosk-ratings { margin-top: 7px; }
  .legacy-star-pair,
  .legacy-star-pair label { height: 31px; line-height: 30px; }
  .legacy-kiosk-footer { padding-top: 6px; }
  .legacy-kiosk-footer button { min-height: 40px; }
  .legacy-kiosk-footer p { margin-top: 3px; }
  .legacy-privacy { display: none; }
  .legacy-signature { margin-top: 2px; }
}
