/* 菌子冒险 · 森林探险手绘风
   —— 纸感底色 + 苔绿/琥珀 + 不规则描边，不写死任何主题色变量名以外的假设 */

:root {
  --lsmz-ink: #2c2418;
  --lsmz-ink-soft: #6b5c47;
  --lsmz-paper: #f8f1df;
  --lsmz-paper-2: #efe4cc;
  --lsmz-moss: #3f6b4a;
  --lsmz-fern: #7fae7a;
  --lsmz-amber: #d89b3c;
  --lsmz-rust: #b5452f;
  --lsmz-line: rgba(44, 36, 24, 0.82);
  --lsmz-shadow: 0 10px 24px -14px rgba(28, 40, 26, 0.55);
  --lsmz-radius: 18px;
  --lsmz-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

.lsmz-page,
.lsmz-modal,
.lsmz-spot {
  font-family: var(--lsmz-font);
  color: var(--lsmz-ink);
  -webkit-font-smoothing: antialiased;
}

.lsmz-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 56px;
  line-height: 1.6;
}

.lsmz-page *,
.lsmz-modal * {
  box-sizing: border-box;
}

/* ── Hero ───────────────────────────────────────────── */

.lsmz-hero {
  position: relative;
  margin: 0 -16px;
  padding: 40px 24px 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 0%, #fdf7e6 0%, rgba(253, 247, 230, 0) 58%),
    linear-gradient(180deg, #e8f0dd 0%, var(--lsmz-paper) 62%, var(--lsmz-paper) 100%);
  border-bottom: 2px solid var(--lsmz-line);
}

.lsmz-hero-fog {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 22% 30%, rgba(127, 174, 122, 0.22) 0, rgba(127, 174, 122, 0) 42%),
    radial-gradient(circle at 82% 18%, rgba(216, 155, 60, 0.16) 0, rgba(216, 155, 60, 0) 38%);
  pointer-events: none;
}

.lsmz-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1048px;
  margin: 0 auto;
  padding-bottom: 26px;
}

.lsmz-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.lsmz-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lsmz-moss);
}

.lsmz-title {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #23301f;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55);
}

.lsmz-sub {
  margin: 12px 0 4px;
  max-width: 36em;
  color: var(--lsmz-ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.lsmz-hero-art {
  position: relative;
  flex: 0 0 168px;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
}

.lsmz-hero-art img {
  position: relative;
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(44, 36, 24, 0.22));
  animation: lsmz-float 5s ease-in-out infinite;
}

.lsmz-halo {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 231, 158, 0.75), rgba(255, 231, 158, 0) 70%);
  animation: lsmz-pulse 4.4s ease-in-out infinite;
}

.lsmz-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffe9a8;
  box-shadow: 0 0 10px 2px rgba(255, 233, 168, 0.7);
  animation: lsmz-twinkle 3.2s ease-in-out infinite;
}

.lsmz-spark-a { top: 18%; left: 14%; animation-delay: 0.2s; }
.lsmz-spark-b { top: 62%; right: 8%; animation-delay: 1.1s; }
.lsmz-spark-c { bottom: 12%; left: 34%; animation-delay: 2s; }

@keyframes lsmz-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-9px) rotate(2deg); }
}

@keyframes lsmz-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50% { opacity: 0.95; transform: scale(1.04); }
}

@keyframes lsmz-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ── Tabs ───────────────────────────────────────────── */

.lsmz-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  max-width: 1048px;
  margin: 0 auto;
  padding: 0 0 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.lsmz-tabs::-webkit-scrollbar { display: none; }

.lsmz-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 10px 18px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--lsmz-ink-soft);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.lsmz-tab:hover { color: var(--lsmz-moss); }

.lsmz-tab.is-on {
  color: #23301f;
  border-bottom-color: var(--lsmz-moss);
}

/* ── Body / panels ──────────────────────────────────── */

.lsmz-body { padding-top: 22px; }

.lsmz-panel[hidden] { display: none; }

/* hidden 是 UA 样式，作者写的 display 会盖过它；这里统一兜住，
   否则 .lsmz-record-list / .lsmz-shop 这类 display:flex 的块藏不住。 */
.lsmz-root [hidden] { display: none !important; }

