<!doctype html>
<html lang="en" data-theme="teal">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ZeroEngine overlay, Material 3 Expressive</title>
<style>
/* Dynamic color. Each block is the dark scheme of one wallpaper seed, taken from
material-color-utilities, same source Compose's dynamicDarkColorScheme reads. */
[data-theme="teal"] {
--primary: #89d0ed; --on-primary: #003545;
--primary-container: #004d62; --on-primary-container: #baeaff;
--secondary: #b3cad5; --secondary-container: #354a53; --on-secondary-container: #cfe6f2;
--tertiary: #c4c3eb; --tertiary-container: #444465;
--surface: #0f1417; --surface-low: #171c1f; --surface-container: #1b2023;
--surface-high: #252b2d; --surface-highest: #303638;
--on-surface: #dee3e6; --on-surface-variant: #c0c8cc;
--outline-variant: #40484c;
}
[data-theme="lilac"] {
--primary: #cfbdfe; --on-primary: #36275d;
--primary-container: #4d3d75; --on-primary-container: #e9ddff;
--secondary: #cbc2db; --secondary-container: #4a4458; --on-secondary-container: #e7dff9;
--tertiary: #efb8c8; --tertiary-container: #633b48;
--surface: #141218; --surface-low: #1d1b20; --surface-container: #211f24;
--surface-high: #2b292f; --surface-highest: #36343a;
--on-surface: #e6e0e9; --on-surface-variant: #cac4cf;
--outline-variant: #49454e;
}
[data-theme="sand"] {
--primary: #feb877; --on-primary: #4b2800;
--primary-container: #6a3b03; --on-primary-container: #ffdcc0;
--secondary: #e2c0a5; --secondary-container: #5a422d; --on-secondary-container: #ffdcc0;
--tertiary: #c2cb98; --tertiary-container: #424a23;
--surface: #19120c; --surface-low: #221a14; --surface-container: #261e18;
--surface-high: #312822; --surface-highest: #3c332c;
--on-surface: #efe0d5; --on-surface-variant: #d5c3b6;
--outline-variant: #51443a;
}
:root {
/* The thermal ramp stays, but harmonized: hue shifted toward the theme, used only for data */
--warm: #ffb26b;
--hot: #ff8a7a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
min-height: 100%;
background: #06080b;
font-family: Roboto, "Google Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
display: grid; place-items: center;
padding: 26px 20px 36px;
}
.stage { display: grid; gap: 20px; justify-items: center; }
.swatches { display: flex; gap: 10px; align-items: center; }
.swatches button {
width: 34px; height: 34px; border: 0; border-radius: 12px; cursor: pointer;
box-shadow: 0 0 0 1px rgba(255,255,255,.14);
}
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(255,255,255,.18); }
.swatches .label { font-size: 11px; letter-spacing: .04em; color: #7d8b96; margin-right: 2px; }
.phone {
position: relative; width: 390px; height: 844px;
border-radius: 44px; overflow: hidden; isolation: isolate;
box-shadow: 0 40px 90px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.06);
background: #0a0f14;
}
/* Stand in for the game underneath */
.game { position: absolute; inset: 0; }
.game::before {
content: ""; position: absolute; inset: -12%;
background:
radial-gradient(52% 38% at 22% 18%, rgba(94,132,120,.5), transparent 70%),
radial-gradient(46% 34% at 82% 26%, rgba(58,86,120,.46), transparent 72%),
radial-gradient(60% 42% at 58% 88%, rgba(28,42,36,.9), transparent 70%),
linear-gradient(160deg, #16211d 0%, #0d1418 46%, #080c10 100%);
filter: blur(2px);
}
.game::after {
content: ""; position: absolute; inset: 0;
background: radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(0,0,0,.55) 100%);
}
.crosshair {
position: absolute; left: 22%; top: 44%; width: 42px; height: 42px; opacity: .45;
border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
}
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: rgba(255,255,255,.5); }
.crosshair::before { left: 50%; top: -8px; width: 1px; height: 12px; }
.crosshair::after { top: 50%; left: -8px; height: 1px; width: 12px; }
.gauge { position: absolute; left: 16px; bottom: 22px; width: 150px; display: grid; gap: 5px; opacity: .5; }
.gauge span { height: 5px; border-radius: 3px; background: rgba(255,255,255,.24); }
.gauge span:nth-child(2) { width: 68%; background: rgba(120,220,200,.4); }
.gauge span:nth-child(3) { width: 86%; background: rgba(255,255,255,.16); }
.scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,16,.66) 0%, rgba(8,11,16,0) 62%); }
/* Sheet: surface, 32dp inner corner, no borders. Separation comes from tone, not lines */
.sheet {
position: absolute; top: 0; right: 0; bottom: 0; width: 344px;
padding: 16px 16px 18px;
display: flex; flex-direction: column;
background: var(--surface);
border-radius: 32px 0 0 32px;
box-shadow: -28px 0 60px rgba(0,0,0,.5);
overflow: hidden;
}
/* One label style: sentence case, no tracking games, muted role */
.label { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .3px; color: var(--on-surface-variant); }
.label.small { font-size: 11px; line-height: 15px; }
.section span:last-child { color: var(--on-surface-variant); }
.num { font-variant-numeric: tabular-nums; }
header { display: flex; align-items: center; gap: 12px; }
.icon {
width: 40px; height: 40px; border-radius: 14px; flex: none;
display: grid; place-items: center;
background: var(--surface-high); color: var(--on-surface);
font-size: 20px;
}
.head-titles { flex: 1; min-width: 0; }
.head-titles h1 {
font-size: 20px; line-height: 26px; font-weight: 600; color: var(--on-surface);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.head-titles .label { margin-top: 2px; }
.clock { font-size: 12px; color: var(--on-surface-variant); font-variant-numeric: tabular-nums; }
/* Hero card: the app's Balance card translated, gradient from primary container */
.hero {
margin-top: 14px; padding: 14px;
border-radius: 24px;
background: linear-gradient(135deg, var(--primary-container) 0%, var(--surface-high) 92%);
color: var(--on-primary-container);
}
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; }
.hero .label { color: var(--on-primary-container); opacity: .86; }
.fps { font-size: 42px; line-height: 44px; font-weight: 700; color: var(--on-primary-container); margin-top: 2px; }
.fps-unit { font-size: 13px; font-weight: 500; opacity: .7; margin-left: 6px; }
.fps-min { font-size: 12px; opacity: .86; padding-bottom: 6px; }
svg.spark { display: block; width: 100%; height: 38px; margin: 6px 0 10px; }
/* Media blocks inside the hero, the way the app stacks Battery / Board / CPU */
.media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.media div {
padding: 8px 9px 9px; border-radius: 14px;
background: rgba(0,0,0,.22);
}
.media .m-label { font-size: 11px; line-height: 14px; color: var(--on-primary-container); opacity: .74; }
.media .m-value { font-size: 17px; line-height: 22px; font-weight: 600; color: var(--on-primary-container); font-variant-numeric: tabular-nums; margin-top: 3px; }
.media .warm { color: var(--warm); opacity: 1; }
/* Two tonal blocks for the loads, no borders */
.loads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.load {
padding: 10px 13px; border-radius: 16px; background: var(--surface-low);
display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.load .l-value { font-size: 19px; line-height: 24px; font-weight: 600; color: var(--on-surface); font-variant-numeric: tabular-nums; }
.load .l-label { font-size: 11px; line-height: 15px; color: var(--on-surface-variant); margin-top: 3px; font-variant-numeric: tabular-nums; }
.section { display: flex; align-items: baseline; justify-content: space-between; margin: 15px 0 8px; }
.section span:first-child { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--on-surface); }
.section span:last-child { font-size: 11px; color: var(--on-surface-variant); }
.segmented { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-low); }
.segmented button {
flex: 1; padding: 9px 6px; border: 0; border-radius: 999px; cursor: pointer;
font: inherit; font-size: 12.5px; font-weight: 500; color: var(--on-surface-variant);
background: transparent; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.segmented button.on {
font-weight: 600; color: var(--on-secondary-container);
background: var(--secondary-container);
}
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.tool {
padding: 10px 8px 9px; border-radius: 14px; background: var(--surface-low);
display: grid; justify-items: center; align-content: start; gap: 7px; cursor: pointer; border: 0;
min-height: 74px;
font: inherit; color: var(--on-surface-variant);
}
.tool .glyph { font-size: 18px; line-height: 20px; color: var(--on-surface-variant); }
.tool span { font-size: 10.5px; line-height: 14px; text-align: center; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tool.on { background: var(--primary-container); color: var(--on-primary-container); }
.tool.on .glyph { color: var(--on-primary-container); }
.strip { display: flex; gap: 8px; overflow: hidden; }
.app {
width: 50px; flex: none; aspect-ratio: 1; border-radius: 14px;
display: grid; place-items: center; font-size: 16px; font-weight: 600;
background: var(--surface-low); color: var(--on-surface);
}
.app.more { color: var(--on-surface-variant); font-weight: 400; font-size: 20px; background: var(--surface-container); }
/* Beacon: capsule in the theme's primary, meter still reads frame health */
.beacon { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 6px; height: 58px; }
.beacon .track { position: absolute; inset: 0; border-radius: 3px; background: var(--surface-highest); }
.beacon .meter { position: absolute; left: 0; right: 0; bottom: 0; height: 82%; border-radius: 3px; background: var(--primary); }
.beacon .dot { position: absolute; left: 50%; top: -15px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--primary); }
/* Frame counter capsule over the game */
.capsule {
position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
display: flex; align-items: center; gap: 8px; padding: 6px 14px 7px 12px;
border-radius: 999px; background: color-mix(in srgb, var(--surface-container) 88%, transparent);
backdrop-filter: blur(6px);
}
.capsule .label { font-size: 11px; color: var(--on-surface-variant); }
.capsule .num { font-size: 15px; font-weight: 700; color: var(--primary); }
/* Monitor HUD */
.hud {
position: absolute; top: 28px; left: 8px; padding: 10px 14px 11px 12px;
border-radius: 20px; background: color-mix(in srgb, var(--surface-container) 88%, transparent);
backdrop-filter: blur(6px); display: grid; gap: 3px;
}
.hud div { display: flex; gap: 8px; align-items: center; }
.hud b { width: 30px; font-size: 11px; font-weight: 500; color: var(--on-surface-variant); }
.hud span { font-size: 11.5px; color: var(--on-surface); font-variant-numeric: tabular-nums; }
.hud .accent { color: var(--primary); }
.hud .warm { color: var(--warm); }
.caption { color: #64727e; font-size: 11px; line-height: 17px; letter-spacing: .02em; text-align: center; max-width: 430px; }
.caption b { color: #93a4b1; font-weight: 600; }
@media (max-width: 460px) {
.phone { width: 100%; max-width: 390px; height: 780px; }
.sheet { width: 92%; }
.fps { font-size: 42px; line-height: 44px; }
}
</style>
</head>
<body>
<div class="stage">
<div class="swatches" role="group" aria-label="Dynamic color source">
<span class="label">Tema HP</span>
<button data-set="teal" aria-pressed="true" style="background:linear-gradient(135deg,#89d0ed,#004d62)" title="Teal"></button>
<button data-set="lilac" aria-pressed="false" style="background:linear-gradient(135deg,#cfbdfe,#4d3d75)" title="Lilac"></button>
<button data-set="sand" aria-pressed="false" style="background:linear-gradient(135deg,#feb877,#6a3b03)" title="Sand"></button>
</div>
<div class="phone">
<div class="game">
<div class="crosshair"></div>
<div class="gauge"><span></span><span></span><span></span></div>
</div>
<div class="scrim"></div>
<div class="capsule"><span class="label">Frames</span><span class="num">118</span></div>
<div class="hud">
<div><b>FPS</b><span class="accent">118</span></div>
<div><b>CPU</b><span class="warm">62%</span><span>2.71 · 2.42 · 1.98</span></div>
<div><b>GPU</b><span>48%</span><span>587 MHz</span></div>
<div><b>DDR</b><span>3196 MHz</span></div>
<div><b>RAM</b><span>7.2 / 12 GB</span></div>
<div><b>TMP</b><span class="warm">CPU 47° · GPU 44° · BAT 31°</span></div>
<div><b>PWR</b><span>4.1 W</span></div>
</div>
<div class="beacon"><div class="dot"></div><div class="track"></div><div class="meter"></div></div>
<div class="sheet">
<header>
<div class="icon">🎯</div>
<div class="head-titles">
<h1>PUBG Mobile</h1>
<div class="label">Balanced profile</div>
</div>
<div class="clock">15:32</div>
</header>
<div class="hero">
<div class="hero-top">
<div>
<div class="label">Frames</div>
<div class="fps">118<span class="fps-unit">fps</span></div>
</div>
<div class="fps-min">min 96</div>
</div>
<svg class="spark" viewBox="0 0 312 44" preserveAspectRatio="none" aria-hidden="true">
<defs>
<linearGradient id="fill" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="currentColor" stop-opacity=".3"/>
<stop offset="1" stop-color="currentColor" stop-opacity="0"/>
</linearGradient>
</defs>
<line id="baseline" x1="0" y1="6" x2="312" y2="6" stroke="currentColor" stroke-opacity=".35" stroke-width="1"/>
<path id="area" fill="url(#fill)"></path>
<path id="line" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path>
</svg>
<div class="media">
<div><div class="m-label">Battery</div><div class="m-value">31%</div></div>
<div><div class="m-label">Board</div><div class="m-value warm">32.4°</div></div>
<div><div class="m-label">CPU</div><div class="m-value warm">47.3°</div></div>
</div>
</div>
<div class="loads">
<div class="load">
<div>
<div class="l-value num">62%</div>
<div class="l-label">CPU 2.71 GHz</div>
</div>
</div>
<div class="load">
<div>
<div class="l-value num">48%</div>
<div class="l-label">GPU 587 MHz</div>
</div>
</div>
</div>
<div class="section"><span>Profile</span><span>10 games</span></div>
<div class="segmented">
<button>Performance</button>
<button class="on">Balanced</button>
<button>Battery</button>
</div>
<div class="section"><span>Tools</span><span>Swipe for more</span></div>
<div class="tools">
<button class="tool"><span class="glyph">⛶</span><span>Screenshot</span></button>
<button class="tool"><span class="glyph">◉</span><span>Record</span></button>
<button class="tool on"><span class="glyph">☾</span><span>Do not disturb</span></button>
<button class="tool on"><span class="glyph">⏱</span><span>FPS counter</span></button>
<button class="tool"><span class="glyph">⚡</span><span>Monitor</span></button>
<button class="tool"><span class="glyph">☀</span><span>Lock brightness</span></button>
<button class="tool on"><span class="glyph">✋</span><span>Touch mode</span></button>
<button class="tool"><span class="glyph">▤</span><span>Lock status bar</span></button>
<button class="tool"><span class="glyph">◧</span><span>Lock navigation</span></button>
</div>
<div class="section"><span>Floating apps</span><span>Hold to pin</span></div>
<div class="strip">
<div class="app" style="background:linear-gradient(150deg,#25d366,#128c7e);color:#fff">W</div>
<div class="app" style="background:linear-gradient(150deg,#3b5998,#833ab4);color:#fff">◎</div>
<div class="app" style="background:linear-gradient(150deg,#2aabee,#229ed9);color:#fff">➤</div>
<div class="app" style="background:linear-gradient(150deg,#ff3b30,#ff9500);color:#fff">▶</div>
<div class="app more">+</div>
</div>
</div>
</div>
<div class="caption">
<b>ZeroEngine overlay</b>, dark scheme of the system dynamic color, tonal surfaces with no borders,
shape scale 32 / 24 / 16, sentence case labels, and the thermal ramp kept for telemetry only.
</div>
</div>
<script>
// A plausible minute of frames
const samples = [118,119,120,119,118,120,119,119,118,117,118,119,120,120,119,118,116,114,110,105,99,96,101,108,113,116,118,119,120,119,118,119,120,120,119,118,119,120,119,118,117,116,118,119,120,120,119,118,119,120,119,118,119,120,120,119,118,118,119,118];
const W = 312, H = 44, target = 120, low = target * 0.5, high = target * 1.05;
const y = v => H - H * 0.04 - Math.min(Math.max((v - low) / (high - low), 0), 1) * H * 0.92;
const step = W / (samples.length - 1);
let d = "";
samples.forEach((v, i) => { d += (i ? "L" : "M") + (i * step).toFixed(2) + " " + y(v).toFixed(2) + " "; });
document.getElementById("line").setAttribute("d", d.trim());
document.getElementById("area").setAttribute("d", d.trim() + ` L ${W} ${H} L 0 ${H} Z`);
document.getElementById("baseline").setAttribute("y1", y(target).toFixed(2));
document.getElementById("baseline").setAttribute("y2", y(target).toFixed(2));
// Switch the dynamic color source, the way a different wallpaper would
document.querySelectorAll(".swatches button").forEach(b => {
b.addEventListener("click", () => {
document.documentElement.dataset.theme = b.dataset.set;
document.querySelectorAll(".swatches button").forEach(o => o.setAttribute("aria-pressed", String(o === b)));
});
});
</script>
</body>
</html>
Scan with iPhone Camera or Android QR scanner to preview natively on your device.