/* The "about this game" section that sits below every game on eddieandjoeygames.com.
   The game keeps the whole first screen. This section starts one screen down, so the text and the
   ad are well clear of the game and of every game button. gameinfo.js lets the page scroll down to
   it only while a menu is showing and locks the page again the moment play starts.
   The first time a visitor opens a game, the section is the whole page (html.gi-cover): a normal
   scrolling guide with a Play button, and the game waits behind it until Play is pressed. */
#gameInfo{position:absolute;left:0;right:0;top:100vh;top:100lvh;z-index:2147483000;margin:0;
  padding:0 16px max(30px,env(safe-area-inset-bottom));background:#0d1226;color:#eef1f8;
  font:400 16px/1.6 system-ui,"Segoe UI",sans-serif;text-align:left;letter-spacing:normal;text-transform:none;
  -webkit-user-select:text;user-select:text;touch-action:pan-y;cursor:auto;pointer-events:auto;
  border-top:2px solid #263060;box-shadow:0 -14px 40px rgba(0,0,0,.45)}
#gameInfo *{box-sizing:border-box}
#gameInfo .gi-in{max-width:760px;margin:0 auto;padding:0}
#gameInfo .gi-bar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0;padding:14px 0 6px}
#gameInfo .gi-btn{display:inline-block;width:auto;margin:0;padding:9px 16px;border:1px solid #2f3b6e;border-radius:10px;background:#1b2448;
  color:#eef1f8;font:700 14px/1.3 system-ui,"Segoe UI",sans-serif;text-decoration:none;cursor:pointer;touch-action:manipulation}
#gameInfo .gi-btn.gi-main{background:#ffd84a;border-color:#ffd84a;color:#1a1200}
#gameInfo .gi-t-play{display:none}
#gameInfo .gi-head{margin:0;padding:0}
/* on pages with an ad the heading block is tall enough to keep the ad more than 150px below the game */
#gameInfo .gi-head.gi-head-ad{min-height:180px}
#gameInfo h2{margin:0;padding:14px 0 8px;font:900 clamp(30px,6vw,44px)/1.05 Impact,"Arial Black",sans-serif;letter-spacing:.5px;
  color:#ffd84a;text-shadow:none;transform:none;text-align:left;text-transform:none}
#gameInfo h3{margin:26px 0 8px;padding:0;font:900 21px/1.2 Impact,"Arial Black",sans-serif;letter-spacing:.5px;
  color:#eef1f8;text-shadow:none;transform:none;text-align:left;text-transform:none}
#gameInfo p{margin:0 0 12px;padding:0;color:#c9d0e4;font:400 16px/1.6 system-ui,"Segoe UI",sans-serif;text-align:left}
#gameInfo p.gi-lead{color:#eef1f8;font-size:17px}
#gameInfo .gi-hero{margin:6px 0 18px;padding:0}
#gameInfo .gi-hero img{display:block;width:100%;max-width:560px;height:auto;margin:0;border:1px solid #263060;border-radius:14px;background:#151c3a}
#gameInfo ul{margin:0 0 12px;padding:0 0 0 22px;list-style:disc}
#gameInfo li{margin:0 0 7px;padding:0;color:#c9d0e4;font:400 16px/1.55 system-ui,"Segoe UI",sans-serif;text-align:left}
#gameInfo b{color:#eef1f8;font-weight:700}
#gameInfo a{color:#ffd84a}
#gameInfo table{width:100%;margin:0 0 12px;border-collapse:collapse;table-layout:auto;font-size:15px;background:none}
#gameInfo th,#gameInfo td{padding:7px 10px 7px 0;border:0;border-top:1px solid #253060;background:none;color:#c9d0e4;
  font:400 15px/1.45 system-ui,"Segoe UI",sans-serif;text-align:left;vertical-align:top;white-space:normal}
#gameInfo tbody th{width:26%;color:#eef1f8;font-weight:700}
#gameInfo thead th{border-top:0;color:#8d97b3;font-size:13px;font-weight:700}
#gameInfo .gi-ad{width:100%;max-width:728px;margin:0 auto;min-height:0;max-height:0;overflow:hidden}
#gameInfo .gi-ad.has-ad{min-height:90px;max-height:none;margin:10px auto 22px}
#gameInfo .gi-ad.has-ad::before{content:"Advertisement";display:block;margin:0 0 4px;color:#8d97b3;font-size:11px;text-align:center}
#gameInfo ul.gi-more{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;list-style:none}
#gameInfo ul.gi-more li{margin:0}
#gameInfo ul.gi-more a{display:inline-block;padding:7px 12px;border:1px solid #2f3b6e;border-radius:999px;background:#151c3a;color:#eef1f8;font-size:14px;text-decoration:none}
#gameInfo p.gi-foot{margin:26px 0 0;padding:14px 0 0;border-top:1px solid #253060;color:#8d97b3;font-size:13px}
#gameInfo p.gi-foot a{color:#8d97b3}
/* the small link that says there is something below the game; it mirrors the All games link */
#giChip{position:fixed;right:max(10px,env(safe-area-inset-right));top:max(8px,env(safe-area-inset-top));z-index:2147483001;display:none;
  margin:0;padding:7px 11px;border:1px solid #2f3b6e;border-radius:10px;background:rgba(27,36,72,.92);color:#eef1f8;
  font:700 13px/1.2 system-ui,"Segoe UI",sans-serif;letter-spacing:normal;text-decoration:none;white-space:nowrap;cursor:pointer;touch-action:manipulation}
#giChip.gi-bottom{top:auto;bottom:max(10px,env(safe-area-inset-bottom))}
html.gi-open #giChip{display:block}
html.gi-open.gi-down #giChip{display:none}
/* the page may scroll only while a menu is showing; a drag that starts on the game itself never scrolls it */
html.gi-open{overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y!important}
html.gi-open body{touch-action:pan-y!important}
html.gi-open canvas{touch-action:none}
/* first visit: the guide is the page, from the very top, and the game waits behind it */
html.gi-cover{overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y!important}
html.gi-cover body{touch-action:pan-y!important}
html.gi-cover #gameInfo{top:0;min-height:100vh;min-height:100lvh;border-top:0;box-shadow:none}
html.gi-cover #giChip{display:none!important}
html.gi-cover #gameInfo .gi-t-play{display:inline}
html.gi-cover #gameInfo .gi-t-back{display:none}