.lsmz-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.lsmz-stat {
  position: relative;
  padding: 16px 16px 14px;
  background: #fffdf6;
  border: 2px solid var(--lsmz-line);
  border-radius: 14px 16px 15px 18px / 16px 14px 18px 15px;
  box-shadow: var(--lsmz-shadow);
}

.lsmz-stat-label {
  display: block;
  font-size: 12px;
  color: var(--lsmz-ink-soft);
  letter-spacing: 0.08em;
}

.lsmz-stat-value {
  display: inline-block;
  margin-top: 6px;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  color: var(--lsmz-moss);
  font-variant-numeric: tabular-nums;
}

.lsmz-stat-unit {
  margin-left: 3px;
  font-size: 12px;
  color: var(--lsmz-ink-soft);
}

.lsmz-card {
  padding: 18px;
  margin-bottom: 14px;
  background: #fffdf6;
  border: 2px solid var(--lsmz-line);
  border-radius: var(--lsmz-radius);
  box-shadow: var(--lsmz-shadow);
}

.lsmz-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lsmz-card-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.lsmz-muted {
  font-size: 13px;
  color: var(--lsmz-ink-soft);
  font-variant-numeric: tabular-nums;
}

.lsmz-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--lsmz-ink-soft);
}

.lsmz-bar {
  height: 12px;
  background: var(--lsmz-paper-2);
  border: 1.5px solid rgba(44, 36, 24, 0.35);
  border-radius: 999px;
  overflow: hidden;
}

.lsmz-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #d89b3c, #e7bd6a);
  border-radius: 999px;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.lsmz-bar-leaf .lsmz-bar-fill {
  background: linear-gradient(90deg, #3f6b4a, #7fae7a);
}

.lsmz-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ── Buttons ────────────────────────────────────────── */

.lsmz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--lsmz-ink);
  text-decoration: none;
  background: #fffdf6;
  border: 2px solid var(--lsmz-line);
  border-radius: 12px 14px 13px 15px / 13px 12px 15px 14px;
  box-shadow: 0 3px 0 rgba(44, 36, 24, 0.75);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease;
}

.lsmz-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgba(44, 36, 24, 0.75); }
.lsmz-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(44, 36, 24, 0.75); }
.lsmz-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.lsmz-btn-primary {
  color: #fdfaf0;
  background: linear-gradient(180deg, #4d7c57, #3a6244);
  border-color: #23301f;
  box-shadow: 0 3px 0 #1d2819;
}

.lsmz-btn-primary:hover { box-shadow: 0 4px 0 #1d2819; }
.lsmz-btn-primary:active { box-shadow: 0 1px 0 #1d2819; }

.lsmz-btn-danger {
  color: #fdfaf0;
  background: linear-gradient(180deg, #c25a43, #a13c2a);
  border-color: #4a1d14;
  box-shadow: 0 3px 0 #4a1d14;
}

.lsmz-btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  box-shadow: 0 2px 0 rgba(44, 36, 24, 0.7);
}

/* ── Guest ──────────────────────────────────────────── */

.lsmz-guest {
  padding: 44px 24px;
  text-align: center;
  background: #fffdf6;
  border: 2px dashed rgba(44, 36, 24, 0.5);
  border-radius: var(--lsmz-radius);
}

.lsmz-guest h2 { margin: 0 0 8px; font-size: 22px; }
.lsmz-guest p { margin: 0 0 18px; color: var(--lsmz-ink-soft); font-size: 14px; }

/* ── Poison ─────────────────────────────────────────── */

.lsmz-poison-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin: 16px 0;
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(181, 69, 47, 0.16), rgba(181, 69, 47, 0) 62%),
    #fffaf1;
  border: 2px solid rgba(122, 44, 30, 0.7);
  border-radius: var(--lsmz-radius);
  box-shadow: var(--lsmz-shadow);
}

.lsmz-poison-card[hidden] { display: none; }

.lsmz-poison-face {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border: 2px solid rgba(122, 44, 30, 0.55);
  border-radius: 50%;
  background: #2b3b2a;
}

.lsmz-poison-face img { width: 100%; height: 100%; object-fit: cover; }

.lsmz-poison-body { flex: 1 1 auto; min-width: 0; }
.lsmz-poison-body h3 { margin: 0 0 4px; font-size: 17px; color: var(--lsmz-rust); }
.lsmz-poison-body p { margin: 0 0 8px; font-size: 13px; color: var(--lsmz-ink-soft); }

.lsmz-countdown strong {
  font-variant-numeric: tabular-nums;
  color: var(--lsmz-rust);
  font-size: 15px;
}

/* ── Album ──────────────────────────────────────────── */

/* 有毒 / 无毒各一个面板，框内横排铺开
   —— 参考样式：暖白面板 + 浅棕细边 + 米色方块卡片，卡片固定宽、左对齐 */
.lsmz-album-group {
  margin-bottom: 18px;
  padding: 16px 18px 20px;
  background: #fffefb;
  border: 1px solid #e8dcc2;
  border-radius: 14px;
  box-shadow: 0 2px 12px -8px rgba(96, 64, 20, 0.22);
}

.lsmz-album-group:last-child { margin-bottom: 0; }

.lsmz-album-head {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  padding-bottom: 12px;
}

/* 分割线右端渐隐，和参考图一样 */
.lsmz-album-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #e7d9bd 0%, #e7d9bd 58%, rgba(231, 217, 189, 0) 100%);
}

