/* Approved v55 account artwork, scoped away from battle/UI canvases. */
#accountGate.jade-gate{padding:0;background-color:#d9e7dc;background-size:cover;background-position:center 23%;font-family:"Songti SC","STSong",serif;color:#274b43;display:block;overflow:auto}
#accountGate.jade-gate .account-brand{position:absolute;top:6%;left:7.5%;display:block;margin:0;text-align:left;max-width:44%;color:#234a40;text-shadow:0 1px 4px #fff8de;border:0;background:none;box-shadow:none}
#accountGate.jade-gate .brand-emblem{display:none}
#accountGate.jade-gate .account-brand h1{font-size:clamp(28px,4vw,55px);letter-spacing:2px;margin:0;overflow-wrap:anywhere}
#accountGate.jade-gate #accountTitleArtwork{width:225px;max-width:100%;height:auto;display:block;border:0;background:transparent;box-shadow:none}
#accountGate.jade-gate .account-brand p{margin:0;font-size:14px;letter-spacing:1px;color:#355c4e}
#accountGate.jade-gate:has(#selectPanel:not([hidden])) .account-brand{display:block;margin:0;grid-template-columns:none;top:6%;left:7.5%;text-align:left}
#accountGate.jade-gate .account-card{position:absolute;right:6%;top:17%;width:min(320px,30%);padding:24px 22px;border:1px solid #bfa570;border-radius:3px;background:linear-gradient(135deg,#f7f2e4ed,#dce8d9ed);box-shadow:0 14px 30px #334f3f33,inset 0 0 0 5px #fff9e34d;color:#274b43;max-height:79%;overflow:auto}
#accountGate.jade-gate button,#accountGate.jade-gate select,#accountGate.jade-gate input:not([type=file]){font-family:inherit;border:1px solid #bca36b99;border-radius:3px;color:#274b43;background:linear-gradient(#f2f3e4eb,#d1e0cdf0);box-shadow:inset 0 1px #f0d9a52e;font-size:15px;min-width:0;min-height:38px}
#accountGate.jade-gate input:not([type=file]){background:#fffcf0e8;width:100%;padding:8px}
#accountGate.jade-gate select{padding:8px;width:100%;text-overflow:ellipsis;cursor:pointer}
#accountGate.jade-gate option{background:#edf1e2;color:#274b43}
#accountGate.jade-gate .account-primary{background:linear-gradient(#f3d89b,#c8a767 20%,#b28b4f 50%,#79572c);color:#24392f;border-color:#eed393;font-weight:600}
#accountGate.jade-gate .account-tabs{display:flex;gap:8px;margin-bottom:16px;border:0}
#accountGate.jade-gate .account-tabs button{flex:1;background:transparent;color:#7b6439}
#accountGate.jade-gate label{font-size:14px;color:#7b6439;display:grid;gap:7px}
#accountGate.jade-gate #authForm{display:grid;gap:13px}
#accountGate.jade-gate #authForm .account-primary{margin-top:6px}
#accountGate.jade-gate .account-message{position:absolute;bottom:3%;left:8%;right:8%;margin:0;text-align:center;color:#234a40;text-shadow:0 1px 3px #fffbe7;font-size:14px}
#accountGate.jade-gate .account-message[data-tone=error]{color:#8a261a}
#accountGate.jade-gate #selectPanel{inset:0;border:0;background:none;box-shadow:none;width:100%;max-width:none;padding:0;max-height:none;overflow:visible}
#accountGate.jade-gate #selectGateMenu{position:absolute;top:17%;right:6%;width:min(320px,30%);padding:22px;border:1px solid #bfa570;border-radius:3px;background:linear-gradient(135deg,#f7f2e4ed,#dce8d9ed);box-shadow:0 14px 30px #334f3f33,inset 0 0 0 5px #fff9e34d;display:grid;gap:11px}
#accountGate.jade-gate #selectGateMenu .eyebrow{font-size:17px;color:#7b6439;letter-spacing:3px;margin:0}
#accountGate.jade-gate #selectGateMenu>button{width:100%;margin:0}
#accountGate.jade-gate #selectEnterBtn{min-height:46px;font-size:20px}
#accountGate.jade-gate #characterSlots{display:none}
#accountGate.jade-gate #characterSlotStatus{font-size:11px;color:#60796c;margin:0}
#accountGate.jade-gate #selectComboStage{position:absolute;left:6%;top:25%;width:calc(88% - min(320px,30%) - 20px);height:61%;background:none;padding:0;border:0;display:block}
#accountGate.jade-gate #selectComboStage canvas{display:block;width:100%;height:100%;object-fit:contain}
#accountGate.jade-gate .character-delete{position:fixed;z-index:3;top:15%;right:6%;width:min(380px,85%);max-height:78%;overflow:auto;background:#e6ecdc;color:#274b43;border:1px solid #bfa570;box-shadow:0 0 0 999px #00141966}
#accountGate.jade-gate #createPanel{width:min(850px,88%);right:6%;display:grid;grid-template-columns:minmax(150px,1fr) minmax(260px,1.3fr);gap:20px}
#accountGate.jade-gate #createPanel .create-art{background:none}
#accountGate.jade-gate #createPanel .create-art canvas{object-fit:contain}
/* A framed jade tablet, rather than a flat form card. */
#accountGate.jade-gate .account-card:not(#selectPanel),#accountGate.jade-gate #selectGateMenu{background:radial-gradient(ellipse at 8% 25%,#fff8dc88,transparent 50%),radial-gradient(ellipse at 95% 70%,#97bda35c,transparent 65%),repeating-linear-gradient(118deg,#9d8c5b08 0 1px,transparent 1px 8px),linear-gradient(135deg,#f0e8d4ed,#cfdfcbed);border:1px solid #a08a58;box-shadow:0 12px 26px #253f3438,inset 0 0 0 4px #d3bd8977,inset 0 0 0 5px #fff7daaa,inset 0 0 24px #6c927928;border-radius:2px}
#accountGate.jade-gate .account-card:not(#selectPanel):before,#accountGate.jade-gate #selectGateMenu:before{content:"";position:absolute;inset:7px;pointer-events:none;border:1px solid #b19b6766;background:linear-gradient(135deg,#8d764a 0 2px,transparent 3px) top left/17px 17px no-repeat,linear-gradient(225deg,#8d764a 0 2px,transparent 3px) top right/17px 17px no-repeat,linear-gradient(45deg,#8d764a 0 2px,transparent 3px) bottom left/17px 17px no-repeat,linear-gradient(315deg,#8d764a 0 2px,transparent 3px) bottom right/17px 17px no-repeat}
#accountGate.jade-gate button,#accountGate.jade-gate select{border-radius:0;clip-path:polygon(5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px),0 5px);box-shadow:inset 0 1px #fffce7,inset 0 -2px #6d8a7138;text-decoration:none}
#accountGate.jade-gate .account-primary{background:linear-gradient(#fff0bf,#dfc185 16%,#c9a263 49%,#a68246 51%,#c3a065 90%,#8d713e);border:1px solid #ad8c4e;box-shadow:inset 0 1px #fff9d9,inset 0 0 0 3px #8d713e2b;text-shadow:0 1px #fff2ca88}
#accountGate.jade-gate #newCharacterBtn{background:linear-gradient(#f2f3e4eb,#d1e0cdf0);border-color:#a58f5f99;font-size:15px;letter-spacing:1px;box-shadow:inset 0 1px #fffce7,inset 0 -2px #6d8a7138}
@media(max-height:440px) and (min-width:620px){#accountGate.jade-gate .account-brand{top:3%}#accountGate.jade-gate #accountTitleArtwork{width:155px}#accountGate.jade-gate .account-brand p{display:none}#accountGate.jade-gate .account-card{top:15%;padding:14px 16px}#accountGate.jade-gate #selectGateMenu{top:15%;padding:14px;gap:6px}#accountGate.jade-gate #selectGateMenu label{font-size:11px;gap:2px}#accountGate.jade-gate button,#accountGate.jade-gate select,#accountGate.jade-gate input:not([type=file]){min-height:29px;padding:5px;font-size:13px}#accountGate.jade-gate #selectEnterBtn{min-height:36px;font-size:17px}#accountGate.jade-gate #selectComboStage{top:24%;height:64%}#accountGate.jade-gate #authForm{gap:8px}#accountGate.jade-gate .account-tabs{margin-bottom:10px}#accountGate.jade-gate #createPanel{top:7%;max-height:87%}}
@media(max-width:619px){#accountGate.jade-gate .account-brand{top:3%;left:7%;max-width:85%}#accountGate.jade-gate #accountTitleArtwork{width:185px}#accountGate.jade-gate .account-card{top:25%;right:7%;width:86%;max-height:70%}#accountGate.jade-gate #selectGateMenu{top:25%;right:5%;width:51%;padding:13px;gap:8px}#accountGate.jade-gate #selectComboStage{top:26%;left:2%;width:41%;height:62%}#accountGate.jade-gate #selectGateMenu .eyebrow{font-size:14px;letter-spacing:1px}#accountGate.jade-gate #selectGateMenu label{font-size:11px}#accountGate.jade-gate #createPanel{width:90%;right:5%;grid-template-columns:1fr}#accountGate.jade-gate #createPanel .create-art{display:none}}
