# Style Policy

> Canonical visual policy for shared design foundations, project-specific skins, palettes, and interaction styling across the MrJuaumBR ecosystem.

## 1. Policy purpose

Related websites, tools, project pages, dashboards, and future web applications share an implementation and usability foundation, not a mandatory identical visual skin. The main website owns the standard skin catalog below. Other ecosystem sites may have distinct, purpose-built skins and art directions; do not force every site's skin list, artwork, or decorative background to match the main website. Keep the shared semantic color roles, accessible interaction states, responsive behavior, and project identity coherent.

This document defines the **visual decisions that should remain consistent**. The companion `theme-pallete.md` document defines the implementation mechanics for applying those decisions with CSS classes, tokens, JavaScript state, and persistence. The companion `qol-rules.md` document defines responsive, accessibility, and quality requirements.

When documents conflict, use this priority order:

1. accessibility, readability, and device usability;

1. this style policy’s shared visual identity;

1. the selected skin’s creative direction;

1. the selected palette’s decorative preference;

1. local component experimentation.

A creative skin may be unusual or unique to one site. It may not make the interface unreadable, unusable, or violate the shared accessibility and component contracts.

## 2. Required visual layers

Every project must be designed in four layers:

| Layer | Required? | Responsibility |
| --- | --- | --- |
| Base system | Yes | Typography, spacing, layout, controls, focus, surfaces, and component shapes |
| Appearance mode | Yes | Dark or light contrast relationships |
| Skin/theme | Yes | A coherent visual world and art direction |
| Palette | Yes | Accent colors within the selected skin and mode |

Do not treat “theme” as a synonym for “dark mode.” In this ecosystem:

- **mode** means dark or light;

- **skin** means the identity or art direction;

- **palette** means the accent family;

- **effects** mean optional motion or decoration.

The minimum supported combination is the site's own default skin in dark mode with its default palette. On the main website, the catalog below supports both modes and palette slots A–D. A different ecosystem site may define its own skin catalog and palette names; preserve the token roles and accessible state behavior without copying the main website's art direction. Build enough token separation that adding a project-specific skin does not require rewriting component behavior.

## 3. Main website skin catalog

The main website's standard skin catalog is:

1. **Default / Ecosystem**

1. **Cyberpunk / Night City**

1. **Discord / Community**

1. **Solo Leveling / Shadow Monarch**

1. **Xbox 360 Dashboard / Blades and NXE**

1. **Windows XP / Classic Luna**

1. **One Piece Ocean**

1. **Kaiju War**

These names are based on the main website's visual experience. Preserve this catalog on the main website unless the owner changes it. Other ecosystem projects are not required to expose these skins: they may use unique skins, visual worlds, and defaults chosen for that site's purpose. Reuse semantic tokens and interaction contracts, not the main site's artwork or skin list. Keep `default` as the main-site fallback; a separate site may use its own clearly defined project-default skin.

### 3.1 Default / Ecosystem

**Role:** The neutral identity used by portfolio pages, tools, documentation, and projects that do not need a specialized fiction.

**Visual direction:** Modern, dark-first, glassy but restrained, creator/developer oriented, with soft gradients and clear cards.

**Characteristics:**

- deep charcoal background;

- cool blue or indigo secondary surfaces;

- rounded cards with moderate radii;

- restrained shadows and borders;

- clear accent links and buttons;

- Inter or an equivalent modern sans-serif;

- optional Press Start 2P only for small display accents, not body copy.

**Default combination:** Dark mode, Amethyst palette.

### 3.2 Cyberpunk / Night City

**Role:** High-energy game, technology, hacking, and futuristic project experiences.

**Visual direction:** Dark neon interface with cyan, magenta, acid, or violet signals, angular geometry, terminal-like labels, and controlled scanline/glow effects.

**Characteristics:**

- very dark navy/black surfaces;

- cyan and magenta contrast;

- angular or clipped card corners used sparingly;

- uppercase micro-labels and technical metadata;

- glowing borders or shadows only where they do not reduce readability;

- dark mode as the preferred default;