.lsmz-album-head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #3d3427;
}

.lsmz-album-head.is-danger h4 { color: #8a3b2a; }

.lsmz-album-head span {
  margin-left: auto;
  font-size: 12px;
  color: #b3a487;
  font-variant-numeric: tabular-nums;
}

.lsmz-album-intro {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 3em;
  max-height: 3em;
  margin: 5px 0 6px;
  font-size: 11px;
  line-height: 1.5;
  color: #8b7c62;
}

.lsmz-album-item.is-locked .lsmz-album-intro { opacity: 0.7; }

/* 每组一栏，组内横排；超出宽度自动折到下一行 */
.lsmz-album {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 4px;
}

.lsmz-album-notice {
  margin: 0 0 16px;
  padding: 14px 16px 14px 18px;
  background:
    repeating-linear-gradient(135deg, rgba(181, 69, 47, 0.035) 0 10px, rgba(181, 69, 47, 0) 10px 20px),
    #fffaf1;
  border: 1.5px solid rgba(122, 44, 30, 0.35);
  border-left: 5px solid var(--lsmz-rust, #b5452f);
  border-radius: 10px;
}

.lsmz-album-notice p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.75;
  color: #6b4a3e;
}

.lsmz-album-notice p:last-child { margin-bottom: 0; }

.lsmz-album-item {
  position: relative;
  flex: 0 0 132px;
  padding: 9px 8px 11px;
  text-align: center;
  background: linear-gradient(180deg, #fdf8ea 0%, #f7ecd5 100%);
  border: 1px solid #e8d5ae;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 7px -5px rgba(120, 84, 28, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lsmz-album-item:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 16px -10px rgba(120, 84, 28, 0.55);
}

.lsmz-album-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 6px;
  border-radius: 9px;
  background: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 72%);
}

.lsmz-album-thumb img {
  width: 64%;
  height: 64%;
  object-fit: contain;
}

.lsmz-album-item.is-locked {
  background:
    repeating-linear-gradient(135deg, rgba(120, 100, 70, 0.05) 0 8px, rgba(120, 100, 70, 0) 8px 16px),
    #f6efdd;
  border-style: dashed;
  border-color: #e0cfa9;
  box-shadow: none;
}

.lsmz-album-item.is-locked .lsmz-album-thumb img {
  filter: grayscale(1) contrast(0.7);
  opacity: 0.3;
}

.lsmz-album-name {
  margin: 0 0 3px;
  font-size: 12.5px;
  font-weight: 700;
  color: #3d3427;
}

.lsmz-album-meta {
  margin: 0;
  font-size: 10.5px;
  color: #b3a487;
}

.lsmz-flag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 1px 8px;
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.lsmz-flag-danger { color: var(--lsmz-rust); }
.lsmz-flag-safe { color: var(--lsmz-moss); }

.lsmz-album-item .lsmz-count {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 11px;
  color: var(--lsmz-ink-soft);
}

/* ── Rank ───────────────────────────────────────────── */

