| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, user-scalable=no">
- <title>Plan Maker 2000</title>
- <style>
- :root { --bg:#f6f6f6; --card:#fff; --ink:#111; --mute:#777; --line:#e5e5e5; --felt:#0d3b2e; --felt2:#0a2d23; --gold:#f2c14e; --chip:#e63946; --chip2:#ffd166; --jev:#7c5cff; }
- * { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
- body { margin:0; font-family:-apple-system, system-ui, sans-serif; background:var(--bg); color:var(--ink); transition: background .6s; }
- body.felt { background:var(--felt); color:#fff; }
- body.hot { background:var(--felt2); }
- body.crt { background:#000; }
- #app { max-width:480px; margin:0 auto; padding:16px; padding-bottom:120px; }
- h1 { font-size:22px; margin:8px 0 4px; }
- .card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:14px; margin:10px 0; color:var(--ink); }
- body.felt .card { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.12); color:#fff; }
- .mute { color:var(--mute); font-size:13px; }
- body.felt .mute { color:rgba(255,255,255,.6); }
- input, button { font:inherit; }
- input { width:100%; padding:12px; border:1px solid var(--line); border-radius:10px; margin:6px 0; background:#fff; color:#111; }
- button { padding:12px 16px; border:0; border-radius:10px; background:#111; color:#fff; font-weight:600; width:100%; margin:6px 0; }
- button.ghost { background:transparent; border:1px solid var(--line); color:inherit; }
- button.small { width:auto; padding:8px 12px; margin:0 4px 0 0; font-size:14px; }
- button:disabled { opacity:.4; }
- .opt { display:flex; align-items:center; gap:10px; padding:12px; border-radius:12px; margin:8px 0; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); position:relative; overflow:hidden; }
- .opt .label { flex:1; font-weight:600; }
- .opt .odds { font-variant-numeric:tabular-nums; font-size:13px; min-width:44px; text-align:right; }
- .opt .bar { position:absolute; left:0; bottom:0; height:3px; background:var(--jev); transition:width .35s ease; }
- .opt .bar.wobble { animation:wob 1.2s infinite alternate ease-in-out; }
- @keyframes wob { from { opacity:.5; transform:scaleX(.96);} to { opacity:1; transform:scaleX(1.04);} }
- .opt.dead { opacity:.35; text-decoration:line-through; }
- .opt.more { border-style:dashed; }
- .chips { display:flex; gap:4px; flex-wrap:wrap; }
- .chip { width:16px; height:16px; border-radius:50%; background:var(--chip); border:2px solid #fff3; }
- .chip.other { background:var(--chip2); }
- .stack { display:flex; gap:6px; align-items:center; }
- .stack button { width:34px; height:34px; padding:0; border-radius:50%; background:#fff2; color:#fff; font-size:18px; margin:0; }
- .bank { display:flex; gap:4px; justify-content:center; margin:10px 0; }
- .bank .chip { width:22px; height:22px; }
- .members { display:flex; gap:6px; flex-wrap:wrap; font-size:12px; }
- .member { padding:4px 8px; border-radius:99px; background:rgba(255,255,255,.12); }
- .member.locked { background:var(--gold); color:#111; }
- .jev { display:flex; align-items:center; gap:8px; font-size:13px; margin-top:8px; }
- .jev .face { width:20px; height:20px; background:var(--jev); border-radius:4px; image-rendering:pixelated; }
- body.hot .jev .face { width:28px; height:28px; animation:bob .5s infinite alternate; }
- @keyframes bob { from { transform:translateY(0);} to { transform:translateY(-3px);} }
- .footer { position:fixed; left:0; right:0; bottom:0; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); background:rgba(0,0,0,.35); backdrop-filter:blur(10px); }
- .footer .inner { max-width:480px; margin:0 auto; display:flex; gap:8px; }
- .lever { height:64px; font-size:20px; background:var(--gold); color:#111; border-radius:14px; }
- #reveal { position:fixed; inset:0; background:#000; color:#fff; display:none; flex-direction:column; align-items:center; justify-content:center; padding:24px; text-align:center; z-index:9; }
- #reveal.on { display:flex; }
- #reveal .scan { position:absolute; inset:0; background:repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px); pointer-events:none; }
- .reel { font-size:34px; font-weight:800; min-height:48px; letter-spacing:.5px; }
- .reel.shake { animation:shake .12s 4; }
- @keyframes shake { 0%{transform:translate(2px,-1px)} 50%{transform:translate(-2px,1px)} 100%{transform:translate(0)} }
- .winner { font-size:40px; font-weight:900; color:var(--gold); margin:10px 0; }
- .upset { color:#ff4d6d; font-weight:900; letter-spacing:2px; }
- .dealer { font-size:16px; opacity:.9; margin:8px 0 18px; max-width:340px; }
- .odds-list { font-size:13px; opacity:.7; }
- .reel-frame { border:2px solid var(--gold); border-radius:12px; padding:18px 24px; min-width:260px; }
- </style>
- </head>
- <body>
- <main id="app"></main>
- <div id="reveal" role="dialog" aria-modal="true" aria-label="The lever result"><div class="scan"></div><div id="reveal-body"></div></div>
- <script type="module" src="/app.js"></script>
- </body>
- </html>
|