diff --git a/app/static/index.html b/app/static/index.html index 2caece6..efbb286 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -140,6 +140,19 @@ .hidden { display: none !important; } + .draw-state { display: none; text-align: center; padding: 8px 0 4px; } + .draw-state.active { display: block; } + .draw-spinner { + width: 40px; height: 40px; margin: 0 auto 10px; + border: 3px solid var(--color-border); border-top-color: var(--color-primary); + border-radius: 50%; animation: spin 900ms linear infinite; + } + @keyframes spin { to { transform: rotate(360deg); } } + .draw-state .draw-label { font-weight: 600; font-size: 0.95rem; } + .draw-result { font-size: 1.05rem; font-weight: 700; padding: 6px 0; } + .draw-result.win { color: var(--color-success); } + .draw-result.lose { color: var(--color-muted-foreground); } + #toast-container { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; width: calc(100% - 40px); max-width: 440px; @@ -201,11 +214,11 @@