/* hud.css — title, home/garden HUD, near tag */
#title .logoBox { position: absolute; left: 0; right: 0; top: 4%; height: 40%; display: flex; justify-content: center; align-items: center; animation: logoDrop .6s cubic-bezier(.3,1.6,.5,1) both; }
#title .logo { max-width: 78vw; max-height: 100%; object-fit: contain; animation: float 3.4s ease-in-out .7s infinite; filter: drop-shadow(0 6px 10px rgba(30,20,5,.5)); }
@keyframes logoDrop { from { transform: translateY(-120%) scale(.8); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }
#title .startPrompt { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; font-size: clamp(14px, 2.4vw, 22px); animation: pulse 1.6s ease-in-out infinite; padding: 0 12px; }
@keyframes pulse { 50% { opacity: .45; transform: scale(.96); } }
.dewdots { position: absolute; inset: 0; pointer-events: none; }
.dewdots i { position: absolute; left: calc(8% + var(--i) * 11.5%); top: calc(32% + (var(--i) * 17 % 40) * 1%); width: calc(10px + (var(--i) % 3) * 6px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff6b8 0%, rgba(255,214,110,.75) 40%, rgba(255,200,90,0) 70%); animation: bob calc(3s + var(--i) * .5s) ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
@keyframes bob { 0%,100% { transform: translate(0,0); opacity: .5; } 50% { transform: translate(8px,-18px); opacity: 1; } }

#hud .hudTL { position: absolute; left: 72px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
#hud .hudTR { position: absolute; right: 72px; top: 10px; }
.chips { display: flex; gap: clamp(4px, 1vw, 8px); align-items: center; }
.chip { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 3px clamp(6px, 1.2vw, 12px); border-radius: 22px; background: rgba(47,68,32,.85);
  border: 3px solid #c9a35a; color: var(--cream); font-family: inherit; box-shadow: 0 3px 0 rgba(30,20,5,.4); }
.chip img { width: 30px; height: 30px; object-fit: contain; }
.chip .num { font-size: 18px; min-width: 24px; }
.chip .num.small { font-size: clamp(14px, 2vw, 17px); white-space: nowrap; }
.lidBtn { cursor: pointer; }
.lidBtn.greyed { filter: grayscale(.8) brightness(.85); }
.lidtxt { font-size: clamp(14px, 2vw, 17px); white-space: nowrap; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #fbf3dd; box-shadow: inset -3px -3px 0 rgba(0,0,0,.2), inset 3px 3px 0 rgba(255,255,255,.45); flex: none; }
.dial { width: 44px; height: 44px; border-radius: 50%; flex: none; border: 3px solid #c9a35a; position: relative;
  background: conic-gradient(#ffd96a var(--p, 0deg), rgba(47,68,32,.9) 0); box-shadow: 0 3px 0 rgba(30,20,5,.4); }
.dial.night { background: conic-gradient(#b4a4f0 var(--p, 0deg), rgba(30,35,70,.92) 0); }
.dial .glyph { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; translate: -50% -50%; border-radius: 50%; background: #fff2a8; box-shadow: 0 0 0 3px #f0a83a, 0 0 8px #ffd96a; }
.dial.night .glyph { background: transparent; box-shadow: inset -5px -2px 0 0 #f1ecff; width: 18px; height: 18px; }
.ings { display: flex; gap: clamp(4px, 1vw, 8px); }
.ingc { display: flex; align-items: center; gap: 2px; padding: 1px 8px 1px 4px; border-radius: 16px; background: rgba(47,68,32,.8); border: 2px solid #c9a35a; }
.ingc img { width: 30px; height: 30px; object-fit: contain; }
.ingc .num { font-size: 16px; min-width: 14px; }
.ingc.bump { animation: bump .35s cubic-bezier(.3,1.8,.5,1); }
@keyframes bump { 40% { transform: scale(1.35); } }

.navBar { position: absolute; top: 8px; left: 50%; translate: -50% 0; display: flex; gap: clamp(4px, 1.2vw, 10px); padding-bottom: 18px; }
.navBar .ibtn { width: clamp(44px, 6.4vw, 52px); height: clamp(44px, 6.4vw, 52px); }
.navBar .ibtn img { width: clamp(32px, 4.6vw, 38px); height: clamp(32px, 4.6vw, 38px); }
.badge { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; border-radius: 50%; background: var(--berry); border: 3px solid #fbf3dd; animation: pulse 1.2s infinite; }
.goldChip { padding-right: 14px; }
@media (max-width: 760px) { .goldChip .num { font-size: 16px; } .goldChip img { width: 26px; height: 26px; } }

.nearTag { position: absolute; left: 0; top: 0; padding: 6px 14px 7px; border-radius: 16px; background: #f3e6c4; border: 3px solid #3b2a1a; text-align: center; white-space: nowrap;
  box-shadow: 0 3px 0 rgba(30,20,5,.45); margin-top: -12px; will-change: transform; }
.nearTag .tn { font-size: 17px; font-weight: 900; color: #3b2a1a; }
.nearTag .tn:empty { display: none; }
.nearTag .tr { font-size: 15px; line-height: 1; text-shadow: 0 1px 0 #3b2a1a, 1px 0 0 #3b2a1a, -1px 0 0 #3b2a1a; }
.nearTag .tp { font-size: 14px; font-weight: 900; color: #3b2a1a; }
.nearTag.bad .tp { color: #a03a4a; }
.nearTag .arrow { position: absolute; left: 50%; bottom: -10px; translate: -50% 0; width: 14px; height: 14px; background: #f3e6c4; border: 3px solid #3b2a1a; border-top: none; border-left: none; rotate: 45deg; }
