/* Nomble's Snack Time */
.nomble-stage { background: linear-gradient(170deg, rgba(255, 244, 230, .92), rgba(255, 226, 214, .85)); }
.nb { display: flex; gap: 18px; height: 100%; padding: 14px; box-sizing: border-box; }
.nb-left { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.nb-mon { border: 0; padding: 0; background: radial-gradient(ellipse at 50% 94%, rgba(29, 43, 83, .16) 0 30%, transparent 31%); cursor: pointer; width: min(100%, 300px, 44vh); aspect-ratio: 204 / 226; }
.nb-mon .cast { width: 100%; height: 100%; display: block; animation: bob 2.4s ease-in-out infinite; }
.nb-plate { display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: 4px; min-height: 64px; width: min(100%, 440px); padding: 8px 12px; background: #fff; border-radius: 999px / 60px; box-shadow: inset 0 -6px 0 #F2E2D2, 0 8px 18px rgba(29, 43, 83, .1); }
.nb-ate, .nb-pre { position: relative; border: 0; background: transparent; font-size: 28px; line-height: 1; padding: 2px; min-width: 36px; min-height: 36px; cursor: pointer; }
.nb-pre { cursor: default; opacity: .75; }
.nb-ate i, .nb-pre i, .nb-bag i { position: absolute; right: -4px; bottom: -4px; font: 700 13px var(--font); font-style: normal; background: #1D2B53; color: #fff; border-radius: 999px; padding: 1px 6px; }
.nb-ate.bag { font-size: 34px; }
.nb-right { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; }
.nb-ask { display: flex; justify-content: center; }
.nb-bubble { background: #fff; border-radius: 24px; padding: 14px 20px; font: 600 clamp(20px, 2.6vw, 30px) var(--font); color: var(--ink); text-align: center; box-shadow: 0 8px 18px rgba(29, 43, 83, .1); }
.nb-bubble b { color: #C2410C; font-size: 1.2em; }
.nb-count { align-self: center; display: flex; align-items: baseline; gap: 10px; background: #FFF4D6; border: 3px solid #FFD23F; border-radius: 999px; padding: 4px 18px; font: 600 18px var(--font); }
.nb-count b { font-size: 34px; color: var(--ink); min-width: 1.4em; text-align: center; }
.nb-tray { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nb-snack { border: 0; background: #fff; border-radius: 22px; min-width: 104px; min-height: 104px; padding: 8px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; font: 600 15px var(--font); color: var(--ink); box-shadow: inset 0 -6px 0 #F2E2D2, 0 8px 16px rgba(29, 43, 83, .12); touch-action: manipulation; }
.nb-snack:active { transform: translateY(3px); }
.nb-snack small { font-size: 15px; }
.nb-one { font-size: 50px; line-height: 1; }
.nb-bag { position: relative; font-size: 34px; line-height: 1; background: #FFE3C4; border: 3px dashed #C2410C; border-radius: 16px 16px 22px 22px; padding: 8px 10px 6px; }
.nb-done { align-self: center; }
.nb-fly { position: absolute; z-index: 5; font-size: 46px; transform: translate(0, 0); margin: -23px 0 0 -23px; transition: transform .36s cubic-bezier(.3, -.2, .6, 1), opacity .36s; pointer-events: none; }
.nb-hint { animation: tinkit-wiggle .7s ease-in-out infinite; outline: 4px solid #FFD23F; }
@keyframes nb-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg) scale(1.06); } 75% { transform: rotate(7deg) scale(1.06); } }
.nb-hint { animation-name: nb-wiggle; }
@media (max-width: 700px) {
  .nb { flex-direction: column; gap: 8px; padding: 8px; }
  .nb-mon { width: min(60vw, 30vh); }
  .nb-snack { min-width: 84px; min-height: 84px; }
  .nb-one { font-size: 40px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .nb { gap: 10px; padding: 6px; }
  .nb-mon { width: min(100%, 40vh); }
  .nb-plate { min-height: 44px; padding: 4px 8px; }
  .nb-ate, .nb-pre { font-size: 22px; min-width: 30px; min-height: 30px; }
  .nb-right { gap: 6px; }
  .nb-bubble { padding: 6px 12px; font-size: 17px; }
  .nb-snack { min-width: 70px; min-height: 64px; padding: 4px; }
  .nb-one { font-size: 32px; } .nb-bag { font-size: 24px; padding: 4px 6px; }
  .nb-snack small { font-size: 12px; }
  .nb-count { padding: 2px 12px; font-size: 14px; } .nb-count b { font-size: 24px; }
  .nb-done { min-height: 44px; padding: 6px 16px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .nb-mon .cast, .nb-hint { animation: none; } .nb-fly { transition-duration: .01s; } }
