JSFiddle - React, Tailwind, and code Playground
by JoshGough
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Eagle Playbook v3</title>
<style>
:root {
--bg: #0f172a;
--panel: #1e293b;
--text: #f8fafc;
--blue: #3b82f6;
--red: #ef4444;
--gold: #fbbf24;
}
body {
font-family: system-ui, -apple-system, sans-serif;
background-color: var(--bg);
color: var(--text);
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
padding: 8px;
height: 100vh;
overflow: hidden;
touch-action: none;
}
.toolbar {
background: var(--panel);
padding: 8px;
border-radius: 8px;
display: flex;
flex-wrap: wrap;
gap: 6px;
justify-content: center;
width: 100%;
max-width: 800px;
margin-bottom: 5px;
}
/* Group buttons visually */
.btn-group {
display: flex;
gap: 2px;
background: rgba(255,255,255,0.1);
padding: 3px;
border-radius: 6px;
}
button, .upload-btn {
background: #334155;
color: white;
border: 1px solid #475569;
padding: 8px 10px;
border-radius: 4px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
button:active { background: #0f172a; transform: translateY(1px); }
.primary { background: var(--blue); border-color: #2563eb; }
.action {...