/* color palette from <https://github.com/vuejs/theme> */
:root {
  --vt-c-white: #ffffff;
  --vt-c-white-soft: #f8f8f8;
  --vt-c-white-mute: #f2f2f2;

  --vt-c-black: #181818;
  --vt-c-black-soft: #222222;
  --vt-c-black-mute: #282828;

  --vt-c-indigo: #2c3e50;

  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);

  --vt-c-text-light-1: var(--vt-c-indigo);
  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
  --vt-c-text-dark-1: var(--vt-c-white);
  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
}
/* semantic color variables for this project */
:root {
  --color-background: var(--vt-c-white);
  --color-background-soft: var(--vt-c-white-soft);
  --color-background-mute: var(--vt-c-white-mute);

  --color-border: var(--vt-c-divider-light-2);
  --color-border-hover: var(--vt-c-divider-light-1);

  --color-heading: var(--vt-c-text-light-1);
  --color-text: var(--vt-c-text-light-1);

  --surface-card-bg: rgba(255, 255, 255, 0.96);
  --surface-card-border: rgba(15, 23, 42, 0.12);
  --surface-card-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --surface-card-blur: 12px;
  --surface-control-border: rgba(15, 23, 42, 0.12);
  --surface-control-border-active: rgba(62, 92, 214, 0.45);
  --surface-control-bg: rgba(255, 255, 255, 0.98);
  --surface-control-label: rgba(31, 41, 55, 0.85);
  --surface-control-focus-ring: rgba(62, 92, 214, 0.28);

  --section-gap: 160px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: var(--vt-c-black);
    --color-background-soft: var(--vt-c-black-soft);
    --color-background-mute: var(--vt-c-black-mute);

    --color-border: var(--vt-c-divider-dark-2);
    --color-border-hover: var(--vt-c-divider-dark-1);

    --color-heading: var(--vt-c-text-dark-1);
    --color-text: var(--vt-c-text-dark-2);

    --surface-card-bg: rgba(26, 26, 28, 0.88);
    --surface-card-border: rgba(255, 255, 255, 0.1);
    --surface-card-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
    --surface-card-blur: 10px;
    --surface-control-border: rgba(255, 255, 255, 0.14);
    --surface-control-border-active: rgba(103, 146, 247, 0.65);
    --surface-control-bg: rgba(39, 40, 44, 0.95);
    --surface-control-label: rgba(229, 231, 235, 0.9);
    --surface-control-focus-ring: rgba(103, 146, 247, 0.32);
  }
}
html[data-theme='light'] {
  --color-background: var(--vt-c-white);
  --color-background-soft: var(--vt-c-white-soft);
  --color-background-mute: var(--vt-c-white-mute);

  --color-border: var(--vt-c-divider-light-2);
  --color-border-hover: var(--vt-c-divider-light-1);

  --color-heading: var(--vt-c-text-light-1);
  --color-text: var(--vt-c-text-light-1);

  --surface-card-bg: rgba(255, 255, 255, 0.96);
  --surface-card-border: rgba(15, 23, 42, 0.12);
  --surface-card-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --surface-card-blur: 12px;
  --surface-control-border: rgba(15, 23, 42, 0.12);
  --surface-control-border-active: rgba(62, 92, 214, 0.45);
  --surface-control-bg: rgba(255, 255, 255, 0.98);
  --surface-control-label: rgba(31, 41, 55, 0.85);
  --surface-control-focus-ring: rgba(62, 92, 214, 0.28);
}
html.dark,
html[data-theme='dark'] {
  --color-background: var(--vt-c-black);
  --color-background-soft: var(--vt-c-black-soft);
  --color-background-mute: var(--vt-c-black-mute);

  --color-border: var(--vt-c-divider-dark-2);
  --color-border-hover: var(--vt-c-divider-dark-1);

  --color-heading: var(--vt-c-text-dark-1);
  --color-text: var(--vt-c-text-dark-2);

  --surface-card-bg: rgba(26, 26, 28, 0.88);
  --surface-card-border: rgba(255, 255, 255, 0.1);
  --surface-card-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  --surface-card-blur: 10px;
  --surface-control-border: rgba(255, 255, 255, 0.14);
  --surface-control-border-active: rgba(103, 146, 247, 0.65);
  --surface-control-bg: rgba(39, 40, 44, 0.95);
  --surface-control-label: rgba(229, 231, 235, 0.9);
  --surface-control-focus-ring: rgba(103, 146, 247, 0.32);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}
