Foundation script for the suite. Defines the common theme tokens (CSS vars + accent palette + button-icon themes), draws the fixed top bar (search, NST clock, quest log, alerts bell), wraps page content in a centered responsive frame, and hides ads / sidebars / native nav while leaving the underlying nodes intact so Neopets' own JS keeps working.
**Part of the [Neopets QoL Suite](https://greasyfork.org/fr/users/1611043-optimistic)** — a set of 5 modular userscripts that modernize the Neopets.com browsing experience.
## What this script does
The Core script is the **foundation** for the suite. It provides:
- A fixed top bar with hover menus (Community / Games / Explore / Shop / Premium), NST clock, quest log shortcut, alerts bell, and search box.
- A centered responsive frame around the page content (clamped to 1100px wide max).
- Shared theme tokens (CSS variables + accent palette + button-icon themes) consumed by the other scripts in the suite.
- Ad / sidebar / native nav hiding, with the underlying DOM kept intact so Neopets' own JS keeps working.
## How to install
1. Install [Tampermonkey](https://www.tampermonkey.net/) in your browser.
2. Click **Install** on this page.
3. Reload neopets.com — the new top bar should appear.
## Customize
- **Top-bar menus**: hover a category, click the "+ Add link" button at the bottom of the dropdown to add custom shortcuts.
- **Accent color & button theme**: open the **③ Background & Decor** script's right-side picker (the `❮` handle on the right edge of the screen).
- **Bell notifications**: pulls your latest alerts from Neopets every 5 minutes, with a one-click dismiss.
## The full suite
This script works **standalone**, but pairs with the other 4 scripts of the suite:
- ② HUD — left-side stack (user, bank, NP, QuickRef, pet image, side buttons)
- ③ Background & Decor — animated bg + DTI picker + accent/theme settings
- ④ Dailies Sidebar — collapsed sidebar with all dailies + cooldown tracking
- ⑤ QuickRef Pet Card — full revamp of `/quickref.phtml` in Pokémon-card style
## Privacy / safety
- No automation. Every action is a user click.
- Settings are stored locally (localStorage) — nothing leaves your browser.
- Open-source, auditable.