/* ---------- v3.2: optional rewarded videos, bonus tools, lucky wheel, collection ---------- */
.ad-btn { position: relative; }
.ad-tag { position: absolute; top: -9px; right: 10px; background: #1f8f3a; color: #fff; font: 900 10px/1 var(--font); letter-spacing: .5px; padding: 4px 7px; border-radius: 8px; box-shadow: 0 2px 0 rgba(0,0,0,.25); text-shadow: none; }
#toolbar { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 10px); z-index: 2; display: flex; justify-content: center; gap: 28px; pointer-events: none; }
.tool { pointer-events: auto; position: relative; width: 58px; height: 52px; border: 0; border-radius: 16px; font-size: 26px; line-height: 52px;
  background: linear-gradient(180deg, #a86a3a, #6e3d1b); box-shadow: inset 0 2px 0 rgba(255,220,170,.4), 0 4px 0 #3e200b, 0 6px 10px rgba(0,0,0,.3); transition: transform .08s; }
.tool:active { transform: translateY(3px); }
.tool b { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 12px; background: #ff5a3c; color: #fff; font: 900 13px/24px var(--font); box-shadow: 0 2px 4px rgba(0,0,0,.35); }
.tool.empty b { background: #1f8f3a; font-size: 10px; }
.tool.active { background: linear-gradient(180deg, #ff9f45, #e0601e); animation: pulse .6s ease-in-out infinite; }
.tool-big { font-size: 72px; line-height: 1.1; margin: 4px 0; }
#btnWheel.dot::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #ff3d3d; box-shadow: 0 0 0 2px #fff; animation: pulse 1s ease-in-out infinite; }
.wheel-wrap { position: relative; width: 260px; max-width: 76vw; margin: 6px auto 4px; }
.wheel-wrap canvas { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
.wheel-pin { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 30px; color: #d0300a; text-shadow: 0 2px 0 #fff, 0 3px 4px rgba(0,0,0,.4); }
.new-theme { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.55); border-radius: 14px; padding: 8px; margin: 8px 0; text-align: left; animation: popIn .5s cubic-bezier(.2,1.8,.4,1); }
.new-theme img { width: 54px; height: 54px; border-radius: 10px; }
.new-theme p { margin: 0; font-size: 14px; }
.restore-card { background: rgba(120,40,160,.45); border-radius: 18px; padding: 12px; margin-bottom: 14px; text-align: center; font-weight: 800; }
.restore-card .btn { width: 100%; margin-top: 10px; }
.theme-card .how { font: 800 11px/1.2 var(--font); opacity: .85; text-align: center; }
.theme-card.locked img { filter: grayscale(.6) brightness(.8); }
.auto-row { background: rgba(40,15,0,.4); border-radius: 16px; padding: 10px 14px; margin-bottom: 14px; color: #fff; }
.priv { width: 100%; margin-top: 10px; }