body {
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  transition:
    color 0.5s,
    background-color 0.5s;
  line-height: 1.6;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Fira Sans',
    'Droid Sans',
    'Helvetica Neue',
    sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#app {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
/* 移动端基础优化 */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  #app {
    overflow: hidden;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }
}
.surface-card {
  border: 1px solid var(--surface-card-border);
  background-color: var(--surface-card-bg);
  box-shadow: var(--surface-card-shadow);
  backdrop-filter: blur(var(--surface-card-blur));
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.surface-card :is(.el-input__wrapper, .el-select__wrapper, .el-date-editor, .el-cascader__wrapper) {
  box-shadow: 0 0 0 1px var(--surface-control-border);
  background-color: var(--surface-control-bg);
  transition:
    box-shadow 0.24s ease,
    background-color 0.24s ease;
}
.surface-card
  :is(
    .el-input__wrapper:hover,
    .el-input__wrapper.is-focus,
    .el-input__wrapper:focus-within,
    .el-select__wrapper:hover,
    .el-select__wrapper.is-focus,
    .el-select__wrapper:focus-within,
    .el-date-editor.is-active,
    .el-date-editor.is-focus,
    .el-cascader__wrapper.is-focus
  ) {
  box-shadow: 0 0 0 1px var(--surface-control-border-active);
}
.surface-card :is(.el-textarea__inner) {
  border: 1px solid var(--surface-control-border);
  background-color: var(--surface-control-bg);
  transition:
    border-color 0.24s ease,
    background-color 0.24s ease;
}
.surface-card :is(.el-textarea__inner:hover, .el-textarea__inner:focus) {
  border-color: var(--surface-control-border-active);
}
.surface-card :is(.el-form-item__label) {
  color: var(--surface-control-label);
}
.surface-card :is(.el-button, .el-button span, .el-link, .el-switch, button, a) {
  transition: box-shadow 0.2s ease;
}
.surface-card :is(.el-button, .el-link, button, a):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--surface-control-focus-ring);
}
a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}
@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}
@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: center;
  }
}
/* reCAPTCHA badge styling - hide badge completely */
.grecaptcha-badge {
  visibility: hidden !important;
}
body.april-rotate #app {
  transform: rotate(180deg);
  transform-origin: center center;
  transition: transform 0.42s ease;
}

body.april-mirror #app {
  transform: scaleX(-1);
  transition: transform 0.35s ease;
}

body.april-cursor-fish,
body.april-cursor-fish * {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'%3E%3Ctext y='18' font-size='18'%3E%F0%9F%90%9F%3C/text%3E%3C/svg%3E")
      8 8,
    auto !important;
}

body.april-gravity .main > * {
  animation: april-gravity-drop 1.2s ease;
}

@keyframes april-gravity-drop {
  0% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(12px);
  }
  100% {
    transform: translateY(0);
  }
}

body.april-price-jitter [class*='price'],
body.april-price-jitter [class*='amount'],
body.april-price-jitter .el-statistic__content,
body.april-price-jitter .el-table {
  animation: april-jitter 0.12s linear infinite;
}

@keyframes april-jitter {
  0% {
    transform: translateX(-1px);
  }
  50% {
    transform: translateX(1px);
  }
  100% {
    transform: translateX(-1px);
  }
}

body.april-floating .surface-card,
body.april-floating .el-card,
body.april-floating .el-table,
body.april-floating .el-button {
  animation: april-floating 3.6s ease-in-out infinite;
}

body.april-floating .surface-card:nth-child(2n),
body.april-floating .el-card:nth-child(2n) {
  animation-delay: 0.4s;
}

@keyframes april-floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

body.april-shake #app {
  animation: april-shake 0.52s ease;
}