- light mode must become a readable pale technical interface, not a neon-on-white collision.

Do not use scanlines, glow, clip paths, or animated borders as substitutes for hierarchy. Keep the content readable when all effects are disabled.

### 3.3 Discord / Community

**Role:** Community, collaboration, chat, social, and shared-project experiences.

**Visual direction:** Calm dark gray surfaces, compact spacing, clear hierarchy, approachable controls, and restrained brand-like blurple accents.

**Characteristics:**

- neutral gray background and elevated panels;

- low-noise surfaces;

- medium corner radii;

- compact but touch-safe controls;

- minimal continuous motion;

- strong distinction between page background, card, input, and hover surface;

- light mode based on soft gray/white surfaces.

Do not copy a third-party brand interface so literally that the ecosystem loses its own identity. The skin is an inspiration and semantic direction, not a brand impersonation.

### 3.4 Solo Leveling / Shadow Monarch

**Role:** Character dashboards, progression systems, RPG interfaces, achievement views, and dramatic personal statistics.

**Visual direction:** Deep blue-violet darkness, luminous blue highlights, system-panel framing, and a premium game HUD atmosphere.

**Characteristics:**

- near-black blue-violet background;

- blue, cyan, and violet highlights;

- system/status labels and framed panels;

- controlled glow around important values;

- strong primary/secondary hierarchy;

- light mode as a pale blue-gray system interface with dark text.

Use the dramatic style around important content, not over every sentence. A dashboard must remain scannable when values, labels, and controls are numerous.

### 3.5 Xbox 360 Dashboard / Blades and NXE

**Role:** Console, launcher, game library, media, and nostalgic interface experiences.

**Visual direction:** Modular dashboard sections, bold color strips, clear navigation blocks, and console-like organization.

**Characteristics:**

- strong panel organization;

- bold but controlled green, blue, gold, or red accent families;

- high legibility at a distance;

- prominent navigation and selected states;

- larger tap/focus targets;

- restrained motion suitable for controller or TV use.

Do not make the design dependent on hover, because TV and controller users may not have a mouse pointer. Selected and focused states must be persistent and obvious.

### 3.6 Windows XP / Classic Luna

**Role:** Retro desktop tools, utilities, nostalgia projects, and playful system interfaces.

**Visual direction:** Bright blue title bars, light gray panels, bevel-inspired borders, compact system controls, and classic utility density.

**Characteristics:**

- readable dark text on light surfaces by default;

- blue or olive title/action colors;

- clear panel boundaries;

- modest gradients and inset highlights;

- compact but touch-safe controls;

- light mode as the preferred default.

Do not reproduce inaccessible tiny text or tiny controls from historical software. Preserve the visual memory while complying with modern accessibility and responsive rules.

## 4. Main-site palette contract

Every main-site skin provides four palette slots in both dark and light mode. Palette names and values may be skin-specific, but the semantic roles remain stable. Other ecosystem sites may define their own named palettes; they should retain these semantic roles and provide dark/light variants when those modes are offered.

| Slot | Default identity | General role |
| --- | --- | --- |
| A | Primary/default | The skin’s main recognizable accent; default selection |
| B | Warm/rose | Energetic, social, expressive, or urgent emphasis |
| C | Neutral/graphite | Restrained, professional, low-saturation emphasis |
| D | Cool/alternate | Teal, cyan, gold, green, or another secondary identity accent |

The current portfolio’s default examples are Amethyst, Rose, Graphite, and Lagoon. Other skins use names such as Neon Cyan, Blurple, Shadow Monarch, Luna Blue, Olive Green, Silver, and Royale Blue. Keep those names when the skin uses them; do not force all skins to use identical labels.

### 4.1 Palette requirements

Each palette must define at least:

- swatch color;

- primary action color;

- strong/hover color;

- secondary accent;

- readable text on primary color;

- focus color;

- dark-mode values;

- light-mode values;

- success, warning, danger, and information compatibility.

A palette must be recognizable without becoming a collection of unrelated colors. Use one dominant accent, one supporting accent, and neutrals. Avoid using every palette color at equal visual weight.

