.j10-stage{box-sizing:border-box;width:100%;min-height:634px;display:grid;place-items:center;padding:20px;background:#646567;color:#212934;font:13px/1.25 system-ui,sans-serif}
.j10-stage *{box-sizing:border-box}
.j10-panel{width:min(700px,100%);min-height:465px;padding:0 4px 30px;border-radius:16px;background:repeating-linear-gradient(135deg,#202b35 0 4px,#293640 4px 8px);box-shadow:0 2px 5px #181f2877;overflow:hidden}
.j10-head{height:72px;display:flex;flex-direction:column;color:#fff;padding:14px 0 0 12px}
.j10-head h2{margin:0;font-size:17px;font-weight:850;letter-spacing:.02em}
.j10-head h2:focus{outline:none}
.j10-tabs{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:2px;margin:auto 0 0 5px;height:22px}
.j10-stage button{font:inherit;font-weight:700;cursor:pointer;color:inherit}
.j10-stage button:focus-visible{outline:3px solid #106baa;outline-offset:-2px}
.j10-tabs button{border:0;border-radius:8px 8px 0 0;padding:0 2px;background:#445360;color:white;white-space:nowrap;font-size:11px}
.j10-tabs button[aria-selected=true]{background:#fff;color:#212934}
.j10-body{position:relative;display:flow-root;min-height:363px;background:#fff;padding:0 8px}
.j10-editor{display:grid;grid-template-columns:157px minmax(0,1fr);gap:17px;padding:13px 0 6px;margin-right:-5px;height:315px}
.j10-preview-col{display:flex;align-items:center;flex-direction:column;min-width:0;gap:5px}
.j10-hint{position:relative;display:grid;place-items:center;align-self:stretch;margin:0 0 6px;padding:4px;text-align:center;height:42px;border:1px solid #8395a0;border-radius:12px;background:#f4faf8;font-size:11px}
.j10-hint:after{content:'';position:absolute;bottom:-5px;left:calc(50% - 5px);width:9px;height:9px;transform:rotate(45deg);background:#f4faf8;border-bottom:1px solid #8395a0;border-right:1px solid #8395a0}
.j10-pod{display:block;width:143px;height:218px;border-radius:52% 52% 46% 46% / 35% 35% 15% 15%;background:radial-gradient(ellipse 60% 22% at 50% 86%,#b5c7c5 97%,#edf2f1 100%);overflow:hidden}
.j10-pod canvas{display:block;width:100%;height:100%}
.j10-turn{min-height:23px;width:114px;max-width:100%;padding:0 9px;border:0;border-radius:9px;background:#445360;color:white!important;font-size:11px!important}
.j10-turn[aria-pressed=true]{background:#176a60}
.j10-options{min-width:0}
.j10-grid{display:grid;grid-template-columns:repeat(6,minmax(0,76px));gap:5px;align-content:start;height:200px;overflow:auto;scrollbar-width:thin;padding:1px 3px 1px 1px}
.j10-grid button{width:100%;aspect-ratio:1;min-width:0;border:1px solid #d5e0df;border-radius:11px;background:#fcfdfd;padding:0;display:grid;place-items:center}
.j10-grid canvas{display:block;width:95%;height:auto;pointer-events:none}
.j10-grid button:hover,.j10-rooms button:hover,.j10-genders button:hover{background:#eff8f5;border-color:#73ae9e}
.j10-grid button[aria-pressed=true],.j10-rooms button[aria-pressed=true]{background:#def2e9;border-color:#4c9e87;box-shadow:inset 0 0 0 1px #4c9e87}
.j10-settings{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:16px}
.j10-palette{width:297px;min-height:70px}
.j10-settings strong{display:block;font-size:12px;margin-bottom:5px}
.j10-swatches{display:grid;grid-template-columns:repeat(11,21px);gap:6px}
.j10-swatches button{width:21px;height:21px;padding:0;border:1px solid #27333444;border-radius:50%;background:var(--swatch)}
.j10-swatches button[aria-pressed=true]{outline:2px solid #146a59;outline-offset:1px}
.j10-swatches button:focus-visible{outline:2px solid #14589d;outline-offset:2px}
.j10-positions{width:145px;min-height:78px;margin-top:-3px}
.j10-positions>div{display:flex;gap:5px}
.j10-positions button{flex:1;display:grid;justify-items:center;gap:2px;padding:2px;background:none;border:0;font-size:10px}
.j10-positions span{display:grid;place-items:center;width:32px;height:32px;border:1px solid #bccbca;border-radius:50%;padding-bottom:calc(5px - var(--shift));padding-top:calc(5px + var(--shift));font-weight:900;background:#f5f8f7}
.j10-positions [aria-pressed=true] span{background:#d5eee4;border-color:#358978;color:#176a60}
.j10-nav{display:flex;justify-content:center;gap:9px;padding:7px 7px 7px 42px;border-top:1px dashed #d4dcdd}
.j10-nav button{min-height:32px;padding:4px 12px;border-radius:8px;border:1px solid #d0dbdc;background:#e8edee;min-width:96px}
.j10-nav button+button{min-width:144px;background:#167362;color:white;border-color:#156657}
.j10-nav button:hover{filter:brightness(.94)}
.j10-intro{font-weight:800;font-size:15px;text-align:center;margin:24px 0 13px}
.j10-genders,.j10-rooms{display:grid;gap:9px;align-items:center;justify-items:stretch;margin:auto}
.j10-genders{max-width:530px;grid-template-columns:1fr 1fr;min-height:244px}
.j10-genders button,.j10-rooms button{border:1px solid transparent;border-radius:12px;background:transparent;min-width:0;padding:6px;display:grid;justify-items:center;gap:4px}
.j10-genders .j10-pod{width:min(150px,100%);height:auto;aspect-ratio:150/207}
.j10-rooms{grid-template-columns:repeat(3,minmax(0,1fr));min-height:250px}
.j10-room-art{display:block;width:100%;max-width:268px;margin:auto}
.j10-confirm{position:relative;width:min(268px,100%);margin:0 auto;text-align:center;font-weight:750}
.j10-confirm-avatar{position:absolute;left:59%;top:30%;width:24%;height:auto}
.j10-footnote{text-align:center;margin:5px 0 9px;color:#475761;font-size:12px}
.vw-j10-save-warning{color:#ffcc9b;font-size:13px}
@media(max-width:750px){
  .j10-stage{min-height:0;padding:10px}
  .j10-panel{min-height:0;padding-bottom:12px}
  .j10-head{height:auto;min-height:58px;padding:10px 4px 0}
  .j10-tabs{height:auto;margin:9px 0 0;grid-template-columns:repeat(5,minmax(0,1fr))}
  .j10-tabs button{min-height:28px;white-space:normal;line-height:1.05}
  .j10-editor{height:auto;min-height:310px;grid-template-columns:minmax(74px,21%) 1fr;gap:7px;margin:0}
  .j10-preview-col .j10-pod{width:100%;height:auto;aspect-ratio:143/218}
  .j10-turn{padding:4px;min-height:30px}
  .j10-grid{grid-template-columns:repeat(6,minmax(0,1fr));min-height:0;height:auto;max-height:196px}
  .j10-settings{flex-wrap:wrap;margin-top:10px}
  .j10-palette{width:auto;min-height:0}
  .j10-swatches{grid-template-columns:repeat(8,19px);gap:5px}
  .j10-swatches button{width:19px;height:19px}
  .j10-rooms{min-height:190px}
  .j10-nav{padding-left:7px}
  .j10-nav button{min-width:0}
}
