@@ -77,13 +77,13 @@ export const AnalysisSidebar: React.FC<Props> = ({
7777 < motion . div
7878 id = "analysis"
7979 variants = { itemVariants ?? { } }
80- className = "desktop-right-column-container flex flex-col gap-2 "
80+ className = "desktop-right-column-container flex flex-col gap-3 "
8181 style = { { willChange : 'transform, opacity' } }
8282 >
8383 { /* Large screens : 2-row layout */ }
84- < div className = "hidden xl:flex xl:h-full xl:flex-col xl:gap-2 " >
84+ < div className = "hidden xl:flex xl:h-full xl:flex-col xl:gap-3 " >
8585 { /* Combined Highlight + MovesByRating container */ }
86- < div className = "desktop-analysis-big-row-1-container relative flex gap-2 " >
86+ < div className = "desktop-analysis-big-row-1-container relative flex gap-3 " >
8787 < div className = "border-glassBorder bg-glass-strong flex h-full w-full flex-col overflow-hidden rounded-md border backdrop-blur-md" >
8888 { /* Merged header with toggle */ }
8989 < div className = "border-glassBorder flex h-10 min-h-10 items-center justify-between border-b bg-transparent px-4 text-white/90" >
@@ -160,7 +160,13 @@ export const AnalysisSidebar: React.FC<Props> = ({
160160 </ div >
161161 </ div >
162162 { ! analysisEnabled && (
163- < div className = "absolute inset-0 z-10 flex items-center justify-center overflow-hidden rounded-lg bg-black/40 backdrop-blur-sm" >
163+ < div
164+ className = "absolute left-0 right-0 bottom-0 top-10 z-10 flex items-center justify-center overflow-hidden pointer-events-none"
165+ style = { {
166+ background :
167+ 'radial-gradient(ellipse 110% 90% at 20% 10%, rgba(239, 68, 68, 0.10) 0%, rgba(239, 68, 68, 0.06) 35%, transparent 75%), rgba(23, 18, 20, 0.9)' ,
168+ } }
169+ >
164170 < div className = "rounded-md border border-white/10 bg-gradient-to-br from-white/10 to-white/5 p-4 text-center" >
165171 < span className = "material-symbols-outlined mb-2 text-3xl text-white/80" >
166172 lock
@@ -175,7 +181,7 @@ export const AnalysisSidebar: React.FC<Props> = ({
175181 </ div >
176182
177183 { /* MoveMap + BlunderMeter container */ }
178- < div className = "desktop-analysis-big-row-2-container relative flex flex-row gap-2 " >
184+ < div className = "desktop-analysis-big-row-2-container relative flex flex-row gap-3 " >
179185 < div className = "flex h-full w-full flex-col" >
180186 < MoveMap
181187 moveMap = { analysisEnabled ? controller . moveMap : undefined }
@@ -200,7 +206,13 @@ export const AnalysisSidebar: React.FC<Props> = ({
200206 }
201207 />
202208 { ! analysisEnabled && (
203- < div className = "absolute inset-0 z-10 flex items-center justify-center overflow-hidden rounded-lg bg-black/40 backdrop-blur-sm" >
209+ < div
210+ className = "absolute inset-0 z-10 flex items-center justify-center overflow-hidden pointer-events-none"
211+ style = { {
212+ background :
213+ 'radial-gradient(ellipse 110% 90% at 20% 10%, rgba(239, 68, 68, 0.10) 0%, rgba(239, 68, 68, 0.06) 35%, transparent 75%), rgba(23, 18, 20, 0.9)' ,
214+ } }
215+ >
204216 < div className = "rounded-md border border-white/10 bg-gradient-to-br from-white/10 to-white/5 p-4 text-center" >
205217 < span className = "material-symbols-outlined mb-2 text-3xl text-white/80" >
206218 lock
@@ -216,7 +228,7 @@ export const AnalysisSidebar: React.FC<Props> = ({
216228 </ div >
217229
218230 { /* Smaller screens: 3-row layout */ }
219- < div className = "flex h-full flex-col gap-2 xl:hidden" >
231+ < div className = "flex h-full flex-col gap-3 xl:hidden" >
220232 { /* Row 1: Combined Highlight + BlunderMeter container */ }
221233 < div className = "desktop-analysis-small-row-1-container border-glassBorder bg-glass-strong relative flex overflow-hidden rounded-md border backdrop-blur-md" >
222234 { /* Merged header with toggle (mobile/smaller screens) */ }
@@ -305,7 +317,13 @@ export const AnalysisSidebar: React.FC<Props> = ({
305317 </ div >
306318 </ div >
307319 { ! analysisEnabled && (
308- < div className = "absolute inset-0 z-10 flex items-center justify-center overflow-hidden rounded-lg bg-black/40 backdrop-blur-sm" >
320+ < div
321+ className = "absolute left-0 right-0 bottom-0 top-10 z-10 flex items-center justify-center overflow-hidden pointer-events-none"
322+ style = { {
323+ background :
324+ 'radial-gradient(ellipse 110% 90% at 20% 10%, rgba(239, 68, 68, 0.10) 0%, rgba(239, 68, 68, 0.06) 35%, transparent 75%), rgba(23, 18, 20, 0.9)' ,
325+ } }
326+ >
309327 < div className = "rounded-md border border-white/10 bg-gradient-to-br from-white/10 to-white/5 p-4 text-center" >
310328 < span className = "material-symbols-outlined mb-2 text-3xl text-white/80" >
311329 lock
@@ -334,7 +352,13 @@ export const AnalysisSidebar: React.FC<Props> = ({
334352 />
335353 </ div >
336354 { ! analysisEnabled && (
337- < div className = "absolute inset-0 z-10 flex items-center justify-center overflow-hidden rounded-lg bg-black/40 backdrop-blur-sm" >
355+ < div
356+ className = "absolute inset-0 z-10 flex items-center justify-center overflow-hidden pointer-events-none"
357+ style = { {
358+ background :
359+ 'radial-gradient(ellipse 110% 90% at 20% 10%, rgba(239, 68, 68, 0.10) 0%, rgba(239, 68, 68, 0.06) 35%, transparent 75%), rgba(23, 18, 20, 0.9)' ,
360+ } }
361+ >
338362 < div className = "rounded-md border border-white/10 bg-gradient-to-br from-white/10 to-white/5 p-4 text-center" >
339363 < span className = "material-symbols-outlined mb-2 text-3xl text-white/80" >
340364 lock
@@ -359,7 +383,13 @@ export const AnalysisSidebar: React.FC<Props> = ({
359383 />
360384 </ div >
361385 { ! analysisEnabled && (
362- < div className = "absolute inset-0 z-10 flex items-center justify-center overflow-hidden rounded-lg bg-black/40 backdrop-blur-sm" >
386+ < div
387+ className = "absolute inset-0 z-10 flex items-center justify-center overflow-hidden pointer-events-none"
388+ style = { {
389+ background :
390+ 'radial-gradient(ellipse 110% 90% at 20% 10%, rgba(239, 68, 68, 0.10) 0%, rgba(239, 68, 68, 0.06) 35%, transparent 75%), rgba(23, 18, 20, 0.9)' ,
391+ } }
392+ >
363393 < div className = "rounded-md border border-white/10 bg-gradient-to-br from-white/10 to-white/5 p-4 text-center" >
364394 < span className = "material-symbols-outlined mb-2 text-3xl text-white/80" >
365395 lock
0 commit comments