.lsmz-switch { display: flex; gap: 6px; }

.lsmz-chip {
  padding: 5px 14px;
  font: inherit;
  font-size: 13px;
  color: var(--lsmz-ink-soft);
  background: transparent;
  border: 1.5px solid rgba(44, 36, 24, 0.3);
  border-radius: 999px;
  cursor: pointer;
}

.lsmz-chip.is-on {
  color: #fdfaf0;
  background: var(--lsmz-moss);
  border-color: var(--lsmz-moss);
}

.lsmz-rank { display: flex; flex-direction: column; gap: 8px; }

.lsmz-rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fffdf6;
  border: 1.5px solid rgba(44, 36, 24, 0.24);
  border-radius: 12px;
}

.lsmz-rank-row.is-top {
  border-width: 2px;
  border-color: var(--lsmz-amber);
  background: linear-gradient(90deg, rgba(255, 233, 168, 0.35), #fffdf6 60%);
}

.lsmz-rank-no {
  flex: 0 0 32px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  color: var(--lsmz-ink-soft);
  font-variant-numeric: tabular-nums;
}

.lsmz-rank-no.is-gold { color: #b8860b; }
.lsmz-rank-no.is-silver { color: #7d8794; }
.lsmz-rank-no.is-bronze { color: #a05a2c; }

.lsmz-rank-avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--lsmz-paper-2);
}

.lsmz-rank-avatar img { width: 100%; height: 100%; object-fit: cover; }

.lsmz-rank-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lsmz-rank-name a { color: inherit; text-decoration: none; }
.lsmz-rank-name a:hover { text-decoration: underline; }

.lsmz-rank-score {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--lsmz-moss);
  font-variant-numeric: tabular-nums;
}

.lsmz-rank-score.is-bad { color: var(--lsmz-rust); }

.lsmz-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

/* ── Records ────────────────────────────────────────── */

.lsmz-record-list { display: flex; flex-direction: column; gap: 8px; }

.lsmz-record-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fffdf6;
  border: 1.5px solid rgba(44, 36, 24, 0.22);
  border-radius: 12px;
}

.lsmz-record-row.is-hit {
  border-color: rgba(216, 155, 60, 0.85);
  background: linear-gradient(90deg, rgba(255, 233, 168, 0.4), #fffdf6 70%);
  box-shadow: 0 0 0 3px rgba(216, 155, 60, 0.15);
  animation: lsmz-hit 1.6s ease 2;
}

@keyframes lsmz-hit {
  0%, 100% { box-shadow: 0 0 0 3px rgba(216, 155, 60, 0.15); }
  50% { box-shadow: 0 0 0 7px rgba(216, 155, 60, 0.04); }
}

.lsmz-record-avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--lsmz-paper-2);
}

.lsmz-record-row .lsmz-record-avatar img {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lsmz-record-row img {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.lsmz-record-main { flex: 1 1 auto; min-width: 0; }

.lsmz-record-title {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lsmz-record-sub {
  font-size: 12px;
  color: var(--lsmz-ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lsmz-record-sub a { color: var(--lsmz-moss); text-decoration: none; }

.lsmz-record-points {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--lsmz-moss);
}

.lsmz-record-points.is-bad { color: var(--lsmz-rust); }
.lsmz-record-points.is-zero { color: var(--lsmz-ink-soft); }

/* ── Shop ───────────────────────────────────────────── */

.lsmz-shop-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.lsmz-shop {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 26px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(127, 174, 122, 0.18), rgba(127, 174, 122, 0) 60%),
    #fffdf6;
  border: 2px solid var(--lsmz-line);
  border-radius: var(--lsmz-radius);
  box-shadow: var(--lsmz-shadow);
}

.lsmz-shop-art {
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  background: rgba(127, 174, 122, 0.14);
  border: 2px dashed rgba(63, 107, 74, 0.4);
  border-radius: 50%;
}

.lsmz-shop-art img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  animation: lsmz-float 6s ease-in-out infinite;
}

.lsmz-shop-body { flex: 1 1 auto; min-width: 0; }
.lsmz-shop-body h3 { margin: 0 0 8px; font-size: 22px; }
.lsmz-shop-desc { margin: 0 0 12px; font-size: 14px; color: var(--lsmz-ink-soft); }

.lsmz-shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--lsmz-ink-soft);
}

