/* ===========================================================
   数学小天地 · 闯关塔 1 深度打磨样式 (play-kit.css)
   PlayKit 玩法零件 · 发现图鉴与回放 · 会长高的蜜糖塔 · 🔥/💎 挑战浮层
   画风：糖果卡通（粗墨线 + 错位硬阴影 + 糖果色），和 cartoon-theme.css 一致
   热区 ≥ 48px · iPad 横竖屏零溢出 · 支持 prefers-reduced-motion
   =========================================================== */

:root {
  --pk-ink: var(--ct-ink, #2E294E);
  --pk-muted: var(--ct-ink-muted, #5F587F);
  --pk-line: 2.5px;
  --pk-shadow: 4px 4px 0 var(--pk-ink);
  --pk-shadow-soft: 3px 3px 0 #C8BCE6;
  --pk-honey: #FFD95A;
  --pk-honey-deep: #F5A524;
  --pk-choco: #B8742A;
  --pk-berry: #FF87B2;
  --pk-mint: #5CE0A8;
  --pk-sky: #5CC8FF;
  --pk-cream: #FFFDF7;
  --pk-soft-yellow: #FFF6CC;
  --pk-soft-pink: #FFE4F0;
  --pk-soft-mint: #DDFBEF;
  --pk-soft-blue: #E0F4FF;
  --pk-soft-purple: #EFE6FF;
}

/* ---------- 零件通用卡 ---------- */
.pk-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 14px 12px;
  color: var(--pk-ink);
}
.pk-q {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
}
.pk-q-txt { flex: 1 1 200px; min-width: 0; }
.pk-speak-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 48px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 2px solid var(--pk-ink);
  background: var(--pk-cream);
  color: var(--pk-ink);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 2px 2px 0 rgba(46, 41, 78, 0.25);
  cursor: pointer;
  white-space: nowrap;
}
.pk-speak-btn:active { transform: translate(1px, 1px); }
.pk-q-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid var(--pk-ink);
  background: var(--pk-honey);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 2px 2px 0 var(--pk-ink);
  white-space: nowrap;
}
.pk-q-art { display: flex; justify-content: center; }
.pk-muted { color: var(--pk-muted); font-weight: 700; font-size: 15px; }
.pk-center { text-align: center; }
.pk-sort-hint {
  text-align: center;
  color: var(--pk-muted);
  font-size: 15px;
  font-weight: 800;
  min-height: 20px;
}
.pk-art { display: block; overflow: visible; }
.pk-tile { fill: #F8C25A; stroke: var(--pk-choco); stroke-width: 1.4; }
.pk-tile.is-berry { fill: var(--pk-berry); stroke: #C9417A; }
.pk-tile.is-ghost { fill: none; stroke: rgba(46, 41, 78, 0.35); stroke-dasharray: 3 3; }
.pk-dot { fill: #FF9F68; stroke: var(--pk-ink); stroke-width: 1.4; }
.pk-art-text {
  display: inline-block;
  font-size: 22px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--pk-soft-yellow);
  border: 2px dashed rgba(46, 41, 78, 0.35);
}
.pk-art-emoji { font-size: 34px; line-height: 1; }

.pk-go {
  align-self: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: var(--pk-line) solid var(--pk-ink);
  background: var(--pk-honey);
  color: var(--pk-ink);
  font-size: 19px;
  font-weight: 900;
  box-shadow: var(--pk-shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.pk-go:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--pk-ink); }
.pk-go.is-soft { background: var(--pk-cream); font-size: 16px; min-height: 50px; box-shadow: 3px 3px 0 var(--pk-ink); }

.pk-note {
  border-radius: 16px;
  border: 2px solid var(--pk-ink);
  padding: 12px 16px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  background: var(--pk-cream);
  box-shadow: 3px 3px 0 rgba(46, 41, 78, 0.18);
  animation: pk-pop-in 0.32s cubic-bezier(.2, 1.4, .4, 1);
}
.pk-note.is-ok { background: var(--pk-soft-mint); }
.pk-note.is-exact { background: linear-gradient(120deg, #FFF3B0, #FFE08A); }
.pk-note.is-near { background: var(--pk-soft-blue); }
.pk-note.is-far, .pk-note.is-warn { background: var(--pk-soft-pink); }

/* ---------- 1. 滑块下注 ---------- */
.pk-bubble {
  align-self: center;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 26px 10px;
  border-radius: 24px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: var(--pk-shadow);
  position: relative;
}
.pk-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-right: var(--pk-line) solid var(--pk-ink);
  border-bottom: var(--pk-line) solid var(--pk-ink);
  transform: translateX(-50%) rotate(45deg);
}
.pk-bubble b { font-size: 46px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.pk-bubble span { font-size: 18px; font-weight: 800; color: var(--pk-muted); }
.pk-bubble.is-locked { background: var(--pk-soft-yellow); }
.pk-bubble.is-locked::after { background: var(--pk-soft-yellow); }

.pk-slider-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.pk-nudge {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: var(--pk-line) solid var(--pk-ink);
  background: var(--pk-cream);
  font-size: 28px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--pk-ink);
}
.pk-nudge:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pk-ink); }
.pk-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 22px;
  border-radius: 999px;
  border: var(--pk-line) solid var(--pk-ink);
  background: linear-gradient(90deg, #FFF3B0, #FFC93C);
  outline: none;
  touch-action: none;
}
.pk-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff radial-gradient(circle at 50% 50%, var(--pk-honey-deep) 0 9px, transparent 10px);
  box-shadow: 3px 3px 0 var(--pk-ink);
  cursor: grab;
}
.pk-range::-moz-range-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--pk-ink);
}
.pk-ends { display: flex; justify-content: space-between; padding: 0 66px; font-weight: 800; color: var(--pk-muted); font-size: 14px; }

