@@ -25,6 +25,21 @@ body {
2525 min-height : 400px ;
2626 font-size : 14px ;
2727 transition : height 0.3s ease-in-out, min-height 0.3s ease-in-out;
28+ /* Match card border-radius for bottom corners */
29+ border-bottom-left-radius : var (--bs-card-inner-border-radius , 0.375rem );
30+ border-bottom-right-radius : var (--bs-card-inner-border-radius , 0.375rem );
31+ }
32+
33+ /* ACE Editor content also needs border-radius */
34+ # editor .ace_scroller ,
35+ # editor .ace_content ,
36+ # editor .ace_gutter {
37+ border-bottom-left-radius : var (--bs-card-inner-border-radius , 0.375rem );
38+ }
39+
40+ # editor .ace_scroller ,
41+ # editor .ace_content {
42+ border-bottom-right-radius : var (--bs-card-inner-border-radius , 0.375rem );
2843}
2944
3045/* Reduced editor height for gamepad mode (Challenge 7) */
6176 padding-top : 100% ; /* 1:1 aspect ratio */
6277 background-color : var (--arena-bg );
6378 border : 2px solid var (--arena-border );
64- border-radius : 4 px ;
79+ border-radius : var ( --bs-card-inner-border-radius , 0.375 rem ) ;
6580 overflow : hidden;
6681}
6782
@@ -71,6 +86,23 @@ body {
7186 left : 0 ;
7287 width : 100% ;
7388 height : 100% ;
89+ border-radius : inherit;
90+ }
91+
92+ /* Fix for card-body p-0 - ensure inner elements clip to card corners */
93+ .card-body .p-0 > * : last-child {
94+ border-bottom-left-radius : var (--bs-card-inner-border-radius , 0.375rem );
95+ border-bottom-right-radius : var (--bs-card-inner-border-radius , 0.375rem );
96+ }
97+
98+ .card-body .p-0 > * : first-child : last-child {
99+ border-radius : var (--bs-card-inner-border-radius , 0.375rem );
100+ }
101+
102+ /* Card without header - first child needs top radius too */
103+ .card > .card-body .p-0 : first-child > * : first-child {
104+ border-top-left-radius : var (--bs-card-inner-border-radius , 0.375rem );
105+ border-top-right-radius : var (--bs-card-inner-border-radius , 0.375rem );
74106}
75107
76108/* Debug Console */
@@ -84,6 +116,9 @@ body {
84116 overflow-y : auto;
85117 white-space : pre-wrap;
86118 word-wrap : break-word;
119+ /* Match card border-radius for bottom corners */
120+ border-bottom-left-radius : var (--bs-card-inner-border-radius , 0.375rem );
121+ border-bottom-right-radius : var (--bs-card-inner-border-radius , 0.375rem );
87122}
88123
89124.debug-console .error {
0 commit comments