/* Cookie Clicker extras: next-step line, first-tap cue, shop nudge. */
#cc-next { margin: 0.35rem 0 0.2rem; min-height: 1.3em; text-align: center; font: 700 0.9rem/1.3 inherit; color: #92400e; }
#cc-next:empty { display: none; }
#big-cookie.cc-cue { position: relative; }
#big-cookie.cc-cue:not(.frenzy)::after {
  content: ""; position: absolute; inset: -10%; border-radius: 50%; pointer-events: none;
  border: 4px solid #f59e0b; animation: ccCue 1.1s ease-out infinite;
}
@keyframes ccCue { from { transform: scale(0.92); opacity: 1; } to { transform: scale(1.18); opacity: 0; } }
.up-btn.cc-nudge { outline: 3px solid #f59e0b; outline-offset: 2px; animation: ccNudge 1.2s ease-in-out infinite; }
@keyframes ccNudge { 50% { outline-color: #fde68a; } }
.up-btn { min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  #big-cookie.cc-cue:not(.frenzy)::after { animation: none; opacity: 0.8; }
  .up-btn.cc-nudge { animation: none; }
}

/* Third pass: depth and finish. Pure CSS, no per-frame work. */
.bakery { background: radial-gradient(ellipse 70% 55% at 50% 52%, #fef3c777, transparent 72%); border-radius: 16px; }
.up-btn { box-shadow: 0 2px 0 #cbd5e1, 0 6px 12px #a162070f; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.up-btn.ok { box-shadow: 0 2px 0 #a1620755, 0 8px 16px #a162071f; background: linear-gradient(#fff, #fffbeb); }
.up-btn:active { transform: translateY(1px) scale(.99); box-shadow: 0 1px 0 #cbd5e1; }
.goal-track { box-shadow: inset 0 1px 3px #a1620733; }
#goal-fill { background: linear-gradient(90deg, #d97706, #A16207); }
#cookie-count { letter-spacing: -.01em; text-shadow: 0 1px 0 #fff, 0 3px 10px #f59e0b33; }
html.pip-immersive .game-wrap.pip-stage {
  background: radial-gradient(ellipse 90% 45% at 50% 22%, #fde68a55, transparent 70%), linear-gradient(#fffbeb, #fef3c7 60%, #fde68a);
  padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right));
  padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
}
html.pip-immersive .hub-bar, html.pip-immersive .playyard-ad, html.pip-immersive .below-content,
html.pip-immersive .bottom-ad-section, html.pip-immersive .ad-well { display: none !important; }
html.pip-immersive .bakery { background: none; }
@media (prefers-reduced-motion: reduce) { .up-btn { transition: none; } }
