#hud { position: fixed; inset: 0 0 auto 0; z-index: 6; padding: 12px 16px 0; pointer-events: none; }
#hud .chip { pointer-events: auto; }
#hudTop { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#hudRight { display: flex; gap: 8px; align-items: center; }
#wxChip span#wxRound { font-weight: 500; opacity: 0.7; font-size: 13px; margin-left: 6px; }
#scoreChip { background: var(--ink); color: var(--sun); font-family: var(--display); font-size: 19px; }
#moneyChip { color: var(--money); font-family: var(--display); font-size: 19px; }
#muteBtn { font-size: 17px; min-width: 44px; min-height: 44px; }

#pips { display: flex; gap: 4px; margin-top: 10px; }
#pips i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.45); position: relative; overflow: hidden; }
#pips i.done { background: var(--ink); }
#pips i.now::after { content: ''; position: absolute; inset: 0; width: var(--p, 0%); background: var(--ink); }

#balanceCard { margin-top: 12px; width: 300px; background: var(--chip); border-radius: 16px;
  padding: 12px 16px; pointer-events: auto; }
#balTop { display: flex; justify-content: space-between; font-size: 14px; }
#balTop b#demVal { color: var(--alert); }
#balBar { height: 12px; border-radius: 6px; background: #e4dcc8; overflow: hidden; margin-top: 6px; }
#balFill { height: 100%; width: 0; border-radius: 6px; transition: width 0.6s;
  background: linear-gradient(90deg, var(--ok), var(--sun) 70%, var(--gen)); }
#balBottom { display: flex; justify-content: space-between; margin-top: 7px; font-size: 14px; }

#banner { margin: 14px auto 0; max-width: 560px; background: var(--chip); color: var(--ink);
  border-radius: 16px; padding: 12px 20px; text-align: center; font-size: 16px;
  animation: bannerIn 0.5s cubic-bezier(.2,1.4,.4,1); pointer-events: none; }
#banner b { font-family: var(--display); font-size: 19px; }
@keyframes bannerIn { from { transform: translateY(-18px); opacity: 0; } }

.float-up { position: fixed; z-index: 20; font-family: var(--display); font-weight: 700;
  color: var(--money); pointer-events: none; animation: floatUp 1s ease-out forwards; }
@keyframes floatUp { to { transform: translateY(-36px); opacity: 0; } }

#curtailHint { position: fixed; z-index: 6; right: 18px; bottom: 240px;
  background: rgba(255, 226, 130, 0.92); color: #6b4d00; border-radius: 14px;
  padding: 7px 13px; font-size: 13px; font-weight: 700; }
#curtailHint[hidden] { display: none; }
