<!doctype html>
<html lang="id">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ZeroEngine overlay</title>
<style>
:root {
--sheet-top: #161d26;
--sheet-bottom: #0b1016;
--plate-top: #202b33;
--plate-bottom: #161d24;
--tile: rgba(255,255,255,.08);
--hairline: rgba(255,255,255,.12);
--hairline-strong: rgba(255,255,255,.2);
--ink: #edf3f7;
--mute: #8598a6;
--cool: #5ac8c0;
--warm: #f0b45a;
--hot: #f2705a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
min-height: 100%;
background: #06080b;
font-family: Roboto, -apple-system, "Segoe UI", system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
display: grid;
place-items: center;
padding: 28px 20px 40px;
}
.stage { display: grid; gap: 22px; justify-items: center; }
.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;
}
/* A stand in for the game underneath: dark, out of focus, with its own HUD */
.game { position: absolute; inset: 0; }
.game::before {
content: "";
position: absolute; inset: -12%;
background:
radial-gradient(52% 38% at 22% 18%, rgba(94,132,120,.55), transparent 70%),
radial-gradient(46% 34% at 82% 26%, rgba(58,86,120,.5), 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: .5;
border: 1px solid rgba(255,255,255,.5);
border-radius: 50%;
}
.crosshair::before, .crosshair::after {
content: ""; position: absolute; background: rgba(255,255,255,.55);
}
.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: 168px;
display: grid; gap: 5px; opacity: .58;
}
.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,.42); }
.gauge span:nth-child(3) { width: 86%; background: rgba(255,255,255,.16); }
/* The scrim the sheet sits on: it fades away from the edge it slides in from */
.scrim {
position: absolute; inset: 0;
background: linear-gradient(90deg, rgba(8,11,16,.7) 0%, rgba(8,11,16,0) 62%);
}
/* Sheet */
.sheet {
position: absolute; top: 0; right: 0; bottom: 0;
width: 344px;
padding: 18px 16px 28px;
display: flex; flex-direction: column; gap: 0;
background: linear-gradient(180deg, var(--sheet-top), var(--sheet-bottom));
border-radius: 28px 0 0 28px;
box-shadow: inset 0 0 0 1px var(--hairline), -30px 0 60px rgba(0,0,0,.45);
overflow: hidden;
}
.micro {
font-size: 9.5px; font-weight: 700; letter-spacing: .14em;
text-transform: uppercase; color: var(--mute);
}
header { display: flex; align-items: center; gap: 12px; }
.icon {
width: 38px; height: 38px; border-radius: 12px; flex: none;
display: grid; place-items: center;
background: linear-gradient(150deg, rgba(90,200,192,.55), rgba(90,200,192,.16));
box-shadow: inset 0 0 0 1px var(--hairline);
font-size: 17px;
}
.titles { flex: 1; min-width: 0; }
.titles h1 {
font-size: 16px; font-weight: 700; color: var(--ink);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.titles .micro { margin-top: 4px; }
.clock { font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
/* Frame card */
.plate {
position: relative; margin-top: 16px; padding: 12px 14px 13px;
border-radius: 22px;
background: linear-gradient(180deg, var(--plate-top), var(--plate-bottom));
box-shadow: inset 0 0 0 1px var(--hairline);
overflow: hidden;
}
.plate .tick { position: absolute; width: 9px; height: 9px; border-color: rgba(90,200,192,.36); border-style: solid; border-width: 0; }
.plate .tick.a { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.plate .tick.b { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.plate .top { display: flex; align-items: flex-end; justify-content: space-between; }
.fps {
font-size: 34px; font-weight: 700; line-height: 1.02; color: var(--cool);
font-variant-numeric: tabular-nums; margin-top: 3px;
}
.fps-min { font-size: 11px; color: var(--mute); font-variant-numeric: tabular-nums; padding-bottom: 4px; }
svg.spark { display: block; width: 100%; height: 46px; margin-top: 10px; }
/* Telemetry grid */
.grid { display: flex; margin-top: 16px; }
.grid.second { margin-top: 14px; }
.cell { flex: 1; min-width: 0; padding-left: 2px; }
.cell + .cell { border-left: 1px solid var(--hairline); margin-left: 10px; padding-left: 12px; }
.value {
font-size: 16px; font-weight: 700; color: var(--ink); margin-top: 4px;
font-variant-numeric: tabular-nums; white-space: nowrap;
}
.detail {
font-size: 10px; color: var(--mute); letter-spacing: .08em; margin-top: 4px;
font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.value.warm { color: var(--warm); }
.value.cool { color: var(--cool); }
/* Sections */
.section { margin-top: 20px; margin-bottom: 9px; padding-left: 2px; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.segmented { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--hairline); }
.segmented button {
flex: 1; padding: 9px 4px; border: 0; border-radius: 12px; cursor: pointer;
font: inherit; font-size: 12px; font-weight: 400; color: var(--mute); background: transparent;
}
.segmented button.on {
font-weight: 700; color: var(--ink);
background: rgba(90,200,192,.18);
box-shadow: inset 0 0 0 1px rgba(90,200,192,.4);
}
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
.tool { display: grid; justify-items: center; gap: 7px; cursor: pointer; }
.tool .disc {
width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center;
background: var(--tile); box-shadow: inset 0 0 0 1px var(--hairline);
color: var(--mute); font-size: 17px; line-height: 1;
}
.tool.on .disc {
color: var(--cool); background: rgba(90,200,192,.15);
box-shadow: inset 0 0 0 1.5px rgba(90,200,192,.4);
}
.tool span { font-size: 9.5px; color: var(--mute); text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool.on span { color: var(--ink); }
.strip { display: flex; gap: 6px; overflow: hidden; padding-bottom: 2px; }
.app {
width: 52px; flex: none; padding: 6px 4px; display: grid; justify-items: center;
border-radius: 14px;
}
.app.pinned { background: var(--tile); box-shadow: inset 0 0 0 1px var(--hairline); }
.app .glyph {
width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
font-size: 16px; font-weight: 700; color: #eaf6f4;
box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.app.more .glyph {
border-radius: 21px; color: var(--ink); font-size: 20px; font-weight: 400;
background: var(--tile); box-shadow: inset 0 0 0 1px var(--hairline);
}
/* The beacon on the screen edge, with its live frame meter */
.beacon { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 5px; height: 54px; }
.beacon .track { position: absolute; inset: 0; border-radius: 3px; background: rgba(90,200,192,.18); box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.beacon .meter { position: absolute; left: 0; right: 0; bottom: 0; height: 82%; border-radius: 3px; background: var(--cool); }
.beacon .dot { position: absolute; left: 50%; top: -14px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--cool); }
/* The frame counter capsule, when the monitor is off */
.capsule {
position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
display: flex; align-items: center; gap: 7px; padding: 4px 11px 5px 9px;
border-radius: 11px; background: rgba(15,21,28,.7); box-shadow: inset 0 0 0 1px var(--hairline);
}
.capsule .num { font-size: 15px; font-weight: 700; color: var(--cool); font-variant-numeric: tabular-nums; }
/* The monitor HUD, on the other side from the handle */
.hud {
position: absolute; top: 28px; left: 8px; padding: 7px 12px 8px 10px;
border-radius: 14px; background: rgba(15,21,28,.7); box-shadow: inset 0 0 0 1px var(--hairline);
display: grid; gap: 2px; opacity: .96;
}
.hud div { display: flex; gap: 8px; align-items: center; }
.hud b { width: 30px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: var(--mute); }
.hud span { font-size: 11px; color: var(--ink); font-variant-numeric: tabular-nums; }
.hud .c { color: var(--cool); }
.hud .w { color: var(--warm); }
.caption { color: #5d6c78; font-size: 11px; letter-spacing: .04em; text-align: center; }
.caption b { color: #8ea3b1; font-weight: 600; }
@media (max-width: 460px) {
.phone { width: 100%; max-width: 390px; height: 780px; }
.sheet { width: 92%; }
}
</style>
</head>
<body>
<div class="stage">
<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="micro">fps</span><span class="num">118</span></div>
<div class="hud">
<div><b>FPS</b><span class="c">118</span></div>
<div><b>CPU</b><span class="w">62%</span><span>2.71 2.42 1.98</span></div>
<div><b>GPU</b><span class="c">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="w">CPU 44° GPU 42° BAT 33°</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="titles">
<h1>PUBG Mobile</h1>
<div class="micro">Performance</div>
</div>
<div class="clock">15:32</div>
</header>
<div class="plate">
<div class="tick a"></div><div class="tick b"></div>
<div class="top">
<div>
<div class="micro">FPS</div>
<div class="fps">118</div>
</div>
<div class="fps-min">min 96</div>
</div>
<svg class="spark" viewBox="0 0 312 46" preserveAspectRatio="none" aria-hidden="true">
<defs>
<linearGradient id="fill" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#5ac8c0" stop-opacity=".24"/>
<stop offset="1" stop-color="#5ac8c0" stop-opacity="0"/>
</linearGradient>
</defs>
<line id="baseline" x1="0" y1="6" x2="312" y2="6" stroke="rgba(255,255,255,.2)" stroke-width="1"/>
<path id="area" fill="url(#fill)"></path>
<path id="line" fill="none" stroke="#5ac8c0" stroke-width="1.8" stroke-linejoin="round" stroke-linecap="round"></path>
</svg>
</div>
<div class="grid">
<div class="cell"><div class="micro">Board</div><div class="value warm">41°</div></div>
<div class="cell"><div class="micro">Battery</div><div class="value">68% · 33°</div></div>
<div class="cell"><div class="micro">RAM</div><div class="value">7.2 GB</div></div>
</div>
<div class="grid second">
<div class="cell"><div class="value">62%</div><div class="detail">CPU 2.71 GHz</div></div>
<div class="cell"><div class="value">48%</div><div class="detail">GPU 587 MHz</div></div>
</div>
<div class="section">Profil</div>
<div class="segmented">
<button class="on">Performance</button>
<button>Balanced</button>
<button>Battery</button>
</div>
<div class="section">Alat</div>
<div class="tools">
<div class="tool"><div class="disc">⛶</div><span>Screenshot</span></div>
<div class="tool"><div class="disc">◉</div><span>Rekam</span></div>
<div class="tool on"><div class="disc">🌙</div><span>Jangan ganggu</span></div>
<div class="tool on"><div class="disc">▮</div><span>FPS counter</span></div>
<div class="tool"><div class="disc">⚡</div><span>Monitor</span></div>
<div class="tool"><div class="disc">☀</div><span>Kecerahan</span></div>
<div class="tool on"><div class="disc">✋</div><span>Touch game</span></div>
<div class="tool on"><div class="disc">💬</div><span>Danmaku</span></div>
<div class="tool"><div class="disc">▤</div><span>Lock status bar</span></div>
<div class="tool"><div class="disc">◧</div><span>Lock navigasi</span></div>
</div>
<div class="section">Aplikasi mengambang</div>
<div class="strip">
<div class="app pinned"><div class="glyph" style="background:linear-gradient(150deg,#25d366,#128c7e)">W</div></div>
<div class="app pinned"><div class="glyph" style="background:linear-gradient(150deg,#3b5998,#833ab4)">◎</div></div>
<div class="app pinned"><div class="glyph" style="background:linear-gradient(150deg,#2aabee,#229ed9)">➤</div></div>
<div class="app pinned"><div class="glyph" style="background:linear-gradient(150deg,#ff3b30,#ff9500)">▶</div></div>
<div class="app more"><div class="glyph">+</div></div>
</div>
</div>
</div>
<div class="caption">
<b>ZeroEngine overlay</b> · sheet 344dp · permukaan biru-grafit + hairline 12% · aksen ramp termal (teal → amber → coral)
</div>
</div>
<script>
// A plausible minute of frames, so the sparkline reads like a session and not a sine wave
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];
// Same window as the Kotlin Sparkline: half the target up to just over it
const W = 312, H = 46, 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;
document.getElementById("baseline").setAttribute("y1", y(target).toFixed(2));
document.getElementById("baseline").setAttribute("y2", y(target).toFixed(2));
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`);
</script>
</body>
</html>
Scan with iPhone Camera or Android QR scanner to preview natively on your device.