*, ::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.19 | 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% !important;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {

  .\!container {
    max-width: 640px !important;
  }

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

  .\!container {
    max-width: 768px !important;
  }

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

  .\!container {
    max-width: 1024px !important;
  }

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

  .\!container {
    max-width: 1280px !important;
  }

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

  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.-bottom-1 {
  bottom: -0.25rem;
}
.-right-1 {
  right: -0.25rem;
}
.-top-\[11px\] {
  top: -11px;
}
.bottom-0 {
  bottom: 0px;
}
.left-0 {
  left: 0px;
}
.left-4 {
  left: 1rem;
}
.right-0 {
  right: 0px;
}
.right-4 {
  right: 1rem;
}
.right-5 {
  right: 1.25rem;
}
.top-0 {
  top: 0px;
}
.top-4 {
  top: 1rem;
}
.top-5 {
  top: 1.25rem;
}
.z-0 {
  z-index: 0;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-50 {
  z-index: 50;
}
.z-\[200\] {
  z-index: 200;
}
.z-\[300\] {
  z-index: 300;
}
.z-\[480\] {
  z-index: 480;
}
.z-\[500\] {
  z-index: 500;
}
.mx-10 {
  margin-left: 2.5rem;
  margin-right: 2.5rem;
}
.mx-3 {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}
.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mx-5 {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.-mb-px {
  margin-bottom: -1px;
}
.mb-0 {
  margin-bottom: 0px;
}
.mb-0\.5 {
  margin-bottom: 0.125rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-2\.5 {
  margin-bottom: 0.625rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-7 {
  margin-bottom: 1.75rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mr-3 {
  margin-right: 0.75rem;
}
.mt-0 {
  margin-top: 0px;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-1\.5 {
  margin-top: 0.375rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-2\.5 {
  margin-top: 0.625rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-7 {
  margin-top: 1.75rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-auto {
  margin-top: auto;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-1 {
  height: 0.25rem;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-24 {
  height: 6rem;
}
.h-4 {
  height: 1rem;
}
.h-40 {
  height: 10rem;
}
.h-6 {
  height: 1.5rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-full {
  height: 100%;
}
.h-px {
  height: 1px;
}
.max-h-\[85vh\] {
  max-height: 85vh;
}
.min-h-12 {
  min-height: 3rem;
}
.min-h-6 {
  min-height: 1.5rem;
}
.min-h-screen {
  min-height: 100vh;
}
.w-1\.5 {
  width: 0.375rem;
}
.w-10 {
  width: 2.5rem;
}
.w-11 {
  width: 2.75rem;
}
.w-12 {
  width: 3rem;
}
.w-14 {
  width: 3.5rem;
}
.w-24 {
  width: 6rem;
}
.w-4 {
  width: 1rem;
}
.w-6 {
  width: 1.5rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-full {
  width: 100%;
}
.w-px {
  width: 1px;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[48px\] {
  min-width: 48px;
}
.max-w-\[200px\] {
  max-width: 200px;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-sm {
  max-width: 24rem;
}
.max-w-xs {
  max-width: 20rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-none {
  flex: none;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-grow {
  flex-grow: 1;
}
.grow {
  flex-grow: 1;
}
.border-collapse {
  border-collapse: collapse;
}
.translate-x-full {
  --tw-translate-x: 100%;
  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));
}
.scale-95 {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  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));
}
.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-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.resize-none {
  resize: none;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.grid-cols-\[minmax\(0\2c 1fr\)_24px_minmax\(0\2c 1fr\)\] {
  grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr);
}
.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;
}
.items-baseline {
  align-items: baseline;
}
.items-stretch {
  align-items: stretch;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.gap-0 {
  gap: 0px;
}
.gap-0\.5 {
  gap: 0.125rem;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-\[7px\] {
  gap: 7px;
}
.gap-x-4 {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}
.gap-y-1 {
  row-gap: 0.25rem;
}
.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-y-0\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.125rem * var(--tw-space-y-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-2\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.625rem * 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));
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-gray-100 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-divide-opacity, 1));
}
.self-center {
  align-self: center;
}
.self-stretch {
  align-self: stretch;
}
.justify-self-center {
  justify-self: center;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre-line {
  white-space: pre-line;
}
.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;
}
.rounded-b-2xl {
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
.rounded-t-2xl {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.rounded-t-3xl {
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-2 {
  border-width: 2px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-current {
  border-color: currentColor;
}
.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}
.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-gray-200\/60 {
  border-color: rgb(229 231 235 / 0.6);
}
.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.border-gray-900 {
  --tw-border-opacity: 1;
  border-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
}
.border-transparent {
  border-color: transparent;
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-\[\#f8fafc\] {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}
.bg-\[\#fafaf8\] {
  --tw-bg-opacity: 1;
  background-color: rgb(250 250 248 / var(--tw-bg-opacity, 1));
}
.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-black\/40 {
  background-color: rgb(0 0 0 / 0.4);
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-black\/60 {
  background-color: rgb(0 0 0 / 0.6);
}
.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}
.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.bg-gray-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}
.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / 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-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}
.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-0 {
  padding: 0px;
}
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.px-14 {
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-7 {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-\[13px\] {
  padding-top: 13px;
  padding-bottom: 13px;
}
.py-\[3px\] {
  padding-top: 3px;
  padding-bottom: 3px;
}
.pb-0 {
  padding-bottom: 0px;
}
.pb-1 {
  padding-bottom: 0.25rem;
}
.pb-10 {
  padding-bottom: 2.5rem;
}
.pb-12 {
  padding-bottom: 3rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-2\.5 {
  padding-bottom: 0.625rem;
}
.pb-20 {
  padding-bottom: 5rem;
}
.pb-24 {
  padding-bottom: 6rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-5 {
  padding-bottom: 1.25rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pb-8 {
  padding-bottom: 2rem;
}
.pl-12 {
  padding-left: 3rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pr-3 {
  padding-right: 0.75rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.pt-7 {
  padding-top: 1.75rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.align-middle {
  vertical-align: middle;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.font-sans {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.font-serif {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[11\.5px\] {
  font-size: 11.5px;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-\[12px\] {
  font-size: 12px;
}
.text-\[13px\] {
  font-size: 13px;
}
.text-\[15px\] {
  font-size: 15px;
}
.text-\[16px\] {
  font-size: 16px;
}
.text-\[17px\] {
  font-size: 17px;
}
.text-\[22px\] {
  font-size: 22px;
}
.text-\[8px\] {
  font-size: 8px;
}
.text-\[9px\] {
  font-size: 9px;
}
.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-light {
  font-weight: 300;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.italic {
  font-style: italic;
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.leading-loose {
  line-height: 2;
}
.leading-none {
  line-height: 1;
}
.leading-relaxed {
  line-height: 1.625;
}
.tracking-\[0\.10em\] {
  letter-spacing: 0.10em;
}
.tracking-\[0\.12em\] {
  letter-spacing: 0.12em;
}
.tracking-\[0\.14em\] {
  letter-spacing: 0.14em;
}
.tracking-\[0\.16em\] {
  letter-spacing: 0.16em;
}
.tracking-\[0\.18em\] {
  letter-spacing: 0.18em;
}
.tracking-\[0\.25em\] {
  letter-spacing: 0.25em;
}
.tracking-\[0\.28em\] {
  letter-spacing: 0.28em;
}
.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}
.tracking-\[0\.38em\] {
  letter-spacing: 0.38em;
}
.tracking-\[0\.3em\] {
  letter-spacing: 0.3em;
}
.tracking-\[0\.5em\] {
  letter-spacing: 0.5em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.text-amber-500 {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}
.text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}
.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}
.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 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-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / 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-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.underline-offset-2 {
  text-underline-offset: 2px;
}
.placeholder-gray-200::-moz-placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(229 231 235 / var(--tw-placeholder-opacity, 1));
}
.placeholder-gray-200::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(229 231 235 / var(--tw-placeholder-opacity, 1));
}
.placeholder-gray-300::-moz-placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(209 213 219 / var(--tw-placeholder-opacity, 1));
}
.placeholder-gray-300::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(209 213 219 / var(--tw-placeholder-opacity, 1));
}
.opacity-0 {
  opacity: 0;
}
.opacity-50 {
  opacity: 0.5;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.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);
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 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-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.outline {
  outline-style: solid;
}
.ring {
  --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(3px + 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);
}
.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);
}
.filter {
  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);
}
.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;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.delay-1000 {
  transition-delay: 1000ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.duration-700 {
  transition-duration: 700ms;
}

@font-face {
    font-family: 'ZhiMangXingLocal';
    src: url('/assets/ZhiMangXing-Regular-xlWl2Bmu.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UnGungseoLocal';
    src: url('/assets/fonts/UnGungseo.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: 'ChosunGsLocal';
  src: url('/assets/fonts/ChosunGs/ChosunGs.TTF') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KizashiLocal';
  src: url('/assets/fonts/kizashi_0001/Kizashi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MasaFontLocal';
  src: url('/assets/fonts/MasaFont-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Base Styles */
:root {
    --primary-color: #1A1A1A;
    --secondary-color: #3A3A3A;
    --accent-color: #007AFF;
    --background-color: #F8F8FA;
    --card-background: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: #EBEBEB;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --transition-standard: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 深色模式已移除 */

/* Toast通知系统 */
#toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(100%);
    animation: toastIn 0.3s ease forwards;
}

.toast.toast-hiding {
    animation: toastOut 0.3s ease forwards;
}

.toast-success { background-color: #22c55e; }
.toast-error { background-color: #ef4444; }
.toast-warning { background-color: #f59e0b; }
.toast-info { background-color: #1f2937; }

@keyframes toastIn {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    to { opacity: 0; transform: translateX(100%); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overscroll-behavior: none;
    display: flex;
    justify-content: center;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbars but keep scrolling functionality */
body::-webkit-scrollbar {
    display: none;
}

/* Critical utility fallbacks.
   The app currently uses many Tailwind utility classes directly in HTML.
   These local definitions keep core layout, screen stacking, and hit-testing
   working even if the Tailwind CDN is unavailable in preview/app environments. */
.block { display: block !important; }
.flex { display: flex !important; }
.fixed { position: fixed !important; }
.absolute { position: absolute !important; }
.relative { position: relative !important; }
.inset-0 { top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; }
.flex-col { flex-direction: column !important; }
.flex-grow { flex-grow: 1 !important; }
.items-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }
.w-full { width: 100% !important; }
.max-w-md { max-width: 28rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.min-h-screen { min-height: 100vh !important; }
.overflow-x-hidden { overflow-x: hidden !important; }
.overflow-y-auto { overflow-y: auto !important; }
.pointer-events-none { pointer-events: none !important; }
.opacity-0 { opacity: 0 !important; }
.text-center { text-align: center !important; }
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-50 { z-index: 50 !important; }
.transition-opacity { transition-property: opacity !important; }
.duration-300 { transition-duration: 0.3s !important; }
.duration-500 { transition-duration: 0.5s !important; }
.duration-700 { transition-duration: 0.7s !important; }
.hidden { display: none !important; }


/* 变爻标记样式 */
.changing-mark {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #007AFF;
}

.position-relative {
    position: relative;
}

.font-geist-mono {
    font-family: 'SF Mono', SFMono-Regular, ui-monospace, monospace;
    letter-spacing: -0.02em;
}

/* Glass Effect Card */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-standard), box-shadow var(--transition-standard);
}

.glass-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Hexagram Styling */
.hexagram-line {
    height: 8px;
    width: 60px;
    background: transparent;
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 阳爻样式 - 实线 */
.yang-line {
    height: 8px;
    width: 60px;
    background-color: #1A1A1A !important;
    border-radius: 4px;
    display: block;
}

/* 阴爻样式 - 断线 */
.yin-line {
    height: 8px;
    width: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
}

.yin-line span {
    height: 8px;
    width: 24px;
    background-color: #1A1A1A !important;
    border-radius: 4px;
    display: block;
}

/* 动爻行需要 position:relative 才能让 ::after 正确定位 */
.hexagram-line.changing-yang,
.hexagram-line.changing-yin {
    position: relative;
}

/* 老阳动爻标识 ○ — 垂直居中对齐爻条 */
.hexagram-line.changing-yang::after {
    content: "○";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--accent-color);
}

/* 老阴动爻标识 × — 垂直居中对齐爻条 */
.hexagram-line.changing-yin::after {
    content: "×";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--accent-color);
}

/* 表格中的变爻标识 */
td.changing-yang::after {
    content: "○";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--accent-color);
}

/* 左滑删除样式 */
.history-card-container {
    position: relative;
    overflow: hidden;
}

.history-card-container .glass-card {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.history-card-container .absolute {
    width: 120px;
    right: -120px;
}

.history-card-container .absolute button {
    width: 60px;
    height: 100%;
    border: none;
    outline: none;
    cursor: pointer;
}

td.changing-yin::after {
    content: "×";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--accent-color);
}

/* 卦象箭头样式 */
.hexagram-arrow {
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(156, 163, 175, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagram-arrow:hover {
    background-color: rgba(156, 163, 175, 0.2);
    transform: scale(1.1);
}

.hexagram-arrow svg {
    transition: stroke 0.3s ease;
}

.hexagram-arrow:hover svg {
    stroke: #6B7280;
}

/* 历史记录样式 */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2; /* 标准属性，用于未来兼容性 */
}

#history-list .glass-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#history-list .glass-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.history-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6B7280;
}

/* Button States */
.method-btn.selected {
    background-color: transparent !important;
    color: #111827 !important;
    border-color: transparent !important;
    border-bottom-color: #111827 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Coin input buttons: minimal outline → sun/moon after interaction */
.coin-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    background: transparent;
    border: 1.5px solid #e2dfdb;   /* unset/default: very light coin outline */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 180ms ease,
                transform 120ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.coin-btn[data-state="yang"] {
    border-color: #c9a32a;         /* gold ring = sun / 正面 */
}

.coin-btn[data-state="yin"] {
    border-color: #9ca3af;         /* silver ring = moon / 反面 */
}

.coin-btn:active {
    transform: scale(0.88);
}

#feedback-good-btn.selected, #feedback-bad.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Loading Animation */
.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animation Effects */

/* ── Login tagline: switch to serif when language is English ─────── */
html[lang="en"] .login-tagline-h1 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 24px !important;
    letter-spacing: 0.03em !important;
}

/* ── Logo SVG + line draw-in animation ───────────────────────────── */
.hx-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: -60px;
    opacity: 0;
    transform: translateY(10px) scale(0.94);
    animation:
        hxLogoIntro 1.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards 0.1s,
        hxFloat 6.8s ease-in-out infinite 2s;
    will-change: transform, opacity, filter;
}

.hx-logo-img {
    width: min(384px, 90vw);
    display: block;
    opacity: 1;
    filter: blur(6px) drop-shadow(0 0 0 rgba(17, 24, 39, 0));
    animation:
        hxLogoImageIntro 1.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards 0.1s,
        hxGlow 8s ease-in-out infinite 2.4s;
}

/* Rare, low-contrast light sweep */
.hx-logo-wrap::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -95%;
    width: 32%;
    height: 200%;
    background: linear-gradient(
        108deg,
        transparent 20%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 80%
    );
    opacity: 0;
    animation: hxShimmer 11s ease-in-out infinite 4.5s;
    pointer-events: none;
}

@keyframes hxLogoIntro {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.94);
    }
    62% {
        opacity: 1;
        transform: translateY(-1px) scale(1.024);
    }
    82% {
        opacity: 1;
        transform: translateY(0) scale(0.996);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes hxLogoImageIntro {
    0% {
        opacity: 0;
        filter: blur(6px) drop-shadow(0 0 0 rgba(17, 24, 39, 0));
    }
    55% {
        opacity: 0.96;
        filter: blur(2px) drop-shadow(0 12px 24px rgba(17, 24, 39, 0.1));
    }
    72% {
        opacity: 1;
        filter: blur(0.6px) drop-shadow(0 13px 26px rgba(17, 24, 39, 0.12));
    }
    84% {
        opacity: 1;
        filter: blur(0) drop-shadow(0 5px 14px rgba(17, 24, 39, 0.06));
    }
    100% {
        opacity: 1;
        filter: blur(0) drop-shadow(0 6px 16px rgba(17, 24, 39, 0.08));
    }
}
@keyframes hxGlow {
    0%, 100% { filter: blur(0) drop-shadow(0 6px 16px rgba(17, 24, 39, 0.07)); }
    50% { filter: blur(0) drop-shadow(0 9px 22px rgba(17, 24, 39, 0.12)); }
}
@keyframes hxShimmer {
    0%, 72%, 100% {
        left: -95%;
        opacity: 0;
    }
    78% {
        opacity: 0.3;
    }
    92% {
        left: 128%;
        opacity: 0.12;
    }
}
@keyframes hxFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.008); }
}

.title-animation {
    opacity: 0;
    animation: fadeIn 1.3s ease forwards 0.9s;
}

.subtitle-animation {
    opacity: 0;
    animation: fadeIn 1.3s ease forwards 1.0s;
}

.welcome-divider {
    width: 32px;
    height: 1px;
    background: #d1d5db;
}

.start-button {
    opacity: 0;
    animation: fadeIn 1.3s ease forwards 1.1s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hexagram Animation */
.hexagram-animation {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hexagram-animation.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ── Paywall Modal ───────────────────────────────────────────── */
/* (animation handled via #paywall-sheet transition + is-open class below) */

/* Modal Animation */
#share-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

#share-modal.visible > div {
    transform: scale(1);
}

/* Aphorism — same timing as button */
#welcome-aphorism {
    opacity: 0;
    animation: fadeIn 1.3s ease forwards 1.1s;
}

/* Recent Activity Animation */
#recent-activity {
    transition-duration: 1.4s !important;
}
#recent-activity.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Transform Arrow Animation */
.transform-arrow {
    animation: pulseArrow 2s infinite;
}

@keyframes pulseArrow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Screen sections: ensure content is not hidden behind bottom nav */
#analysis-screen > div,
#history-screen,
#profile-screen,
#settings-screen,
#about-screen,
#divination-input-screen {
    padding-bottom: 80px;
}

/* ── Bottom Navigation — text-only, minimal ────────── */
.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 0 14px;
    color: #c0bbb4;
    background: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 200ms ease;
}

/* Small dot above label — visible only when active */
.nav-item::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: transparent;
    transition: background 200ms ease;
    flex-shrink: 0;
}

.nav-item span {
    font-size: 10px;
    letter-spacing: 0.04em;
    font-weight: 400;
    line-height: 1;
}

.nav-item.active {
    color: #1a1a1a;
}

.nav-item.active::before {
    background: #1a1a1a;
}

.nav-item.active span {
    font-weight: 600;
}

/* (coin-btn circle styles consolidated above) */

/* Analysis screen specific styles */


/* Responsive adjustments */
@media (max-width: 640px) {
    .max-w-md {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hexagram-display {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .transform-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .bottom-nav {
        padding: 8px 16px;
    }
    
    .nav-item {
        min-width: 50px;
        padding: 14px 4px 10px;
    }
}

/* 神煞信息样式 */
.spirits-info {
    overflow-x: auto;
}

.spirits-info div {
    text-align: left;
    line-height: 1.6;
    padding: 4px 0;
    word-wrap: break-word;
    font-size: 12px;
}

#spirits-row1, #spirits-row2 {
    white-space: normal;
    display: block;
    width: 100%;
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    letter-spacing: 1px;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Tablet breakpoint */
@media (min-width: 768px) {
    .max-w-md {
        max-width: 540px !important;
    }

    .glass-card {
        padding: 24px;
    }

    .bottom-nav {
        padding: 14px 0;
    }

    .nav-item {
        font-size: 13px;
    }
}

/* Desktop breakpoint */
@media (min-width: 1024px) {
    .max-w-md {
        max-width: 640px !important;
    }

    .glass-card {
        padding: 28px;
        border-radius: 16px;
    }

    .hexagram-display {
        gap: 3rem;
    }

    .analysis-section {
        font-size: 15px;
    }

    .bottom-nav {
        max-width: 640px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 16px 16px 0 0;
    }
}

/* ==================== UI 交互打磨 ==================== */

/* 1. 页面切换动画 */
.screen-enter {
    animation: screenFadeIn 0.3s ease-out forwards;
}

.screen-exit {
    animation: screenFadeOut 0.2s ease-in forwards;
}

@keyframes screenFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes screenFadeOut {
    to { opacity: 0; transform: translateY(-8px); }
}

/* 2. 底部导航激活态 — 细点标记，取代粗横线 */
.nav-item.active::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #1a1a1a;
}

/* 3. 骨架屏加载效果 */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 4. 铜钱翻转动画（已移除） */

/* 6. 按钮触摸反馈增强 - 只对独立按钮生效，不影响容器 */
.start-button,
.method-btn,
.coin-btn,
#send-code-btn,
#phone-login-btn,
#feedback-good-btn,
#feedback-bad,
#copy-result,
#confirm-cancel,
#confirm-ok {
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.start-button:active,
.method-btn:active,
#send-code-btn:active,
#phone-login-btn:active,
#feedback-good-btn:active,
#feedback-bad:active,
#copy-result:active,
#confirm-cancel:active,
#confirm-ok:active {
    transform: scale(0.96);
    opacity: 0.85;
}

.start-button:active {
    transform: scale(0.94);
}

/* 按钮按压动画类 */
.press-animation {
    transform: scale(0.97);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 7. 空状态浮动动画 */
.empty-state-icon {
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* 9. 分析结果渐入 CSS class */
.analysis-fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.analysis-fade-in.visible {
    opacity: 1 !important;
    visibility: visible;
    transform: translateY(0);
}

/* 10. 免责声明 */
.disclaimer-text {
    font-size: 10px;
    line-height: 1.5;
    color: #9ca3af;
    text-align: center;
    padding: 12px 20px 20px;
    opacity: 0.7;
}

/* 11. 模态框弹入动画 */
.modal-enter {
    animation: modalFadeIn 0.25s ease-out forwards;
}

.modal-enter > div {
    animation: modalScaleIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes modalScaleIn {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* 11. 历史卡片入场动画 */
.history-card-container {
    animation: cardSlideIn 0.3s ease-out both;
}

@keyframes cardSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 12. 输入框聚焦效果增强 */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(120, 113, 108, 0.2);
    border-color: #a8a29e !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 13. 方法按钮切换过渡 */
.method-btn {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.method-btn:active {
    transform: scale(0.95);
}

/* 14. 删除记录滑出动画 */
.history-card-removing {
    animation: cardRemove 0.3s ease-in forwards;
}

@keyframes cardRemove {
    to { opacity: 0; transform: translateX(-100%); height: 0; margin: 0; padding: 0; overflow: hidden; }
}

/* 15. 反馈按钮选中动效 */
#feedback-good-btn, #feedback-bad {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* 隐藏滚动条 — 全局 */
html, body {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow: hidden;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }

.scrollbar-hide {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

/* ── Share Bottom Sheet ─────────────────────────────────────────────────── */
#share-panel-overlay {
    opacity: 0;
    transition: opacity .3s ease;
}
#share-panel {
    transition: transform .32s cubic-bezier(.32,1,.34,1);
    will-change: transform;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
#template-scroll::-webkit-scrollbar { display: none; }
#template-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* Template active ring */
.tpl-btn--active { box-shadow: 0 0 0 2px #c8a86e44; }

/* ── Share card template themes ─────────────────────────────────────────── */

/* Preview image container aspect ratio */
#share-preview-img { aspect-ratio: 3/4; -o-object-fit: cover; object-fit: cover; }

/* ── Share Card: base reset (wrappers control all layout) ─────────────── */
#share-card-template {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

/* Hide all wrappers by default; active template class shows its own */
.receipt-wrapper, .amulet-wrapper, .energy-wrapper { display: none; }

/* ════════════════════════════════════════════════════════════════════════════
   TEMPLATE A — RECEIPT  宇宙小票
   Thermal printer receipt aesthetic, Courier New monospace, CSS barcode.
   ════════════════════════════════════════════════════════════════════════════ */
#share-card-template.tpl-receipt .receipt-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FAFAF7;
  color: #111;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  padding: 28px 24px 20px;
  width: 100%;
  box-sizing: border-box;
}
.rc-store-name {
  font-size: 14px; font-weight: 700; text-align: center;
  letter-spacing: 3px; line-height: 1.5; margin-bottom: 4px;
}
.rc-tagline {
  font-size: 8px; color: #666; letter-spacing: 1.5px;
  text-align: center; margin-bottom: 10px;
}
.rc-divider {
  width: 100%; border-top: 1px solid #222;
  margin: 8px 0;
}
.rc-divider-dashed {
  width: 100%; border-top: 1px dashed #888;
  margin: 8px 0;
}
.rc-meta { width: 100%; line-height: 1.9; font-size: 10px; }
.rc-items { width: 100%; }
.rc-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  line-height: 1.7; font-size: 10px; gap: 8px;
}
.rc-item-key { color: #555; flex-shrink: 0; }
.rc-item-q span:last-child { font-size: 9px; color: #444; text-align: right; max-width: 60%; }
.rc-verdict-section { width: 100%; }
.rc-verdict-label { font-size: 10px; color: #555; text-align: center; margin-bottom: 4px; }
.rc-verdict-body {
  font-size: 10.5px; line-height: 1.8; color: #1a1a1a;
  word-break: break-all; white-space: pre-wrap;
}
.rc-footer-meta { width: 100%; line-height: 1.9; font-size: 10px; }
.rc-barcode-wrap { width: 100%; text-align: center; margin-top: 6px; }
.rc-barcode {
  display: flex; align-items: flex-end; justify-content: center;
  height: 40px; gap: 1px;
}
/* Barcode bars */
.bc-b { display: inline-block; background: #111; height: 100%; }
.bc-s { display: inline-block; background: transparent; height: 100%; }
.bc-b.w1, .bc-s.w1 { width: 1px; }
.bc-b.w2, .bc-s.w2 { width: 2px; }
.bc-b.w3, .bc-s.w3 { width: 3px; }
.bc-b     { width: 1.5px; }
.bc-s     { width: 1px; }
.rc-barcode-num {
  font-size: 7px; color: #888; letter-spacing: 1px; margin-top: 4px;
}

/* ════════════════════════════════════════════════════════════════════════════
   TEMPLATE B — AMULET  锁屏御守
   9:16 phone lockscreen aesthetic, deep red, vertical verdict text.
   ════════════════════════════════════════════════════════════════════════════ */
#share-card-template.tpl-amulet .amulet-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: #8B0000;
  color: #FFE8C0;
  min-height: 640px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 24px 32px;
  overflow: hidden;
}
.am-clock-space { height: 80px; flex-shrink: 0; }
.am-bagua-bg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 280px; opacity: 0.06;
  pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; line-height: 1;
}
.am-brand {
  font-size: 9px; letter-spacing: 3px; color: rgba(255,232,192,0.5);
  text-align: center; margin-bottom: 20px; position: relative; z-index: 1;
}
.am-hex-wrap {
  text-align: center; margin-bottom: 16px; position: relative; z-index: 1;
}
.am-hex-symbols {
  font-size: 36px; letter-spacing: 12px; color: #FFD580;
  display: block; margin-bottom: 6px;
}
.am-hex-names {
  font-size: 13px; letter-spacing: 4px; color: #FFE8C0;
  font-family: 'STSong', 'Songti SC', serif;
}
.am-question-text {
  font-size: 11px; color: rgba(255,232,192,0.7);
  letter-spacing: 2px; margin-bottom: 24px;
  text-align: center; position: relative; z-index: 1;
}
#am-verdict {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: 'STSong', 'Songti SC', 'SimSun', serif;
  font-size: 18px; line-height: 2.2; letter-spacing: 4px;
  color: #FFE8C0; text-align: center;
  max-height: 280px; overflow: hidden;
  position: relative; z-index: 1;
  flex: 1;
}
.am-bottom-seal {
  margin-top: auto; padding-top: 20px; text-align: center;
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,232,192,0.2); width: 100%;
}
.am-seal-text {
  font-size: 9px; letter-spacing: 3px; color: rgba(255,232,192,0.6);
}
.am-seal-sub {
  font-size: 8px; color: rgba(255,232,192,0.35); margin-top: 4px; letter-spacing: 1px;
}

/* ════════════════════════════════════════════════════════════════════════════
   TEMPLATE C — ENERGY  五行能量面板
   Dark tech panel, five Wu-Xing progress bars, cyan glow.
   NO backdrop-filter (html2canvas incompatible).
   ════════════════════════════════════════════════════════════════════════════ */
#share-card-template.tpl-energy .energy-wrapper {
  display: flex;
  flex-direction: column;
  background: #0a0b10;
  color: #e0e8f0;
  padding: 28px 24px 24px;
  width: 100%;
  box-sizing: border-box;
}
.en-header { margin-bottom: 20px; }
.en-title {
  font-size: 15px; font-weight: 700; color: #00f3ff;
  letter-spacing: 3px; text-shadow: 0 0 10px rgba(0,243,255,0.6);
}
.en-subtitle {
  font-size: 10px; color: rgba(0,243,255,0.55);
  letter-spacing: 1.5px; margin-top: 4px;
}
.en-bars { margin-bottom: 20px; }
.en-bar-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.en-bar-label {
  width: 14px; font-size: 13px; font-weight: 700; text-align: center; flex-shrink: 0;
}
.en-gold  { color: #ffd700; }
.en-wood  { color: #22c55e; }
.en-water { color: #38bdf8; }
.en-fire  { color: #f97316; }
.en-earth { color: #ca8a04; }
.en-bar-track {
  flex: 1; height: 8px; background: rgba(255,255,255,0.07);
  border-radius: 4px; overflow: hidden;
}
.en-bar-fill {
  height: 100%; border-radius: 4px;
  transition: width .4s ease;
}
.en-bar-fill.gold  { background: linear-gradient(90deg, #b8860b, #ffd700); box-shadow: 0 0 6px rgba(255,215,0,0.5); }
.en-bar-fill.wood  { background: linear-gradient(90deg, #15803d, #22c55e); box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.en-bar-fill.water { background: linear-gradient(90deg, #0369a1, #38bdf8); box-shadow: 0 0 6px rgba(56,189,248,0.5); }
.en-bar-fill.fire  { background: linear-gradient(90deg, #c2410c, #f97316); box-shadow: 0 0 6px rgba(249,115,22,0.5); }
.en-bar-fill.earth { background: linear-gradient(90deg, #92400e, #ca8a04); box-shadow: 0 0 6px rgba(202,138,4,0.5); }
.en-bar-val {
  width: 32px; font-size: 10px; color: rgba(224,232,240,0.6);
  text-align: right; flex-shrink: 0; font-family: monospace;
}
.en-question-panel {
  font-size: 10px; color: rgba(0,243,255,0.5);
  letter-spacing: 2px; margin-bottom: 12px;
  border-top: 1px solid rgba(0,243,255,0.12);
  padding-top: 12px;
}
.en-verdict-panel {
  font-size: 11.5px; line-height: 1.9; color: #c8d8e8;
  background: rgba(0,243,255,0.04);
  border: 1px solid rgba(0,243,255,0.12);
  border-radius: 6px; padding: 12px;
  word-break: break-all;
}
.en-footer {
  display: flex; justify-content: space-between;
  font-size: 8px; color: rgba(0,243,255,0.3);
  letter-spacing: 1.5px; margin-top: 16px;
}

/* Bottom Sheet upgrade */
#share-panel { max-height: 90vh; overflow-y: auto; }
.social-icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.social-icon-btn .icon-circle {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .15s;
}
.social-icon-btn:active .icon-circle { opacity: .75; }
.social-icon-btn span { font-size: 10px; color: #666; }

/* Inspiration Cards */
#inspiration-container .insp-card {
  border-radius: 14px; padding: 18px 20px;
  border: 1px solid rgba(0,0,0,0.07);
  background: white;
}
.insp-breathe { animation: inspBreath 3s ease-in-out infinite; }
@keyframes inspBreath {
  0%,100% { opacity: .7; } 50% { opacity: 1; }
}
.shortcut-card {
  flex: 1; padding: 14px; border-radius: 12px;
  border: 1px solid #e5e7eb; background: #f9fafb;
  cursor: pointer; text-align: left; transition: background .15s;
}
.shortcut-card:active { background: #f0f1f3; }

/* ── Zen Tutorial Onboarding ───────────────────────────────────────────────── */
@keyframes zenBreathe {
  0%, 100% { opacity: 0.28; }
  50%       { opacity: 0.78; }
}
.tutorial-breathe {
  animation: zenBreathe 3.6s ease-in-out infinite;
}

/* ============================================================
   2.0 ANIMATION SYSTEM
   ============================================================ */

/* Design tokens for 2.0 */
:root {
  --anim-fast: 150ms;
  --anim-normal: 300ms;
  --anim-slow: 500ms;
  --anim-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --anim-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --anim-enter: cubic-bezier(0, 0, 0.2, 1);
}

/* ── 1. Home brand entrance ──────────────────────────────── */
@keyframes brandFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brand-enter {
  animation: brandFadeIn var(--anim-slow) var(--anim-ease) both;
}

.card-enter {
  animation: cardSlideUp var(--anim-normal) var(--anim-ease) both;
}

.card-enter-delay-1 {
  animation: cardSlideUp var(--anim-normal) var(--anim-ease) 80ms both;
}

.card-enter-delay-2 {
  animation: cardSlideUp var(--anim-normal) var(--anim-ease) 160ms both;
}

.card-enter-delay-3 {
  animation: cardSlideUp var(--anim-normal) var(--anim-ease) 240ms both;
}

/* ── 2. Method selector switch ────────────────────────────── */
.method-btn {
  transition: border-color var(--anim-fast) var(--anim-ease),
              background-color var(--anim-fast) var(--anim-ease),
              transform var(--anim-fast) var(--anim-ease);
}

.method-btn.selected {
  color: #111827 !important;
  background-color: transparent !important;
  border-color: transparent !important;
  border-bottom-color: #111827 !important;
  border-bottom-width: 2px !important;
  transform: none !important;
  box-shadow: none !important;
}

.method-btn:active {
  transform: scale(0.98);
}

/* ── 3. Time picker modal ─────────────────────────────────── */
#time-picker-modal {
  transition: opacity var(--anim-normal) var(--anim-ease);
}

#time-picker-modal > div {
  transition: transform var(--anim-normal) var(--anim-spring);
}

#time-picker-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── 4. Line result display ───────────────────────────────── */
.line-result {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 200ms ease, transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.line-result.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Number input placeholder ─────────────────────────────── */
.num-line-input::-moz-placeholder {
  color: #d4d0cb;
  font-weight: 400;
  letter-spacing: 0.15em;
}
.num-line-input::placeholder {
  color: #d4d0cb;
  font-weight: 400;
  letter-spacing: 0.15em;
}

/* ── 5. Submit loading state ──────────────────────────────── */
@keyframes pulseText {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.analyzing-pulse {
  animation: pulseText 1.5s ease-in-out infinite;
}

/* ── 6. Instant result page entry ─────────────────────────── */
@keyframes resultSlideIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

#instant-result-screen .result-enter {
  animation: resultSlideIn var(--anim-slow) var(--anim-enter) both;
}

/* ── 7. Full reading sections ─────────────────────────────── */
@keyframes sectionReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-reveal {
  animation: sectionReveal var(--anim-normal) var(--anim-ease) both;
}

.section-reveal-1 { animation-delay: 0ms;   }
.section-reveal-2 { animation-delay: 80ms;  }
.section-reveal-3 { animation-delay: 160ms; }
.section-reveal-4 { animation-delay: 240ms; }
.section-reveal-5 { animation-delay: 320ms; }

/* ── 8. (removed — paywall uses transition, see #paywall-sheet below) ── */

/* ── 9. Share success feedback ────────────────────────────── */
@keyframes shareSuccess {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.share-success-bounce {
  animation: shareSuccess 400ms var(--anim-spring);
}

/* ── 10. Coin onboarding modal ────────────────────────────── */
#coin-onboarding-modal > div {
  animation: sheetUp var(--anim-normal) var(--anim-spring) both;
}

.coin-ob-page {
  transition: opacity var(--anim-normal) var(--anim-ease),
              transform var(--anim-normal) var(--anim-ease);
}

.coin-ob-page.leaving {
  opacity: 0;
  transform: translateX(-24px);
}

.coin-ob-page.entering {
  animation: cardSlideUp var(--anim-normal) var(--anim-ease) both;
}

/* ── Daily Guidance Card ──────────────────────────────────── */
#daily-guidance-card {
  transition: opacity var(--anim-normal) var(--anim-ease);
}

/* ── Method selector 2.0 ──────────────────────────────────── */
.method-btn.selected span.text-sm {
  color: #111827;
}

/* ── Paywall plan selection ───────────────────────────────── */
.paywall-plan-btn.selected {
  border-color: #111827;
  border-width: 2px;
  background-color: #f9fafb;
}

/* ── Glass card upgrade ───────────────────────────────────── */
.glass-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ── Instant result hexagram mini display ────────────────── */
#instant-original-hex .hex-line-yang {
  height: 6px;
  width: 48px;
  background-color: #111827;
  border-radius: 3px;
  margin: 2px auto;
}

#instant-original-hex .hex-line-yin {
  height: 6px;
  width: 48px;
  display: flex;
  justify-content: space-between;
  margin: 2px auto;
}

#instant-original-hex .hex-line-yin span {
  height: 6px;
  width: 20px;
  background-color: #111827;
  border-radius: 3px;
}

/* Profile membership stat boxes */
#profile-readings-left,
#profile-bonus-credits {
  font-variant-numeric: tabular-nums;
}

/* Share progress bars active state */
.share-prog-active {
  background-color: #111827 !important;
}

/* ── Scrollbar hide utility ───────────────────────────────── */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ── 万事贞明 brush-writing loading animation ───────────────── */
/*
 * Three-phase calligraphy reveal:
 *   Phase 1 (0–10%):   clip-path wipe begins, blur=4px simulates wet ink landing on paper
 *   Phase 2 (10–65%):  wipe continues, blur dissolves as ink settles, ink-bloom shadow fades
 *   Phase 3 (65–100%): clip fully open, blur=0, shadow gone — dry, crisp stroke
 * Per-char duration 0.72s × 4 chars × 0.38s stagger ≈ 1.9s total (EN: 0.45s stagger ≈ 2.1s)
 */
@keyframes brushWrite {
  0%   {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    filter: blur(4px);
    text-shadow: 0 0 18px rgba(44, 41, 37, 0.55);
  }
  8%   { opacity: 1; }
  55%  {
    filter: blur(0.6px);
    text-shadow: 0 0 5px rgba(44, 41, 37, 0.12);
  }
  100% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
    filter: blur(0);
    text-shadow: none;
  }
}
@keyframes brushFadeIn {
  0%   { opacity: 0; transform: translateY(3px); }
  100% { opacity: 0.3;  transform: translateY(0); }
}
.wzzzm-char {
  /* 楷体栈：有底蕴、流畅，彻底废除宋体印刷感 */
  font-family: 'Kaiti SC', 'STKaiti', 'Kaiti', 'PingFang SC', sans-serif;
  font-size: 3.2rem;          /* ≈ text-5xl — 足够分量 */
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #2c2925;
  opacity: 0;
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  /* Exponential ease-out: fast brush entry, long graceful settle */
  animation: brushWrite 1.06s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: clip-path, filter;
}
.wzzzm-char.lang-ko {
  font-family: 'ChosunGsLocal', '조선궁서체', 'UnGungseoLocal', 'UnGungseo', '은 궁서', '궁서', 'Gungsuh', serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
.wzzzm-subtitle {
  opacity: 0;
  transform: translateY(3px);
  animation: brushFadeIn 1.1s ease forwards;
  animation-delay: 2.35s;
}

/* ── 神煞 chip layout ──────────────────────────────────────── */
.spirits-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 2px;
}
.spirits-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.spirits-name {
  font-size: 10px;
  font-weight: 600;
  color: #374151;
}
.spirits-zhi {
  font-size: 9px;
  font-weight: 400;
  color: #9ca3af;
}

/* ── Task 2: Premium frosted-glass paywall ──────────────────── */
#analysis-lock-container {
  position: relative;
}

/* Blur overlay anchored to #analysis-lock-container (the text box itself).
   top:-20px bleeds slightly into the card gap above — no hardcoded screen offsets. */
#analysis-blur-gradient {
  position: absolute;
  /* Start coverage 72px from top — shows ~2 teaser lines, hides everything below */
  top: 72px;
  left: -24px;
  right: -24px;
  bottom: -32px;
  z-index: 20 !important;
  pointer-events: none;
  /* Strong gradient: quickly becomes fully opaque — no dependency on backdrop-filter */
  background: linear-gradient(
    to bottom,
    transparent                0%,
    rgba(250,250,248,0.92)    14%,
    #fafaf8                   28%,
    #fafaf8                  100%
  );
  border: none !important;
  box-shadow: none !important;
}

/* ── Premium AI-loading animation inside analysis section ─────── */
@keyframes analysisRingSpin {
  to { transform: rotate(360deg); }
}
@keyframes analysisRingBreath {
  0%, 100% { opacity: 0.28; transform: scale(0.9) rotate(0deg); }
  50%       { opacity: 0.65; transform: scale(1)   rotate(180deg); }
}
.analysis-breath-ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #b5b0aa;
  border-top-color: transparent;
  border-right-color: rgba(181, 176, 170, 0.35);
  animation: analysisRingSpin 2.6s linear infinite;
}
.analysis-breath-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9ca3af;
  animation: analysisRingBreath 2.6s ease-in-out infinite;
}

/* ── Focus styles ─────────────────────────────────────────── */
input:focus, textarea:focus, select:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(120, 113, 108, 0.18) !important;
  border-color: #a8a29e !important;
}

/* Fix browser autofill blue background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #1c1917 !important;
  background-color: #ffffff !important;
}

/* ── Transition for screen navigation ────────────────────── */
section[id$="-screen"] {
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

#login-screen {
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  opacity: 1 !important;
}

/* Paywall bottom sheet — transition-based, driven by .is-open */
#paywall-sheet {
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.10);
  transform: translateY(100%);
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1),
              max-height 0.32s ease,
              border-radius 0.32s ease;
  will-change: transform;
}
#paywall-modal.is-open #paywall-sheet {
  transform: translateY(0);
}
/* Expand to fullscreen when user scrolls content */
#paywall-sheet.expanded {
  max-height: 100dvh !important;
  border-radius: 0 !important;
}
/* Push handle below the status bar when fullscreen */
#paywall-sheet.expanded::before {
  content: '';
  display: block;
  flex-shrink: 0;
  height: env(safe-area-inset-top, 0px);
  min-height: 0;
}

/* Generic screen fade-in (used by showScreen's screen-enter class) */
.screen-enter {
  animation: screenSlideIn 0.38s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes screenSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Global input / form normalization ──────────────────────── */
input, textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  outline: none !important;
  box-shadow: none !important;
}
/* Restore native arrow for select dropdowns */
select {
  outline: none !important;
  box-shadow: none !important;
}
input:focus, textarea:focus {
  outline: none !important;
  box-shadow: none !important;
}
/* Suppress browser autocomplete yellow/blue tint */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 40px #fafaf8 inset !important;
  -webkit-text-fill-color: #1a1a1a !important;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}
/* Bottom border focus inputs — custom elegant focus */
input.focus\:border-gray-900:focus {
  border-bottom-color: #1a1a1a !important;
}
.placeholder\:text-gray-300::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.placeholder\:text-gray-300::placeholder {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.after\:absolute::after {
  content: var(--tw-content);
  position: absolute;
}
.after\:left-\[2px\]::after {
  content: var(--tw-content);
  left: 2px;
}
.after\:top-\[2px\]::after {
  content: var(--tw-content);
  top: 2px;
}
.after\:h-5::after {
  content: var(--tw-content);
  height: 1.25rem;
}
.after\:w-5::after {
  content: var(--tw-content);
  width: 1.25rem;
}
.after\:rounded-full::after {
  content: var(--tw-content);
  border-radius: 9999px;
}
.after\:border::after {
  content: var(--tw-content);
  border-width: 1px;
}
.after\:border-gray-300::after {
  content: var(--tw-content);
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.after\:bg-white::after {
  content: var(--tw-content);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.after\:transition-all::after {
  content: var(--tw-content);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.after\:content-\[\'\'\]::after {
  --tw-content: '';
  content: var(--tw-content);
}
.hover\:border-gray-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}
.hover\:border-gray-900:hover {
  --tw-border-opacity: 1;
  border-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
}
.hover\:border-red-200:hover {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}
.hover\:bg-black:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / 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-gray-800:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-900:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.hover\:text-gray-600:hover {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-700:hover {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-900:hover {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.focus\:border-gray-900:focus {
  --tw-border-opacity: 1;
  border-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
}
.focus\:border-red-400:focus {
  --tw-border-opacity: 1;
  border-color: rgb(248 113 113 / var(--tw-border-opacity, 1));
}
.focus\:border-transparent:focus {
  border-color: transparent;
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-0: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(0px + 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-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-gray-400:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity, 1));
}
.active\:scale-\[0\.985\]:active {
  --tw-scale-x: 0.985;
  --tw-scale-y: 0.985;
  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));
}
.active\:scale-\[0\.98\]:active {
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  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));
}
.active\:bg-black:active {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.active\:bg-gray-100:active {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.active\:opacity-50:active {
  opacity: 0.5;
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:opacity-25:disabled {
  opacity: 0.25;
}
.peer:checked ~ .peer-checked\:bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.peer:checked ~ .peer-checked\:after\:translate-x-full::after {
  content: var(--tw-content);
  --tw-translate-x: 100%;
  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));
}
.peer:checked ~ .peer-checked\:after\:border-white::after {
  content: var(--tw-content);
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.peer:focus ~ .peer-focus\:outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
