@@ -430,11 +430,11 @@ button {
430430}
431431
432432.breadcrumb {
433- position : absolute;
434- left : 50% ;
435- transform : translateX (-50% );
433+ flex : 1 ;
434+ min-width : 0 ;
436435 display : flex;
437436 align-items : center;
437+ justify-content : center;
438438 gap : 0 ;
439439 font-family : 'Inter' , sans-serif;
440440 font-size : 11px ;
@@ -444,6 +444,7 @@ button {
444444 text-transform : uppercase;
445445 color : rgba (255 , 255 , 255 , 0.6 );
446446 white-space : nowrap;
447+ overflow : hidden;
447448}
448449
449450.breadcrumb .sep {
@@ -482,6 +483,32 @@ button {
482483.pill-btn .arrow { transition : transform .3s ease; }
483484.pill-btn : hover .arrow { transform : translateX (3px ); }
484485
486+ @media (max-width : 640px ) {
487+ .top-bar {
488+ height : auto;
489+ padding : 12px 16px ;
490+ flex-direction : column;
491+ align-items : center;
492+ gap : 10px ;
493+ }
494+ .brand {
495+ text-align : center;
496+ white-space : normal;
497+ }
498+ .breadcrumb {
499+ display : none;
500+ }
501+ .top-bar-action {
502+ min-width : 0 ;
503+ justify-content : center;
504+ }
505+ /* direct pill-btn child (country_timeline.html) */
506+ .top-bar > .pill-btn {
507+ font-size : 14px ;
508+ padding : 7px 20px ;
509+ }
510+ }
511+
485512# museum-nav {
486513 position : fixed;
487514 bottom : 30px ;
@@ -537,7 +564,7 @@ button {
537564 ============================================ */
538565
539566# scene-globe {
540- background : var (--void );
567+ background : var (--bgcolor );
541568}
542569
543570# globeCanvas {
@@ -1250,30 +1277,19 @@ button {
12501277 SCENE 2: 3D GLOBE WITH SPACE BACKGROUND
12511278 ============================================ */
12521279
1253- # globeContainer {
1280+ # starfieldCanvas {
12541281 position : absolute;
12551282 inset : 0 ;
1256- background : radial-gradient (ellipse at center, # 0a0e27 0% , # 020308 100% );
1257- overflow : hidden;
1258- z-index : 1 ;
1283+ z-index : 0 ;
1284+ pointer-events : none;
12591285}
12601286
1261- /* Starfield background */
1262- # globeContainer ::before {
1263- content : '' ;
1287+ # globeContainer {
12641288 position : absolute;
12651289 inset : 0 ;
1266- background-image :
1267- radial-gradient (2px 2px at 20px 30px , white, transparent),
1268- radial-gradient (2px 2px at 60px 70px , white, transparent),
1269- radial-gradient (1px 1px at 50px 50px , white, transparent),
1270- radial-gradient (1px 1px at 130px 80px , white, transparent),
1271- radial-gradient (2px 2px at 90px 10px , white, transparent);
1272- background-repeat : repeat;
1273- background-size : 200px 200px ;
1274- opacity : 0.5 ;
1275- animation : twinkle 100s linear infinite;
1276- pointer-events : none;
1290+ background : transparent;
1291+ overflow : hidden;
1292+ z-index : 2 ;
12771293}
12781294
12791295@keyframes twinkle {
@@ -1290,7 +1306,7 @@ button {
12901306
12911307.globe-filter-panel {
12921308 position : absolute;
1293- top : 18px ;
1309+ top : calc ( 74 px + 18px ) ;
12941310 left : 22px ;
12951311 bottom : auto;
12961312 width : 285px ;
@@ -1302,7 +1318,7 @@ button {
13021318 border : 1px solid # 353738 ;
13031319 border-radius : 20px ;
13041320 color : var (--text );
1305- max-height : calc (100vh - 36px );
1321+ max-height : calc (100vh - 74 px - 36px );
13061322 overflow-x : hidden;
13071323 overflow-y : auto;
13081324 z-index : 80 ;
@@ -1614,7 +1630,7 @@ button {
16141630@media (max-width : 900px ) {
16151631 .globe-filter-panel {
16161632 left : 16px ;
1617- top : 16px ;
1633+ top : calc ( 74 px + 16px ) ;
16181634 width : min (285px , calc (100vw - 32px ));
16191635 }
16201636
@@ -1627,7 +1643,8 @@ button {
16271643
16281644@media (max-width : 640px ) {
16291645 .globe-filter-panel {
1630- max-height : calc (100vh - 32px );
1646+ top : calc (92px + 16px );
1647+ max-height : calc (100vh - 92px - 32px );
16311648 overflow-y : auto;
16321649 }
16331650
0 commit comments