.lsmz-shop-meta strong { color: var(--lsmz-moss); font-size: 15px; }

/* ── Empty ──────────────────────────────────────────── */

.lsmz-empty {
  padding: 34px 0;
  text-align: center;
  font-size: 14px;
  color: var(--lsmz-ink-soft);
}

/* ── 帖子页里那朵菌子 ────────────────────────────────── */

.lsmz-anchor { display: inline-block; width: 0; height: 0; }

.lsmz-spot {
  position: absolute;
  z-index: 40;
  width: 62px;
  height: 62px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0.34;
  filter: saturate(0.8);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
  animation: lsmz-bob 3.6s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}

.lsmz-spot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(30, 40, 26, 0.28));
}

.lsmz-spot:hover,
.lsmz-spot:focus-visible {
  opacity: 1;
  filter: saturate(1.05);
  transform: scale(1.14);
  outline: none;
}

.lsmz-spot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 233, 168, 0.45), rgba(255, 233, 168, 0) 68%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.lsmz-spot:hover::after { opacity: 1; }

.lsmz-spot.is-picked {
  pointer-events: none;
  animation: lsmz-pick 0.32s ease forwards;
}

@keyframes lsmz-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@keyframes lsmz-pick {
  0% { transform: scale(1); opacity: 1; }
  55% { transform: scale(1.28) rotate(10deg); opacity: 1; }
  100% { transform: scale(0.2) rotate(-18deg); opacity: 0; }
}

/* ── 发现菌子的提示条 ───────────────────────────────── */

.lsmz-found {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: var(--ls-z-tip, 500);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 460px);
  padding: 10px 10px 10px 14px;
  color: #f8f2e2;
  font-size: 13px;
  line-height: 1.55;
  background: rgba(35, 48, 31, 0.94);
  border: 1.5px solid rgba(255, 233, 168, 0.55);
  border-radius: 12px;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
  transform: translateX(-50%) translateY(-18px);
  opacity: 0;
  cursor: pointer;
  animation: lsmz-found-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.lsmz-found-go {
  flex: 0 0 auto;
  padding: 2px 10px;
  font-size: 12px;
  color: #ffe28a;
  background: rgba(255, 226, 138, 0.16);
  border: 1px solid rgba(255, 226, 138, 0.45);
  border-radius: 999px;
}

@keyframes lsmz-found-in {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.lsmz-found-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffe28a;
  box-shadow: 0 0 10px 2px rgba(255, 226, 138, 0.7);
  animation: lsmz-pulse 2.4s ease-in-out infinite;
}

.lsmz-found-text {
  flex: 1 1 auto;
  min-width: 0;
}

.lsmz-found-close {
  flex: 0 0 auto;
  padding: 0 4px;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  color: rgba(248, 242, 226, 0.75);
  background: none;
  border: 0;
  cursor: pointer;
}

.lsmz-found-close:hover { color: #fff; }

/* ── 领奖弹窗 ───────────────────────────────────────── */

.lsmz-modal {
  position: fixed;
  inset: 0;
  z-index: var(--ls-z-overlay, 900);
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(64, 92, 74, 0.55), rgba(12, 18, 16, 0.92) 72%);
  perspective: 1000px;
  animation: lsmz-fade 0.24s ease both;
}

.lsmz-modal-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 32% 68%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 58% 18%, rgba(255, 236, 178, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 78% 52%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(2px 2px at 88% 78%, rgba(255, 236, 178, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 46% 88%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 22% 46%, rgba(255, 255, 255, 0.5), transparent);
  animation: lsmz-twinkle 4s ease-in-out infinite;
}

.lsmz-card-flip {
  position: relative;
  width: min(340px, 86vw);
  padding: 26px 22px 20px;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, #fffaf0, #f2e8d2 78%);
  border: 2.5px solid #2c2418;
  border-radius: 22px 20px 24px 21px / 21px 23px 20px 24px;
  box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.75);
  transform-style: preserve-3d;
  animation: lsmz-flip-in 0.72s cubic-bezier(0.2, 0.9, 0.25, 1.1) both;
}

