diff --git a/src/lib/components/SongPlayer.svelte b/src/lib/components/SongPlayer.svelte index 547026f..ee4dac2 100644 --- a/src/lib/components/SongPlayer.svelte +++ b/src/lib/components/SongPlayer.svelte @@ -1,5 +1,5 @@
@@ -29,13 +24,6 @@
-
- {Math.floor(currentTime / 60)}:{String(Math.floor(currentTime % 60)).padStart(2, '0')} / - {Math.floor(($songPlayerStore?.duration || 0) / 60)}:{String(Math.floor(($songPlayerStore?.duration || 0) % 60)).padStart(2, '0')} -
-
- -
@@ -44,8 +32,6 @@ .play { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; background: transparent; color: white; cursor: pointer; } .timeline { flex: 1; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; } .progress { height: 100%; background: rgba(255,255,255,0.6); } - .time { font-size: 11px; opacity: 0.8; min-width: 80px; text-align: right; } - .volume input { width: 80px; } diff --git a/src/routes/tools/beatleader-headtohead/+page.svelte b/src/routes/tools/beatleader-headtohead/+page.svelte index c2f6c3e..43842c9 100644 --- a/src/routes/tools/beatleader-headtohead/+page.svelte +++ b/src/routes/tools/beatleader-headtohead/+page.svelte @@ -612,13 +612,13 @@
-
{idShortA}
-
{item.accA != null ? item.accA.toFixed(2) + '%' : '—'}
+
{idShortA}
+
{item.accA != null ? item.accA.toFixed(2) + '%' : '—'}
{item.rankA ? `Rank #${item.rankA}` : ''}
-
{idShortB}
-
{item.accB != null ? item.accB.toFixed(2) + '%' : '—'}
+
{idShortB}
+
{item.accB != null ? item.accB.toFixed(2) + '%' : '—'}
{item.rankB ? `Rank #${item.rankB}` : ''}
@@ -628,23 +628,25 @@ Tie {:else if item.accA > item.accB} Winner: {idShortA} - by {(item.accA - item.accB).toFixed(2)}% + by {(item.accA - item.accB).toFixed(2)}% {:else} Winner: {idShortB} - by {(item.accB - item.accA).toFixed(2)}% + by {(item.accB - item.accA).toFixed(2)}% {/if} {:else} Incomplete {/if} -
- -
-
- BL +
+
+ BL +
+
+ +
@@ -665,11 +667,6 @@ .text-danger { color: #dc2626; } /* Cyberpunk neon aesthetics */ - .neon-frame { - background: linear-gradient(135deg, rgba(0,0,0,0.45), rgba(15,15,25,0.65)); - border: 1px solid rgba(255,255,255,0.08); - box-shadow: 0 0 0 1px rgba(0, 255, 204, 0.08) inset, 0 8px 24px rgba(0, 0, 0, 0.5); - } .neon-surface { padding: 16px; border-radius: 12px; @@ -687,21 +684,23 @@ transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; } .player-card.playerA { border-color: rgba(0, 255, 204, 0.25); box-shadow: 0 0 12px rgba(0, 255, 204, 0.08) inset; } - .player-card.playerB { border-color: rgba(255, 0, 170, 0.25); box-shadow: 0 0 12px rgba(255, 0, 170, 0.08) inset; } + .player-card.playerB { border-color: rgba(255, 0, 170, 0.5); box-shadow: 0 0 12px rgba(255, 0, 170, 0.15) inset; } .player-card:hover { transform: translateY(-2px); - box-shadow: 0 10px 24px rgba(0,0,0,0.35); - border-color: rgba(0, 255, 204, 0.25); } - .player-card .label { color: #9ca3af; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; } - .player-card .value { font-size: 42px; line-height: 1; font-weight: 800; letter-spacing: 0.02em; margin-top: 4px; } - .player-card .value.small { font-size: 26px; opacity: 0.8; } - .player-card .value, .player-card .value.small { white-space: nowrap; } + .player-card .label { color: #9ca3af; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.2s ease; } + .player-card .label.winner-label { color: #ff8800; font-weight: 700; text-shadow: 0 0 8px rgba(255, 136, 0, 0.5); } + .player-card .value { font-size: 26px; line-height: 1; font-weight: 800; letter-spacing: 0.02em; margin-top: 4px; white-space: nowrap; color: #9ca3af; transition: all 0.2s ease; } + .player-card .value.winner-value { color: #ffffff; } .player-card .sub { margin-top: 6px; font-size: 12px; color: #9ca3af; } - .player-card.winner { + .player-card.playerA.winner { box-shadow: 0 0 0 1px rgba(0, 255, 204, 0.2) inset, 0 0 18px rgba(0, 255, 204, 0.14); border-color: rgba(0, 255, 204, 0.35); } + .player-card.playerB.winner { + box-shadow: 0 0 0 1px rgba(255, 0, 170, 0.3) inset, 0 0 18px rgba(255, 0, 170, 0.25); + border-color: rgba(255, 0, 170, 0.7); + } .chip { display: inline-block; border-radius: 9999px; @@ -710,10 +709,6 @@ font-size: 12px; background: rgba(255,255,255,0.04); } - .chip-win { - border-color: rgba(0, 255, 204, 0.5); - background: linear-gradient(90deg, rgba(0, 255, 204, 0.14), rgba(0, 255, 170, 0.08)); - } .chip-win-a { border-color: rgba(0, 255, 204, 0.5); background: linear-gradient(90deg, rgba(0, 255, 204, 0.18), rgba(0, 255, 170, 0.10)); @@ -727,6 +722,10 @@ background: linear-gradient(90deg, rgba(255, 255, 0, 0.14), rgba(255, 215, 0, 0.08)); } + /* Margin text styling */ + .margin-text.margin-bold { font-weight: 700; } + .margin-text.margin-bright { color: #ffffff; } + /* KPI tiles */ .kpi-tile { border: 1px solid rgba(255,255,255,0.08);