@@ -791,6 +791,11 @@ article.list p { margin: 0; }
791791. hero__links { display : flex; flex-wrap : wrap; gap : 10px 28px ; margin : 0 ; font-weight : 700 ; }
792792. hero__links a { text-decoration : none; border-bottom : 2px solid var ( --heading ) ; padding-bottom : 2px ; }
793793. hero__links a : hover { border-color : var ( --accent ) ; }
794+ . hero__game {
795+ padding : 0 0 2px ; border : 0 ; border-bottom : 2px dashed # e8618c; background : none;
796+ color : var ( --heading ) ; font : inherit; font-weight : 700 ; cursor : pointer;
797+ }
798+ . hero__game : hover { color : # e8618c; }
794799@media ( max-width : 767px ) {
795800 . hero { padding : 10px 0 36px ; }
796801 . hero__title { font-size : 28px ; }
@@ -892,64 +897,67 @@ body.menu-open .wa-float { opacity: 0; pointer-events: none; }
892897}
893898@media ( prefers-reduced-motion : reduce) {
894899 . wa-float__btn , . wa-float__tip { transition : none; }
900+ . game-launcher , . game-launcher__btn , . game-launcher__label { transition : none; }
895901}
896902
897903/* ==========================================================
898904 Bug Hunt mini game
899905 ========================================================== */
906+ /* Floating launcher: a yellow round button that opens into a "Play" pill on hover/focus */
900907. game-launcher {
901908 position : fixed;
902909 left : 24px ;
903910 bottom : calc ( 24px + var ( --float-lift , 0px ) ) ;
904911 z-index : 8 ;
905912 display : flex;
906913 align-items : center;
907- gap : 10 px ;
914+ height : 48 px ;
908915 padding : 0 ;
909916 border : 0 ;
910- background : none;
917+ border-radius : 100px ;
918+ background : # f6c453;
919+ color : # 232323;
920+ box-shadow : 0 6px 18px rgba ( 0 , 0 , 0 , .16 ) ;
911921 cursor : pointer;
912922 font : inherit;
923+ transition : transform .2s ease, box-shadow .2s ease;
913924}
914925. game-launcher__btn {
915926 display : inline-flex;
916927 align-items : center;
917928 justify-content : center;
918929 width : 48px ;
919930 height : 48px ;
920- border-radius : 50% ;
921- background : var ( --surface ) ;
922- color : var ( --heading ) ;
923- box-shadow : 0 0 0 1px var ( --line-strong ) , 0 6px 18px rgba ( 0 , 0 , 0 , .12 ) ;
924- opacity : .9 ;
925- transition : opacity .2s ease, transform .2s ease, color .2s ease;
931+ flex : none;
932+ transition : transform .2s ease;
926933}
927- . game-launcher__tip {
928- padding : 7px 14px ;
929- border-radius : 100px ;
930- background : var ( --surface ) ;
931- color : var ( --heading ) ;
934+ . game-launcher__label {
935+ display : grid;
936+ grid-template-columns : 1fr ;
937+ overflow : hidden;
932938 font-size : 14px ;
933- font-weight : 600 ;
939+ font-weight : 700 ;
934940 white-space : nowrap;
935- box-shadow : 0 0 0 1px var ( --line-strong ) , 0 6px 18px rgba ( 0 , 0 , 0 , .1 ) ;
941+ grid-template-columns : 0fr ;
942+ padding-right : 0 ;
936943 opacity : 0 ;
937- transform : translateX ( -8px ) ;
938- pointer-events : none;
939- transition : opacity .2s ease, transform .2s ease;
944+ transition : grid-template-columns .3s ease, padding .3s ease, opacity .2s ease;
940945}
946+ . game-launcher__label > span { min-width : 0 ; }
947+ . game-launcher : hover ,
948+ . game-launcher : focus-visible { transform : translateY ( -2px ) ; box-shadow : 0 10px 24px rgba ( 0 , 0 , 0 , .2 ) ; }
941949. game-launcher : hover . game-launcher__btn ,
942- . game-launcher : focus-visible . game-launcher__btn { opacity : 1 ; transform : translateY ( -2px ) rotate ( -8deg ) ; color : var ( --accent ) ; }
943- . game-launcher : hover . game-launcher__tip ,
944- . game-launcher : focus-visible . game-launcher__tip { opacity : 1 ; transform : translateX ( 0 ) ; }
945- . game-launcher : focus-visible { outline : none; }
946- . game-launcher : focus-visible . game-launcher__btn { box-shadow : 0 0 0 3px var ( --bg ) , 0 0 0 5px var ( --accent ) ; }
950+ . game-launcher : focus-visible . game-launcher__btn { transform : rotate ( -10deg ) ; }
951+ . game-launcher : hover . game-launcher__label ,
952+ . game-launcher : focus-visible . game-launcher__label { grid-template-columns : 1fr ; padding-right : 18px ; opacity : 1 ; }
953+ . game-launcher : focus-visible { outline : none; box-shadow : 0 0 0 3px var ( --bg ) , 0 0 0 5px var ( --accent ) ; }
947954body . menu-open . game-launcher ,
948955. bh-open . game-launcher ,
949956. bh-open . wa-float { opacity : 0 ; pointer-events : none; }
950957@media ( max-width : 767px ) {
951- . game-launcher { left : 16px ; bottom : calc ( 16px + var ( --float-lift , 0px ) ) ; }
958+ . game-launcher { left : 16px ; bottom : calc ( 16px + var ( --float-lift , 0px ) ) ; height : 44 px ; }
952959 . game-launcher__btn { width : 44px ; height : 44px ; }
960+ . game-launcher__label { font-size : 13px ; }
953961}
954962
955963/* Overlay: the site stays visible behind a translucent, blurred layer */
@@ -993,7 +1001,7 @@ body.menu-open .game-launcher,
9931001}
9941002. bh-close : hover { background : var ( --chip-bg ) ; }
9951003
996- . bh-stage { position : relative; flex : 1 1 auto; min-height : 0 ; display : flex; align-items : center; justify-content : center; touch-action : none; user-select : none; -webkit-user-select : none; }
1004+ . bh-stage { position : relative; flex : 1 1 auto; min-height : 0 ; display : flex; align-items : center; justify-content : center; touch-action : none; user-select : none; -webkit-user-select : none; -webkit-touch-callout : none ; -webkit-tap-highlight-color : transparent ; }
9971005. bh-stage > . bh-screen { left : 50% ; top : 50% ; right : auto; bottom : auto; transform : translate ( -50% , -50% ) ; width : var ( --bh-w , 100% ) ; height : var ( --bh-h , 100% ) ; }
9981006. bh-canvas {
9991007 display : block;
@@ -1080,3 +1088,9 @@ kbd.bh-wide { min-width: 64px; }
10801088 . bh-hint--touch { display : block; }
10811089}
10821090. bh-tools { display : flex; gap : 8px ; flex : none; }
1091+ . bh-close [hidden ] { display : none; }
1092+ @media ( max-width : 420px ) {
1093+ . bh-best { display : none; }
1094+ . bh-tools { gap : 6px ; }
1095+ . bh-close { width : 38px ; height : 38px ; }
1096+ }
0 commit comments