.pk-reveal-grid {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(var(--pk-cols), 26px);
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  background: #FFF8E6;
  border: 2px dashed rgba(46, 41, 78, 0.25);
}
.pk-rv-tile {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1.5px dashed rgba(184, 116, 42, 0.35);
  transition: background 0.2s ease, transform 0.25s cubic-bezier(.2, 1.6, .4, 1);
}
.pk-rv-tile.is-on {
  background: linear-gradient(145deg, #FFE08A, #F5A524);
  border: 1.5px solid var(--pk-choco);
  transform: scale(1.04);
}
.pk-reveal-count {
  align-self: center;
  font-size: 30px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.pk-track { position: relative; height: 112px; margin: 8px 40px 0; }
.pk-track-bar {
  position: absolute;
  left: 0; right: 0; top: 50px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid var(--pk-ink);
  background: linear-gradient(90deg, #FFF3B0, #FFC93C);
}
/* 「我猜」在线上方、「真的」在线下方：两个数再接近也不会叠在一起 */
.pk-pin {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  font-weight: 900;
}
.pk-pin b {
  min-width: 44px;
  padding: 2px 8px;
  border-radius: 10px;
  border: 2px solid var(--pk-ink);
  text-align: center;
  font-size: 17px;
  position: relative;
}
.pk-pin i { font-style: normal; font-size: 12px; color: var(--pk-muted); white-space: nowrap; }
.pk-pin.is-guess { top: 0; flex-direction: column-reverse; gap: 2px; }
.pk-pin.is-guess b { background: var(--pk-soft-blue); }
.pk-pin.is-guess b::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 2px; height: 8px; background: var(--pk-ink); }
.pk-pin.is-answer { top: 68px; flex-direction: column; gap: 2px; }
.pk-pin.is-answer b { background: var(--pk-honey); animation: pk-pop-in 0.4s cubic-bezier(.2, 1.6, .4, 1); }
.pk-pin.is-answer b::before { content: ''; position: absolute; left: 50%; top: -9px; width: 2px; height: 8px; background: var(--pk-ink); }
.pk-track-end { position: absolute; top: 48px; font-size: 13px; font-weight: 800; color: var(--pk-muted); }
.pk-track-end.is-l { right: calc(100% + 8px); }
.pk-track-end.is-r { left: calc(100% + 8px); }

/* ---------- 2. 拖到盘子 ---------- */
.pk-sort-pool {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  min-height: 112px;
  padding: 12px;
  border-radius: 18px;
  background: repeating-linear-gradient(45deg, #FFFDF7 0 12px, #FFF8E6 12px 24px);
  border: 2px dashed rgba(46, 41, 78, 0.25);
  align-items: center;
}
.pk-sort-pool.is-empty { min-height: 60px; }
.pk-sort-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  min-height: 96px;
  padding: 12px 14px;
  border-radius: 18px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: var(--pk-shadow);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  font-weight: 900;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pk-sort-item.is-picked { background: var(--pk-soft-yellow); transform: translateY(-4px) rotate(-2deg); }
.pk-sort-item.is-dragging { z-index: 30; position: relative; box-shadow: 8px 10px 0 rgba(46, 41, 78, 0.3); transition: none !important; will-change: transform; cursor: grabbing; }
.pk-sort-item.is-in { min-width: 0; min-height: 0; padding: 8px 10px; box-shadow: 2px 2px 0 var(--pk-ink); transform: none; }
.pk-sort-item.is-bounce { animation: pk-bounce 0.5s ease; }
.pk-bins { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.pk-bin {
  min-height: 150px;
  border-radius: 22px;
  border: var(--pk-line) solid var(--pk-ink);
  background: radial-gradient(ellipse at 50% 70%, #fff 0 58%, #F3EEFF 60%);
  box-shadow: var(--pk-shadow-soft);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.pk-bin.is-ready { animation: pk-breathe 1.6s ease-in-out infinite; }
.pk-bin.is-hover { transform: scale(1.04); background: radial-gradient(ellipse at 50% 70%, #FFFBE6 0 58%, #FFE9A8 60%); }
.pk-bin-head { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 900; }
.pk-bin-head span { font-size: 24px; }
.pk-bin-body { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ---------- 3. 哪个不一样 ---------- */
.pk-wodb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pk-wodb-card {
  position: relative;
  min-height: 150px;
  border-radius: 20px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: var(--pk-shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 10px 14px;
  font-size: 16px;
  font-weight: 900;
  transition: transform 0.15s ease;
}
.pk-wodb-card.is-picked { background: var(--pk-soft-yellow); box-shadow: var(--pk-shadow); transform: translateY(-3px); }
.pk-wodb-card.is-reasoned { background: var(--pk-soft-mint); }
.pk-wodb-card.is-picked.is-reasoned { background: linear-gradient(160deg, var(--pk-soft-yellow), var(--pk-soft-mint)); }
.pk-wodb-card.is-shake { animation: pk-shake 0.45s ease; }
.pk-wodb-no {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--pk-ink);
  background: var(--pk-cream);
  display: grid;
  place-items: center;
  font-size: 14px;
}
.pk-wodb-card em {
  position: absolute;
  right: 10px;
  top: 8px;
  font-style: normal;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--pk-mint);
  border: 2px solid var(--pk-ink);
}
.pk-reasons {
  border-radius: 18px;
  border: 2px dashed rgba(46, 41, 78, 0.35);
  background: var(--pk-cream);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: pk-pop-in 0.3s ease;
}
.pk-reasons-q { font-weight: 900; font-size: 16px; }
.pk-reason-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pk-reason {
  flex: 1 1 200px;
  min-height: 54px;
  border-radius: 14px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--pk-ink);
  font-size: 16px;
  font-weight: 800;
  padding: 8px 14px;
  text-align: left;
}
.pk-reason::before { content: '💬 '; }
.pk-reason:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pk-ink); }

/* ---------- 4. 排讲解卡 ---------- */
.pk-ex-slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pk-ex-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 6px 8px 6px 6px;
  border-radius: 18px;
  border: 2px dashed rgba(46, 41, 78, 0.3);
  background: #FFFBF0;
  transition: background 0.2s ease;
}
.pk-ex-slot.is-filled { border-style: solid; border-color: transparent; background: transparent; padding: 0; }
.pk-ex-slot.is-reading .pk-ex-card { background: var(--pk-soft-yellow); transform: scale(1.02); }
.pk-ex-num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--pk-ink);
  background: var(--pk-honey);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
}
.pk-ex-empty { color: var(--pk-muted); font-weight: 700; font-size: 15px; }
.pk-ex-pool { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.pk-ex-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 14px;
  border-radius: 16px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--pk-ink);
  text-align: left;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform 0.18s ease, background 0.2s ease;
}
.pk-ex-card.is-slotted { box-shadow: 2px 2px 0 rgba(46, 41, 78, 0.35); }
.pk-ex-card.is-bounce { animation: pk-bounce 0.5s ease; }
.pk-ex-art { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; min-width: 52px; }
.pk-ex-art .pk-art-text { font-size: 16px; padding: 2px 8px; }
.pk-ex-art .pk-art-emoji { font-size: 26px; }

/* ---------- 5. 格子速写板 ---------- */
.pk-sk-wrap {
  overflow-x: auto;
  padding: 6px;
  border-radius: 16px;
  background: #FFFEF8;
  border: 2px solid rgba(46, 41, 78, 0.2);
  box-shadow: inset 0 0 0 6px #FFF8E6;
}
.pk-sk-svg { display: block; width: 100%; max-width: 640px; margin: 0 auto; touch-action: none; }
.pk-sk-cell { fill: #FFFDF5; stroke: #B9D7F2; stroke-width: 1.2; transition: fill 0.25s ease; }
.pk-sk-cell.is-l { fill: #FFEBB0; }
.pk-sk-cell.is-r { fill: #FFD3E4; }
.pk-sk-cell.is-flash { animation: pk-cell-flash 0.7s ease 2; }
.pk-sk-num { font-size: 10px; font-weight: 800; fill: var(--pk-muted); text-anchor: middle; }
.pk-sk-num.is-ten { fill: #D97706; font-size: 12px; }
.pk-sk-pen {
  fill: none;
  stroke: #3B2A8F;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 160;
  animation: pk-draw 0.45s ease forwards;
}
.pk-sk-hit { fill: transparent; cursor: crosshair; }
.pk-sk-hit:hover { fill: rgba(92, 200, 255, 0.12); }
.pk-sk-preview { stroke: #E5174E; stroke-width: 3; stroke-dasharray: 6 4; stroke-linecap: round; pointer-events: none; }

/* ---------- 6. 错题医院 ---------- */
.pk-bug-pic {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px;
  border-radius: 16px;
  background: #FFF8E6;
  border: 2px dashed rgba(46, 41, 78, 0.22);
}
.pk-bug-row { display: flex; align-items: center; gap: 3px; }
.pk-bug-tile {
  border-radius: 4px;
  background: linear-gradient(145deg, #FFE08A, #F5A524);
  border: 1.2px solid var(--pk-choco);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pk-bug-tile.is-r { background: linear-gradient(145deg, #FFC2D8, #FF87B2); border-color: #C9417A; }
.pk-bug-tile.is-sing { transform: translateY(-2px); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #FF4F8B; }
.pk-bug-gap { width: 10px; }
.pk-bug-rowsum { min-width: 34px; font-size: 14px; font-weight: 900; color: #C9417A; padding-left: 6px; }
.pk-bug-eq {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 900;
}
.pk-bug-lhs { margin-right: 4px; }
.pk-bug-op { color: var(--pk-muted); }
.pk-bug-chip {
  position: relative;
  min-width: 70px;
  min-height: 60px;
  padding: 0 14px;
  border-radius: 16px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--pk-ink);
  font-size: 28px;
  font-weight: 900;
  font-family: "Chalkboard SE", "Comic Sans MS", "PingFang SC", sans-serif;
}
.pk-bug-chip.is-okmark { background: var(--pk-soft-mint); }
.pk-bug-chip.is-circled { background: var(--pk-soft-pink); }
.pk-bug-chip i { position: absolute; right: -8px; top: -10px; font-style: normal; font-size: 16px; background: var(--pk-mint); border: 2px solid var(--pk-ink); border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; }
.pk-red-ring { position: absolute; inset: -12px -14px; width: calc(100% + 28px); height: calc(100% + 24px); pointer-events: none; overflow: visible; }
.pk-red-ring path {
  fill: none;
  stroke: #E5174E;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: pk-ring 0.5s ease forwards;
  vector-effect: non-scaling-stroke;
}

/* ---------- 7. 试排队 ---------- */
.pk-rt-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pk-rt-tab {
  min-height: 52px;
  min-width: 110px;
  border-radius: 999px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--pk-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pk-rt-tab small { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--pk-soft-purple); border: 1.5px solid var(--pk-ink); }
.pk-rt-tab.is-on { background: var(--pk-honey); }
.pk-rt-stage {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: #FFF8E6;
  border: 2px dashed rgba(46, 41, 78, 0.22);
  overflow-x: auto;
}
.pk-rt-heap { display: flex; flex-wrap: wrap; gap: 4px; max-width: 360px; justify-content: center; }
.pk-rt-heap .pk-rt-tile { width: 26px; height: 26px; transform: rotate(calc((var(--i) * 37deg) - 18deg)); }
.pk-rt-grid { display: flex; flex-direction: column; gap: 4px; }
.pk-rt-row { display: flex; gap: 4px; }
.pk-rt-tile {
  border-radius: 6px;
  background: linear-gradient(145deg, #FFE08A, #F5A524);
  border: 1.4px solid var(--pk-choco);
  animation: pk-pop-in 0.3s cubic-bezier(.2, 1.6, .4, 1) both;
  animation-delay: calc(var(--i) * 18ms);
}
.pk-rt-hole {
  border-radius: 6px;
  border: 2px dashed #E5174E;
  background: rgba(255, 79, 139, 0.08);
  animation: pk-wobble 0.9s ease-in-out infinite;
}
.pk-rt-grid.is-full .pk-rt-tile { box-shadow: 0 0 0 2px rgba(92, 224, 168, 0.55); }
.pk-rt-verdict { font-size: 18px; font-weight: 900; padding: 6px 14px; border-radius: 12px; border: 2px solid var(--pk-ink); }
.pk-rt-verdict.is-ok { background: var(--pk-soft-mint); }
.pk-rt-verdict.is-warn { background: var(--pk-soft-pink); }
.pk-rt-picker { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-weight: 900; font-size: 18px; }
.pk-rt-k {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--pk-ink);
}
.pk-rt-k.is-good { background: var(--pk-soft-mint); }
.pk-rt-k.is-bad { background: var(--pk-soft-pink); }
.pk-rt-k.is-on { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pk-ink); outline: 3px solid var(--pk-honey-deep); outline-offset: 2px; }
.pk-rt-log { text-align: center; font-weight: 800; font-size: 15px; color: var(--pk-muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pk-rt-log b { color: var(--pk-ink); background: var(--pk-soft-mint); border: 1.5px solid var(--pk-ink); border-radius: 999px; padding: 1px 10px; }

/* ---------- 8. 数字卡谜题 ---------- */
.pk-dg-eq { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pk-dg-slot {
  width: 70px;
  height: 84px;
  border-radius: 16px;
  border: 3px dashed rgba(46, 41, 78, 0.4);
  background: #fff;
  font-size: 40px;
  font-weight: 900;
  color: rgba(46, 41, 78, 0.35);
}
.pk-dg-slot.is-filled { border-style: solid; border-color: var(--pk-ink); color: var(--pk-ink); background: var(--pk-soft-yellow); box-shadow: 3px 3px 0 var(--pk-ink); animation: pk-pop-in 0.25s ease; }
.pk-dg-slot.is-filled:disabled { color: var(--pk-ink); opacity: 1; -webkit-text-fill-color: var(--pk-ink); }
.pk-dg-op { font-size: 34px; font-weight: 900; color: var(--pk-muted); }
.pk-dg-out { min-width: 96px; text-align: center; font-size: 40px; font-weight: 900; color: rgba(46, 41, 78, 0.3); }
.pk-dg-out.is-on { color: var(--pk-ink); animation: pk-pop-in 0.35s cubic-bezier(.2, 1.6, .4, 1); }
.pk-dg-cards { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pk-dg-card {
  width: 58px;
  height: 72px;
  border-radius: 14px;
  border: var(--pk-line) solid var(--pk-ink);
  background: linear-gradient(160deg, #fff 0 60%, #FFF3B0);
  font-size: 32px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--pk-ink);
}
.pk-dg-card.is-used { opacity: 0.25; box-shadow: none; }
.pk-dg-stats { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pk-dg-stats span { padding: 6px 14px; border-radius: 999px; border: 2px solid var(--pk-ink); background: #fff; font-weight: 800; }
.pk-dg-hist { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pk-dg-hist span { font-size: 14px; font-weight: 800; padding: 2px 10px; border-radius: 8px; background: var(--pk-soft-purple); }

/* ---------- 9. 开放谜题 ---------- */
.pk-open-tip { font-size: 15px; font-weight: 800; color: var(--pk-muted); background: var(--pk-soft-purple); border-radius: 14px; padding: 10px 14px; }
.pk-open-idea {
  border-radius: 18px;
  border: var(--pk-line) solid var(--pk-ink);
  background: linear-gradient(140deg, #FFF8D6, #FFFDF7);
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  box-shadow: var(--pk-shadow-soft);
  animation: pk-pop-in 0.35s ease;
}
.pk-open-idea-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

/* ===========================================================
   巧克力魔法板扩展：切刀账本 / 魔法镜 / 转身残影
   =========================================================== */
.hb-ledger {
  margin-top: 10px;
  border-radius: 18px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #FFFCEF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='30'%3E%3Cline x1='0' y1='29.5' x2='10' y2='29.5' stroke='%23E8DDBF' stroke-width='1'/%3E%3C/svg%3E");
  box-shadow: var(--pk-shadow-soft);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--pk-ink);
}
.hb-ledger-head { font-weight: 900; font-size: 17px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.hb-ledger-head small { font-weight: 700; color: var(--pk-muted); font-size: 13px; }
.hb-ledger-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hb-ledger-row {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  animation: pk-pop-in 0.3s ease;
}
.hb-ledger-row:disabled { cursor: default; color: var(--pk-ink); opacity: 1; }
.hb-ledger-row.is-pickable { border-color: var(--pk-ink); background: #fff; box-shadow: 2px 2px 0 var(--pk-ink); cursor: pointer; }
.hb-ledger-row.is-picked { border-color: var(--pk-ink); background: var(--pk-honey); box-shadow: 3px 3px 0 var(--pk-ink); }
.hb-lg-cut { padding: 2px 10px; border-radius: 999px; background: var(--pk-soft-purple); border: 1.5px solid var(--pk-ink); font-size: 14px; white-space: nowrap; }
.hb-lg-eq i { font-style: normal; }
.hb-lg-eq .c-honey { color: #B45309; }
.hb-lg-eq .c-berry { color: #C9417A; }
.hb-lg-sum { margin-left: auto; font-size: 19px; }
.hb-ledger-row em { font-style: normal; font-size: 13px; padding: 2px 8px; border-radius: 999px; background: #fff; border: 1.5px solid var(--pk-ink); }
.hb-ledger-row em.is-soft { background: var(--pk-soft-yellow); }
.hb-ledger-wow {
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(120deg, #FFF3B0, #FFE08A);
  border: 2px solid var(--pk-ink);
  animation: pk-pop-in 0.4s cubic-bezier(.2, 1.6, .4, 1);
}
.hb-ledger-ask { text-align: center; font-weight: 900; font-size: 16px; padding: 8px; border-radius: 12px; background: var(--pk-soft-blue); }

.hb-mirror-panel { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; }
.hb-mirror-chain {
  font-size: 18px;
  font-weight: 900;
  padding: 8px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, #E0F4FF, #EFE6FF);
  border: 2px solid var(--pk-ink);
  text-align: center;
}
.hb-mirror-chain b { display: block; font-size: 15px; color: var(--pk-muted); }
.hb-think-q { text-align: center; font-size: 17px; font-weight: 900; color: var(--pk-ink); margin: 2px 0 8px; }
.hb-think { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 10px; }
.hb-think-pick {
  min-width: 92px;
  min-height: 52px;
  padding: 6px 16px;
  border-radius: 16px;
  border: 2.5px solid var(--pk-ink);
  background: #fff;
  color: var(--pk-ink);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--pk-ink);
}
.hb-think-pick:not(:disabled):active { transform: translate(2px, 2px); box-shadow: none; }
.hb-think-pick.is-wrong { opacity: 0.45; text-decoration: line-through; box-shadow: none; }
.hb-big-cta.is-mirror:disabled { opacity: 0.5; }
.hb-big-cta.is-mirror {
  background: linear-gradient(180deg, #A3D9FF 0%, #D2BFFF 100%) !important;
  color: #2E294E !important;
  border-color: #2E294E !important;
  text-shadow: none !important;
}
.sn-app.is-painted .hb-big-cta.is-mirror {
  background: linear-gradient(180deg, #FFE49E 0%, #F5B863 100%) !important;
  color: #4A2E0E !important;
  border-color: rgba(150, 95, 25, .48) !important;
  box-shadow: 0 3px 0 rgba(150, 95, 25, .4), 0 8px 18px rgba(150, 95, 25, .2) !important;
}
/* 复制镜：旧块不动，只有新复制出来的块从镜子那一侧滑进来（见 .hb-tile.is-mirror-new） */
.hb-slab.is-just-mirrored { animation: none; }
.hb-slab-stack { position: relative; }
.hb-ghost-outline {
  position: absolute;
  left: -6px;
  bottom: -6px;
  border: 3px dashed rgba(91, 66, 200, 0.55);
  border-radius: 12px;
  background: rgba(183, 148, 246, 0.12);
  pointer-events: none;
  z-index: 3;
  animation: pk-ghost-fade 2.6s ease forwards;
}
.hb-ghost-outline span {
  position: absolute;
  top: -26px;
  left: 0;
  font-size: 12px;
  font-weight: 900;
  color: #5B42C8;
  background: #fff;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1.5px solid #5B42C8;
  white-space: nowrap;
}
@keyframes pk-ghost-fade { 0% { opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0.55; } }

/* ===========================================================
   工作台：五拍标签 / 楼层标签 / 再玩一下 / 提示阶梯
   =========================================================== */
.sn-beat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 2px solid var(--pk-ink);
  font-size: 14px;
  font-weight: 900;
  color: var(--pk-ink);
  box-shadow: 2px 2px 0 rgba(46, 41, 78, 0.25);
  white-space: nowrap;
}
.sn-beat-chip.is-guess { background: var(--pk-soft-blue); }
.sn-beat-chip.is-do { background: var(--pk-soft-yellow); }
.sn-beat-chip.is-wow { background: var(--pk-soft-pink); }
.sn-beat-chip.is-say { background: var(--pk-soft-mint); }
.sn-beat-chip.is-more { background: var(--pk-soft-purple); }

.sn-topic-switch.is-floors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sn-topic-tab .sn-tab-tip {
  display: inline-block;
  margin-left: 6px;
  font-style: normal;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--pk-honey);
  border: 1.5px solid var(--pk-ink);
  vertical-align: 2px;
}
.sn-topic-tab.is-building {
  opacity: 0.72;
  background: repeating-linear-gradient(135deg, #FFF8E1 0 10px, #FFEFB8 10px 20px) !important;
  border-style: dashed !important;
  cursor: help;
}
.sn-l-badges { font-style: normal; font-size: 12px; line-height: 1; }

.sn-more-zone {
  border-radius: 20px;
  border: var(--pk-line) solid var(--pk-ink);
  background: linear-gradient(160deg, #FFFDF7, #F5EEFF);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 14px;
}
.sn-more-head { font-size: 18px; font-weight: 900; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sn-more-head small { font-size: 13px; color: var(--pk-muted); font-weight: 700; }
.sn-ch-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.sn-ch-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 10px 14px;
  border-radius: 18px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: var(--pk-shadow);
  text-align: left;
  color: var(--pk-ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.sn-ch-card:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--pk-ink); }
.sn-ch-card.is-fire { background: linear-gradient(140deg, #FFF1E6, #FFD7BD); }
.sn-ch-card.is-gem { background: linear-gradient(140deg, #EEF6FF, #E3D7FF); }
.sn-ch-card.is-done { box-shadow: 3px 3px 0 rgba(46, 41, 78, 0.35); }
.sn-ch-icon { font-size: 34px; flex: 0 0 auto; }
.sn-ch-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sn-ch-text b { font-size: 16px; font-weight: 900; }
.sn-ch-text small { font-size: 13px; color: var(--pk-muted); font-weight: 700; line-height: 1.4; }
.sn-ch-card em { font-style: normal; font-size: 12px; font-weight: 900; padding: 3px 8px; border-radius: 999px; background: #fff; border: 1.5px solid var(--pk-ink); white-space: nowrap; }
.sn-level-disc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.sn-disc-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 2px dashed rgba(46, 41, 78, 0.4);
  background: #fff;
  color: var(--pk-muted);
  font-size: 14px;
  font-weight: 900;
}
.sn-disc-chip.is-found { border-style: solid; border-color: var(--pk-ink); color: var(--pk-ink); background: var(--pk-honey); box-shadow: 2px 2px 0 var(--pk-ink); }

.sn-post-work { display: flex; justify-content: center; padding: 6px 0 14px; }
.sn-honey-cta.is-post { background: linear-gradient(120deg, #FFE4F0, #FFD95A) !important; }

/* L2 提示阶梯：20 秒轻轻抖、40 秒圈出来 */
.is-nudge { animation: pk-nudge 0.9s ease 2 !important; }
.is-nudge-ring { box-shadow: 0 0 0 4px #fff, 0 0 0 8px rgba(255, 159, 104, 0.85) !important; animation: pk-ring-pulse 1.4s ease-in-out infinite !important; }

/* ===========================================================
   🔥 / 💎 挑战浮层
   =========================================================== */
.sn-ch-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(46, 41, 78, 0.42);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px 24px;
  overflow-y: auto;
  animation: pk-fade 0.2s ease;
}
.sn-ch-sheet {
  width: min(860px, 100%);
  border-radius: 26px;
  border: var(--pk-line) solid var(--pk-ink);
  background: var(--ct-canvas, #F6F3EA);
  box-shadow: 8px 8px 0 var(--pk-ink);
  overflow: hidden;
  animation: pk-sheet-in 0.32s cubic-bezier(.2, 1.3, .4, 1);
}
.sn-ch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: var(--pk-line) solid var(--pk-ink);
}
.sn-ch-head-acts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sn-ch-idea-speak { margin-top: 8px; }
.sn-ch-sheet.is-fire .sn-ch-head { background: linear-gradient(120deg, #FFD7BD, #FFB48A); }
.sn-ch-sheet.is-gem .sn-ch-head { background: linear-gradient(120deg, #D6E9FF, #D9C8FF); }
.sn-ch-head h2 { margin: 0 0 4px; font-size: 22px; font-weight: 900; color: var(--pk-ink); }
.sn-ch-head p { margin: 0; font-size: 15px; font-weight: 700; color: var(--pk-ink); opacity: 0.85; }
.sn-ch-body { padding: 14px; }
.sn-ch-body #snChallengeBoard { background: #fff; border-radius: 20px; border: var(--pk-line) solid var(--pk-ink); box-shadow: 4px 4px 0 #C8BCE6; padding: 6px; }
.sn-ch-foot { padding: 4px 18px 20px; display: flex; justify-content: center; }
.sn-ch-wait { color: var(--pk-muted); font-weight: 800; font-size: 15px; text-align: center; }
.sn-ch-done { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.sn-ch-done > b { font-size: 22px; font-weight: 900; }
.sn-ch-idea { width: 100%; border-radius: 16px; border: 2px solid var(--pk-ink); background: #fff; padding: 10px 14px; }
.sn-ch-idea summary { cursor: pointer; font-weight: 900; font-size: 16px; min-height: 36px; display: flex; align-items: center; }
.sn-ch-idea p { margin: 8px 0 2px; font-size: 16px; line-height: 1.6; font-weight: 700; }

/* ===========================================================
   发现揭晓 / 回放弹窗
   =========================================================== */
.dz-reveal-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(46, 41, 78, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: pk-fade 0.2s ease;
}
.dz-reveal {
  position: relative;
  width: min(440px, 100%);
  border-radius: 28px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #FFFDF7;
  box-shadow: 8px 8px 0 var(--pk-ink);
  padding: 22px 20px 18px;
  text-align: center;
  color: var(--pk-ink);
  overflow: hidden;
  animation: pk-sheet-in 0.4s cubic-bezier(.2, 1.4, .4, 1);
}
.dz-burst {
  position: absolute;
  left: 50%;
  top: 120px;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 217, 90, 0.28) 0 12deg, transparent 12deg 24deg);
  animation: dz-spin 14s linear infinite;
  pointer-events: none;
}
.dz-reveal > *:not(.dz-burst) { position: relative; }
.dz-reveal-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  border: 2px solid var(--pk-ink);
  background: var(--pk-honey);
  font-weight: 900;
  font-size: 14px;
  box-shadow: 2px 2px 0 var(--pk-ink);
}
.dz-reveal h3 { margin: 12px 0 8px; font-size: 26px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 10px; }
.dz-reveal h3 span { font-size: 36px; }
.dz-art-wrap {
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  padding: 8px;
}
.dz-reveal p { font-size: 16px; font-weight: 700; line-height: 1.65; margin: 12px 4px; }
.dz-brick-gain { display: inline-block; font-weight: 900; padding: 4px 14px; border-radius: 12px; background: var(--pk-soft-yellow); border: 2px dashed var(--pk-ink); margin-bottom: 12px; }
.dz-reveal-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dz-btn {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--pk-ink);
  color: var(--pk-ink);
}
.dz-btn.is-go { background: var(--pk-honey); }
.dz-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pk-ink); }

/* 回放动画 */
.dz-art { width: 100%; height: auto; display: block; }
.dz-tile { stroke-width: 1.6; }
.dz-tile.is-honey { fill: #FFC94D; stroke: #B8742A; }
.dz-tile.is-berry { fill: #FF87B2; stroke: #C9417A; }
.dz-tile.is-mint { fill: #7BE8BB; stroke: #1F9D6B; }
.dz-tile.is-sky { fill: #8ED6FF; stroke: #2A86C9; }
.dz-tile.is-ghost { fill: none; stroke: rgba(91, 66, 200, 0.55); stroke-dasharray: 3 3; }
.dz-cap { font-size: 13px; font-weight: 900; fill: var(--pk-ink); text-anchor: middle; }
.dz-q { font-size: 18px; font-weight: 900; fill: #E5174E; text-anchor: middle; }
.dz-hole { fill: rgba(255, 79, 139, 0.1); stroke: #E5174E; stroke-width: 2; stroke-dasharray: 4 3; animation: dz-wobble-svg 0.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.dz-arrow { font-size: 22px; font-weight: 900; fill: var(--pk-muted); text-anchor: middle; }
.dz-big { font-size: 28px; font-weight: 900; fill: #5B42C8; text-anchor: middle; }
.dz-big.is-gold { fill: #D97706; font-size: 30px; }
.dz-knife { stroke: #E5174E; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: pk-draw 0.5s ease 0.3s forwards; }
.dz-spin { animation: dz-rot 2.6s cubic-bezier(.6, 0, .3, 1) 0.3s infinite; transform-box: view-box; }
.dz-spin.is-slow { animation-duration: 3.2s; }
.dz-ghost { opacity: 0.9; }
.dz-slide-l { animation: dz-slide-l 2.4s ease 0.6s infinite; }
.dz-slide-r { animation: dz-slide-r 2.4s ease 0.6s infinite; }
.dz-pop { animation: dz-pop 2.6s ease infinite both; transform-box: fill-box; transform-origin: center; }
.dz-drop { animation: dz-drop 0.4s cubic-bezier(.2, 1.6, .4, 1) both; transform-box: fill-box; }
.dz-gridline { stroke: #B9D7F2; stroke-width: 1; }
.dz-pen { stroke: #3B2A8F; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: pk-draw 0.9s ease 0.3s forwards; }
.dz-pencil { font-size: 18px; animation: dz-pencil 0.9s ease 0.3s forwards; }
.dz-eq { font-size: 22px; font-weight: 900; fill: var(--pk-ink); text-anchor: middle; }
.dz-bad { fill: #E5174E; }
.dz-circle { fill: none; stroke: #E5174E; stroke-width: 3; stroke-dasharray: 140; stroke-dashoffset: 140; animation: pk-draw 0.6s ease 0.3s forwards; }
.dz-fix { font-size: 22px; font-weight: 900; fill: #1F9D6B; text-anchor: middle; opacity: 0; animation: dz-fadein 0.4s ease 1s forwards; }
.dz-card { fill: #fff; stroke: var(--pk-ink); stroke-width: 2.2; }
.dz-card-t { font-size: 26px; font-weight: 900; fill: var(--pk-ink); text-anchor: middle; }

@keyframes dz-rot { 0%, 15% { transform: rotate(0deg); } 45%, 70% { transform: rotate(90deg); } 100% { transform: rotate(90deg); } }
@keyframes dz-slide-l { 0%, 20% { transform: translateX(0); } 50%, 80% { transform: translateX(-6px); } 100% { transform: translateX(0); } }
@keyframes dz-slide-r { 0%, 20% { transform: translateX(0); } 50%, 80% { transform: translateX(8px); } 100% { transform: translateX(0); } }
@keyframes dz-pop { 0% { opacity: 0; transform: scale(0.6); } 15%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 1; } }
@keyframes dz-drop { 0% { opacity: 0; transform: translateY(-14px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes dz-wobble-svg { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes dz-pencil { 0% { transform: translateY(0); } 100% { transform: translateY(78px); } }
@keyframes dz-fadein { to { opacity: 1; } }
@keyframes dz-spin { to { transform: rotate(360deg); } }

/* ===========================================================
   🏰 我的蜜糖塔抽屉：顶部 5-Tab 分区导航（零死空白）
   =========================================================== */
.sn-drawer.is-atlas { width: min(980px, 100vw); }
.sn-app.is-style-cartoon .sn-drawer.is-atlas .sn-dr-head { background: linear-gradient(120deg, #FFE08A, #FFC2D8); }
.sn-dr-tabs.is-atlas-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 251, 242, .96);
  border-bottom: 2px solid rgba(110, 72, 36, .2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex: 0 0 auto;
}
.sn-at-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  min-width: 48px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  color: var(--pk-ink);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.12s ease, background-color 0.14s ease;
}
.sn-at-tab em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--pk-soft-yellow);
  border: 1.5px solid rgba(46, 41, 78, .28);
}
.sn-at-tab.is-on {
  background: linear-gradient(180deg, #FFE48F 0%, #F7C948 100%);
  box-shadow: 0 3px 0 rgba(122, 78, 30, .28);
}
.sn-at-tab.is-on em {
  background: #FFFDF7;
}
.sn-at-tab:active { transform: translateY(1px); }
.sn-at-panel[hidden] { display: none !important; }
.sn-tower-build-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.sn-atlas-top { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
.sn-tower-card, .dz-atlas, .sn-works {
  border-radius: 22px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: var(--pk-shadow-soft);
  padding: 14px;
  color: var(--pk-ink);
}
.sn-works { margin-top: 0; }
.sn-tower-stage {
  border-radius: 18px;
  background: linear-gradient(180deg, #CFEFFF 0%, #EAF8FF 55%, #F2FBEA 100%);
  border: 2px solid var(--pk-ink);
  padding: 8px 6px 0;
  overflow: hidden;
}
.tw-svg { display: block; width: 100%; height: auto; }
.tw-ground { fill: #9BE07A; stroke: var(--pk-ink); stroke-width: 2.5; }
.tw-body { fill: url(#twHoney); stroke: var(--pk-ink); stroke-width: 2.5; }
.tw-floor.is-star .tw-body { stroke-width: 3; }
.tw-ledge { fill: #E9973A; stroke: var(--pk-ink); stroke-width: 2; }
.tw-win { fill: #6B5A8E; stroke: var(--pk-ink); stroke-width: 1.8; opacity: 0.55; }
.tw-win.is-lit { fill: url(#twGlow); opacity: 1; filter: drop-shadow(0 0 4px rgba(255, 201, 60, 0.9)); }
.tw-floor.is-full .tw-body { filter: drop-shadow(0 0 6px rgba(255, 210, 80, 0.9)); }
.tw-label { font-size: 13px; font-weight: 900; fill: var(--pk-ink); text-anchor: end; }
.tw-label.is-dim { fill: rgba(46, 41, 78, 0.45); }
.tw-decor { font-size: 16px; text-anchor: end; }
.tw-decor-more { font-size: 10px; font-weight: 900; fill: var(--pk-ink); text-anchor: end; }
.tw-scaffold { fill: rgba(255, 255, 255, 0.55); stroke: rgba(46, 41, 78, 0.5); stroke-width: 2; stroke-dasharray: 6 5; }
.tw-scaf-line { stroke: rgba(184, 116, 42, 0.45); stroke-width: 2.5; }
.tw-build-txt { font-size: 12px; font-weight: 900; fill: rgba(46, 41, 78, 0.7); text-anchor: middle; }
.tw-roof { fill: #FF87B2; stroke: var(--pk-ink); stroke-width: 2.5; stroke-linejoin: round; }
.tw-drip { fill: none; stroke: #FFE08A; stroke-width: 6; stroke-linecap: round; }
.tw-pole { stroke: var(--pk-ink); stroke-width: 3; }
.tw-flag { fill: var(--pk-honey); stroke: var(--pk-ink); stroke-width: 2; animation: tw-flag 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
@keyframes tw-flag { 0%, 100% { transform: skewY(0deg); } 50% { transform: skewY(-8deg); } }
.sn-tower-legend { display: flex; flex-direction: column; gap: 4px; margin: 10px 2px; }
.sn-tower-legend small { font-size: 13px; color: var(--pk-muted); font-weight: 700; line-height: 1.5; }
.sn-brick-pill { align-self: flex-start; font-weight: 900; font-size: 17px; padding: 4px 14px; border-radius: 999px; background: var(--pk-soft-yellow); border: 2px solid var(--pk-ink); box-shadow: 2px 2px 0 var(--pk-ink); }
.sn-shop-floors { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sn-shop-floor { min-height: 48px; min-width: 48px; padding: 0 13px; border-radius: 999px; border: 2px solid var(--pk-ink); background: #fff; font-weight: 900; font-size: 14px; touch-action: manipulation; cursor: pointer; }
.sn-shop-floor.is-on { background: var(--pk-honey); box-shadow: 2px 2px 0 var(--pk-ink); }
.tw-shop-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.tw-shop-head small { color: var(--pk-muted); font-weight: 700; }
.tw-shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tw-shop-item {
  min-height: 78px;
  border-radius: 14px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  box-shadow: 2px 2px 0 var(--pk-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--pk-ink);
}
.tw-shop-item span { font-size: 24px; }
.tw-shop-item b { font-size: 13px; }
.tw-shop-item small { font-size: 12px; font-weight: 800; color: var(--pk-muted); }
.tw-shop-item:disabled { opacity: 0.5; box-shadow: none; }
.tw-shop-item.is-owned { opacity: 1; background: var(--pk-soft-mint); }

.dz-atlas-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dz-atlas-head h3 { margin: 0; font-size: 20px; font-weight: 900; }
.dz-pill { font-weight: 800; padding: 3px 12px; border-radius: 999px; border: 2px solid var(--pk-ink); background: var(--pk-soft-yellow); white-space: nowrap; }
.dz-atlas-tip { font-size: 14px; color: var(--pk-muted); font-weight: 700; line-height: 1.5; margin: 6px 0 10px; }
.dz-floor-block { margin-top: 8px; }
.dz-floor-block.is-soon { opacity: 0.8; }
.dz-floor-title { display: flex; justify-content: space-between; font-weight: 900; font-size: 16px; margin-bottom: 8px; }
.dz-floor-title small { color: var(--pk-muted); }
.dz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.dz-card {
  min-height: 150px;
  border-radius: 18px;
  border: 2px solid var(--pk-ink);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  color: var(--pk-ink);
}
.dz-card.is-found { background: linear-gradient(170deg, #FFF8D6, #FFE7A8); box-shadow: 3px 3px 0 var(--pk-ink); cursor: pointer; }
.dz-card.is-found:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pk-ink); }
.dz-card.is-hidden { background: repeating-linear-gradient(135deg, #F4F2FA 0 10px, #ECE8F6 10px 20px); border-style: dashed; }
.dz-card-icon { font-size: 38px; line-height: 1.1; }
.dz-card.is-hidden .dz-card-icon { filter: grayscale(1) brightness(0.15) blur(0.5px); opacity: 0.35; }
.dz-card b { font-size: 15px; font-weight: 900; }
.dz-card small { font-size: 12px; font-weight: 700; line-height: 1.45; color: var(--pk-muted); }
.dz-card em { font-style: normal; font-size: 11px; font-weight: 900; color: #7C5CC4; }

.sn-works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 10px; }
.sn-work-card {
  border-radius: 16px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  box-shadow: 2px 2px 0 var(--pk-ink);
}
.sn-work-card.is-right { background: var(--pk-soft-mint); }
.sn-work-card.is-wrong { background: var(--pk-soft-pink); }
.sn-work-card b { font-size: 20px; }
.sn-work-card small { color: var(--pk-muted); font-weight: 700; }
.sn-work-art { min-height: 70px; display: flex; align-items: center; }
.sn-work-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.sn-work-result { font-weight: 900; font-size: 14px; }
.sn-badge.is-gold { background: var(--pk-honey) !important; color: var(--pk-ink) !important; border: 1.5px solid var(--pk-ink); }

/* ---------- 动画 ---------- */
@keyframes pk-pop-in { 0% { opacity: 0; transform: scale(0.86); } 100% { opacity: 1; transform: scale(1); } }
@keyframes pk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pk-sheet-in { 0% { opacity: 0; transform: translateY(26px) scale(0.97); } 100% { opacity: 1; transform: none; } }
@keyframes pk-bounce { 0% { transform: translateY(-16px); } 40% { transform: translateY(0); } 65% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
@keyframes pk-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px) rotate(-2deg); } 40% { transform: translateX(8px) rotate(2deg); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
@keyframes pk-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes pk-wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes pk-draw { to { stroke-dashoffset: 0; } }
@keyframes pk-ring { to { stroke-dashoffset: 0; } }
@keyframes pk-cell-flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes pk-nudge { 0%, 100% { transform: translateX(0) rotate(0); } 15% { transform: translateX(-6px) rotate(-3deg); } 30% { transform: translateX(6px) rotate(3deg); } 45% { transform: translateX(-4px) rotate(-2deg); } 60% { transform: translateX(4px) rotate(2deg); } 75% { transform: translateX(0); } }
@keyframes pk-ring-pulse { 0%, 100% { box-shadow: 0 0 0 4px #fff, 0 0 0 8px rgba(255, 159, 104, 0.85); } 50% { box-shadow: 0 0 0 4px #fff, 0 0 0 14px rgba(255, 159, 104, 0.35); } }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .sn-atlas-top,
  .sn-tower-build-grid { grid-template-columns: 1fr; }
  .sn-tower-card { max-width: 460px; margin: 0 auto; width: 100%; }
  .sn-topic-switch.is-floors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pk-card { padding: 10px 10px 12px; gap: 6px; }
  .pk-q { font-size: 15.5px; flex-wrap: nowrap; gap: 6px; }
  .pk-q-txt { flex: 1 1 auto; }
  .pk-speak-btn { min-height: 36px; padding: 4px 10px; font-size: 13px; }
  .pk-rt-tab { min-height: 38px; padding: 4px 14px; font-size: 14px; }
  .pk-bubble b { font-size: 38px; }
  .pk-ends { padding: 0 60px; }
  .pk-wodb-card { min-height: 130px; }
  .pk-bug-eq { font-size: 20px; }
  .pk-bug-chip { min-width: 56px; font-size: 22px; min-height: 52px; }
  .pk-reveal-grid { grid-template-columns: repeat(var(--pk-cols), 20px); }
  .pk-rv-tile { width: 20px; height: 20px; }
  .pk-dg-slot { width: 56px; height: 70px; font-size: 32px; }
  .pk-dg-out { font-size: 30px; min-width: 70px; }
  .pk-dg-card { width: 48px; height: 62px; font-size: 26px; }
  .tw-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sn-topic-switch.is-floors { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pk-card *, .dz-art *, .dz-burst, .tw-flag, .hb-ghost-outline, .is-nudge, .is-nudge-ring, .pk-bin.is-ready, .pk-rt-hole {
    animation: none !important;
    transition: none !important;
  }
  .pk-sk-pen, .dz-knife, .dz-pen, .dz-circle, .pk-red-ring path { stroke-dashoffset: 0 !important; }
  .dz-fix { opacity: 1 !important; }
}

/* ===========================================================
   第二批零件：jar 凑十蜜罐 / pack 装箱台 / census 公寓普查 / fix 红笔改错
   =========================================================== */
/* ---------- jar 凑十蜜罐 ---------- */
.pk-jar-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 20px;
  border: 2px dashed #E7C46A;
  background: radial-gradient(120% 90% at 50% 0%, #FFF8DB 0%, var(--pk-cream) 70%);
}
.pk-jar-pile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.pk-jar-pile-head { font-size: 15.5px; font-weight: 900; }
.pk-jar-pile-head b { font-size: 22px; }
.pk-jar-candies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 170px;
  min-height: 48px;
  align-content: flex-start;
}
.pk-candy {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid var(--pk-ink);
  box-shadow: 2px 2px 0 var(--pk-ink);
  position: relative;
  padding: 0;
  animation: pk-candy-in 0.35s cubic-bezier(.2, 1.5, .4, 1) both;
  animation-delay: calc(var(--i, 0) * 30ms);
}
.pk-candy.is-a { background: radial-gradient(circle at 35% 30%, #FFF4C2 0 18%, #FFC94D 19% 100%); }
.pk-candy.is-b { background: radial-gradient(circle at 35% 30%, #FFE1EE 0 18%, #FF87B2 19% 100%); }
.pk-candy:disabled { opacity: 0.55; box-shadow: none; }
.pk-candy:not(:disabled):active { transform: translate(2px, 2px) scale(0.95); box-shadow: none; }
.pk-jar-pour {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 2px 2px 0 var(--pk-ink);
  color: var(--pk-ink);
}
.pk-jar-pour:active { transform: translate(2px, 2px); box-shadow: none; }
.pk-jar {
  position: relative;
  width: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pk-jar-lid {
  width: 128px;
  height: 30px;
  border-radius: 12px 12px 6px 6px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
  transform: translateY(-34px) rotate(-14deg);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2, 1.6, .4, 1), opacity 0.2s;
}
.pk-jar.is-sealed .pk-jar-lid { transform: translateY(4px) rotate(0); opacity: 1; background: var(--pk-honey); }
.pk-jar-body {
  width: 168px;
  padding: 14px 12px;
  border-radius: 22px 22px 34px 34px;
  border: var(--pk-line) solid var(--pk-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), #FFF3C4);
  box-shadow: var(--pk-shadow);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.pk-jar.is-sealed .pk-jar-body { background: linear-gradient(180deg, #FFF7D1, #FFD95A); animation: pk-breathe 1.6s ease-in-out 2; }
.pk-jar-slot {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(46, 41, 78, 0.28);
  background: rgba(255, 255, 255, 0.6);
}
.pk-jar-slot.is-a, .pk-jar-slot.is-b { border-style: solid; border-color: var(--pk-ink); animation: pk-candy-in 0.32s cubic-bezier(.2, 1.5, .4, 1) both; }
.pk-jar-slot.is-a { background: radial-gradient(circle at 35% 30%, #FFF4C2 0 18%, #FFC94D 19% 100%); }
.pk-jar-slot.is-b { background: radial-gradient(circle at 35% 30%, #FFE1EE 0 18%, #FF87B2 19% 100%); }
.pk-jar-cap { margin-top: 10px; font-size: 15px; font-weight: 900; color: var(--pk-muted); text-align: center; }
.pk-jar.is-sealed .pk-jar-cap { color: #A15C00; }
@keyframes pk-candy-in { 0% { opacity: 0; transform: translateY(-10px) scale(0.6); } 100% { opacity: 1; transform: none; } }

/* ---------- pack 装箱台 ---------- */
.pk-pack-meter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pk-pack-meter span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  font-size: 15px;
  font-weight: 800;
}
.pk-pack-meter b { font-size: 20px; font-variant-numeric: tabular-nums; }
.pk-pack-meter .is-left { background: var(--pk-soft-pink); }
.pk-pack-meter .is-zero { background: var(--pk-soft-mint); }
.pk-pack-floor {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  border: 2px dashed #C9B8EE;
  background: var(--pk-soft-purple);
  min-height: 120px;
}
.pk-pack-boxes { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; justify-content: center; }
.pk-pack-box {
  position: relative;
  padding: 18px 6px 6px;
  border-radius: 12px;
  border: 2.5px solid var(--pk-ink);
  box-shadow: 2px 2px 0 var(--pk-ink);
  animation: pk-candy-in 0.3s cubic-bezier(.2, 1.5, .4, 1) both;
}
.pk-pack-box.is-c0 { background: #FFE9A8; }
.pk-pack-box.is-c1 { background: #FFD2E3; }
.pk-pack-box.is-c2 { background: #C9F3E0; }
.pk-pack-box.is-c3 { background: #CDEBFF; }
.pk-pack-box-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 8px;
  border-radius: 999px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.pk-pack-cells { display: grid; grid-template-columns: repeat(var(--cols, 5), 12px); gap: 3px; }
.pk-pack-cell, .pk-pack-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--pk-ink);
  background: #FFB347;
}
.pk-pack-loose { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; align-items: center; }
.pk-pack-dot { width: 16px; height: 16px; background: #fff; }
.pk-pack-loose em { font-style: normal; font-weight: 900; color: var(--pk-muted); margin-left: 6px; }
.pk-pack-ctrls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pk-pack-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 20px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  box-shadow: var(--pk-shadow-soft);
}
.pk-pack-ctrl .pk-nudge:disabled { opacity: 0.35; box-shadow: none; }
.pk-pack-ctrl-label { display: flex; flex-direction: column; align-items: center; min-width: 92px; font-size: 17px; font-weight: 900; line-height: 1.25; }
.pk-pack-ctrl-label small { font-size: 12px; color: var(--pk-muted); font-weight: 800; }
.pk-pack-ctrl-label b { font-size: 22px; font-variant-numeric: tabular-nums; }
.pk-pack-log { display: flex; flex-direction: column; gap: 6px; }
.pk-pack-log span {
  padding: 8px 12px;
  border-radius: 12px;
  border: 2px solid var(--pk-ink);
  background: var(--pk-soft-pink);
  font-size: 15px;
  font-weight: 800;
}
.pk-pack-log span.is-zero { background: var(--pk-soft-mint); }

/* ---------- census 数字公寓普查 ---------- */
.pk-cs-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #E0F4FF 0%, #F3FBFF 70%, #DDFBEF 100%);
  border: 2px solid #BFE3F8;
}
.pk-cs-house {
  position: relative;
  min-height: 70px;
  padding: 16px 2px 6px;
  border-radius: 6px 6px 12px 12px;
  border: 2.5px solid var(--pk-ink);
  background: #fff;
  box-shadow: 2px 2px 0 var(--pk-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--pk-ink);
}
.pk-cs-roof {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 14px solid var(--pk-ink);
}
.pk-cs-roof::after {
  content: '';
  position: absolute;
  left: -25px;
  top: 3.5px;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 10px solid #FFC94D;
}
.pk-cs-house b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.pk-cs-house em { font-style: normal; font-size: 16px; min-height: 18px; }
.pk-cs-house.is-sel { outline: 4px solid #FF9F68; outline-offset: 2px; }
.pk-cs-house.is-lonely { background: var(--pk-soft-mint); }
.pk-cs-house.is-lonely .pk-cs-roof::after { border-bottom-color: var(--pk-mint); }
.pk-cs-house.is-many { background: var(--pk-soft-blue); }
.pk-cs-house.is-many .pk-cs-roof::after { border-bottom-color: var(--pk-sky); }
.pk-cs-map.is-done .pk-cs-house.is-lonely { animation: pk-breathe 1.4s ease-in-out 3; }
.pk-cs-progress { text-align: center; font-size: 16px; font-weight: 800; color: var(--pk-muted); }
.pk-cs-progress b { color: var(--pk-ink); font-size: 20px; }
.pk-cs-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: var(--pk-shadow-soft);
}
.pk-cs-panel-head { font-size: 18px; font-weight: 800; text-align: center; }
.pk-cs-panel-head b { font-size: 22px; }
.pk-cs-lays { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pk-cs-lay { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 900; animation: pk-candy-in 0.35s ease both; }
.pk-cs-verdict { text-align: center; font-size: 17px; font-weight: 900; padding: 8px 12px; border-radius: 14px; }
.pk-cs-verdict.is-ok { background: var(--pk-soft-mint); }
.pk-cs-verdict.is-warn { background: var(--pk-soft-pink); }
.pk-cs-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pk-cs-tag {
  min-height: 64px;
  border-radius: 18px;
  border: var(--pk-line) solid var(--pk-ink);
  box-shadow: 3px 3px 0 var(--pk-ink);
  font-size: 19px;
  font-weight: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--pk-ink);
}
.pk-cs-tag small { font-size: 13px; font-weight: 800; color: var(--pk-muted); }
.pk-cs-tag.is-lonely { background: var(--pk-soft-mint); }
.pk-cs-tag.is-many { background: var(--pk-soft-blue); }
.pk-cs-tag:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pk-ink); }

/* ---------- fix 红笔改错 ---------- */
.pk-fix-line { display: flex; flex-wrap: wrap; gap: 14px 12px; justify-content: center; align-items: center; padding: 10px 0; }
.pk-fix-chip { font-size: 22px; min-height: 58px; }
.pk-fix-plain { font-size: 22px; font-weight: 900; color: var(--pk-muted); }
.pk-fix-diag {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 2px solid var(--pk-ink);
  background: var(--pk-soft-yellow);
  animation: pk-candy-in 0.35s ease both;
}
.pk-fix-diag p { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.5; }

/* ---------- 新发现回放里的小字 ---------- */
.dz-mini { font-size: 12px; font-weight: 900; fill: var(--pk-ink); text-anchor: middle; }
.dz-mini.is-dark { font-size: 13px; }
.dz-tiny { font-size: 10px; font-weight: 900; fill: var(--pk-ink); text-anchor: middle; }
.dz-emoji { font-size: 26px; text-anchor: middle; }
.dz-jar { fill: #FFF7D6; stroke: var(--pk-ink); stroke-width: 2.5; }
.dz-box { fill: #fff; stroke: var(--pk-ink); stroke-width: 2; }
.dz-dot { stroke: var(--pk-ink); stroke-width: 1.4; }
.dz-dot.is-honey { fill: #FFC94D; }
.dz-dot.is-berry { fill: #FF87B2; }

@media (max-width: 560px) {
  .pk-jar-stage { grid-template-columns: 1fr 1fr; align-items: start; gap: 6px 8px; padding: 6px 6px; }
  .pk-jar-stage .pk-jar { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .pk-jar-pile { gap: 4px; }
  .pk-jar-pile-head { font-size: 14px; }
  .pk-jar-pile-head b { font-size: 18px; }
  .pk-jar-pour { min-height: 38px; padding: 0 12px; font-size: 13.5px; }
  .pk-candy { width: 34px; height: 34px; }
  .pk-cs-map { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; padding: 10px; }
  .pk-cs-roof { border-left-width: 26px; border-right-width: 26px; }
  .pk-pack-ctrl-label { min-width: 76px; font-size: 15px; }
  .pk-fix-chip, .pk-fix-plain { font-size: 18px; }
  .pk-fix-diag { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .pk-candy, .pk-jar-slot, .pk-pack-box, .pk-cs-lay, .pk-fix-diag { animation: none !important; }
}

/* ===========================================================
   🐻 小熊委托 / 🎲 亲子对战入口（🏰 抽屉里）
   =========================================================== */
.sn-quests, .sn-duel-entry {
  margin-top: 0;
  border-radius: 22px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: var(--pk-shadow-soft);
  padding: 14px;
  color: var(--pk-ink);
}
.sn-quests { background: linear-gradient(180deg, #FFF9E4 0%, #fff 60%); }
.sn-quest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.sn-quest-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sn-quest-floor { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 900; padding: 0 4px; }
.sn-quest-floor small { font-size: 12px; color: var(--pk-muted); font-weight: 800; }
.sn-quest-card, .sn-duel-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 2px solid var(--pk-ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--pk-ink);
  text-align: left;
  color: var(--pk-ink);
}
.sn-quest-card:active, .sn-duel-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pk-ink); }
.sn-quest-icon, .sn-duel-icon { font-size: 28px; flex: 0 0 auto; }
.sn-quest-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sn-quest-text b { font-size: 15px; font-weight: 900; }
.sn-quest-text small { font-size: 12.5px; color: var(--pk-muted); font-weight: 700; line-height: 1.4; }
.sn-quest-card em, .sn-duel-btn em { font-style: normal; font-size: 12px; font-weight: 900; padding: 3px 8px; border-radius: 999px; background: var(--pk-soft-yellow); border: 1.5px solid var(--pk-ink); white-space: nowrap; }
.sn-quest-clear { padding: 14px; border-radius: 14px; border: 2px dashed #9ED9BE; background: var(--pk-soft-mint); font-weight: 900; font-size: 14px; text-align: center; }
.sn-duel-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.sn-duel-btn { min-height: 86px; }
.sn-duel-btn.is-dice { background: linear-gradient(140deg, #FFF4D6, #FFE0A3); }
.sn-duel-btn.is-land { background: linear-gradient(140deg, #FFE9F2, #F8D2C0); }
.sn-duel-btn .sn-duel-icon { font-size: 36px; }
.sn-duel-btn em { background: var(--pk-honey); }
.sn-ch-sheet.is-quest .sn-ch-head { background: linear-gradient(120deg, #FFF0B8, #FFD98A); }

/* ===========================================================
   🎲 亲子对战浮层
   =========================================================== */
.du-mask {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(46, 41, 78, 0.48);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(14px, env(safe-area-inset-top)) 14px 24px;
  overflow-y: auto;
  animation: pk-fade 0.2s ease;
}
.du-sheet {
  width: min(900px, 100%);
  border-radius: 26px;
  border: var(--pk-line) solid var(--pk-ink);
  background: var(--ct-canvas, #F6F3EA);
  box-shadow: 8px 8px 0 var(--pk-ink);
  overflow: hidden;
  color: var(--pk-ink);
  animation: pk-sheet-in 0.32s cubic-bezier(.2, 1.3, .4, 1);
}
.du-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: var(--pk-line) solid var(--pk-ink);
  background: linear-gradient(120deg, #FFE7A8, #FFC97A);
}
.du-sheet.is-land .du-head { background: linear-gradient(120deg, #FFD8E6, #F7B7A0); }
.du-head h2 { margin: 0; font-size: 22px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.du-score { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 14px 4px; }
.du-vs { font-weight: 900; font-size: 15px; color: var(--pk-muted); }
.du-player {
  flex: 1;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 18px;
  border: 2.5px solid var(--pk-ink);
  background: #fff;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.du-player.is-kid { background: #FFF3C7; }
.du-player.is-parent { background: #FFE0EC; }
.du-player.is-turn { opacity: 1; transform: translateY(-2px); box-shadow: 4px 4px 0 var(--pk-ink); }
.du-ava { font-size: 30px; }
.du-pname { flex: 1; display: flex; flex-direction: column; font-size: 16px; font-weight: 900; line-height: 1.2; }
.du-pname small { font-size: 12px; color: #C2410C; font-weight: 900; }
.du-player b { font-size: 32px; font-weight: 900; font-variant-numeric: tabular-nums; }
.du-body { padding: 12px 16px 20px; }
.du-tip { margin: 0; text-align: center; font-size: 16px; font-weight: 800; color: var(--pk-muted); line-height: 1.5; }
.du-muted { color: var(--pk-muted); font-weight: 800; }
.du-roll-zone { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; }
.du-dice { display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 900; }
.du-dice b { font-size: 28px; }
.du-die {
  width: 72px;
  height: 72px;
  padding: 9px;
  border-radius: 16px;
  border: 3px solid var(--pk-ink);
  background: #fff;
  box-shadow: 4px 4px 0 var(--pk-ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
}
.du-die i { width: 12px; height: 12px; border-radius: 50%; }
.du-die i.is-on { background: var(--pk-ink); }
.du-die.is-rolling { animation: du-roll 0.22s linear infinite; }
.du-dice.is-small .du-die { width: 52px; height: 52px; padding: 6px; border-radius: 12px; box-shadow: 3px 3px 0 var(--pk-ink); }
.du-dice.is-small .du-die i { width: 9px; height: 9px; }
@keyframes du-roll { 0% { transform: rotate(0) translateY(0); } 50% { transform: rotate(12deg) translateY(-6px); } 100% { transform: rotate(0) translateY(0); } }
.du-btn {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--pk-ink);
  font-size: 17px;
  font-weight: 900;
  color: var(--pk-ink);
}
.du-btn.is-go { background: var(--pk-honey); }
.du-btn.is-big { min-height: 62px; padding: 0 34px; font-size: 21px; }
.du-btn:disabled { opacity: 0.45; box-shadow: none; }
.du-btn:not(:disabled):active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pk-ink); }
.du-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.du-acts.is-col { flex-direction: column; align-items: stretch; width: 100%; }
.du-turn { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.du-rows { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 560px; }
.du-row-btn {
  min-height: 54px;
  border-radius: 14px;
  border: 2.5px solid var(--pk-ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--pk-ink);
  font-size: 17px;
  font-weight: 900;
  color: var(--pk-ink);
}
.du-row-btn.is-ok { background: var(--pk-soft-mint); }
.du-row-btn.is-no { background: var(--pk-soft-pink); opacity: 0.75; }
.du-row-btn:disabled { box-shadow: none; }
.du-rect-stage { min-height: 150px; display: grid; place-items: center; width: 100%; padding: 12px; border-radius: 18px; background: #fff; border: 2px dashed #C9B8EE; }
.du-rect { display: grid; grid-template-columns: repeat(var(--cols), 26px); gap: 4px; }
.du-cell { width: 26px; height: 26px; border-radius: 6px; border: 2px solid #B8742A; background: #FFC94D; animation: pk-candy-in 0.3s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: var(--d, 0ms); }
.du-cell.is-hole { background: rgba(255, 79, 139, 0.08); border: 2px dashed #E5174E; animation: dz-wobble-css 0.8s ease-in-out infinite; }
@keyframes dz-wobble-css { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.du-note { padding: 10px 14px; border-radius: 14px; border: 2px solid var(--pk-ink); font-size: 16px; font-weight: 900; text-align: center; }
.du-note.is-ok { background: var(--pk-soft-mint); }
.du-note.is-warn { background: var(--pk-soft-pink); }
.du-land { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; align-items: start; }
.du-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  padding: 6px;
  border-radius: 16px;
  border: var(--pk-line) solid var(--pk-ink);
  background: #E8DFC9;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  aspect-ratio: 1;
  touch-action: manipulation;
}
.du-lc { border: 0; border-radius: 4px; background: #FFFDF7; padding: 0; min-width: 0; min-height: 0; aspect-ratio: 1; }
.du-lc.is-kid { background: #FFC94D; box-shadow: inset 0 0 0 1.5px #B8742A; }
.du-lc.is-parent { background: #FF9CC0; box-shadow: inset 0 0 0 1.5px #C9417A; }
.du-lc.is-new { animation: pk-candy-in 0.35s cubic-bezier(.2, 1.5, .4, 1) both; }
.du-lc.is-pv { background: rgba(92, 224, 168, 0.75); box-shadow: inset 0 0 0 2px #1F9D6B; }
.du-lc.is-bad { background: rgba(229, 23, 78, 0.35); box-shadow: inset 0 0 0 2px #E5174E; }
.du-roll-zone.is-side { padding: 6px 0; }
.du-piece { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 16px; border-radius: 16px; border: 2.5px solid var(--pk-ink); background: #fff; }
.du-piece b { font-size: 22px; font-weight: 900; }
.du-piece span { font-size: 16px; font-weight: 800; color: var(--pk-muted); }
.du-over { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 8px 8px; text-align: center; }
.du-crown { font-size: 64px; animation: pk-breathe 1.4s ease-in-out infinite; }
.du-over h3 { margin: 0; font-size: 26px; font-weight: 900; }
.du-over p { margin: 0; max-width: 520px; font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--pk-muted); }

@media (max-width: 860px) {
  .sn-quest-grid { grid-template-columns: 1fr; }
  .du-land { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sn-duel-btns { grid-template-columns: 1fr; }
  .du-player { padding: 6px 10px; gap: 6px; }
  .du-ava { font-size: 24px; }
  .du-pname { font-size: 14px; }
  .du-player b { font-size: 26px; }
  .du-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .du-die { width: 60px; height: 60px; }
  .du-rect { grid-template-columns: repeat(var(--cols), 22px); }
  .du-cell { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .du-die, .du-cell, .du-lc, .du-crown, .du-sheet, .du-mask { animation: none !important; }
}

/* 「还差什么」提示：digits / rowtry 没做够时告诉孩子下一步 */
.pk-dg-left, .pk-rt-left {
  margin: 8px auto 0; max-width: 520px; padding: 8px 14px;
  border: 2px dashed #E8B86A; border-radius: 14px; background: #FFF6E4;
  color: #6B4A1E; font-size: 15px; font-weight: 700; line-height: 1.5; text-align: center;
}
.pk-rt-left.is-ok { border-style: solid; border-color: #9BCB7A; background: #F2FAEA; color: #3F6B2A; }

/* ---------- 界面简化：一句提示、没有内容时不占位 ---------- */
.pk-sort-hint:empty, .pk-ex-empty:empty { display: none; }
.pk-pack-meter span { font-size: 17px; padding: 6px 18px; }
.pk-rt-left b, .pk-dg-left b { font-size: 17px; color: #A15C00; }
.pk-bk-tray-ico { font-size: 26px; line-height: 1; align-self: center; }


/* ===========================================================
   第三轮打磨：只让「新来的」东西动 / 动画要表达数学意思
   =========================================================== */
/* 重画时旧东西不再重播入场动画（小键盘每按一个数字都会整块重画） */
.pk-note.is-still,
.pk-reasons.is-still,
.pk-fix-diag.is-still,
.pk-sk-pen.is-still { animation: none; }
.pk-red-ring.is-drawn path { animation: none; stroke-dashoffset: 0; }
.pk-candy.is-still,
.pk-jar-slot.is-still,
.pk-pack-box.is-still { animation: none; }
.pk-jar.is-sealed.is-still .pk-jar-body { animation: none; }

/* jar：糖从糖堆飞进罐子的空格；封盖时盖子落下 */
.pk-jar-stage { position: relative; }
.pk-candy.pk-candy-fly {
  position: absolute;
  margin: 0;
  padding: 0;
  z-index: 20;
  pointer-events: none;
  animation: none;
  box-shadow: 1px 2px 0 var(--pk-ink);
  transform-origin: center;
  transition: transform 0.34s cubic-bezier(.45, .05, .35, 1);
}
.pk-jar.is-just-sealed .pk-jar-lid { animation: pk-lid-drop 0.5s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes pk-lid-drop {
  0% { transform: translateY(-46px) rotate(-14deg); opacity: 0; }
  55% { transform: translateY(9px) rotate(2deg); opacity: 1; }
  100% { transform: translateY(4px) rotate(0); opacity: 1; }
}

/* 3F 蜂蜜板：切一刀，缝从 0 张开（左右两块往两边让开一点再回来）；合上 / 换刀时旧缝慢慢收拢 */
.hb-seam.is-just-cut,
.hb-ruler-spacer.is-just-cut,
.hb-notch-slot.is-just-cut,
.hb-brace-gap.is-just-cut { animation: hb-gap-open 0.46s cubic-bezier(.3, .9, .4, 1) both; }
@keyframes hb-gap-open {
  0% { width: 0; }
  55% { width: calc(var(--w, 22px) + 9px); }
  100% { width: var(--w, 22px); }
}
.hb-seam.is-just-closed,
.hb-ruler-spacer.is-just-closed,
.hb-notch-slot.is-just-closed { animation: hb-gap-close 0.3s ease-out both; }
@keyframes hb-gap-close { from { width: 22px; } }
/* 十字切（没有刻度尺的那一关）：竖缝、横缝都从 0 张开 */
.hb-tile.is-just-cut { animation: hb-margin-open 0.46s cubic-bezier(.3, .9, .4, 1) both; }
@keyframes hb-margin-open { 0% { margin-right: 0; } 55% { margin-right: 23px; } 100% { margin-right: 14px; } }
.hb-row.is-just-cut { animation: hb-margin-open-b 0.46s cubic-bezier(.3, .9, .4, 1) both; }
@keyframes hb-margin-open-b { 0% { margin-bottom: 0; } 55% { margin-bottom: 25px; } 100% { margin-bottom: 16px; } }

/* 3F 复制镜：新复制出来的块，从它在旧块里的「倒影」位置滑出来；旧块不动 */
.hb-tile.is-mirror-new { animation: hb-mirror-slide 0.55s cubic-bezier(.25, .9, .35, 1) both; animation-delay: calc(var(--d, 0) * 22ms); }
@keyframes hb-mirror-slide {
  0% { opacity: 0; transform: translate(var(--mx, 0px), var(--my, 0px)) scale(0.82); filter: brightness(1.5); }
  35% { opacity: 1; }
  100% { opacity: 1; transform: none; filter: none; }
}

/* 3F 相册：刚拍的照片弹一下（能飞的时候由 JS 接管，这里是备用） */
.hb-polaroid.is-new { animation: hb-photo-pop 0.55s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes hb-photo-pop { 0% { opacity: 0; transform: scale(0.5) rotate(-6deg); } 100% { opacity: 1; } }

/* 3F 复制镜 4 选 1：错因、冷却、选对 */
.hb-think-pick { animation: hb-pick-in 0.34s cubic-bezier(.3, 1.5, .5, 1) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
.hb-think-pick.is-wrong { animation: none; }
.hb-think-pick.is-shake { animation: pk-shake 0.45s ease; }
.hb-think-pick.is-right { background: var(--pk-mint, #5CE0A8); animation: hb-pick-right 0.4s ease-out; }
.hb-think.is-cooling { pointer-events: none; }
.hb-think.is-cooling .hb-think-pick:not(.is-wrong) { opacity: 0.7; }
.hb-think-why {
  max-width: 460px;
  margin: 0 auto 10px;
  padding: 9px 14px;
  border-radius: 14px;
  border: 2px dashed var(--pk-ink);
  background: var(--pk-soft-pink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}
.hb-think-why.is-ok { background: var(--pk-soft-mint); border-style: solid; }
.hb-think-why:empty { display: none; }
.hb-demo-tag {
  position: absolute;
  z-index: 8;
  transform: translate(-50%, -50%);
  min-width: 34px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 2.5px solid var(--pk-ink);
  background: #fff;
  color: #1B9E6B;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
  box-shadow: 2px 2px 0 var(--pk-ink);
  animation: hb-pick-in 0.36s cubic-bezier(.3, 1.6, .5, 1);
}
@keyframes hb-pick-in { from { opacity: 0; transform: translateY(10px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes hb-pick-right { 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hb-think-pick, .hb-demo-tag, .hb-polaroid.is-new, .hb-tile.is-mirror-new,
  .hb-seam.is-just-cut, .hb-ruler-spacer.is-just-cut, .hb-notch-slot.is-just-cut, .hb-brace-gap.is-just-cut,
  .hb-seam.is-just-closed, .hb-ruler-spacer.is-just-closed, .hb-notch-slot.is-just-closed,
  .hb-tile.is-just-cut, .hb-row.is-just-cut, .pk-jar.is-just-sealed .pk-jar-lid { animation: none !important; }
}
