/* Gem Quest V3.24 — text-based, language-aware action buttons.
 * Loaded after gq-footer-v314.css. No legacy image backgrounds (they contain Chinese text).
 * Preserve route attributes and the existing three-column game layout.
 */
.shell .game-section .actionbar .action-button,
.shell .game-section .actionbar .action-button:nth-child(1),
.shell .game-section .actionbar .action-button:nth-child(2),
.shell .game-section .actionbar .action-button:nth-child(3),
.shell .game-section .actionbar .action-button:nth-child(3)[data-route="auth"] {
  background-image:none!important;
  background-color:#510da7!important;
  background:linear-gradient(170deg,#c575ff 0%,#a13cf5 15%,#6411c4 47%,#3d078f 74%,#32056b 100%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  aspect-ratio:374 / 222!important;
  min-height:0!important;
  padding:4px 4px 6px!important;
  border:2px solid #ffdc7b!important;
  border-radius:22px!important;
  box-shadow:inset 0 0 0 2px #f3b3ff,
    inset 0 3px 9px rgba(255,255,255,.48),
    inset 0 -7px 12px rgba(23,0,71,.65),
    0 3px 0 #a05d16,0 0 11px #bd61ff!important;
  overflow:hidden!important;
  color:#fff!important;
  font-size:0!important; /* legacy naked text stays invisible until wrapped */
  text-shadow:0 1px 4px #28035b!important;
  white-space:normal!important;
  word-break:normal!important;
  -webkit-tap-highlight-color:transparent;
}
.shell .game-section .actionbar .action-button::after,
.shell .game-section .actionbar .action-button::before {content:none!important;display:none!important;}
.shell .game-section .actionbar .action-button .emoji {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:37px!important;
  margin:0 0 1px!important;
  font-size:0!important;
  flex:0 1 auto!important;
  filter:drop-shadow(0 2px 3px rgba(42,3,99,.65));
}
.shell .game-section .actionbar .action-button .gq-action-icon {
  display:block!important;
  height:min(35px,100%)!important;
  width:45px!important;
  max-width:90%!important;
  overflow:visible!important;
  pointer-events:none!important;
}
.shell .game-section .actionbar .action-button .gq-action-label {
  display:block!important;
  text-align:center!important;
  color:#fff8e8!important;
  font-size:clamp(10px,2.9vw,13px)!important;
  font-weight:850!important;
  line-height:1.15!important;
  letter-spacing:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  text-shadow:0 1px 2px #26034d,0 0 6px #4d068c!important;
}
.shell .game-section .actionbar .action-button:active {transform:translateY(2px) scale(.98)!important;}
.shell .game-section .actionbar .action-button:focus-visible{outline:3px solid #fff4a9!important;outline-offset:2px!important;}
@media(max-width:355px){
 .shell .game-section .actionbar .action-button{border-radius:15px!important;padding:3px 2px 5px!important;}
 .shell .game-section .actionbar .action-button .emoji{height:29px!important;}
 .shell .game-section .actionbar .action-button .gq-action-icon{height:28px!important;width:36px!important;}
 .shell .game-section .actionbar .action-button .gq-action-label{font-size:10px!important;}
}
/* V3.14's authenticated-guest selector is more specific and injected a Chinese pseudo-label.
   Neutralize it explicitly so no baked Chinese remains in any locale. */
.shell .game-section .actionbar .action-button:nth-child(3)[data-route="auth"]::after,
.shell .game-section .actionbar .action-button:nth-child(3)[data-route="auth"]::before{
  content:none!important;display:none!important;
}
