/* Character selection: native account data, focused hero and compact roster. */
#screen-chars{background:linear-gradient(90deg,#06121ce8,#091522bd 48%,#07111de0),url('/assets/ui/castle-multiverse-118.webp') center/cover fixed no-repeat}
#screen-chars:before,#screen-chars:after{display:none}
#screen-chars>.login-bg{background:url('/assets/ui/castle-multiverse-118.webp') center/cover no-repeat;filter:saturate(.65) brightness(.48)}
#screen-chars>.login-bg:after{background:linear-gradient(90deg,#06121cbd,#09152275 48%,#07111dbd),linear-gradient(0deg,#06121cf2,transparent 90%)}
#screen-chars .chars-wrap{max-width:1200px;padding:24px 24px 38px;font-family:'Multiverse Nunito Sans',Arial}
#screen-chars .chars-head{gap:16px;margin-bottom:18px;flex-wrap:wrap}
#screen-chars .chars-logo{width:115px;height:78px;object-fit:contain;margin:0}
#screen-chars .chars-head>.row{flex:1;justify-content:flex-end;gap:8px;border:1px solid #b4c8df38;border-radius:6px;padding:8px 10px;background:#142233a3;font-size:12px;flex-wrap:wrap}
#screen-chars .chars-head .btn{font-size:11px;border-radius:4px;padding:8px 10px;min-height:34px}
#screen-chars .chars-head #chars-account{color:#e9eff7;margin-right:10px}
#screen-chars .chars-wrap>.lobby-card{padding:0;background:linear-gradient(130deg,#25374be6,#111e2ee8);border:1px solid #9bb3c681;border-radius:8px;box-shadow:0 16px 60px #0007;overflow:hidden}
#screen-chars .lobby-card>.card-title{padding:16px 22px;margin:0;border-bottom:1px solid #9bb3c633;background:#a4bdd40b;font-size:12px;letter-spacing:1.4px;color:#e1e9f2}
#screen-chars .chars-count{font-size:10px;letter-spacing:.2px;color:#9fb5c9;margin-left:8px}
.lobby-shell{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);height:604px;min-width:0}
.lobby-shell.empty{display:block;height:auto}
.lobby-feature{display:flex;flex-direction:column;position:relative;isolation:isolate;min-width:0;overflow:hidden;border-right:1px solid #a4b9cf33;background:linear-gradient(#13233350,#132130d9)}
.lobby-stage{position:relative;min-height:180px;flex:1;overflow:hidden;background:radial-gradient(ellipse at 60% 20%,#93b6cf33,transparent 70%)}
.lobby-portrait{position:absolute;right:0;top:0;width:80%;height:100%;object-fit:cover;object-position:50% 25%;opacity:.8;mask-image:linear-gradient(90deg,transparent,#000 22%);filter:saturate(.8)}
.lobby-stage-shade{position:absolute;inset:0;background:linear-gradient(0deg,#152637 0,transparent 58%),linear-gradient(90deg,#132333cc,transparent 65%)}
.lobby-selected-tag{position:absolute;left:24px;top:22px;color:#a9c0d4;font-size:8px;font-weight:850;letter-spacing:1.6px}
.lobby-level{position:absolute;left:25px;top:54px;display:flex;flex-direction:column;gap:1px;color:#e7d19b;text-shadow:0 2px 5px #0009}.lobby-level small{font-size:8px;letter-spacing:1.3px}.lobby-level b{font:700 40px/1.2 'Multiverse Cinzel',Georgia}
.lobby-avatar{position:absolute;left:12px;bottom:0;width:156px;height:152px;display:grid;place-items:center}
.lobby-avatar>i{position:absolute;left:16px;right:16px;bottom:8px;height:30px;border-radius:50%;border:1px solid #a4c0d53b;background:radial-gradient(ellipse,#abc4db33,transparent 70%);box-shadow:0 0 18px #a8cfed0f}.lobby-avatar .sprite-box{position:relative;z-index:1}
.lobby-identity{padding:5px 24px 12px}.lobby-vocation{display:flex;gap:9px;align-items:center;font-size:11px;color:#c0d1e2}.lobby-vocation b{font-size:9px;color:var(--role,#b4c8df);border:1px solid color-mix(in srgb,var(--role,#b4c8df) 40%,transparent);border-radius:3px;padding:2px 5px;background:color-mix(in srgb,var(--role,#b4c8df) 8%,transparent)}
.lobby-identity h2{font:700 28px/1.25 'Multiverse Cinzel',Georgia;margin:5px 0;color:#f0e7ce;overflow-wrap:anywhere}.lobby-identity p{font-size:11px;line-height:1.5;color:#98b0c6;margin:0;max-width:460px}
.lobby-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 24px 12px}.lobby-stats>div{display:flex;gap:9px;align-items:center;padding:10px;border:1px solid #a4bfd32b;border-radius:4px;background:#07132238;min-width:0}.lobby-stats i{display:grid;place-items:center;width:25px;height:27px;flex:none;color:#b9cde0;background:#adc4da10;border-radius:4px}.lobby-stats svg{width:17px;height:17px}.lobby-stats span{min-width:0}.lobby-stats small{display:block;color:#8fa8c0;font-size:8px;letter-spacing:.5px;text-transform:uppercase}.lobby-stats strong{display:block;color:#dde8f3;font-size:12px;margin-top:2px;overflow-wrap:anywhere}.lobby-stats>div:first-child strong{color:#e5cb8b}
.lobby-activity{display:flex;gap:7px;align-items:center;margin:0 24px 13px;font-size:10px;line-height:1.5;color:#a7bcd0;min-height:18px}.lobby-activity>i{width:5px;height:5px;flex:none;border-radius:50%;background:#aac9a7;box-shadow:0 0 5px #aac9a74d}
.lobby-enter{display:flex;align-items:center;justify-content:center;gap:12px;min-height:46px;margin:0 24px 22px;border:1px solid #efdc9c;border-radius:5px;background:linear-gradient(125deg,#fff0aa,#edd15e 48%,#bf9e30);color:#28200e;box-shadow:inset 0 1px #fff9d3,0 4px 18px #d0aa2921;font:950 13px 'Multiverse Nunito Sans',Arial;cursor:pointer}.lobby-enter i{width:23px;height:23px}.lobby-enter svg{width:100%;height:100%}.lobby-enter>b{font-size:24px;line-height:1}.lobby-enter:hover{filter:brightness(1.12)}
#screen-chars .lobby-shell #chars-list{display:flex;flex-direction:column;gap:7px;padding:14px;overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#7892a962 transparent;background:#0d1a282b}
#screen-chars .lobby-shell .char-row{grid-template-columns:56px minmax(0,1fr) auto;gap:11px;min-height:78px;padding:8px 10px 8px 8px;flex:none;border:1px solid #8da6bf33;border-radius:5px;background:linear-gradient(100deg,#adbedc0d,transparent);box-shadow:none;transform:none}
#screen-chars .lobby-shell .char-row:before{width:2px;opacity:.55}
#screen-chars .lobby-shell .char-row:is(:hover,.is-selected){border-color:#d9c48bc2;background:linear-gradient(105deg,#e1c27819,#9abbd008);box-shadow:inset 0 0 0 1px #e0c68b15;transform:none}
#screen-chars .lobby-shell .char-row.is-selected:before{background:#edd9a4;opacity:1}
#screen-chars .lobby-shell .char-row:focus-visible{outline:2px solid #e8d298;outline-offset:1px}
#screen-chars .lobby-shell .cr-fig{width:56px;height:56px;border:1px solid #a9bdd45c;border-radius:5px;overflow:hidden;background:#0e1e2b}
#screen-chars .lobby-shell .cr-fig :is(.sprite-box,.cr-ped){display:none}
.lobby-row-face{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
#screen-chars .lobby-shell .cr-info{gap:5px}
#screen-chars .lobby-shell .cr-top{gap:6px;min-width:0;flex-wrap:wrap}
#screen-chars .lobby-shell .cname{font-size:14px;letter-spacing:0;color:#e2eaf3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}
#screen-chars .lobby-shell .cr-lv{font-size:10px;color:#e0cf9b;background:#c2a86b10;border:1px solid #c2a86b66;padding:1px 5px;border-radius:3px}
#screen-chars .lobby-shell .cr-lv small{font-size:7px;color:#b6a77f}
#screen-chars .lobby-shell .cr-voc{font-size:10px;gap:5px;flex-wrap:wrap}.lobby-shell .cr-voc em{font-size:9px}.lobby-shell .cr-dot{width:5px;height:5px;box-shadow:none}
#screen-chars .lobby-shell .cr-stats,#screen-chars .lobby-shell .cr-play{display:none}
#screen-chars .lobby-shell .cr-status{font-size:9px;line-height:1.4}.lobby-shell .cr-state{font-size:8px;padding:2px 5px;border-radius:3px;max-width:100%;white-space:normal;line-height:1.4}.lobby-shell .cr-state i{width:4px;height:4px;flex:none}
#screen-chars .lobby-shell .cactions{grid-column:auto;flex-wrap:wrap;gap:4px;max-width:90px;justify-content:flex-end}
#screen-chars .lobby-shell .cr-del{width:24px;height:26px;border-radius:4px;font-size:10px;border-color:#be849129;background:#ba72820a;color:#c19ca6;opacity:.6}
#screen-chars .lobby-shell .cr-nick,#screen-chars .lobby-shell .cr-tab{font-size:8px;padding:4px 6px}
#screen-chars .lobby-shell .char-new{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;min-height:57px;gap:8px;padding:8px;border:1px dashed #a1b5cc55;border-radius:5px;background:#b6cce207}
#screen-chars .lobby-shell .char-new b{width:24px;height:25px;border-radius:4px;background:#b2c8dc12;color:#d2deeb;font-size:20px}.lobby-shell .char-new span{font-size:11px}.lobby-shell .char-new small{font-size:8px}
@media(max-width:900px){#screen-chars .chars-wrap{padding:14px}.lobby-shell{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.lobby-identity h2{font-size:24px}.lobby-stats{margin-left:16px;margin-right:16px}.lobby-identity{padding-left:16px;padding-right:16px}.lobby-stats strong{font-size:11px}#screen-chars .lobby-shell .cname{font-size:12px}.lobby-activity{margin-left:16px;margin-right:16px}.lobby-enter{margin-left:16px;margin-right:16px}#screen-chars .lobby-shell .char-row{grid-template-columns:44px minmax(0,1fr) auto;gap:7px}#screen-chars .lobby-shell .cr-fig{width:44px;height:48px}}
@media(max-width:620px){#screen-chars .chars-wrap{padding:12px 10px 24px}#screen-chars .chars-head{gap:7px;margin-bottom:12px}#screen-chars .chars-logo{width:83px;height:61px}#screen-chars .chars-head>.row{flex-basis:100%;justify-content:flex-start;padding:8px;font-size:10px;gap:6px}#screen-chars .chars-head .btn{font-size:9px;padding:6px 8px;min-height:30px}#screen-chars .lobby-card>.card-title{padding:13px 14px;font-size:11px}.lobby-shell{display:flex;flex-direction:column;height:auto}.lobby-feature{border-right:0;border-bottom:1px solid #a4b9cf33}.lobby-stage{height:185px;min-height:185px;flex:none}.lobby-portrait{width:68%}.lobby-selected-tag{left:17px;top:16px;font-size:7px}.lobby-level{left:18px;top:42px}.lobby-level b{font-size:32px}.lobby-avatar{left:12px;width:128px;height:128px;bottom:-8px}.lobby-avatar .sprite-box{transform:scale(.8)}.lobby-identity{padding-top:4px}.lobby-identity h2{font-size:23px}.lobby-identity p{font-size:10px}.lobby-stats{gap:6px;margin-bottom:10px}.lobby-stats>div{padding:7px 8px}.lobby-stats strong{font-size:11px}.lobby-activity{font-size:9px;margin-bottom:9px}.lobby-enter{margin-bottom:15px;min-height:41px}#screen-chars .lobby-shell #chars-list{padding:10px;max-height:360px;gap:6px}#screen-chars .lobby-shell .char-row{grid-template-columns:49px minmax(0,1fr) auto;min-height:69px}#screen-chars .lobby-shell .cr-fig{width:49px;height:49px}#screen-chars .lobby-shell .cname{font-size:13px}}

/* On phones, choose from the portrait strip before confirming the hero below. */
@media(max-width:620px){#screen-chars .lobby-shell:not(.empty) #chars-list{order:-1;flex-direction:row;overflow-x:auto;overflow-y:hidden;max-height:none;padding:10px;gap:7px;border-bottom:1px solid #a4b9cf33;scroll-snap-type:x proximity}#screen-chars .lobby-shell .char-row{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex:0 0 104px;min-height:105px;padding:7px 5px;gap:5px;scroll-snap-align:start}#screen-chars .lobby-shell .cr-fig{width:44px;height:44px}#screen-chars .lobby-shell .cr-info{gap:0;width:100%}#screen-chars .lobby-shell .cr-top{flex-direction:column;flex-wrap:nowrap;gap:4px}#screen-chars .lobby-shell .cname{font-size:10px;max-width:91px}#screen-chars .lobby-shell .cr-voc,#screen-chars .lobby-shell .cr-status{display:none}#screen-chars .lobby-shell .cactions{position:absolute;top:3px;right:3px;max-width:22px}#screen-chars .lobby-shell .cr-del{width:18px;height:20px;font-size:8px}.lobby-shell .cr-nick,.lobby-shell .cr-tab{max-width:80px;white-space:normal}#screen-chars .lobby-shell .char-new{flex:0 0 104px;flex-direction:column;justify-content:center;gap:4px;text-align:center}#screen-chars .lobby-shell .char-new span{font-size:9px}.lobby-shell .char-new small{font-size:7px}}

.lobby-extra-actions{display:flex;flex-wrap:wrap;gap:7px;margin:0 24px 10px}.lobby-extra-actions button{padding:6px 10px;border:1px solid #a4bdd04d;border-radius:4px;background:#adc4da0b;color:#c6d5e2;font:800 10px 'Multiverse Nunito Sans',Arial;cursor:pointer}@media(max-width:620px){#screen-chars .lobby-shell .cactions :is(.cr-nick,.cr-tab){display:none}.lobby-extra-actions{margin-left:16px;margin-right:16px}}
