/* yyyygo.com product wells only. Product artwork colors stay as drawn. */
.relative.flex.items-center.justify-center.overflow-hidden.bg-white {
  background-color: #3a3530 !important;
}
div[style*="#f7f7f8"] {
  background: radial-gradient(circle at 50% 20%, #4a433a, #3a3530 70%) !important;
}

/* Fill-in fields stay one line and do not zoom the page. */
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=button]):not([type=submit]):not([type=hidden]):not([type=image]),
textarea,
select {
  font-size: 16px !important;
}
textarea {
  resize: none !important;
  overflow-y: auto !important;
}

/* Web browser fills the window. Mini app stays a phone column. */
html.web .max-w-\[430px\] {
  max-width: none !important;
  box-shadow: none !important;
}
html.pc .max-w-\[1200px\],
html.pc .pc\:max-w-\[1200px\] {
  max-width: none !important;
}
html.pc .pc\:max-w-\[960px\] {
  max-width: none !important;
  aspect-ratio: auto !important;
  height: min(42vw, 440px) !important;
}
html.pc .pc\:px-4 {
  padding-left: 28px !important;
  padding-right: 28px !important;
}

/* Splash mark: tilted spin from first paint, no script wait. */
@keyframes yyyygSpin {
  from { transform: rotate3d(0.46, 1, 0.06, 0deg); }
  to { transform: rotate3d(0.46, 1, 0.06, 360deg); }
}
.yyyyg-splash {
  perspective: 420px;
}
.yyyyg-mark {
  display: block;
  animation: yyyygSpin 1.15s linear infinite;
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform;
}


/* screen-adapt */
/* Width decides the layout. A phone stays the phone chrome. A wide window gets the computer chrome. */
@media (min-width: 768px) {
  html .max-w-\[430px\] {
    max-width: none !important;
    box-shadow: none !important;
  }
  html .max-w-\[1200px\],
  html .pc\:max-w-\[1200px\] {
    max-width: none !important;
  }
  html .pc\:max-w-\[960px\] {
    max-width: none !important;
    aspect-ratio: auto !important;
    height: min(42vw, 440px) !important;
  }
  html .pc\:max-w-none {
    max-width: none !important;
  }
  html .pc\:shadow-none {
    box-shadow: none !important;
  }
  html .hidden.pc\:block {
    display: block !important;
  }
  html .pc\:hidden {
    display: none !important;
  }
  html .pc\:grid {
    display: grid !important;
  }
  html .pc\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html .pc\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  html .pc\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  html .pc\:content-start {
    align-content: flex-start !important;
  }
  html .pc\:h-auto {
    height: auto !important;
  }
  html .pc\:h-\[calc\(100dvh-260px\)\] {
    height: calc(100dvh - 260px) !important;
  }
  html .pc\:min-h-\[480px\] {
    min-height: 480px !important;
  }
  html .pc\:w-\[180px\] {
    width: 180px !important;
  }
  html .pc\:w-full {
    width: 100% !important;
  }
  html .pc\:mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html .pc\:overflow-hidden {
    overflow: hidden !important;
  }
  html .pc\:rounded-2xl {
    border-radius: 1rem !important;
  }
  html .pc\:gap-3 {
    gap: 0.75rem !important;
  }
  html .pc\:gap-4 {
    gap: 1rem !important;
  }
  html .pc\:px-4 {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
  html .pc\:text-\[64px\] {
    font-size: 64px !important;
  }
  html .pc\:text-\[20px\] {
    font-size: 20px !important;
  }
  html .pc\:text-\[15px\] {
    font-size: 15px !important;
  }
  html .pc\:text-\[13px\] {
    font-size: 13px !important;
  }
  html .pc\:text-sm {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
  }
  html .pc\:mt-4 {
    margin-top: 1rem !important;
  }
  html .pc\:mt-6 {
    margin-top: 1.5rem !important;
  }
  html .pc\:bg-page {
    background-color: var(--page) !important;
  }
}

@media (max-width: 767px) {
  html.pc .hidden.pc\:block {
    display: none !important;
  }
  html.pc .pc\:hidden {
    display: block !important;
  }
  html.pc .flex.pc\:hidden {
    display: flex !important;
  }
  html.pc .grid.pc\:hidden {
    display: grid !important;
  }
  html.pc .inline-flex.pc\:hidden {
    display: inline-flex !important;
  }
  html.pc .pc\:grid {
    display: block !important;
  }
  html.pc .pc\:grid-cols-4,
  html.pc .pc\:grid-cols-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html.pc .pc\:max-w-none,
  html.pc .max-w-\[430px\],
  html.web .max-w-\[430px\] {
    max-width: 430px !important;
  }
  html.pc .pc\:w-\[180px\] {
    width: 92px !important;
  }
  html.pc .pc\:text-\[64px\] {
    font-size: 30px !important;
  }
  html.pc .pc\:h-\[calc\(100dvh-260px\)\] {
    height: 100% !important;
  }
  html.pc .pc\:min-h-\[480px\] {
    min-height: 0 !important;
  }
}