.lsmz-card-flip.is-bad { border-color: #7a2c1e; }

@keyframes lsmz-flip-in {
  0% { opacity: 0; transform: rotateY(-120deg) translateY(26px) scale(0.86); }
  100% { opacity: 1; transform: rotateY(0deg) translateY(0) scale(1); }
}

.lsmz-card-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fdfaf0;
  background: var(--lsmz-moss);
  border-radius: 999px;
}

.lsmz-card-flip.is-bad .lsmz-card-badge { background: var(--lsmz-rust); }

.lsmz-card-ring {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
}

.lsmz-card-ring::before,
.lsmz-card-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(63, 107, 74, 0.45);
  animation: lsmz-spin 9s linear infinite;
}

.lsmz-card-ring::after {
  inset: 12px;
  border-style: solid;
  border-color: rgba(216, 155, 60, 0.35);
  animation-direction: reverse;
  animation-duration: 6s;
}

.lsmz-card-flip.is-bad .lsmz-card-ring::before { border-color: rgba(181, 69, 47, 0.45); }
.lsmz-card-flip.is-bad .lsmz-card-ring::after { border-color: rgba(181, 69, 47, 0.3); }

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

.lsmz-card-ring img {
  position: relative;
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(44, 36, 24, 0.22));
}

.lsmz-card-name {
  margin: 8px 0 4px;
  font-size: 21px;
  font-weight: 800;
}

.lsmz-card-intro {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--lsmz-ink-soft);
}

.lsmz-card-points {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 20px;
  font-size: 24px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--lsmz-moss);
  background: rgba(127, 174, 122, 0.16);
  border: 2px solid rgba(63, 107, 74, 0.4);
  border-radius: 999px;
}

.lsmz-card-points.is-bad {
  color: var(--lsmz-rust);
  background: rgba(181, 69, 47, 0.12);
  border-color: rgba(181, 69, 47, 0.4);
}

.lsmz-card-points.is-zero {
  color: var(--lsmz-ink-soft);
  background: rgba(44, 36, 24, 0.06);
  border-color: rgba(44, 36, 24, 0.2);
}

.lsmz-card-tip {
  margin: 0;
  font-size: 12px;
  color: var(--lsmz-ink-soft);
  opacity: 0.8;
}

.lsmz-card-extra {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--lsmz-rust);
}

/* 金币粒子 */

.lsmz-coins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lsmz-coin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3bf, #d89b3c 70%);
  box-shadow: 0 0 8px rgba(255, 216, 130, 0.85);
  animation: lsmz-burst 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes lsmz-burst {
  0% { opacity: 1; transform: translate(0, 0) scale(0.4); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.1); }
}

@keyframes lsmz-fade { from { opacity: 0; } to { opacity: 1; } }

/* ── 响应式 ─────────────────────────────────────────── */

@media (max-width: 760px) {
  .lsmz-page { padding: 0 12px 48px; }
  .lsmz-hero { margin: 0 -12px; padding: 26px 14px 0; }
  .lsmz-hero-inner { gap: 12px; padding-bottom: 18px; }
  .lsmz-hero-art { flex: 0 0 108px; width: 108px; height: 108px; }
  .lsmz-hero-art img { width: 82px; height: 82px; }
  .lsmz-halo { width: 104px; height: 104px; }
  .lsmz-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lsmz-stat { padding: 12px; }
  .lsmz-stat-value { font-size: 22px; }
  .lsmz-album { gap: 12px; }
  .lsmz-album-item { flex: 0 0 116px; }
  .lsmz-album-thumb img { width: 72%; height: 72%; }
  .lsmz-shop { flex-direction: column; align-items: flex-start; padding: 20px; gap: 16px; }
  .lsmz-shop-art { flex: 0 0 auto; width: 108px; height: 108px; }
  .lsmz-shop-art img { width: 76px; height: 76px; }
  .lsmz-poison-card { flex-direction: row; gap: 12px; padding: 14px; }
  .lsmz-poison-face { flex: 0 0 64px; width: 64px; height: 64px; }
  .lsmz-spot { width: 54px; height: 54px; opacity: 0.42; }
  .lsmz-tab { padding: 9px 14px 11px; font-size: 14px; }
}
