/* Gem Quest V3.14 · Footer correction only. The original game CSS stays intact. */
.shell .game-section .actionbar{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:5px!important;margin:5px 2px 0!important;padding:0!important;position:relative;z-index:2;
}
.shell .game-section .actionbar .action-button{
  display:flex!important;position:relative;align-items:flex-end!important;
  justify-content:center!important;flex-direction:row!important;
  box-sizing:border-box;aspect-ratio:374 / 222!important;min-height:0!important;height:auto!important;
  width:100%;min-width:0;padding:0 2px 11%!important;margin:0!important;
  border:0!important;border-radius:20px!important;box-shadow:none!important;
  color:transparent!important;font-family:system-ui,'Noto Sans SC','Microsoft YaHei',sans-serif;
  font-size:0!important;font-weight:600!important;line-height:1.2!important;
  text-shadow:0 1px 3px #34036a!important;letter-spacing:0!important;
  background-color:transparent!important;background-repeat:no-repeat!important;
  background-size:100% 100%!important;background-position:center!important;
  white-space:nowrap!important;overflow:visible!important;
  filter:drop-shadow(0 3px 4px rgba(31,3,71,.18));
  transition:transform .14s ease, filter .14s ease!important;
}
.shell .game-section .actionbar .action-button:nth-child(1){background-image:url('../img/gq-btn-rules-v314.webp')!important;}
.shell .game-section .actionbar .action-button:nth-child(2){background-image:url('../img/gq-btn-withdraw-v314.webp')!important;}
.shell .game-section .actionbar .action-button:nth-child(3){background-image:url('../img/gq-btn-rewards-v314.webp')!important;}
.shell .game-section .actionbar .action-button:nth-child(3)[data-route="auth"]{background-image:url('../img/gq-btn-guest-v314.webp')!important;}
.shell .game-section .actionbar .action-button:nth-child(3)[data-route="auth"]:after{
 content:'登录或注册'!important;display:block!important;position:absolute!important;
 left:12%!important;right:12%!important;bottom:18%!important;
 text-align:center!important;color:#fff!important;font-size:clamp(10px,2.9vw,13px)!important;
 font-weight:700!important;line-height:1.2!important;text-shadow:0 1px 4px #32065d!important;
 background:none!important;opacity:1!important;pointer-events:none!important;
 height:auto!important;inset:auto 12% 18%!important;
}
.shell .game-section .actionbar .action-button:before,
.shell .game-section .actionbar .action-button:after{content:none!important;display:none!important;}
.shell .game-section .actionbar .action-button .emoji{display:none!important;}
.shell .game-section .actionbar .action-button:active{transform:translateY(2px) scale(.985)!important;filter:brightness(1.14)!important;}
.shell .game-section .actionbar .action-button:focus-visible{outline:2px solid #fff8a5;outline-offset:0;}
.shell .game-section img.coin-decor{
  display:block!important;position:relative!important;width:calc(100% + 18px)!important;
  max-width:none!important;aspect-ratio:1234 / 684!important;
  height:auto!important;object-fit:cover!important;object-position:center!important;
  margin:0 -9px!important;padding:0!important;border:0!important;
  border-radius:0!important;opacity:1!important;visibility:visible!important;
  -webkit-mask-image:none!important;mask-image:none!important;filter:none!important;
  background:transparent!important;pointer-events:none;
}
.shell .game-section .gq-footer-copyright-v314{
  margin:-5px 0 12px;padding:2px 0 8px;text-align:center;
  font-family:Arial,system-ui,sans-serif;font-size:clamp(9px,2.5vw,11px);
  color:#fff1d5;font-weight:400;line-height:1.35;white-space:nowrap;
  text-shadow:0 1px 5px #240458;letter-spacing:0;
}
.shell .game-section::after{content:none!important;display:none!important;}
.shell .game-section .glow-note,
.shell .game-section~.footer-note{display:none!important;}
@media(max-width:355px){
 .shell .game-section .actionbar{gap:3px!important;margin:3px 1px 0!important;}
 .shell .game-section .actionbar .action-button{font-size:0!important;padding-bottom:11%!important;}
 .shell .game-section img.coin-decor{width:calc(100% + 14px)!important;margin:0 -7px!important;}
 .shell .game-section .gq-footer-copyright-v314{font-size:9px;}
}
@media(prefers-reduced-motion:reduce){.shell .game-section .actionbar .action-button{transition:none!important;}}

/* V3.15 · keep coin image and all three buttons, only fix copyright/blank space. */
.shell.gq-footer-tight-v315{
  min-height:0!important;
  padding-bottom:0!important;
}
.shell.gq-footer-tight-v315 .game-section{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
.shell.gq-footer-tight-v315 .game-section .gq-footer-art-v315{
  position:relative;
  display:block;
  width:calc(100% + 18px);
  margin:0 -9px;
  padding:0;
  line-height:0;
  overflow:hidden;
}
.shell.gq-footer-tight-v315 .game-section .gq-footer-art-v315 img.coin-decor{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  line-height:0;
}
.shell.gq-footer-tight-v315 .game-section .gq-footer-art-v315 .gq-footer-copyright-v314{
  position:absolute!important;
  z-index:3;
  inset:auto 0 10.6% 0;
  width:100%;
  box-sizing:border-box;
  margin:0!important;
  padding:0 10px!important;
  line-height:1.3!important;
  font-size:clamp(9px,2.45vw,11px)!important;
  font-weight:400!important;
  color:#fff4dd!important;
  white-space:nowrap;
  text-align:center;
  text-shadow:0 1px 3px #331064,0 0 5px #6e289c;
  pointer-events:none;
}
@media(max-width:355px){
  .shell.gq-footer-tight-v315 .game-section .gq-footer-art-v315{
    width:calc(100% + 14px);margin:0 -7px;
  }
  .shell.gq-footer-tight-v315 .game-section .gq-footer-art-v315 .gq-footer-copyright-v314{
    font-size:9px!important;
  }
}


/* GEM QUEST V3.16 | only the personal-center pictograms. Avatar, layout, colors and behavior unchanged. */
.shell.profile-layout .menu-list .menu-row .menu-emoji{
  display:inline-block;flex:0 0 29px;width:29px;height:29px;
  font-size:0!important;line-height:0!important;color:transparent!important;
  background-repeat:no-repeat;background-position:center;background-size:contain;
  filter:drop-shadow(0 1px 2px rgba(18,0,44,.35));
}
.shell.profile-layout .profile-stats .profile-stat .emoji{
  display:block;width:28px;height:28px;margin:0 auto 4px;
  font-size:0!important;line-height:0!important;color:transparent!important;
  background-repeat:no-repeat;background-position:center;background-size:contain;
  filter:drop-shadow(0 2px 3px rgba(20,0,38,.35));
}
.shell.profile-layout .page-title .icon-round[data-route="settings"]{
  font-size:0!important;color:transparent!important;
  background-image:url('../img/gq-profile-icons/settings.svg');
  background-position:center;background-size:29px 29px;background-repeat:no-repeat;
}
.shell.profile-layout .menu-list .menu-row .chev{font-size:20px;line-height:1;opacity:.92}
.shell.profile-layout .menu-list .menu-row:focus-visible{outline:2px solid #ffe997;outline-offset:2px}
.shell.profile-layout .menu-list .menu-row:active .menu-emoji{transform:scale(.92)}
.shell.profile-layout .profile-stats .profile-stat:nth-child(1) .emoji{background-image:url('../img/gq-profile-icons/points.svg')}
.shell.profile-layout .profile-stats .profile-stat:nth-child(2) .emoji{background-image:url('../img/gq-profile-icons/bnb.svg')}
.shell.profile-layout .profile-stats .profile-stat:nth-child(3) .emoji{background-image:url('../img/gq-profile-icons/level.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="checkin"] .menu-emoji{background-image:url('../img/gq-profile-icons/calendar.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="levels"] .menu-emoji{background-image:url('../img/gq-profile-icons/progress.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="invite"] .menu-emoji{background-image:url('../img/gq-profile-icons/friends.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="skins"] .menu-emoji{background-image:url('../img/gq-profile-icons/skins.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="achievements"] .menu-emoji{background-image:url('../img/gq-profile-icons/achievements.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="wallet"] .menu-emoji{background-image:url('../img/gq-profile-icons/wallet.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="exchange"] .menu-emoji{background-image:url('../img/gq-profile-icons/exchange.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="withdrawals"] .menu-emoji{background-image:url('../img/gq-profile-icons/withdrawals.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="points"] .menu-emoji{background-image:url('../img/gq-profile-icons/ledger.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="settings"] .menu-emoji{background-image:url('../img/gq-profile-icons/settings.svg')}
.shell.profile-layout .menu-list .menu-row[data-route="logout"] .menu-emoji{background-image:url('../img/gq-profile-icons/logout.svg')}
@media(max-width:350px){
  .shell.profile-layout .menu-list .menu-row .menu-emoji{width:26px;height:26px;flex-basis:26px}
  .shell.profile-layout .menu-list .menu-row{gap:10px}
}
