
.top-right button { white-space:nowrap; }.top-right .ghost {min-height:34px;padding:4px 12px}
.top-right #balance {color:inherit}.top-right #member-name {font-size:.85rem}
.server-work {padding:14px;border:1px solid #ffffff20;border-radius:12px;background:#17171b;display:grid;gap:8px;align-content:start}
.server-work img,.server-work video {width:100%;max-height:190px;object-fit:contain}
.server-work p{margin:0;white-space:pre-line;overflow-wrap:anywhere}.server-work a,.server-work button{justify-self:start;color:#d3c3ff}
#reload-works {margin-bottom:12px}#generation-note {white-space:pre-line}
#recharge-dialog {color:#e8e7eb;background:#17171b}#recharge-dialog button,#recharge-dialog select{color:inherit;background:#27272c}
@media(max-width:540px){.top-right #member-name{display:none}}
body[data-member=""] :is(#sign-out,#member-name,#open-recharge),body:not([data-member=""]) #open-login{display:none}
.user-entry{display:inline-flex;align-items:center;gap:8px;border:1px solid #81738e;background:#29232f;color:#f4edf9;border-radius:999px;min-height:38px;padding:6px 16px;font-size:14px;font-weight:600;cursor:pointer}
.user-entry:hover{background:#3c3048;border-color:#bda1d0}.user-entry svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
#login-dialog{width:min(398px,calc(100vw - 32px));padding:0;max-height:calc(100dvh - 32px);overflow:auto;border-radius:20px;border:1px solid #55475f;background:#161419;color:#f3eff7;box-shadow:0 28px 110px #000b}
#login-dialog::backdrop{background:#08070bb8;backdrop-filter:blur(5px)}
.login-visual{height:80px;display:flex;align-items:flex-start;justify-content:space-between;padding:17px 20px;background:linear-gradient(0deg,#161419,transparent 85%),linear-gradient(90deg,#161419ee,transparent 75%),url('/xingyun/art/nebula.webp') center 52%/cover}
.login-visual .brandmark{margin-top:6px}.login-visual .ico{color:#eee9f4;background:#151219ab;border-radius:50%;width:36px;height:36px}
.login-fields{padding:0 26px 26px}.login-fields h2{font-size:26px;letter-spacing:-.025em;margin:0}.login-fields>p{font-size:14px;color:#bcb2c5;margin:7px 0 22px}.login-fields .field{margin:0 0 16px}.login-fields input{width:100%;min-height:44px;background:#100f13;border:1px solid #49434e;border-radius:9px;padding:8px 12px;font:inherit;color:inherit}.login-fields input:focus{outline:2px solid #b499ca;outline-offset:1px}
#login-error{color:#ffb8bc;font-size:14px;margin:0 0 12px}#login-error:empty{display:none}#auth-submit{background:#dac5f1;color:#201829;width:100%;font-weight:650;min-height:44px}
.account-anchor{position:relative;z-index:10}
#account-avatar{width:40px;height:40px;border:1px solid #776880;border-radius:50%;padding:3px;background:#28222f;display:grid;place-items:center;cursor:pointer}
.portrait{display:block;position:relative;overflow:hidden;width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 70% 15%,#e8d9ed75,transparent 45%),#413447}
.portrait:before,.portrait:after{content:"";position:absolute;left:50%;transform:translateX(-50%);background:#e2d1e9}
.portrait:before{top:5px;width:10px;height:10px;border-radius:50%}.portrait:after{bottom:-5px;width:23px;height:17px;border-radius:50%}
#account-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:210px;padding:8px;border:1px solid #504751;border-radius:14px;background:#1c191f;box-shadow:0 12px 40px #0009;display:grid;gap:3px}
#account-menu[hidden],#account-menu [hidden]{display:none!important}
#account-menu a,#account-menu button,#account-menu strong{font:inherit;font-size:15px;text-align:left;color:#eee6f1;background:none;border:0;padding:9px 12px;border-radius:7px;display:block;text-decoration:none;cursor:pointer}
#account-menu strong{font-weight:650;color:#d3bfdc;cursor:default;border-bottom:1px solid #ffffff16}
#account-menu button:hover,#account-menu a:hover{background:#37313b}
body[data-member=""] #account-menu :is(#sign-out,#open-recharge,#email-open,#friend-open),body:not([data-member=""]) #account-menu #open-login{display:none}
#account-dialog{width:min(420px,calc(100vw - 32px));padding:22px;border:1px solid #514657;border-radius:16px;background:#19161c;color:#f5edf9}
#account-dialog form,#account-friend:not([hidden]){display:grid;gap:12px;margin-top:12px}
#account-dialog [hidden]{display:none!important}
#account-dialog input{width:100%;padding:10px;border-radius:8px;background:#121015;border:1px solid #514655;color:inherit}
#account-dialog p{font-size:14px;line-height:1.6}#account-feedback:empty{display:none}

.asset-readings{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.asset-readings article img{width:100%;height:9rem;object-fit:contain}.asset-readings p{overflow-wrap:anywhere}

#work-pages:not([hidden]) {display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px 0}
#work-pages button {min-height:40px}
#work-pages button:disabled {opacity:.45;cursor:default}
#works-page-note {font-size:14px;color:#c9c1d1;font-variant-numeric:tabular-nums}
.server-work details {min-width:0}
.server-work summary {cursor:pointer;color:#dfd8e9}
.server-work textarea {width:100%;max-height:12rem;resize:vertical;line-height:1.5;margin-top:7px}
