250250}
251251
252252.gender-controls button .active {
253- background : # aeeaf2 ;
253+ background : # f4b400 ;
254254 color : black;
255- border-color : # aeeaf2 ;
255+ border-color : # f4b400 ;
256256}
257257
258258/* sunbursts */
305305
306306# gender-year {
307307 width : 300px ;
308- accent-color : # aeeaf2 ;
308+ accent-color : # f4b400 ;
309309}
310310
311311# gender-current-year {
@@ -404,55 +404,69 @@ p {
404404 color : # fff ;
405405}
406406
407+ .geo-intro {
408+ max-width : 1100px ;
409+ margin : 0 auto 18px ;
410+ text-align : center;
411+ font-size : 20px ;
412+ line-height : 1.35 ;
413+ color : rgba (255 , 255 , 255 , 0.88 );
414+ }
415+
407416.geo-layout {
408417 display : grid;
409- grid-template-columns : 1.35fr 1 fr ;
410- gap : 28 px ;
418+ grid-template-columns : 1.35fr 0.9 fr ;
419+ gap : 34 px ;
411420 align-items : start;
412- margin-top : 18 px ;
421+ margin-top : 12 px ;
413422}
414423
415424.geo-map-column {
416425 width : 100% ;
417426}
418427
419- .geo-select-row {
420- display : flex;
421- align-items : center;
422- gap : 14px ;
423- margin-bottom : 14px ;
428+ # geopolitics-map-viz {
429+ width : 100% ;
424430}
425431
426- .geo-select-row label {
427- color : # fff ;
428- font-size : 22px ;
429- font-weight : 700 ;
432+ .geo-map-svg ,
433+ .geo-bar-svg {
434+ width : 100% ;
435+ height : auto;
436+ display : block;
437+ background : transparent;
438+ }
439+
440+ .geo-action-area {
441+ margin-top : 10px ;
442+ text-align : center;
430443}
431444
432- # geo-year-select {
433- background : # aeeaf2 ;
445+ .geo-action-button {
446+ display : none;
447+ background : # ffd166 ;
434448 color : # 111 ;
435- border : 3 px solid # 222 ;
449+ border : 2 px solid white ;
436450 border-radius : 12px ;
437451 padding : 10px 18px ;
438- font-size : 24 px ;
439- font-weight : 700 ;
452+ font-size : 16 px ;
453+ font-weight : 800 ;
440454 cursor : pointer;
441- min-width : 140px ;
442455}
443456
444- # geopolitics-map-viz ,
445- # geo-medals-chart ,
446- # geo-countries-chart {
447- width : 100% ;
457+ .geo-action-button .visible {
458+ display : inline-block;
448459}
449460
450- .geo-map-svg ,
451- .geo-bar-svg {
452- width : 100% ;
453- height : auto;
454- display : block;
455- background : transparent;
461+ .geo-action-button : hover {
462+ filter : brightness (1.06 );
463+ }
464+
465+ .geo-country-hint {
466+ margin : 10px auto 0 ;
467+ text-align : center;
468+ font-size : 15px ;
469+ color : rgba (255 , 255 , 255 , 0.72 );
456470}
457471
458472# geo-event-list {
474488
475489# geo-event-list p ,
476490# geo-event-list li {
477- color : rgba (255 , 255 , 255 , 0.92 );
491+ color : rgba (255 , 255 , 255 , 0.92 );
478492 font-size : 16px ;
479493 line-height : 1.35 ;
480494}
484498 margin-bottom : 8px ;
485499}
486500
501+ .geo-highlight-event strong {
502+ color : # f4b400 ;
503+ }
504+
487505.geo-event-description {
488506 margin-bottom : 12px ;
489507}
@@ -499,40 +517,109 @@ p {
499517
500518.geo-events-list li {
501519 margin-bottom : 4px ;
520+ cursor : pointer;
521+ transition : color 0.15s ease;
522+ }
523+
524+ .geo-events-list li : hover {
525+ color : # ffd166 ;
502526}
503527
504528.geo-events-list li .active {
505- color : # ff8c7f ;
529+ color : # f4b400 ;
506530 font-weight : 700 ;
507531}
508532
509- .geo-stats-grid {
510- display : grid;
511- grid-template-columns : 1fr 1fr ;
512- gap : 28px ;
513- align-items : start;
514- margin-top : 28px ;
533+ .geo-events-list li .active strong ,
534+ .geo-events-list li .active span {
535+ color : # f4b400 ;
515536}
516537
517538.geo-tooltip {
518- position : absolute ;
539+ position : fixed ;
519540 pointer-events : none;
520- background : rgba (20 , 20 , 20 , 0.96 );
541+ background : rgba (20 , 20 , 20 , 0.98 );
521542 color : white;
522- border : 1px solid rgba (255 , 255 , 255 , 0.18 );
543+ border : 1px solid rgba (255 , 255 , 255 , 0.28 );
523544 border-radius : 10px ;
524545 padding : 10px 12px ;
525546 font-size : 14px ;
526547 line-height : 1.35 ;
527- max-width : 280 px ;
528- z-index : 9999 ;
529- box-shadow : 0 8px 25px rgba (0 , 0 , 0 , 0.35 );
548+ max-width : 340 px ;
549+ z-index : 1000000 ;
550+ box-shadow : 0 8px 25px rgba (0 , 0 , 0 , 0.5 );
530551 transition : opacity 0.12s ease;
531552}
532553
554+ .geo-popup-overlay {
555+ position : fixed;
556+ inset : 0 ;
557+ z-index : 99999 ;
558+ background : rgba (0 , 0 , 0 , 0.94 );
559+ display : flex;
560+ align-items : center;
561+ justify-content : center;
562+ padding : 34px ;
563+ box-sizing : border-box;
564+ }
565+
566+ .geo-popup-box {
567+ width : min (980px , 94vw );
568+ max-height : 88vh ;
569+ overflow : auto;
570+ background : # 050505 ;
571+ border : 1px solid rgba (255 , 255 , 255 , 0.22 );
572+ border-radius : 18px ;
573+ padding : 24px ;
574+ box-shadow : 0 12px 40px rgba (0 , 0 , 0 , 0.65 );
575+ }
576+
577+ .geo-popup-header {
578+ display : flex;
579+ justify-content : space-between;
580+ align-items : flex-start;
581+ gap : 18px ;
582+ margin-bottom : 12px ;
583+ }
584+
585+ .geo-popup-title-block {
586+ text-align : left;
587+ }
588+
589+ .geo-popup-title {
590+ color : white;
591+ font-family : Arial, sans-serif;
592+ font-size : 24px ;
593+ font-weight : 800 ;
594+ text-align : left;
595+ }
596+
597+ .geo-popup-note {
598+ margin-top : 6px ;
599+ color : # ffd166 ;
600+ font-family : Arial, sans-serif;
601+ font-size : 14px ;
602+ line-height : 1.35 ;
603+ text-align : left;
604+ }
605+
606+ .geo-popup-close {
607+ background : # ffd166 ;
608+ color : # 111 ;
609+ border : 2px solid white;
610+ border-radius : 10px ;
611+ padding : 8px 14px ;
612+ font-size : 15px ;
613+ font-weight : 800 ;
614+ cursor : pointer;
615+ }
616+
617+ .geo-popup-close : hover {
618+ filter : brightness (1.06 );
619+ }
620+
533621@media (max-width : 1100px ) {
534- .geo-layout ,
535- .geo-stats-grid {
622+ .geo-layout {
536623 grid-template-columns : 1fr ;
537624 }
538625}
563650}
564651
565652.medal-controls select {
566- background : # aeeaf2 ;
653+ background : # f4b400 ;
567654 color : # 111 ;
568655 border : 3px solid # 222 ;
569656 border-radius : 12px ;
674761}
675762
676763.bodytype-control select {
677- background : # aeeaf2 ;
764+ background : # f4b400 ;
678765 color : # 111 ;
679766 border : 3px solid # 333 ;
680767 border-radius : 12px ;
763850
764851.team-simple p {
765852 margin : 8px 0 ;
853+ }
854+
855+ /* =============================================
856+ Fair distribution controls
857+ =========================================== */
858+
859+ # fair-viz select ,
860+ .fair-wrapper select ,
861+ .fair-control select {
862+ background : # f4b400 !important ;
863+ color : # 111 !important ;
864+ border : 3px solid # 222 !important ;
865+ border-radius : 12px !important ;
866+ font-weight : 700 !important ;
867+ cursor : pointer !important ;
868+ }
869+
870+ # fair-viz select : focus ,
871+ .fair-wrapper select : focus ,
872+ .fair-control select : focus {
873+ outline : 2px solid white !important ;
766874}
0 commit comments