### 4.2 Required defaults

Use these defaults unless a project has a documented reason to differ:

| Preference | Default |
| --- | --- |
| Skin | `default` |
| Mode | `dark` |
| Palette | `a` |
| Motion | Respect OS preference; effects enabled only when appropriate |
| Border effect | Enabled only where performance and readability allow |
| Font | Inter/system sans-serif for body content |
| Display font | Press Start 2P or an approved equivalent only for short labels |

Windows XP may default to light mode because that is part of its identity, but a project must still offer dark mode.

## 5. Color token policy

Never style a component directly from a random hex value when a semantic token exists. Define color roles first, then assign palette values to those roles.

### 5.1 Required semantic tokens

Every skin/mode/palette combination must provide:

```css
--color-bg;
--color-surface;
--color-surface-raised;
--color-surface-inset;
--color-text;
--color-text-muted;
--color-text-subtle;
--color-border;
--color-border-strong;
--color-primary;
--color-primary-strong;
--color-primary-text;
--color-accent;
--color-accent-text;
--color-focus;
--color-success;
--color-warning;
--color-danger;
--color-info;
--color-shadow;
```

The existing site’s variables (`--bg-dark`, `--surface`, `--text`, `--text-muted`, `--border`, `--primary`, `--primary-light`, and `--accent`) may remain as compatibility aliases. New work should use the semantic names above.

### 5.2 Color hierarchy

Use the hierarchy below consistently:

1. `--color-bg` for the page and lowest visual layer;

1. `--color-surface` for ordinary cards, sections, and controls;

1. `--color-surface-raised` for dropdowns, dialogs, hover panels, and selected content;

1. `--color-surface-inset` for inputs, code areas, and recessed content;

1. `--color-text` for primary reading;

1. `--color-text-muted` for secondary metadata;

1. `--color-text-subtle` only for low-priority information that still passes readability requirements;

1. `--color-primary` for the main action and selected state;

1. `--color-primary-strong` for hover, focus-adjacent emphasis, and active borders;

1. `--color-accent` for small highlights, markers, icons, and decorative emphasis.

Do not use `--color-accent` for every link, heading, border, icon, and button simultaneously. If everything is emphasized, nothing is emphasized.

### 5.3 Contrast policy

Readable text takes precedence over visual accuracy. Validate normal text, large text, icons conveying meaning, button labels, links, placeholders, disabled states, focus rings, and text over images or gradients.

Rules:

- body text must have strong contrast against its actual rendered surface;

- muted text must remain readable and must not be treated as decorative gray;

- links must be distinguishable by color and/or underline, not color alone;

- focus indicators must remain visible against both the control and its surroundings;

- primary buttons need a dedicated readable foreground token;

- translucent surfaces must be tested over the backgrounds beneath them;

- color must not be the only indicator of status, selection, or error;

- do not use glow as a replacement for contrast.

When a palette cannot meet contrast with its intended bright accent, use the accent for borders, icons, or decoration and use a darker/lighter semantic action color for text-bearing controls.

## 6. General design language

### 6.1 Shape

Use rounded, modular, card-based components as the ecosystem baseline. Default radii should be moderate and consistent. A skin may make shapes angular, square, or retro, but it should preserve a predictable component vocabulary:

- cards and panels share a family of radii;

- buttons and inputs align in height and corner treatment;

- badges and chips are compact but not microscopic;

- modals and dropdowns have a clear elevation relationship;

- decorative borders do not replace actual layout boundaries.

### 6.2 Typography

Use a modern sans-serif for reading, navigation, forms, metadata, and data. Use display or pixel fonts only for short labels, logos, titles, or themed microcopy.

Recommended hierarchy:

- page/hero title: strong but fluid, using `clamp()`;

- section heading: clear and consistent across cards;

- component heading: distinct but not oversized;

- body: comfortable line height and readable measure;

- metadata: smaller but not faint;

- labels: uppercase/letter-spaced only when the skin calls for it.

Avoid long lines on large screens. Keep body text within a readable measure and do not stretch a single paragraph across a TV-wide viewport.