@keyframes april-shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(0);
  }
}

body.april-retro {
  filter: saturate(0.8) contrast(1.05);
}

body.april-retro,
body.april-retro * {
  border-radius: 0 !important;
  font-family: 'Courier New', Consolas, monospace !important;
  letter-spacing: 0.02em;
}

body.april-retro #app {
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.04),
    rgba(0, 0, 0, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
}

body.april-report-mode {
  --color-background: #f5f7fb;
  --color-text: #0f172a;
  filter: grayscale(0.15);
}

body.april-report-mode .surface-card,
body.april-report-mode .el-card {
  border-radius: 6px !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08) !important;
}

body.april-light-flash::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 7800;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.92);
  animation: april-flash 0.9s ease forwards;
}

@keyframes april-flash {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

body.april-swap-icon-title .el-page-header__content,
body.april-swap-icon-title .el-menu-item,
body.april-swap-icon-title .el-sub-menu__title {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 8px;
}

body.april-stickers::before,
body.april-stickers::after {
  content: 'APR 1';
  position: fixed;
  z-index: 7600;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: #fde68a;
  color: #111827;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
  pointer-events: none;
}

body.april-stickers::before {
  top: 8px;
  left: 8px;
  transform: rotate(-8deg);
}

body.april-stickers::after {
  right: 8px;
  bottom: 8px;
  transform: rotate(10deg);
}

body.april-matrix {
  filter: contrast(1.08) saturate(0.6) hue-rotate(80deg);
}

body.april-matrix #app {
  background-image: linear-gradient(to bottom, rgba(16, 185, 129, 0.08), rgba(0, 0, 0, 0));
}

body.april-blur #app {
  filter: blur(1.6px);
}

body.april-text-tilt :is(h1, h2, h3, p, span, .el-button span) {
  transform: skewX(-6deg);
}

body.april-slow-motion * {
  transition-duration: 1.2s !important;
  animation-duration: 2.2s !important;
}

body.april-bouncy .el-button,
body.april-bouncy button {
  animation: april-bouncy 0.9s ease-in-out infinite;
}

@keyframes april-bouncy {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

body.april-rainbow #app {
  animation: april-rainbow 1.4s linear infinite;
}

