.gk-account-button,.gk-account-dialog{font-family:"Microsoft YaHei","Segoe UI",sans-serif}
.gk-account-button{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:36px;padding:5px 14px;border:1px solid #73899f88;border-radius:20px;background:#102239;color:#f5f7ff;font-size:14px;font-weight:600;cursor:pointer;pointer-events:auto;white-space:nowrap}
.gk-account-button[hidden],.gk-account-dialog [hidden]{display:none!important}
.nav-right:has(.gk-account-button){display:flex;align-items:center;gap:8px}
.gk-account-dialog{color-scheme:light;box-sizing:border-box;width:min(420px,calc(100% - 28px));max-height:88dvh;overflow:auto;border:1px solid #e2dbf0;border-radius:19px;background:#fff;color:#292535;padding:28px;box-shadow:0 18px 75px #19102c3d;text-align:left}
.gk-account-dialog::backdrop{background:#100d239c}
.gk-account-dialog *{box-sizing:border-box}
.gk-account-dialog h2,.gk-account-dialog h3,.gk-account-dialog p{color:#292535;letter-spacing:normal}
.gk-account-dialog h2{margin:0 26px 12px 0;font-size:23px;line-height:1.4}
.gk-account-dialog h3{margin:17px 0 6px;font-size:16px}
.gk-account-dialog p,.gk-account-dialog li{margin:7px 0 12px;color:#5e596b;line-height:1.6;font-size:14px}
.gk-account-dialog .gk-error{color:#8d2639;margin:10px 0 0}
.gk-error:empty{display:none}
.gk-account-dialog button,.gk-account-dialog input{font:inherit}
.gk-account-dialog button{cursor:pointer}
.gk-close{position:absolute;right:10px;top:10px;width:36px;height:36px;border:0;border-radius:50%;background:#f4f2f8;color:#423b50;font-size:22px!important}
.gk-primary,.gk-secondary,.gk-plans{display:block;width:100%;padding:10px 13px;margin:10px 0 0;border-radius:8px;min-height:42px;text-align:center}
.gk-primary{background:#6944cd;color:white;border:1px solid #6944cd;font-weight:600!important}
.gk-secondary,.gk-plans{background:#f6f3fb;color:#4e377c;border:1px solid #ddd5eb;text-decoration:none}
.gk-account-dialog label{display:block;color:#413a50;font-size:14px}
.gk-account-dialog input{width:100%;padding:10px;border:1px solid #b3a9c5;border-radius:6px;margin-top:5px;background:white;color:#292535}
.gk-code{display:block;padding:13px;background:#f3effa;color:#483176;font:600 16px/1.6 Consolas,monospace;overflow-wrap:anywhere;user-select:all}
.gk-facts{display:grid;grid-template-columns:auto 1fr;gap:9px 12px;background:#f6f4fa;padding:13px;border-radius:8px;font-size:14px}
.gk-facts strong{overflow-wrap:anywhere;text-align:right}
.gk-account-dialog ul{margin:0;padding:0;list-style:none}
.gk-account-dialog li span{display:block;color:#625b70}
.gk-account-button:focus-visible,.gk-account-dialog :focus-visible{outline:3px solid #9f83e9;outline-offset:2px}
@media(max-width:520px){.game-nav:has(.gk-account-button:not([hidden])) .game-brand{min-width:0;flex-shrink:1}.game-nav .gk-account-button{padding:4px 8px;font-size:13px}.lab-view header:has(.gk-account-button){gap:7px;padding-inline:9px}.lab-view header #lab-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