### 6.3 Spacing

Use a small spacing scale and apply it consistently. Prefer fluid spacing at major boundaries:

```css
.section {
  padding-block: clamp(1.25rem, 3vw, 3rem);
}

.card {
  padding: clamp(1rem, 2vw, 1.75rem);
}
```

Do not solve a crowded layout by shrinking text below comfortable reading size. Reduce decoration, stack content, switch to a scroll region, or change the layout instead.

### 6.4 Surfaces and depth

The baseline visual language uses layered surfaces, borders, gradients, and shadows. Depth must communicate hierarchy:

- page background is visually quiet;

- cards are distinct but not floating randomly;

- raised surfaces sit above cards;

- active content is marked with color, border, or elevation;

- shadows are softer in light mode and deeper in dark mode.

Do not use heavy blur or backdrop filters as a requirement for understanding content. Provide a solid-color fallback for browsers that do not support them.

### 6.5 Icons

Use Font Awesome consistently for functional and social icons. Icons should support labels rather than replace them in primary navigation or important actions. Use the active palette tokens; do not embed unrelated inline colors.

Decorative icons must use `aria-hidden="true"`. Icon-only buttons need a descriptive accessible name and a visible focus state.

## 7. Imagery and decorative effects

Images, videos, gradients, particles, scanlines, holiday effects, and animated borders are supporting layers. They must not obscure content, steal pointer events, or create layout instability.

Use the following rules:

- provide meaningful alternative text;

- preserve aspect ratios and reserve space before media loads;

- keep decorative layers behind content;

- disable or reduce effects for `prefers-reduced-motion: reduce`;

- choose an illustration and background style that belongs to the individual site's skin; different ecosystem sites may intentionally have different art directions;

- use the site's own surfaces, typography, and semantic tokens around project-specific artwork so the page feels coherent within that site;

- ensure screenshots and product imagery remain legible in both modes.

## 8. Component state styling

Every interactive component should define these states where applicable:

- default;

- hover enhancement;

- keyboard focus;

- active/pressed;

- selected/current;

- disabled;

- loading;

- empty;

- error;

- success;

- expanded/collapsed.

State styling must be visible in all skins and palettes. Do not rely on a subtle one-pixel color difference. Use at least two cues when necessary: color plus border, icon, text, shape, position, or `aria` state.

Tabs, carousels, cards, modals, menus, themed dropdowns/selects, sliders, skeleton loaders, and generated content all follow this policy. A component may use a project-specific visual style, but its states and token behavior remain legible and operable.

### Window-style overlays

Stores, launchers, inspectors, media browsers, and other substantial overlays may use the ecosystem’s desktop-window pattern. A window must feel native to the active skin while preserving the same interaction contract:

- title bar with a clear icon and title;

- themed minimize, maximize/restore, and close controls;

- draggable title bar with controls excluded from dragging;

- resizable body with viewport-safe minimum and maximum bounds;

- maximized state that uses the active viewport without page overflow;

- contained body scrolling;

- visible focus, hover, active, disabled, and close states;

- a full-screen or bottom-sheet fallback on narrow screens.

The window must consume the same surface, border, text, primary, accent, shadow, and focus tokens as the rest of the project. Do not hard-code a Windows-style blue title bar into every skin. Instead, each skin defines its own title-bar treatment:

- Default uses a calm raised surface and the active primary accent.

- Cyberpunk may use angular geometry, neon edge color, and technical casing.

- Discord uses restrained community surfaces and compact controls.

- Solo Leveling uses system-panel framing and controlled blue-violet emphasis.

- Xbox 360 uses dashboard chrome, with a bright low-shadow treatment in light mode.

- Windows XP may use a classic blue title bar because it is part of that skin’s identity.

Do not let decorative title-bar gradients or shadows reduce the title’s contrast. The window must remain understandable if blur, glow, animation, and gradients are disabled. The title bar is a component state surface, not an excuse to bypass the shared color policy.

## 9. What must remain shared

The following implementation and usability contracts should remain consistent unless accessibility or a product requirement calls for a documented adjustment:

- separate skin, appearance mode, and palette concepts, with semantic color-role meanings;

- readable body typography and a clear hierarchy;

- visible focus, keyboard/touch operation, and practical target sizes;

- responsive layouts without page-level horizontal overflow;

- a clearly defined, usable default skin for each site;

- loading, empty, error, disabled, and selected states;

- accessible labels for icons and controls;

- reduced-motion behavior and user control for substantial continuous effects;

- dependency and external-library discipline.

The main website retains its named skin catalog and A–D palette slots. Other sites may use different skin catalogs, art direction, palette names, and project defaults while preserving the shared semantic token contract.

## 10. What may vary by project

A project may vary:

- content and information architecture;

- the skin catalog, selected skin, and default palette for that individual site;

- artwork, logos, and project-specific brand colors and background animations;

- component composition;

- decorative effects within the skin rules;

- layout density when the target device and content justify it;

- specialized controls required by the product.

Variation should happen through skin tokens, component variants, and data—not by copying the entire stylesheet and changing arbitrary values.

## 11. New skin approval checklist

Before adding a skin to the ecosystem, confirm:

- It has a clear purpose and visual narrative.

- It works in both dark and light mode.

- It defines palettes A, B, C, and D.

- It provides all required semantic color tokens.

- Primary actions, links, muted text, and focus indicators pass contrast review.

- It remains usable without hover, animation, glow, blur, or scanlines.

- It works at phone, tablet, desktop, and TV widths.

- It does not create page-level horizontal overflow.

- It does not require a new library solely for decoration.

- It can be added without changing application data or business logic.

- On the main website, it fits the main-site catalog; on another site, it fits that site's own visual identity.

- It uses shared semantic tokens and accessibility contracts without copying another site's artwork or skin catalog.

## 12. New component approval checklist

Before reusing a component across projects, confirm:

- It consumes semantic theme tokens.

- It has all relevant interaction states.

- It works with long text, missing images, loading, empty, and error content.

- It works with keyboard, touch, and a TV-sized focus target.

- It has an intentional mobile layout.

- It does not depend on hover for information or functionality.

- It supports dark/light modes and all palette slots.

- It respects reduced motion.

- It does not introduce untracked external dependencies.

- Its visual differences are implemented as variants, not copied CSS.

## 13. Main-site skins and floating appearance control

The main-site catalog includes **One Piece Ocean** (existing skin key `piece-ocean`; formerly called Piece Ocean) and **Kaiju War**. Use original or properly licensed artwork; do not reproduce protected anime logos or character art without permission. One Piece Ocean uses a clear sky, gently animated clouds, small seabirds, and a realistic-feeling layered ocean with slow wave drift and subtle changing highlights. Kaiju War uses a defense-force art direction with a vivid electric-blue default palette, Kafka-inspired energy rays, and Tesla-coil-like lightning. Both remain themed to the selected mode and active palette.

For Kaiju War, `Kafka Electric Blue` is palette A and the default, not a hard-coded color that overrides the user's later palette choice. Derive lightning, rays, glow, and atmospheric background accents from the active palette's semantic tokens; adjust them for light/dark mode while maintaining contrast. For One Piece Ocean, keep the ocean and sky in harmony with the selected palette without sacrificing a recognizable ocean/sky foundation. Animate clouds, layered water, and restrained surface glints at a calm pace. Keep every effect behind content and controls, use `pointer-events: none`, and provide a static fallback when reduced motion or the effects-off preference is active.

The main site's skin/palette menu is launched by its round floating bottom-left control and should read as a polished, coherent part of that site rather than a legacy header dropdown. This launcher and the visual catalog are not mandatory on every ecosystem microsite.

## Vertical navigation layout
The shared `.ug-vertical-header` body class is the supported desktop sidebar layout: fixed, accessible navigation on the left with the page content offset, and a compact collapsible top navigation below 900px. A skin may enable it automatically (Discord does in the portfolio). Keep mobile navigation reachable through the menu toggle, account for fixed-header anchor scrolling, and do not let a sidebar obscure the shop or accessibility controls.