@keyframes april-rainbow {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

.april-shell[data-v-4267f0ee] {
  position: fixed;
  right: 16px;
  bottom: 150px;
  z-index: 7000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.april-close-btn[data-v-4267f0ee] {
  border: none;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.26);
}
.april-toggle[data-v-4267f0ee] {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(145deg, #ff7a18, #ffb347);
  color: #1f2937;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(255, 122, 24, 0.35);
  cursor: pointer;
}
.april-panel[data-v-4267f0ee] {
  margin-bottom: 10px;
  width: min(440px, calc(100vw - 24px));
  max-height: min(74vh, 680px);
  overflow: auto;
  padding: 14px;
  border-radius: 16px;
}
.april-panel-header[data-v-4267f0ee] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.april-panel-header h3[data-v-4267f0ee] {
  font-size: 16px;
  font-weight: 700;
}
.mode-tag[data-v-4267f0ee] {
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  padding: 2px 10px;
  font-size: 12px;
}
.april-panel-actions[data-v-4267f0ee] {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.april-panel-tip[data-v-4267f0ee] {
  margin-bottom: 8px;
  color: var(--el-text-color-secondary);
  font-size: 12px;
}
.mode-controls[data-v-4267f0ee] {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mode-label[data-v-4267f0ee] {
  font-size: 12px;
  color: var(--el-text-color-secondary);
}
.passive-prob[data-v-4267f0ee] {
  color: var(--el-text-color-primary);
  font-weight: 600;
}
.passive-config[data-v-4267f0ee] {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 12px;
}
.passive-config-header[data-v-4267f0ee] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.passive-row[data-v-4267f0ee] {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(120px, 2fr) 54px;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.passive-title[data-v-4267f0ee] {
  font-size: 12px;
  color: var(--el-text-color-secondary);
}
.passive-value[data-v-4267f0ee] {
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}
.april-eggs[data-v-4267f0ee] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.egg-item[data-v-4267f0ee] {
  text-align: left;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: var(--color-background-soft);
  color: var(--color-text);
  cursor: pointer;
  padding: 8px 10px;
  display: flex;
  gap: 6px;
  line-height: 1.3;
}
.egg-id[data-v-4267f0ee] {
  font-weight: 700;
  opacity: 0.7;
}
.egg-title[data-v-4267f0ee] {
  font-size: 12px;
}
.april-fade-enter-active[data-v-4267f0ee],
.april-fade-leave-active[data-v-4267f0ee] {
  transition: all 0.2s ease;
}
.april-fade-enter-from[data-v-4267f0ee],
.april-fade-leave-to[data-v-4267f0ee] {
  opacity: 0;
  transform: translateY(8px);
}
.april-shutter[data-v-4267f0ee] {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 7600;
  pointer-events: none;
}
.quest-dots[data-v-4267f0ee] {
  position: fixed;
  inset: 0;
  z-index: 7600;
  pointer-events: none;
}
.quest-dot[data-v-4267f0ee] {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle, #ffd166 0%, #ff7a18 100%);
  box-shadow: 0 0 16px rgba(255, 122, 24, 0.7);
  cursor: pointer;
  pointer-events: auto;
}
.emoji-rain[data-v-4267f0ee] {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 7600;
}
.emoji-drop[data-v-4267f0ee] {
  position: absolute;
  top: -8%;
  font-size: 24px;
  animation: drop-4267f0ee linear forwards;
}
@keyframes drop-4267f0ee {
to {
    transform: translateY(112vh) rotate(360deg);
    opacity: 0.2;
}
}
.trail-layer[data-v-4267f0ee] {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 7601;
}
.trail-dot[data-v-4267f0ee] {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  animation: trail-fade-4267f0ee 650ms ease forwards;
}
@keyframes trail-fade-4267f0ee {
to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.15);
}
}
.voice-button[data-v-4267f0ee],
.vacation-button[data-v-4267f0ee] {
  position: fixed;
  right: 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 8px 12px;
  color: #111827;
  background: linear-gradient(145deg, #ffd166, #fca311);
  box-shadow: 0 8px 20px rgba(252, 163, 17, 0.35);
  z-index: 7500;
}
.voice-button[data-v-4267f0ee] {
  bottom: 220px;
}
.vacation-button[data-v-4267f0ee] {
  bottom: 262px;
}
.npc-bubble[data-v-4267f0ee] {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 7400;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
}
.mood-bar[data-v-4267f0ee] {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 7400;
  display: flex;
  gap: 8px;
  align-items: center;
  border-radius: 12px;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.32);
}
.fast-clock[data-v-4267f0ee] {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 7400;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.32);
}
.fake-progress-wrap[data-v-4267f0ee] {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  min-width: min(560px, calc(100vw - 24px));
  z-index: 7600;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
}
.fake-progress-label[data-v-4267f0ee] {
  font-size: 12px;
  margin-bottom: 6px;
}
.fake-progress-track[data-v-4267f0ee] {
  height: 8px;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.fake-progress-bar[data-v-4267f0ee] {
  height: 100%;
  background: linear-gradient(90deg, #ff7a18, #ffd166);
  transition: width 0.12s ease;
}
.fake-progress-value[data-v-4267f0ee] {
  margin-top: 4px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
}
.draw-result[data-v-4267f0ee] {
  font-size: 16px;
  font-weight: 600;
}
@media (max-width: 768px) {
.april-shell[data-v-4267f0ee] {
    right: 10px;
    bottom: 128px;
}
.april-eggs[data-v-4267f0ee] {
    grid-template-columns: 1fr;
}
.passive-row[data-v-4267f0ee] {
    grid-template-columns: 1fr;
}
.passive-value[data-v-4267f0ee] {
    text-align: left;
}
.voice-button[data-v-4267f0ee],
  .vacation-button[data-v-4267f0ee] {
    right: 10px;
}
.voice-button[data-v-4267f0ee] {
    bottom: 194px;
}
.vacation-button[data-v-4267f0ee] {
    bottom: 236px;
}
}
