350 lines
7.1 KiB
CSS
350 lines
7.1 KiB
CSS
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: transparent;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hidden { display: none !important; }
|
|
|
|
/* Stop clicks leaking into the game world */
|
|
body { pointer-events: none; }
|
|
#wrap, #wrap * { pointer-events: auto; }
|
|
|
|
/* Fullscreen wrapper that centers the ATM card */
|
|
/* Fullscreen wrapper that centers the ATM card */
|
|
#wrap {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* ✅ Only draw the ATM vignette when ATM is visible (not hidden) */
|
|
#wrap:not(.hidden)::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: radial-gradient(
|
|
circle at 50% 40%,
|
|
rgba(0,0,0,0.25),
|
|
rgba(0,0,0,0.65)
|
|
);
|
|
}
|
|
|
|
/* ATM card */
|
|
.card {
|
|
position: relative;
|
|
z-index: 10;
|
|
|
|
width: 420px;
|
|
border-radius: 14px;
|
|
padding: 18px;
|
|
|
|
color: #e7f2ff;
|
|
|
|
background: linear-gradient(180deg, rgba(28, 40, 52, 0.95), rgba(10, 14, 18, 0.92));
|
|
border: 1px solid rgba(130, 190, 255, 0.25);
|
|
|
|
backdrop-filter: blur(8px);
|
|
box-shadow:
|
|
0 0 0 1px rgba(255,255,255,0.06),
|
|
0 25px 70px rgba(0,0,0,0.85);
|
|
}
|
|
|
|
/* Header */
|
|
.title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin-bottom: 12px;
|
|
text-align: center;
|
|
letter-spacing: 1px;
|
|
color: rgba(160, 210, 255, 0.95);
|
|
}
|
|
|
|
/* LCD balance panel */
|
|
.balances {
|
|
margin-bottom: 14px;
|
|
|
|
border-radius: 12px;
|
|
padding: 12px 14px;
|
|
|
|
background: linear-gradient(180deg, rgba(10, 18, 26, 0.88), rgba(6, 10, 14, 0.78));
|
|
border: 1px solid rgba(120, 200, 255, 0.18);
|
|
box-shadow: inset 0 0 22px rgba(0,0,0,0.65);
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid rgba(255,255,255,0.08);
|
|
}
|
|
|
|
.row strong {
|
|
color: rgba(155, 231, 255, 0.95);
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* Actions area */
|
|
.actions {
|
|
margin-top: 12px;
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* Input */
|
|
input {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
|
|
border: 1px solid rgba(120, 200, 255, 0.14);
|
|
background: rgba(0,0,0,0.38);
|
|
|
|
color: #eaf4ff;
|
|
outline: none;
|
|
|
|
box-shadow: inset 0 0 10px rgba(0,0,0,0.55);
|
|
}
|
|
|
|
input:focus {
|
|
border-color: rgba(140, 220, 255, 0.35);
|
|
box-shadow: inset 0 0 10px rgba(0,0,0,0.55), 0 0 0 2px rgba(100, 180, 255, 0.15);
|
|
}
|
|
|
|
/* Buttons */
|
|
.btnrow {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
button {
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
border: 0;
|
|
cursor: pointer;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255,255,255,0.18),
|
|
0 8px 18px rgba(0,0,0,0.55);
|
|
|
|
transition: transform 0.06s ease, filter 0.15s ease;
|
|
}
|
|
|
|
button:hover { filter: brightness(1.12); }
|
|
button:active { transform: translateY(2px); }
|
|
|
|
/* Primary actions */
|
|
#btnDeposit { background: linear-gradient(180deg, rgba(0, 180, 90, 0.95), rgba(0, 120, 60, 0.9)); }
|
|
#btnWithdraw { background: linear-gradient(180deg, rgba(0, 130, 255, 0.95), rgba(0, 90, 180, 0.9)); }
|
|
|
|
/* Exit / secondary */
|
|
.secondary {
|
|
background: rgba(255,255,255,0.12);
|
|
color: #fff;
|
|
}
|
|
|
|
/* Hint text */
|
|
.hint {
|
|
margin-top: 10px;
|
|
opacity: 0.8;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* =========================
|
|
Gang Bank HUD (overlay)
|
|
========================= */
|
|
#gangbankHud {
|
|
position: absolute;
|
|
bottom: 170px; /* pushed up ~2x HUD height */
|
|
right: 22px;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.gb-hidden { display: none !important; }
|
|
|
|
.gb-card {
|
|
min-width: 190px;
|
|
padding: 6px 0; /* tighter HUD feel */
|
|
background: none; /* ✅ no background */
|
|
border: none; /* ✅ no border */
|
|
box-shadow: none; /* ✅ no shadow */
|
|
backdrop-filter: none;
|
|
color: #fff;
|
|
}
|
|
|
|
|
|
/* GTA-ish font stack (safe fallback) */
|
|
.gb-card, .gb-card * {
|
|
font-family: "ChaletLondonNineteenSixty", "Chalet Comprime Cologne", "ChaletComprime Cologne", Arial, Helvetica, sans-serif;
|
|
letter-spacing: 0.4px;
|
|
}
|
|
|
|
.gb-label {
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
margin-bottom: 4px;
|
|
color: var(--gang-color, #ffffff); /* ✅ dynamic gang color */
|
|
text-shadow: 0 0 6px rgba(0,0,0,0.6);
|
|
}
|
|
|
|
.gb-value {
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
color: #3cff57; /* cash green */
|
|
text-shadow: 0 2px 10px rgba(0,0,0,0.35);
|
|
}
|
|
|
|
/* Pulse animation */
|
|
@keyframes gbPulse {
|
|
0% { transform: scale(1); }
|
|
50% { transform: scale(1.06); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
.gb-pulse { animation: gbPulse 0.25s ease; }
|
|
|
|
/* =========================
|
|
Turf Capture HUD (overlay)
|
|
========================= */
|
|
#captureHud {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 10%;
|
|
transform: translateX(-50%);
|
|
z-index: 3;
|
|
pointer-events: none; /* never blocks input */
|
|
}
|
|
|
|
.cap-hidden { display: none !important; }
|
|
|
|
.cap-card {
|
|
width: 360px;
|
|
padding: 12px 14px;
|
|
border-radius: 14px;
|
|
|
|
background: rgba(10, 10, 10, 0.60);
|
|
border: 1px solid rgba(255,255,255,0.12);
|
|
color: #fff;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.cap-card, .cap-card * {
|
|
font-family: "ChaletLondonNineteenSixty", "Chalet Comprime Cologne", "ChaletComprime Cologne", Arial, Helvetica, sans-serif;
|
|
letter-spacing: 0.4px;
|
|
}
|
|
|
|
.cap-title {
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
opacity: 0.95;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.cap-bar {
|
|
height: 12px;
|
|
border-radius: 999px;
|
|
background: rgba(255,255,255,0.14);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cap-fill {
|
|
height: 100%;
|
|
width: 0%;
|
|
background: rgba(255,255,255,0.85);
|
|
transition: width 80ms linear;
|
|
}
|
|
|
|
.cap-sub {
|
|
margin-top: 7px;
|
|
font-size: 12px;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
/* =========================
|
|
✅ Leaderboard HUD (overlay)
|
|
========================= */
|
|
#leaderboardHud {
|
|
position: absolute;
|
|
top: 12%;
|
|
right: 22px;
|
|
z-index: 4;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.lb-hidden { display: none !important; }
|
|
|
|
.lb-card {
|
|
width: 260px;
|
|
padding: 6px 0; /* tighter, cleaner */
|
|
background: none; /* ✅ fully transparent */
|
|
border: none; /* ✅ no border */
|
|
box-shadow: none; /* ✅ no shadow */
|
|
backdrop-filter: none;
|
|
color: #fff;
|
|
}
|
|
|
|
|
|
.lb-card, .lb-card * {
|
|
font-family: "ChaletLondonNineteenSixty", "Chalet Comprime Cologne", "ChaletComprime Cologne", Arial, Helvetica, sans-serif;
|
|
letter-spacing: 0.4px;
|
|
}
|
|
|
|
.lb-title {
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
opacity: 0.95;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.lb-error {
|
|
margin-bottom: 10px;
|
|
padding: 8px 10px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 80, 80, 0.18);
|
|
border: 1px solid rgba(255, 80, 80, 0.35);
|
|
font-size: 12px;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.lb-rows .lb-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 6px 0;
|
|
border-bottom: none; /* cleaner HUD look */
|
|
font-size: 13px;
|
|
}
|
|
|
|
|
|
.lb-rows .lb-row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.lb-rank {
|
|
opacity: 0.8;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.lb-name {
|
|
flex: 1;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding-right: 10px;
|
|
text-shadow: 0 0 6px rgba(0,0,0,0.6);
|
|
}
|
|
|
|
.lb-val {
|
|
font-weight: 900;
|
|
opacity: 0.95;
|
|
text-shadow: 0 0 6px rgba(0,0,0,0.6);
|
|
}
|