/* Visible player actions; existing navigation and saved geometry stay intact. */
html.asen-geometry-locked,html.asen-geometry-locked body{overflow-x:clip}
.account-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}
.account-quick-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:78px;padding:12px 7px;border:1px solid #77613e;border-radius:12px;background:linear-gradient(145deg,#32291c,#191e27);color:#f1d09a;font-family:inherit;font-size:14px;font-weight:600;line-height:1.35;cursor:pointer}
.account-quick-actions button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.account-quick-actions button span{overflow-wrap:anywhere}
.account-quick-actions button:active{background:#49381f}
.account-quick-actions button:focus-visible{outline:2px solid #ffe2a1;outline-offset:3px}
#audioPreferences{scroll-margin-top:calc(110px + env(safe-area-inset-top))}
.page-footer{order:1000;margin-top:34px;padding:22px 0 0;border-top:1px solid #7c643840;clear:both;min-width:0;text-align:left}
.page-footer h2{margin:0 0 14px!important;color:#e6c68b;font-size:16px!important;line-height:1.5;letter-spacing:.04em}
.page-footer nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.page-footer nav button{min-width:0;min-height:52px;padding:10px 8px;border:1px solid #6a573b70;border-radius:10px;background:linear-gradient(145deg,#25231fcc,#151b23ed);color:#dfd7c5;font:inherit;font-size:12px;line-height:1.55;overflow-wrap:anywhere;cursor:pointer}
.page-footer button:hover,.page-footer button:focus-visible{border-color:#d3ae6c;color:#ffe3a9;background:#322b1d;outline:2px solid #d3ae6c;outline-offset:2px}
.page-footer .footer-support{display:block;margin:15px auto 0;min-height:44px;padding:10px 18px;border:0;background:transparent;color:#c7bda8;font:inherit;font-size:12px;cursor:pointer}
.home-page>.page-footer{margin:30px 15px 0;padding-bottom:calc(94px + env(safe-area-inset-bottom))}
.first-reward[role=button]{cursor:pointer}.first-reward[role=button]:focus-visible{outline:2px solid #e6bc78;outline-offset:4px}
.first-reward[data-offer-link] strong{font-size:25px}.first-reward[data-offer-link] span{font-size:12px}
#authRegistrationHint{font-size:12px;line-height:1.7;color:#c3b79f;margin:0 0 14px}
#clearGameSearch{margin-top:18px;min-height:44px}
#page-agent>h1{scroll-margin-top:calc(110px + env(safe-area-inset-top))}
#authGender { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0; margin:6px 0 0; border:0; min-width:0; order:1; }
#authGender[hidden] { display:none; }
#authGender legend { padding:0; margin-bottom:10px; }
#authGender label { display:flex; align-items:center; gap:10px; min-height:46px; border:1px solid #675335; border-radius:8px; padding:10px; }
#authGender input { width:20px; height:20px; margin:0; accent-color:#e6b653; }
#authGender small { grid-column:1/-1; line-height:1.6; color:#b8bbc1; }
#authFeedback { order:2; }
#authSubmit { order:3; }
/* Keep the text translatable; draw a clear arrow without changing route IDs. */
.back-button{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-height:54px;padding:4px 8px 4px 0;font-size:17px;font-weight:700;line-height:1.25;cursor:pointer}
.back-button::before{content:"";display:block;flex:none;width:27px;height:27px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M12 5 3 14l9 9M4 14h21' fill='none' stroke='black' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.back-button:focus-visible{outline:2px solid #ffe2a1;outline-offset:2px;border-radius:5px}
@media(max-width:480px){
  .profile-card{gap:12px;padding:15px}
  .account-menu{margin-top:14px}
  .account-menu button{gap:12px;min-height:52px;padding-inline:14px}
  .account-quick-actions{gap:7px;margin-top:14px}
  .account-quick-actions button{gap:5px;min-height:70px;padding:8px 6px;font-size:13px}
  .page-footer{margin-top:27px;padding-top:18px}
  .page-footer nav button{min-height:48px;padding:7px 6px}
  .member-page h1{font-size:23px}
  .member-item,.member-state{padding:11px 12px}
}
