556 lines
11 KiB
CSS
556 lines
11 KiB
CSS
:root {
|
|
--bg-main: #07090b;
|
|
--bg-card: #101418;
|
|
--bg-card-sub: #171d23;
|
|
--bg-header: #0b0e12;
|
|
--border-color: #242d36;
|
|
--border-accent: #384654;
|
|
|
|
--text-primary: #e6edf3;
|
|
--text-secondary: #8b949e;
|
|
--text-muted: #484f58;
|
|
|
|
--brand-gold: #eab308;
|
|
--neon-green: #22c55e;
|
|
--neon-cyan: #06b6d4;
|
|
--neon-purple: #a855f7;
|
|
--neon-red: #ef4444;
|
|
|
|
--font-mono: 'JetBrains Mono', 'Share Tech Mono', monospace;
|
|
--font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
-webkit-tap-highlight-color: transparent;
|
|
user-select: none;
|
|
}
|
|
|
|
html, body {
|
|
width: 100%;
|
|
min-height: 100%;
|
|
background-color: var(--bg-main);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-ui);
|
|
display: flex;
|
|
justify-content: center;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* App Main Container: Clean, native-feeling layout on both mobile & desktop */
|
|
#app-container {
|
|
width: 100%;
|
|
max-width: 640px; /* Comfortable max width on larger screens without feeling like a claustrophobic fake phone */
|
|
min-height: 100vh;
|
|
background: var(--bg-main);
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
padding-bottom: 84px; /* Space for sticky bottom tab bar */
|
|
}
|
|
|
|
@media (min-width: 680px) {
|
|
#app-container {
|
|
border-left: 1px solid var(--border-color);
|
|
border-right: 1px solid var(--border-color);
|
|
}
|
|
}
|
|
|
|
/* Sticky Top Navigation & HUD Header */
|
|
#sticky-header {
|
|
position: sticky;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 40;
|
|
background: rgba(11, 14, 18, 0.96);
|
|
backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--border-color);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
/* Status / Top Brand Bar */
|
|
#system-bar {
|
|
padding: 6px 14px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.72rem;
|
|
color: var(--text-secondary);
|
|
border-bottom: 1px solid rgba(36, 45, 54, 0.5);
|
|
}
|
|
|
|
.status-left, .status-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.brand-tag {
|
|
font-weight: 800;
|
|
letter-spacing: 1px;
|
|
color: var(--brand-gold);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.secure-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: var(--neon-green);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.secure-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--neon-green);
|
|
box-shadow: 0 0 6px var(--neon-green);
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.4; transform: scale(0.9); }
|
|
}
|
|
|
|
/* Hero Financial HUD */
|
|
#hud-summary {
|
|
padding: 10px 14px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.hud-title {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.68rem;
|
|
text-transform: uppercase;
|
|
color: var(--text-secondary);
|
|
letter-spacing: 0.8px;
|
|
}
|
|
|
|
.hud-cash-val {
|
|
font-family: var(--font-mono);
|
|
font-size: 1.55rem;
|
|
font-weight: 800;
|
|
color: var(--brand-gold);
|
|
text-shadow: 0 0 10px rgba(234, 179, 8, 0.2);
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.hud-rate-val {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.78rem;
|
|
color: var(--neon-green);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.hud-bonds {
|
|
text-align: right;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.bonds-val {
|
|
font-family: var(--font-mono);
|
|
font-size: 1.05rem;
|
|
font-weight: bold;
|
|
color: var(--neon-cyan);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
/* Police Heat Bar */
|
|
#heat-container {
|
|
background: #090c0f;
|
|
padding: 4px 14px 6px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
|
|
.heat-label-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.65rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.heat-bar-track {
|
|
width: 100%;
|
|
height: 5px;
|
|
background: #1c232b;
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#heat-bar-fill {
|
|
width: 0%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #22c55e 0%, #eab308 60%, #ef4444 100%);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
/* Main Viewport Content */
|
|
#main-viewport {
|
|
flex: 1;
|
|
padding: 12px 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* Bottom Tab Navigation Bar - Fixed at bottom of screen */
|
|
#bottom-nav {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 100%;
|
|
max-width: 640px;
|
|
height: 68px;
|
|
background: rgba(11, 14, 18, 0.97);
|
|
backdrop-filter: blur(12px);
|
|
border-top: 1px solid var(--border-color);
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
z-index: 50;
|
|
padding-bottom: env(safe-area-inset-bottom, 4px);
|
|
box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.nav-tab {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 3px;
|
|
color: var(--text-secondary);
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 0.72rem;
|
|
font-family: var(--font-mono);
|
|
padding: 8px 0;
|
|
transition: color 0.15s, transform 0.1s;
|
|
}
|
|
|
|
.nav-tab:active {
|
|
transform: scale(0.92);
|
|
}
|
|
|
|
.nav-tab.active {
|
|
color: var(--brand-gold);
|
|
}
|
|
|
|
.nav-tab.active iconify-icon {
|
|
filter: drop-shadow(0 0 6px var(--brand-gold));
|
|
}
|
|
|
|
.nav-tab iconify-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
/* Card Components */
|
|
.card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
padding: 12px 14px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: border-color 0.2s, background-color 0.2s;
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: var(--border-accent);
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.card-title-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.drug-icon-box {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 8px;
|
|
background: var(--bg-card-sub);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid var(--border-color);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.drug-icon-box iconify-icon {
|
|
font-size: 1.55rem;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 0.98rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.card-stats-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
background: var(--bg-card-sub);
|
|
border-radius: 8px;
|
|
padding: 8px 10px;
|
|
margin-bottom: 10px;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.65rem;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.stat-value {
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Touch-Optimized Action Buttons */
|
|
.btn-grid-actions {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 6px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.btn-grid-auto {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 6px;
|
|
}
|
|
|
|
.btn-tactical {
|
|
background: #181f26;
|
|
color: var(--text-primary);
|
|
border: 1px solid #2d3844;
|
|
border-radius: 8px;
|
|
padding: 9px 4px;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.74rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
transition: background 0.12s, border-color 0.12s, transform 0.05s;
|
|
text-align: center;
|
|
min-height: 48px; /* High tactile accessibility for thumbs */
|
|
}
|
|
|
|
.btn-tactical:active:not(:disabled) {
|
|
transform: scale(0.95);
|
|
background: #25313d;
|
|
}
|
|
|
|
.btn-tactical:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
filter: grayscale(0.7);
|
|
}
|
|
|
|
.btn-subtext {
|
|
font-size: 0.62rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.btn-primary-action {
|
|
background: #172c1f;
|
|
border-color: #2b5637;
|
|
color: #4ade80;
|
|
}
|
|
|
|
.btn-primary-action:hover:not(:disabled) {
|
|
background: #203f2c;
|
|
}
|
|
|
|
.btn-sell-action {
|
|
background: #2b2310;
|
|
border-color: #5c4b1a;
|
|
color: #facc15;
|
|
}
|
|
|
|
/* Locked Card State */
|
|
.card.locked {
|
|
background: #0d1014;
|
|
border-style: dashed;
|
|
}
|
|
|
|
.unlock-overlay-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.btn-unlock {
|
|
background: #201a08;
|
|
border: 1px solid var(--brand-gold);
|
|
color: var(--brand-gold);
|
|
padding: 11px 20px;
|
|
border-radius: 8px;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.86rem;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
box-shadow: 0 0 14px rgba(234, 179, 8, 0.15);
|
|
}
|
|
|
|
/* Modal Windows (Auth & Raids) */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
background: rgba(0, 0, 0, 0.88);
|
|
backdrop-filter: blur(6px);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
padding: 20px;
|
|
}
|
|
|
|
.modal-overlay.active {
|
|
display: flex;
|
|
}
|
|
|
|
.modal-content {
|
|
background: #10151c;
|
|
border: 2px solid var(--border-accent);
|
|
border-radius: 16px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
padding: 22px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
box-shadow: 0 0 35px rgba(0,0,0,0.9);
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.modal-title {
|
|
font-family: var(--font-mono);
|
|
font-size: 1.1rem;
|
|
font-weight: bold;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.input-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.input-label {
|
|
font-size: 0.7rem;
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-mono);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.input-field {
|
|
background: #090c0f;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 10px 12px;
|
|
color: #fff;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.9rem;
|
|
outline: none;
|
|
}
|
|
|
|
.input-field:focus {
|
|
border-color: var(--brand-gold);
|
|
}
|
|
|
|
/* Honeypot field: invisible to human users, accessible to bots */
|
|
.hp-trap {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
opacity: 0 !important;
|
|
position: absolute !important;
|
|
left: -9999px !important;
|
|
}
|
|
|
|
/* Toast Messages */
|
|
#toast-container {
|
|
position: fixed;
|
|
top: 76px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 90%;
|
|
max-width: 580px;
|
|
z-index: 80;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast {
|
|
background: rgba(16, 21, 28, 0.96);
|
|
border: 1px solid var(--border-accent);
|
|
border-left: 4px solid var(--neon-green);
|
|
border-radius: 8px;
|
|
padding: 9px 12px;
|
|
font-size: 0.8rem;
|
|
font-family: var(--font-mono);
|
|
color: var(--text-primary);
|
|
box-shadow: 0 4px 16px rgba(0,0,0,0.6);
|
|
animation: slideDown 0.25s ease;
|
|
}
|
|
|
|
.toast.danger {
|
|
border-left-color: var(--neon-red);
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from { opacity: 0; transform: translateY(-10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|