*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {

  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {

  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {

  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {

  .container {
    max-width: 1536px;
  }
}
.pointer-events-none {
  pointer-events: none;
}
.visible {
  visibility: visible;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.inset-0 {
  inset: 0px;
}
.bottom-2 {
  bottom: 0.5rem;
}
.left-2 {
  left: 0.5rem;
}
.right-2 {
  right: 0.5rem;
}
.top-2 {
  top: 0.5rem;
}
.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}
.order-1 {
  order: 1;
}
.order-2 {
  order: 2;
}
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-5 {
  margin-left: 1.25rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-20 {
  margin-top: 5rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.block {
  display: block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-24 {
  height: 6rem;
}
.h-3 {
  height: 0.75rem;
}
.h-32 {
  height: 8rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-8 {
  height: 2rem;
}
.h-auto {
  height: auto;
}
.h-full {
  height: 100%;
}
.max-h-48 {
  max-height: 12rem;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.min-h-0 {
  min-height: 0px;
}
.min-h-\[44px\] {
  min-height: 44px;
}
.min-h-\[48px\] {
  min-height: 48px;
}
.min-h-screen {
  min-height: 100vh;
}
.w-10 {
  width: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.w-16 {
  width: 4rem;
}
.w-2 {
  width: 0.5rem;
}
.w-24 {
  width: 6rem;
}
.w-3 {
  width: 0.75rem;
}
.w-4 {
  width: 1rem;
}
.w-5 {
  width: 1.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-64 {
  width: 16rem;
}
.w-8 {
  width: 2rem;
}
.w-80 {
  width: 20rem;
}
.w-full {
  width: 100%;
}
.min-w-\[44px\] {
  min-width: 44px;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-7xl {
  max-width: 80rem;
}
.max-w-\[85\%\] {
  max-width: 85%;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-none {
  max-width: none;
}
.max-w-sm {
  max-width: 24rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink {
  flex-shrink: 1;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-pointer {
  cursor: pointer;
}
.touch-manipulation {
  touch-action: manipulation;
}
.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.resize {
  resize: both;
}
.list-inside {
  list-style-position: inside;
}
.list-disc {
  list-style-type: disc;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-12 {
  gap: 3rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.25rem * var(--tw-space-x-reverse));
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.75rem * var(--tw-space-x-reverse));
  margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}
.break-words {
  overflow-wrap: break-word;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-t {
  border-top-width: 1px;
}
.border-dashed {
  border-style: dashed;
}
.border-blue-500 {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.border-gray-400 {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}
.border-gray-600 {
  --tw-border-opacity: 1;
  border-color: rgb(75 85 99 / var(--tw-border-opacity, 1));
}
.border-gray-700 {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}
.border-gray-700\/50 {
  border-color: rgb(55 65 81 / 0.5);
}
.border-orange-500 {
  --tw-border-opacity: 1;
  border-color: rgb(249 115 22 / var(--tw-border-opacity, 1));
}
.border-red-500 {
  --tw-border-opacity: 1;
  border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
}
.border-red-500\/30 {
  border-color: rgb(239 68 68 / 0.3);
}
.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.border-yellow-400 {
  --tw-border-opacity: 1;
  border-color: rgb(250 204 21 / var(--tw-border-opacity, 1));
}
.border-yellow-500 {
  --tw-border-opacity: 1;
  border-color: rgb(234 179 8 / var(--tw-border-opacity, 1));
}
.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-blue-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
}
.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.bg-blue-600\/20 {
  background-color: rgb(37 99 235 / 0.2);
}
.bg-blue-900\/50 {
  background-color: rgb(30 58 138 / 0.5);
}
.bg-gray-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}
.bg-gray-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
}
.bg-gray-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}
.bg-gray-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.bg-gray-700\/50 {
  background-color: rgb(55 65 81 / 0.5);
}
.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-gray-800\/50 {
  background-color: rgb(31 41 55 / 0.5);
}
.bg-gray-800\/80 {
  background-color: rgb(31 41 55 / 0.8);
}
.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.bg-gray-900\/50 {
  background-color: rgb(17 24 39 / 0.5);
}
.bg-green-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(74 222 128 / var(--tw-bg-opacity, 1));
}
.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}
.bg-green-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.bg-green-600\/20 {
  background-color: rgb(22 163 74 / 0.2);
}
.bg-orange-600\/20 {
  background-color: rgb(234 88 12 / 0.2);
}
.bg-orange-900\/50 {
  background-color: rgb(124 45 18 / 0.5);
}
.bg-purple-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(192 132 252 / var(--tw-bg-opacity, 1));
}
.bg-purple-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
}
.bg-purple-600\/20 {
  background-color: rgb(147 51 234 / 0.2);
}
.bg-red-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.bg-red-600\/20 {
  background-color: rgb(220 38 38 / 0.2);
}
.bg-red-900\/20 {
  background-color: rgb(127 29 29 / 0.2);
}
.bg-red-900\/50 {
  background-color: rgb(127 29 29 / 0.5);
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-yellow-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(202 138 4 / var(--tw-bg-opacity, 1));
}
.bg-yellow-600\/20 {
  background-color: rgb(202 138 4 / 0.2);
}
.bg-yellow-900\/50 {
  background-color: rgb(113 63 18 / 0.5);
}
.bg-opacity-40 {
  --tw-bg-opacity: 0.4;
}
.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-blue-400 {
  --tw-gradient-from: #60a5fa var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(96 165 250 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-600 {
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-600\/20 {
  --tw-gradient-from: rgb(37 99 235 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-900\/20 {
  --tw-gradient-from: rgb(30 58 138 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(30 58 138 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-900 {
  --tw-gradient-from: #111827 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-blue-900 {
  --tw-gradient-to: rgb(30 58 138 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #1e3a8a var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-purple-400 {
  --tw-gradient-to: #c084fc var(--tw-gradient-to-position);
}
.to-purple-600 {
  --tw-gradient-to: #9333ea var(--tw-gradient-to-position);
}
.to-purple-600\/20 {
  --tw-gradient-to: rgb(147 51 234 / 0.2) var(--tw-gradient-to-position);
}
.to-purple-900 {
  --tw-gradient-to: #581c87 var(--tw-gradient-to-position);
}
.to-purple-900\/20 {
  --tw-gradient-to: rgb(88 28 135 / 0.2) var(--tw-gradient-to-position);
}
.bg-clip-text {
  -webkit-background-clip: text;
          background-clip: text;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}
.text-blue-100 {
  --tw-text-opacity: 1;
  color: rgb(219 234 254 / var(--tw-text-opacity, 1));
}
.text-blue-200 {
  --tw-text-opacity: 1;
  color: rgb(191 219 254 / var(--tw-text-opacity, 1));
}
.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}
.text-gray-100 {
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}
.text-gray-200 {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}
.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.text-green-300 {
  --tw-text-opacity: 1;
  color: rgb(134 239 172 / var(--tw-text-opacity, 1));
}
.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}
.text-orange-200 {
  --tw-text-opacity: 1;
  color: rgb(254 215 170 / var(--tw-text-opacity, 1));
}
.text-orange-300 {
  --tw-text-opacity: 1;
  color: rgb(253 186 116 / var(--tw-text-opacity, 1));
}
.text-orange-400 {
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity, 1));
}
.text-purple-400 {
  --tw-text-opacity: 1;
  color: rgb(192 132 252 / var(--tw-text-opacity, 1));
}
.text-red-200 {
  --tw-text-opacity: 1;
  color: rgb(254 202 202 / var(--tw-text-opacity, 1));
}
.text-red-300 {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.text-transparent {
  color: transparent;
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-yellow-200 {
  --tw-text-opacity: 1;
  color: rgb(254 240 138 / var(--tw-text-opacity, 1));
}
.text-yellow-300 {
  --tw-text-opacity: 1;
  color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}
.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.placeholder-gray-400::-moz-placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}
.placeholder-gray-400::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}
.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline {
  outline-style: solid;
}
.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-4 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-blue-400\/50 {
  --tw-ring-color: rgb(96 165 250 / 0.5);
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-filter {
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.delay-100 {
  transition-delay: 100ms;
}
.delay-200 {
  transition-delay: 200ms;
}
.delay-300 {
  transition-delay: 300ms;
}
.duration-100 {
  transition-duration: 100ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #111827;
  color: #ffffff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #374151;
}

::-webkit-scrollbar-thumb {
  background: #6b7280;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Focus styles */
button:focus,
input:focus,
canvas:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Custom range slider styles */
input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  height: 6px;
  background: #374151;
  border-radius: 3px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Animation for loading states */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Responsive canvas */
canvas {
  max-width: 100%;
  height: auto;
}

/* Enhanced touch-friendly buttons on mobile */
@media (max-width: 1024px) {
  button {
    min-height: 48px;
    min-width: 48px;
  }
}

/* Game-specific styles */
.tetris-board {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Prevent text selection on game elements */
.game-container {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Enhanced fullscreen styles for mobile - UPDATED for better scrolling */
.game-container:fullscreen,
.game-container:-webkit-full-screen,
.game-container:-moz-full-screen,
.game-container:-ms-fullscreen {
  background-color: #111827;
  padding: 0;
  /* Allow scrolling in fullscreen mode */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile-specific fullscreen optimizations - UPDATED */
@media screen and (max-width: 768px) {
  .game-container:fullscreen,
  .game-container:-webkit-full-screen,
  .game-container:-moz-full-screen {
    padding: 8px;
    /* Ensure scrolling is available */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: 100vh;
    min-height: 100vh;
  }
}

/* ENHANCED: Single Action Touch Control System with Comprehensive Zoom Prevention */
.single-action-touch-panel {
  /* Comprehensive zoom prevention */
  touch-action: manipulation;
  -webkit-user-scalable: no;
  -moz-user-scalable: no;
  -ms-user-scalable: no;
  user-scalable: no;
  
  /* Text scaling prevention */
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  
  /* Tap highlight prevention */
  -webkit-tap-highlight-color: transparent;
  
  /* Selection prevention */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  
  /* Hardware acceleration for smooth performance */
  transform: translateZ(0);
  will-change: transform;
  
  /* Prevent context menus */
  -webkit-touch-callout: none;
  
  /* Additional mobile browser specific fixes */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  
  /* Prevent double-tap zoom with comprehensive approach */
  -ms-touch-action: manipulation;
  
  /* Prevent zoom on iOS Safari */
  -webkit-text-size-adjust: 100%;
  
  /* Additional double-tap prevention */
  tap-highlight-color: rgba(0, 0, 0, 0);
  
  /* Prevent zoom lag by forcing hardware acceleration */
  backface-visibility: hidden;
  perspective: 1000;
  
  /* Additional gesture prevention */
  -ms-content-zooming: none;
  -ms-touch-select: none;
  
  /* Force fixed positioning to prevent zoom-related layout shifts */
  transform: translate3d(0, 0, 0);
  
  /* Optimize pointer events for touch */
  pointer-events: auto;
  
  /* Prevent event bubbling that might trigger zoom */
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* ENHANCED: Single Action Button System with Debouncing */
.single-action-button {
  /* Inherit all zoom prevention from parent */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  
  /* Additional button-specific zoom prevention */
  -webkit-user-scalable: no;
  -moz-user-scalable: no;
  -ms-user-scalable: no;
  user-scalable: no;
  
  /* Prevent text scaling that could trigger zoom */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  
  /* Optimize for touch performance */
  transform: translateZ(0);
  will-change: transform;
  
  /* Prevent accidental zoom on rapid taps */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
  
  /* Enhanced single-action properties */
  cursor: pointer;
  position: relative;
  overflow: hidden;
  
  /* Prevent rapid-fire actions */
  transition: all 0.05s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Ensure proper touch target size */
  min-height: 48px;
  min-width: 48px;
  
  /* Prevent context menus and drag operations */
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  
  /* Additional mobile browser optimizations */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  
  /* Prevent selection and highlighting */
  -webkit-highlight: none;
  -moz-highlight: none;
  highlight: none;
}

/* ENHANCED: Single Action Button Active States with Visual Feedback */
@media (max-width: 768px) {
  .single-action-button:active {
    transform: scale(0.95);
    transition: transform 0.05s ease;
    background-color: rgba(59, 130, 246, 0.9) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  /* Enhanced touch feedback for different button types */
  .single-action-button.bg-gray-700:active {
    background-color: rgba(59, 130, 246, 0.95) !important;
    border: 2px solid rgba(59, 130, 246, 1);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
  }
  
  .single-action-button.bg-blue-600:active {
    background-color: rgba(37, 99, 235, 0.95) !important;
    border: 2px solid rgba(37, 99, 235, 1);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
  }
  
  /* Prevent multiple rapid activations */
  .single-action-button:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: inherit;
    pointer-events: none;
    animation: ripple 0.15s ease-out;
  }
}

/* Ripple animation for single-action feedback */
@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* ENHANCED: Superior touch manipulation for mobile gaming with ZOOM PREVENTION */
.touch-manipulation {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  /* Prevent double-tap zoom */
  -ms-touch-action: manipulation;
  /* Prevent context menu on long press */
  -webkit-touch-callout: none;
  /* Enhanced responsiveness */
  cursor: pointer;
}

/* ENHANCED: Touch control panel with comprehensive zoom prevention */
.touch-control-panel {
  /* Prevent all zoom behaviors */
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  /* Disable double-tap zoom specifically */
  -ms-touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  /* Prevent pinch-to-zoom */
  -webkit-user-scalable: no;
  -moz-user-scalable: no;
  -ms-user-scalable: no;
  user-scalable: no;
  /* Additional zoom prevention */
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  /* Prevent viewport scaling */
  transform: translateZ(0);
  /* Force hardware acceleration to prevent zoom lag */
  will-change: transform;
}

/* ENHANCED: Touch control buttons with zoom prevention */
.touch-control-button {
  /* Inherit all zoom prevention from parent */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  /* Additional button-specific zoom prevention */
  -webkit-user-scalable: no;
  -moz-user-scalable: no;
  -ms-user-scalable: no;
  user-scalable: no;
  /* Prevent text scaling that could trigger zoom */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Optimize for touch performance */
  transform: translateZ(0);
  will-change: transform;
  /* Prevent accidental zoom on rapid taps */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
}

/* ENHANCED: Improved button active states for mobile with superior visual feedback */
@media (max-width: 768px) {
  button:active {
    transform: scale(0.95);
    transition: transform 0.05s ease;
  }
  
  .touch-manipulation:active {
    background-color: rgba(59, 130, 246, 0.9) !important;
    transform: scale(0.92);
    transition: all 0.05s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  /* Enhanced touch feedback for game control buttons */
  .touch-manipulation:hover {
    background-color: rgba(75, 85, 99, 0.8);
  }
  
  /* Specific styling for active touch controls with better visual feedback */
  .bg-gray-700.touch-manipulation:active {
    background-color: rgba(59, 130, 246, 0.95) !important;
    border: 2px solid rgba(59, 130, 246, 1);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
  }
  
  .bg-blue-600.touch-manipulation:active {
    background-color: rgba(37, 99, 235, 0.95) !important;
    border: 2px solid rgba(37, 99, 235, 1);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
  }
  
  .bg-purple-600.touch-manipulation:active {
    background-color: rgba(147, 51, 234, 0.95) !important;
    border: 2px solid rgba(147, 51, 234, 1);
    box-shadow: 0 0 8px rgba(147, 51, 234, 0.5);
  }
}

/* Fullscreen button styles */
.fullscreen-button {
  transition: all 0.2s ease-in-out;
}

.fullscreen-button:hover {
  transform: scale(1.05);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .bg-gray-800 {
    background-color: #000000;
    border: 1px solid #ffffff;
  }
  
  .bg-gray-900 {
    background-color: #000000;
  }
  
  .text-gray-400 {
    color: #ffffff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .animate-spin {
    animation: none;
  }
  
  * {
    transition: none !important;
    animation: none !important;
  }
  
  .fullscreen-button:hover {
    transform: none;
  }
  
  button:active {
    transform: none !important;
  }
  
  .single-action-button:active {
    transform: none !important;
  }
  
  .single-action-button:active::after {
    animation: none !important;
  }
}

/* Ensure proper z-index for fullscreen */
.game-container:fullscreen,
.game-container:-webkit-full-screen,
.game-container:-moz-full-screen,
.game-container:-ms-fullscreen {
  z-index: 9999;
}

/* ENHANCED: Mobile viewport handling with better optimization - UPDATED for scrolling */
@media screen and (max-width: 768px) {
  /* Prevent zoom on input focus */
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px;
  }
  
  /* Optimize touch targets with better spacing */
  .touch-target {
    min-height: 48px;
    min-width: 48px;
    margin: 2px;
  }
  
  /* Enhanced button sizing for better mobile experience */
  .touch-manipulation {
    min-height: 48px;
    min-width: 48px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
  }
}

/* ENHANCED: Landscape mobile optimizations with better layout */
@media screen and (max-width: 768px) and (orientation: landscape) {
  
  .game-container:fullscreen .h-auto,
  .game-container:-webkit-full-screen .h-auto,
  .game-container:-moz-full-screen .h-auto {
    height: 100vh;
    max-height: none;
  }
  
  /* Optimize sidebar for landscape */
  .game-container:fullscreen .w-64,
  .game-container:-webkit-full-screen .w-64,
  .game-container:-moz-full-screen .w-64 {
    width: 280px;
    max-width: 35vw;
  }
}

/* ENHANCED: iOS Safari specific fixes with better support - UPDATED */
@supports (-webkit-touch-callout: none) {
  .game-container:fullscreen,
  .game-container:-webkit-full-screen {
    height: 100vh;
    height: -webkit-fill-available;
    /* Allow scrolling on iOS */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Better iOS touch handling with zoom prevention */
  .touch-manipulation,
  .touch-control-panel,
  .touch-control-button,
  .single-action-touch-panel,
  .single-action-button {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    /* iOS-specific zoom prevention */
    -webkit-user-scalable: no;
    -webkit-text-size-adjust: none;
  }
}

/* ENHANCED: Android Chrome specific fixes with better viewport handling - UPDATED */
@media screen and (max-width: 768px) {
  .game-container {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
  
  /* Better Android touch response with zoom prevention */
  .touch-manipulation,
  .touch-control-panel,
  .touch-control-button,
  .single-action-touch-panel,
  .single-action-button {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    /* Android-specific zoom prevention */
    -webkit-user-scalable: no;
    -moz-user-scalable: no;
    user-scalable: no;
  }
}

/* ENHANCED: Better scrolling for mobile sidebar with improved performance */
@media (max-width: 768px) {
  .overflow-y-auto {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-behavior: smooth;
  }
}

/* ENHANCED: Superior select-none class for better touch control */
.select-none {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}

/* ENHANCED: Superior visual feedback for touch interactions with zoom prevention */
@media (hover: none) and (pointer: coarse) {
  /* This targets touch devices specifically */
  .touch-manipulation,
  .touch-control-button,
  .single-action-button {
    /* Larger touch targets for better accessibility */
    min-height: 48px;
    min-width: 48px;
    /* Superior visual feedback */
    transition: all 0.05s ease;
    position: relative;
    /* Comprehensive zoom prevention for touch devices */
    touch-action: manipulation;
    -webkit-user-scalable: no;
    -moz-user-scalable: no;
    -ms-user-scalable: no;
    user-scalable: no;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    text-size-adjust: none;
  }
  
  .touch-manipulation:active,
  .touch-control-button:active,
  .single-action-button:active {
    /* More pronounced feedback on touch with better visual cues */
    transform: scale(0.92);
    opacity: 0.9;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
  }
  
  /* Enhanced ripple effect simulation */
  .touch-manipulation:active::after,
  .touch-control-button:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: inherit;
    pointer-events: none;
  }
}

/* ENHANCED: Prevent text selection and context menus on game controls */
.game-container button,
.game-container canvas {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* ENHANCED: Superior button spacing and sizing for mobile with zoom prevention */
@media (max-width: 768px) {
  .touch-manipulation,
  .touch-control-button,
  .single-action-button {
    /* Ensure adequate spacing between touch targets */
    margin: 3px;
    /* Minimum touch target size for accessibility */
    min-height: 48px;
    min-width: 48px;
    /* Better padding for touch comfort */
    padding: 12px;
    /* Comprehensive zoom prevention */
    touch-action: manipulation;
    -webkit-user-scalable: no;
    -moz-user-scalable: no;
    -ms-user-scalable: no;
    user-scalable: no;
  }
  
  /* Grid layout improvements for touch controls */
  .grid.gap-1 {
    gap: 6px;
  }
  
  .grid.gap-2 {
    gap: 8px;
  }
  
  /* Enhanced grid spacing for better touch experience */
  .grid.gap-3 {
    gap: 10px;
  }
}

/* Logo styling for better visual integration */
.logo-image {
  transition: transform 0.2s ease-in-out;
}

.logo-image:hover {
  transform: scale(1.05);
}

/* Ensure logo maintains aspect ratio and quality */
img[alt*="Logo"] {
  -o-object-fit: cover;
     object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Mobile-specific logo adjustments */
@media (max-width: 640px) {
  .logo-image {
    min-width: 32px;
    min-height: 32px;
  }
}

/* ENHANCED: Better mobile game layout optimization - UPDATED for scrolling */
@media screen and (max-width: 768px) {
  /* Ensure game board is always visible and scrollable */
  .tetris-board {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 200px);
  }
  
  /* Portrait mode optimizations */
  @media (orientation: portrait) {
    .tetris-board {
      max-height: calc(60vh - 100px);
    }
    
    /* Ensure touch controls are always accessible with zoom prevention */
    .touch-manipulation,
    .touch-control-button,
    .single-action-button {
      font-size: 16px;
      font-weight: 700;
      touch-action: manipulation;
      -webkit-user-scalable: no;
      user-scalable: no;
    }
  }
  
  /* Landscape mode optimizations */
  @media (orientation: landscape) {
    .tetris-board {
      max-width: calc(65vw - 32px);
      max-height: calc(100vh - 120px);
    }
  }
}

/* ENHANCED: Fullscreen mobile optimizations - UPDATED for scrolling */
@media screen and (max-width: 768px) {
  .game-container:fullscreen,
  .game-container:-webkit-full-screen,
  .game-container:-moz-full-screen {
    /* Portrait fullscreen */
    @media (orientation: portrait) {
      .tetris-board {
        max-width: calc(100vw - 20px);
        max-height: calc(65vh - 50px);
      }
    }
    
    /* Landscape fullscreen */
    @media (orientation: landscape) {
      .tetris-board {
        max-width: calc(70vw - 20px);
        max-height: calc(100vh - 80px);
      }
    }
  }
}

/* ENHANCED: Large screen fullscreen optimizations for maximum game area */
@media screen and (min-width: 1024px) {
  .game-container:fullscreen,
  .game-container:-webkit-full-screen,
  .game-container:-moz-full-screen {
    /* Maximize game board area on large screens */
    .tetris-board {
      /* Allow much larger game boards on big screens in fullscreen */
      max-width: calc(100vw - 320px); /* Account for sidebar */
      max-height: calc(100vh - 120px); /* Minimal header space */
    }
  }
  
  /* Very large screen optimizations */
  @media screen and (min-width: 1920px) {
    .game-container:fullscreen,
    .game-container:-webkit-full-screen,
    .game-container:-moz-full-screen {
      .tetris-board {
        /* Maximum utilization of ultra-wide screens */
        max-width: calc(100vw - 340px);
        max-height: calc(100vh - 100px);
      }
    }
  }
}

/* ENHANCED: Better touch button transitions with zoom prevention */
.touch-manipulation,
.touch-control-button,
.single-action-button {
  transition: all 0.05s cubic-bezier(0.4, 0, 0.2, 1);
  /* Ensure zoom prevention during transitions */
  touch-action: manipulation;
  -webkit-user-scalable: no;
  user-scalable: no;
}

.touch-manipulation:active,
.touch-control-button:active,
.single-action-button:active {
  transition: all 0.02s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ENHANCED: Improved accessibility for touch controls with zoom prevention */
@media (max-width: 768px) {
  .touch-manipulation:focus,
  .touch-control-button:focus,
  .single-action-button:focus {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
    /* Maintain zoom prevention even when focused */
    touch-action: manipulation;
    -webkit-user-scalable: no;
    user-scalable: no;
  }
  
  .touch-manipulation:focus:not(:focus-visible),
  .touch-control-button:focus:not(:focus-visible),
  .single-action-button:focus:not(:focus-visible) {
    outline: none;
  }
}

/* ENHANCED: Canvas scaling optimizations for large screen fullscreen */
.tetris-board {
  /* Ensure crisp rendering at all sizes */
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  /* Allow canvas to scale smoothly */
  transition: width 0.3s ease, height 0.3s ease;
}

/* ENHANCED: Fullscreen game area maximization */
@media screen and (min-width: 1024px) {
  .game-container:fullscreen .tetris-board,
  .game-container:-webkit-full-screen .tetris-board,
  .game-container:-moz-full-screen .tetris-board {
    /* Remove size constraints in fullscreen for maximum scaling */
    max-width: none;
    max-height: none;
    /* Allow the game to use all available space */
    width: auto;
    height: auto;
  }
}

/* ENHANCED: Background image scaling for large screen fullscreen */
@media screen and (min-width: 1024px) {
  .game-container:fullscreen canvas,
  .game-container:-webkit-full-screen canvas,
  .game-container:-moz-full-screen canvas {
    /* Ensure background images scale properly with the game */
    object-fit: cover;
    object-position: center;
  }
}

/* Landing page specific styles */
.landing-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
}

/* Smooth hover animations for landing page cards */
.landing-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Gradient text animations */
@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.gradient-text {
  background: linear-gradient(-45deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
  background-size: 400% 400%;
  animation: gradient-shift 8s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Backdrop blur support */
@supports (backdrop-filter: blur(10px)) {
  .backdrop-blur-sm {
    backdrop-filter: blur(4px);
  }
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .backdrop-blur-sm {
    background-color: rgba(31, 41, 55, 0.9);
  }
}

/* Enhanced button hover effects for landing page */
.landing-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.landing-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.landing-button:hover::before {
  left: 100%;
}

/* Responsive text scaling for landing page */
@media (max-width: 640px) {
  .landing-hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  .landing-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.4;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .landing-hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
  }
  
  .landing-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.4;
  }
}

/* Smooth scroll behavior for landing page */
html {
  scroll-behavior: smooth;
}

/* Enhanced focus states for landing page */
.landing-focus:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* Loading animation for landing page elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Enhanced mobile responsiveness for landing page */
@media (max-width: 768px) {
  .landing-section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .landing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .landing-section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .landing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1025px) {
  .landing-section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .landing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ENHANCED: Mobile scrolling improvements - NEW SECTION */
/* Ensure natural scrolling behavior on all mobile devices */
@media (max-width: 768px) {
  /* Allow natural page scrolling */
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  /* Ensure main content areas are scrollable */
  .min-h-screen {
    min-height: 100vh;
    /* Don't use fixed height that prevents scrolling */
  }
  
  /* Make sure containers don't prevent scrolling */
  .game-container {
    /* Remove any overflow restrictions that prevent scrolling */
    overflow: visible;
  }
  
  /* Ensure fullscreen doesn't break scrolling */
  .game-container:fullscreen,
  .game-container:-webkit-full-screen,
  .game-container:-moz-full-screen {
    /* Allow vertical scrolling even in fullscreen */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Use min-height instead of fixed height */
    min-height: 100vh;
    height: auto;
  }
  
  /* Ensure modal and overlay content is scrollable */
  .fixed.inset-0 {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Make sure chat and other overlays are scrollable */
  .max-h-\[90vh\] {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Ensure game interface sections are accessible via scrolling */
  .space-y-8,
  .space-y-6,
  .space-y-4 {
    /* Allow content to flow naturally */
    overflow: visible;
  }
}

/* ENHANCED: Prevent layout issues that could block scrolling */
@media (max-width: 768px) {
  /* Ensure flex containers don't prevent scrolling */
  .flex {
    /* Allow flex items to wrap and scroll naturally */
    flex-wrap: wrap;
  }
  
  .flex-col {
    /* Ensure column layouts allow scrolling */
    overflow: visible;
  }
  
  /* Make sure grid layouts are scrollable */
  .grid {
    overflow: visible;
  }
  
  /* Ensure absolute/fixed positioned elements don't block scrolling */
  .absolute,
  .fixed {
    /* Allow scrolling behind positioned elements */
    pointer-events: auto;
  }
  
  /* Make sure z-index doesn't interfere with scrolling */
  .z-50 {
    /* Ensure high z-index elements still allow scrolling */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ENHANCED: Specific mobile viewport fixes for better scrolling */
@media screen and (max-width: 768px) {
  /* Fix viewport issues that prevent scrolling */
  .h-screen,
  .min-h-screen {
    /* Use viewport units that work better with mobile browsers */
    height: 100vh;
    height: -webkit-fill-available;
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
  
  /* Ensure content containers are scrollable */
  .max-w-7xl,
  .max-w-6xl,
  .max-w-4xl,
  .max-w-2xl {
    overflow: visible;
  }
  
  /* Make sure padding doesn't interfere with scrolling */
  .p-4,
  .p-8,
  .px-4,
  .py-8 {
    /* Ensure padding doesn't create overflow issues */
    box-sizing: border-box;
  }
}

/* ENHANCED: Touch scrolling optimizations */
@media (max-width: 768px) {
  /* Optimize touch scrolling performance */
  * {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  /* Ensure momentum scrolling works properly */
  .overflow-y-auto,
  .overflow-auto {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }
  
  /* Prevent horizontal scrolling while allowing vertical */
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
  
  /* Ensure scrollable areas have proper momentum */
  .h-\[600px\],
  .max-h-\[90vh\] {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
}

/* ENHANCED: Custom breakpoint for very small screens to hide "Arena" */
/* Define a custom xs breakpoint for screens smaller than 475px */
@media (max-width: 474px) {
  .hidden.xs\:inline {
    display: none;
  }
}

@media (min-width: 475px) {
  .hidden.xs\:inline {
    display: inline;
  }
}

/* ENHANCED: Mobile Chat Interface Optimization - REDESIGNED FOR SMALLER MOBILE MODAL */
/* Mobile-specific chat modal sizing and positioning - SIGNIFICANTLY SMALLER */
@media (max-width: 768px) {
  /* Chat modal container optimization - SMALLER DIMENSIONS */
  .mobile-chat-modal {
    /* Significantly smaller modal for mobile */
    width: calc(100vw - 24px) !important;
    height: calc(70vh) !important; /* Much smaller height - only 70% of viewport */
    max-width: none !important;
    max-height: calc(70vh) !important;
    margin: 12px;
    
    /* Ensure proper positioning */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Optimize for mobile performance */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  
  /* Ensure modal doesn't cover too much screen */
  .fixed.inset-0 {
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ENHANCED: Very Small Mobile Screens - EVEN SMALLER MODAL */
@media (max-width: 480px) {
  .mobile-chat-modal {
    /* Even smaller for very small screens */
    width: calc(100vw - 16px) !important;
    height: calc(60vh) !important; /* Only 60% of viewport height */
    max-height: calc(60vh) !important;
    margin: 8px;
  }
}

/* ENHANCED: Mobile Chat Messages Area - OPTIMIZED FOR SMALLER SPACE */
@media (max-width: 768px) {
  .mobile-chat-messages {
    /* Optimize scrolling performance in smaller space */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
    
    /* Ensure proper touch scrolling */
    touch-action: pan-y;
    
    /* Prevent horizontal scrolling */
    overflow-x: hidden;
    
    /* Optimize for mobile performance */
    will-change: scroll-position;
    transform: translateZ(0);
    
    /* Compact padding for smaller modal */
    padding: 8px 12px;
  }
  
  /* Message bubbles mobile optimization - MORE COMPACT */
  .max-w-\[85\%\] {
    max-width: 90%; /* Slightly wider to use space efficiently */
  }
  
  /* Ensure message text wrapping on mobile */
  .break-words {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Compact message spacing */
  .space-y-2 > * + * {
    margin-top: 0.375rem; /* Tighter spacing */
  }
}

/* ENHANCED: Mobile Chat Input Area - OPTIMIZED FOR SMALLER MODAL */
@media (max-width: 768px) {
  .mobile-chat-input {
    /* Prevent keyboard from covering input */
    position: sticky;
    bottom: 0;
    background-color: #1f2937;
    
    /* Ensure proper touch interaction */
    touch-action: manipulation;
    
    /* Optimize for mobile keyboards */
    padding: 8px 12px; /* More compact padding */
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
  }
  
  /* Chat input field mobile optimization */
  .mobile-chat-input input[type="text"] {
    /* Prevent zoom on focus */
    font-size: 16px;
    
    /* Optimize for mobile keyboards */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Ensure proper touch interaction */
    touch-action: manipulation;
    
    /* Prevent autocomplete/suggestions that might interfere */
    autocomplete: off;
    autocorrect: off;
    autocapitalize: off;
    spellcheck: false;
    
    /* Compact sizing for smaller modal */
    padding: 8px 12px;
    min-height: 40px;
  }
  
  /* Send button mobile optimization */
  .mobile-chat-input button {
    /* Ensure proper touch target size */
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
    
    /* Optimize touch interaction */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

/* ENHANCED: Mobile Chat Header Optimization - COMPACT FOR SMALLER MODAL */
@media (max-width: 768px) {
  /* Chat header mobile sizing with single row layout - MORE COMPACT */
  .chat-header-single-row {
    /* Ensure proper mobile spacing with single row layout - SMALLER */
    padding: 8px 12px; /* Reduced padding */
    
    /* Maintain single row layout */
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px; /* Reduced height */
    
    /* Optimize for mobile touch */
    touch-action: manipulation;
  }
  
  /* Close button mobile optimization - SMALLER */
  .chat-header-single-row .close-button {
    /* Ensure proper touch target */
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
    
    /* Optimize touch interaction */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Chat title - SMALLER TEXT */
  .chat-header-single-row .chat-title {
    font-size: 1rem; /* Smaller title */
  }
  
  /* Chat icon - SMALLER */
  .chat-header-single-row .chat-icon {
    width: 20px;
    height: 20px;
  }
}

/* ENHANCED: Mobile Chat Responsive Text Sizing - OPTIMIZED FOR SMALLER MODAL */
@media (max-width: 480px) {
  /* Very small screens - optimize text sizes for compact modal */
  .mobile-chat-messages .text-sm {
    font-size: 0.8125rem; /* Slightly smaller */
    line-height: 1.2rem;
  }
  
  .mobile-chat-messages .text-xs {
    font-size: 0.6875rem; /* Smaller */
    line-height: 0.9rem;
  }
  
  /* Optimize message spacing on very small screens */
  .mobile-chat-messages .space-y-2 > * + * {
    margin-top: 0.25rem; /* Even tighter spacing */
  }
  
  /* Optimize input area on very small screens */
  .mobile-chat-input {
    padding: 6px 10px;
  }
  
  /* Even more compact header */
  .chat-header-single-row {
    padding: 6px 10px;
    min-height: 44px;
  }
}

/* ENHANCED: Mobile Chat Performance Optimizations - FOR SMALLER MODAL */
@media (max-width: 768px) {
  /* Optimize chat container for mobile performance */
  .mobile-chat-container {
    /* Enable hardware acceleration */
    transform: translateZ(0);
    will-change: transform;
    
    /* Optimize rendering */
    backface-visibility: hidden;
    
    /* Optimize scrolling */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  
  /* Optimize message rendering on mobile */
  .mobile-chat-messages > div {
    /* Optimize individual message rendering */
    transform: translateZ(0);
    
    /* Prevent layout thrashing */
    contain: layout style paint;
  }
}

/* ENHANCED: Mobile Chat Accessibility - FOR SMALLER MODAL */
@media (max-width: 768px) {
  /* Ensure proper focus management on mobile */
  .mobile-chat-input input:focus {
    /* Prevent zoom while maintaining accessibility */
    font-size: 16px;
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
  }
  
  /* Optimize button focus states for mobile */
  .mobile-chat-input button:focus,
  .mobile-chat-header button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 0.5rem;
  }
  
  /* Remove focus outline for non-keyboard users */
  .mobile-chat-input button:focus:not(:focus-visible),
  .mobile-chat-header button:focus:not(:focus-visible) {
    outline: none;
  }
}

/* ENHANCED: Mobile Chat Landscape Orientation - FOR SMALLER MODAL */
@media (max-width: 768px) and (orientation: landscape) {
  /* Optimize chat for landscape mobile - SMALLER MODAL */
  .mobile-chat-modal {
    height: calc(80vh) !important; /* Slightly larger in landscape but still compact */
    max-height: calc(80vh) !important;
  }
  
  /* Reduce header size in landscape */
  .chat-header-single-row {
    padding: 6px 12px;
    min-height: 44px;
  }
  
  /* Optimize input area for landscape */
  .mobile-chat-input {
    padding: 6px 12px;
  }
}

/* ENHANCED: Mobile Chat Safe Area Support - FOR SMALLER MODAL */
@media (max-width: 768px) {
  /* Support for devices with notches/safe areas */
  .mobile-chat-container {
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }
  
  /* Ensure input area respects safe areas */
  .mobile-chat-input {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
  }
}

/* ENHANCED: Mobile Chat Dark Mode Optimization - FOR SMALLER MODAL */
@media (max-width: 768px) {
  /* Ensure proper contrast on mobile screens */
  .mobile-chat-messages .bg-gray-700 {
    background-color: #374151;
    border: 1px solid #4b5563;
  }
  
  .mobile-chat-messages .bg-blue-600 {
    background-color: #2563eb;
    border: 1px solid #1d4ed8;
  }
  
  /* Optimize text contrast for mobile */
  .mobile-chat-messages .text-gray-300 {
    color: #d1d5db;
  }
  
  .mobile-chat-messages .text-gray-400 {
    color: #9ca3af;
  }
}

/* ENHANCED: Chat Header Single Row Layout - UPDATED FOR SMALLER MOBILE MODAL */
/* Ensure chat header maintains single row layout on all screen sizes */
.chat-header-single-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #374151;
  background-color: #1f2937;
  flex-shrink: 0;
  min-height: 64px;
}

/* Left side: Icon and text together */
.chat-header-single-row .header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

/* Right side: Close button */
.chat-header-single-row .header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Ensure consistent sizing across all screen sizes */
.chat-header-single-row .chat-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #10b981;
}

.chat-header-single-row .chat-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f9fafb;
  white-space: nowrap;
}

.chat-header-single-row .close-button {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: #9ca3af;
  transition: color 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.chat-header-single-row .close-button:hover {
  color: #f9fafb;
}

.chat-header-single-row .close-button .close-icon {
  width: 24px;
  height: 24px;
}

/* Mobile optimizations for single row header - UPDATED FOR SMALLER MODAL */
@media (max-width: 768px) {
  .chat-header-single-row {
    padding: 8px 12px; /* More compact */
    min-height: 48px; /* Smaller height */
  }
  
  .chat-header-single-row .chat-title {
    font-size: 1rem; /* Smaller title */
  }
  
  .chat-header-single-row .chat-icon {
    width: 20px;
    height: 20px;
  }
  
  .chat-header-single-row .close-button {
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
  }
  
  .chat-header-single-row .close-button .close-icon {
    width: 20px;
    height: 20px;
  }
}

/* Very small screens - EVEN MORE COMPACT */
@media (max-width: 480px) {
  .chat-header-single-row {
    padding: 6px 10px;
    min-height: 44px;
  }
  
  .chat-header-single-row .chat-title {
    font-size: 0.9rem;
  }
  
  .chat-header-single-row .header-left {
    gap: 6px;
  }
}

/* Ensure no layout changes on screen size transitions */
@media (min-width: 769px) {
  .chat-header-single-row {
    padding: 16px 20px;
    min-height: 64px;
  }
  
  .chat-header-single-row .chat-title {
    font-size: 1.25rem;
  }
}

/* ENHANCED: Chat Modal Layout for Single Row Header - UPDATED FOR SMALLER MOBILE */
.chat-modal-single-row {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-content-single-row {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.chat-messages-single-row {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

.chat-input-single-row {
  flex-shrink: 0;
  border-top: 1px solid #374151;
  background-color: #1f2937;
}

/* Mobile optimizations for single row layout - UPDATED FOR SMALLER MODAL */
@media (max-width: 768px) {
  .chat-modal-single-row {
    height: 100%;
  }
  
  .chat-input-single-row {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0)); /* More compact */
  }
}

/* ENHANCED: Empty State Fixed Positioning - UPDATED FOR SMALLER MOBILE MODAL */
/* Ensure empty state always appears directly under header */
.empty-state-fixed-position {
  /* Position relative to the messages container */
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  
  /* Ensure it's always at the top of the messages area */
  margin-top: 0;
  margin-bottom: auto;
  
  /* Prevent any layout shifts */
  flex-shrink: 0;
  
  /* Ensure consistent positioning across screen sizes */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  
  /* Prevent any floating or positioning issues */
  float: none;
  clear: both;
}

/* Ensure empty state positioning is consistent on all screen sizes - UPDATED FOR SMALLER MODAL */
@media (max-width: 768px) {
  .empty-state-fixed-position {
    /* Maintain fixed positioning on mobile */
    position: relative;
    top: 0;
    margin-top: 0;
    padding-top: 16px; /* More compact */
    padding-bottom: 20px; /* More compact */
    
    /* Ensure it stays at the top */
    order: -1;
  }
}

@media (max-width: 480px) {
  .empty-state-fixed-position {
    /* Optimize spacing for very small screens and smaller modal */
    padding-top: 12px;
    padding-bottom: 16px;
  }
}

/* Ensure the messages container properly handles empty state */
.chat-messages-single-row {
  /* Use flexbox to control empty state positioning */
  display: flex;
  flex-direction: column;
  
  /* Ensure empty state appears at the top */
  justify-content: flex-start;
  align-items: stretch;
}

/* When there are no messages, ensure empty state is positioned correctly */
.chat-messages-single-row:has(.empty-state-fixed-position) {
  /* Ensure the empty state takes up the available space properly */
  justify-content: flex-start;
}

/* Ensure message list doesn't interfere with empty state positioning */
.chat-messages-single-row .space-y-2,
.chat-messages-single-row .space-y-3 {
  /* Only apply spacing when there are actual messages */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .chat-messages-single-row .space-y-3 {
    gap: 0.75rem;
  }
}

/* Ensure loading state also appears directly under header */
.chat-messages-single-row .text-center {
  /* Apply same positioning rules to loading state */
  position: relative;
  top: 0;
  margin-top: 0;
  flex-shrink: 0;
}

/* ENHANCED: Mobile Chat Input Always Visible Above Keyboard */
@media (max-width: 768px) {
  /* Ensure chat input stays above mobile keyboard */
  .mobile-chat-input {
    /* Use viewport units that account for keyboard */
    position: sticky;
    bottom: 0;
    z-index: 10;
    
    /* Ensure it's always visible */
    background-color: #1f2937;
    border-top: 1px solid #374151;
    
    /* Account for mobile keyboard */
    padding-bottom: calc(8px + env(keyboard-inset-height, 0) + env(safe-area-inset-bottom, 0));
    
    /* Prevent keyboard from pushing content up too much */
    min-height: 56px;
  }
  
  /* Optimize for iOS keyboard behavior */
  @supports (-webkit-touch-callout: none) {
    .mobile-chat-input {
      /* iOS-specific keyboard handling */
      position: sticky;
      bottom: env(safe-area-inset-bottom, 0);
    }
  }
}

/* ENHANCED: Ensure Chat Modal Fits Comfortably in Mobile Viewport */
@media (max-width: 768px) {
  /* Prevent chat modal from being too large on mobile */
  .mobile-chat-modal {
    /* Maximum dimensions to ensure comfortable fit */
    max-width: calc(100vw - 24px);
    max-height: calc(70vh);
    
    /* Ensure it doesn't cover too much screen */
    width: calc(100vw - 24px);
    height: calc(70vh);
    
    /* Center it properly */
    margin: auto;
    
    /* Ensure proper spacing from edges */
    top: 15vh; /* Leave space at top */
    bottom: 15vh; /* Leave space at bottom */
    left: 12px;
    right: 12px;
    
    /* Override any conflicting positioning */
    position: fixed !important;
    transform: none !important;
  }
}

/* ENHANCED: Very Small Screens - Even More Compact */
@media (max-width: 480px) {
  .mobile-chat-modal {
    /* Even smaller for very small screens */
    max-height: calc(60vh);
    height: calc(60vh);
    
    /* More space around modal */
    top: 20vh;
    bottom: 20vh;
    left: 8px;
    right: 8px;
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
  }
}

/* ENHANCED: Landscape Mobile - Optimize for Horizontal Space */
@media (max-width: 768px) and (orientation: landscape) {
  .mobile-chat-modal {
    /* Use more height in landscape but still keep compact */
    max-height: calc(80vh);
    height: calc(80vh);
    
    /* Less vertical spacing in landscape */
    top: 10vh;
    bottom: 10vh;
  }
}
.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:transform:hover {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:border-blue-500\/50:hover {
  border-color: rgb(59 130 246 / 0.5);
}
.hover\:border-gray-600:hover {
  --tw-border-opacity: 1;
  border-color: rgb(75 85 99 / var(--tw-border-opacity, 1));
}
.hover\:border-green-500\/50:hover {
  border-color: rgb(34 197 94 / 0.5);
}
.hover\:border-orange-500\/50:hover {
  border-color: rgb(249 115 22 / 0.5);
}
.hover\:border-purple-500\/50:hover {
  border-color: rgb(168 85 247 / 0.5);
}
.hover\:border-red-500\/50:hover {
  border-color: rgb(239 68 68 / 0.5);
}
.hover\:border-yellow-500\/50:hover {
  border-color: rgb(234 179 8 / 0.5);
}
.hover\:bg-blue-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.hover\:bg-green-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1));
}
.hover\:bg-purple-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(126 34 206 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}
.hover\:text-blue-300:hover {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.focus\:border-transparent:focus {
  border-color: transparent;
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-blue-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}
.active\:bg-blue-500:active {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.active\:bg-blue-600:active {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:bg-gray-600:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
@media (min-width: 640px) {

  .sm\:left-4 {
    left: 1rem;
  }

  .sm\:top-4 {
    top: 1rem;
  }

  .sm\:mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .sm\:mb-4 {
    margin-bottom: 1rem;
  }

  .sm\:mb-6 {
    margin-bottom: 1.5rem;
  }

  .sm\:ml-6 {
    margin-left: 1.5rem;
  }

  .sm\:block {
    display: block;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:h-10 {
    height: 2.5rem;
  }

  .sm\:h-12 {
    height: 3rem;
  }

  .sm\:h-32 {
    height: 8rem;
  }

  .sm\:h-4 {
    height: 1rem;
  }

  .sm\:h-5 {
    height: 1.25rem;
  }

  .sm\:h-6 {
    height: 1.5rem;
  }

  .sm\:h-8 {
    height: 2rem;
  }

  .sm\:h-\[600px\] {
    height: 600px;
  }

  .sm\:w-10 {
    width: 2.5rem;
  }

  .sm\:w-12 {
    width: 3rem;
  }

  .sm\:w-32 {
    width: 8rem;
  }

  .sm\:w-4 {
    width: 1rem;
  }

  .sm\:w-5 {
    width: 1.25rem;
  }

  .sm\:w-6 {
    width: 1.5rem;
  }

  .sm\:w-8 {
    width: 2rem;
  }

  .sm\:w-full {
    width: 100%;
  }

  .sm\:max-w-2xl {
    max-width: 42rem;
  }

  .sm\:max-w-xs {
    max-width: 20rem;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:gap-4 {
    gap: 1rem;
  }

  .sm\:space-x-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.5rem * var(--tw-space-x-reverse));
    margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
  }

  .sm\:space-y-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
  }

  .sm\:space-y-3 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
  }

  .sm\:space-y-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse));
  }

  .sm\:p-4 {
    padding: 1rem;
  }

  .sm\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .sm\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .sm\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }

  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}
@media (min-width: 768px) {

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {

  .lg\:w-80 {
    width: 20rem;
  }

  .lg\:max-w-md {
    max-width: 28rem;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
