.ro-window{background:linear-gradient(180deg,#191712,var(--ro-panel) 60%,#1d1a15);box-shadow:0 0 0 3px #4c3f2959,0 12px 32px #00000073;}
.ro-title{border-bottom:1px solid #987843;box-shadow:inset 0 1px #4c3f298c;}
.ro-title:before{background:#191712;box-shadow:0 0 4px #4c3f29e6;}
.ro-btn{color:#e5d9c5;background:linear-gradient(#191712,#201c17);border:1px solid #b28d4f;box-shadow:0 2px #4c3f29,inset 0 1px #4c3f29;}
.ro-btn:active:not(:disabled){box-shadow:0 0 #4c3f29,inset 0 1px #4c3f29;}
.ro-btn.primary{background:linear-gradient(#2a261e,#383228 50%,#564529);border-color:#987843;box-shadow:0 2px #4c3f29,inset 0 1px #4c3f298c;}
.ro-btn.primary:active:not(:disabled){box-shadow:0 0 #4c3f29,inset 0 1px #4c3f298c;}
.ro-btn.active{color:#e5d9c5;background:linear-gradient(#1e1b16,#28241d);box-shadow:0 2px #4c3f29,inset 0 1px #4c3f29;}
.btn-row.pad{background:#1e1b1699;}
.bar{background:linear-gradient(#483a23,#4e3f25);}
.hud-portrait{background:radial-gradient(circle at 50% 35%,#191712,#201d17 55%,#2a251e);box-shadow:0 0 0 2px #4c3f29,0 3px 8px #0006,inset 0 -6px 12px #4c3f2940;}
.hud-lv{background:linear-gradient(#302b22,#564529);border:1px solid #987843;box-shadow:0 0 0 1px #4c3f29,0 2px 4px #00000059;}
.hud-name{border-bottom:1px solid #987843;}
.dps-fill{box-shadow:inset 0 1px #4c3f2959;}
.dps-mode{background:#1917122e;}
.dps-mode:hover{background:#1917124d;}
#timer{text-shadow:0 1px 0 #4c3f29;}
.run-stats-btn{background:linear-gradient(#1b1814,#221f19);}
.run-stats-btn:hover,.run-stats-btn.on{box-shadow:inset 0 0 0 1px var(--ro-blue-1),0 0 6px #4c3f29b3;}
.rs-grid>.rs-h{background:var(--ro-panel, #191712);}
.rs-grid>.o{background:#39332917;}
.rs-total{color:#e1d3bc;}
#minimap{box-shadow:0 0 0 2px #4c3f2959,0 3px 10px #0006;}
#boss-bar .bar{box-shadow:0 0 0 2px #4c3f2999,0 2px 8px #0006,inset 0 1px 2px #00000080;}
#announce{background:linear-gradient(#191712,#1f1c17 50%,#302b22);}
.bh-top,.bh-bottom{background:linear-gradient(#191712,#1f1c17 50%,#302b22);}
.overlay.menu{background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(255,255,255,.55),transparent 70%),linear-gradient(180deg,#28241d,#322d24 55%,#59482b);}
.brand span{background:linear-gradient(#191712,#2c2820 40%,#544428);}
.brand b{background:linear-gradient(#191712,#1f1c17 45%,#373128);}
#loading{background:linear-gradient(180deg,#28241d,#322d24 55%,#59482b);}
.loading-ring{border-top-color:#b9985f;}
.loading-text{text-shadow:1px 1px 0 #4c3f29;}
.choice{background:linear-gradient(#191712,#1c1914);border-left:4px solid #b08c4d;box-shadow:0 2px #4c3f29;}
.choice:hover,.choice.focus{box-shadow:0 6px 16px #4c3f2938;}
.go-box{background:#191712;}
.slot{background:radial-gradient(ellipse 34% 7% at 50% 66%,rgba(30,50,100,.3),transparent),linear-gradient(180deg,#1e1b15,#191712 70%);}
.slot.selected{background:radial-gradient(ellipse 36% 8% at 50% 66%,rgba(58,85,154,.35),transparent),radial-gradient(ellipse at 50% 30%,#1c1914,#191712 70%);box-shadow:0 0 0 2px var(--ro-blue-1),0 6px 16px #4c3f294d;}
.slot.empty{color:#dcccb1;background:repeating-linear-gradient(45deg,#1b1813,#1b1813 7px,#1d1a15 7px,#1d1a15 14px);}
.info-panel{background:#191712;}
#cc-preview,#cp-avatar,#st-preview{background:radial-gradient(ellipse 30% 6% at 50% 90%,rgba(29,45,87,.3),transparent),radial-gradient(ellipse at 50% 85%,#1c1914,#25211b,#322d24);}
.field>input{border:1px solid #b28d4f;background:#191712;}
.field>input:focus{box-shadow:0 0 0 3px #4c3f294d;}
.job-btn.locked{background:linear-gradient(180deg,#1c1a15,#201d17);}
.tc-btn.down{background:linear-gradient(#302b22,#564529);}
.joy-base{background:radial-gradient(circle,#19171214 40%,#19171238);box-shadow:0 0 0 1px #4c3f2966;}
.joy-knob{background:radial-gradient(circle at 40% 35%,#191712,#24201a 55%,#332e25);}
@media(max-height:500px)and (min-width:600px){.rs-grid>.p{background:#39332917;}}
.st-hist li.r2{color:#e1d3bb;}
#run-chat .rc-log .chat-line{background:#1a1713d1;}
#run-chat.open .rc-log{background:#1a1713eb;}
#run-chat .rc-form input{background:#191712d1;}
#run-chat .rc-form input:focus{background:#191712;box-shadow:0 0 0 2px #4c3f2940;}
.ch-row.me{background:#59482b1f;}
.chat-link-note{background:#1a1713f2;}
.pf-row{background:#191712;}
.pf-row.me{border-color:#b28e50;background:#1b1814;}
#chat-log{background:#1a1713b8;}
.chat-tab{background:#1a1713cc;}
.chat-tab.on.local{background:linear-gradient(#353026,#56462a);}
.chat-tab.on.general{background:linear-gradient(#393329,#534328);}
.chat-tab.on.jp{background:linear-gradient(#332e25,#544429);}
.chat-tab.new:after{box-shadow:0 0 0 1.5px #4c3f29;}
#lobby-chat.open #chat-log{background:#1a1713eb;}
.chat-line.general{color:#e2d5bf;}
.chat-line.general .chat-tag,.chat-ch.general{background:linear-gradient(#393329,#534328);}
.chat-line.jp{color:#e2d5be;}
.chat-line.jp .chat-tag,.chat-ch.jp{background:linear-gradient(#332e25,#544429);}
.chat-ch{box-shadow:inset 0 1px #4c3f2966;}
.chat-ch.local{background:linear-gradient(#353026,#56462a);}
#chat-input{background:#191712d1;}
#chat-input:focus{background:#191712;box-shadow:0 0 0 2px #4c3f2940;}
#chat-input:disabled{background:#24201ad1;}
#chat-emote{box-shadow:inset 0 1px #4c3f29;}
#chat-emote.on{box-shadow:0 0 0 2px #4c3f2940;}
.chat-size{box-shadow:inset 0 1px #4c3f29;}
#emote-panel{background:#1a1713f2;}
.chat-bubble{background:#191712;}
.chat-bubble:after{background:#191712;}
.fr-badge{background:#191712;}
#fr-form input{background:#191712;}
#fr-form input:focus{box-shadow:0 0 0 2px #4c3f2940;}
.fr-row{background:#191712;}
.fr-aff-bar{background:#201d17;}
.fr-aff-bar i{background:linear-gradient(90deg,#2d2820,#56462a);}
.fr-dot{background:#2a261f;}
kbd{background:#191712;}
#lobby-prompt{border:1px solid #987843;box-shadow:0 0 0 3px #4c3f2980,0 6px 16px #0006;}
.opt-row{background:#191712;}
.opt-switch{background:#27231c;}
.opt-switch:after{background:#191712;}
.opt-check input:focus-visible+.opt-switch{box-shadow:0 0 0 3px #4c3f2973;}
.opt-keys{background:#191712;}
.dr-glow{background:radial-gradient(circle,color-mix(in srgb,var(--q) 60%,#191712) 0%,color-mix(in srgb,var(--q) 35%,transparent) 35%,transparent 68%);}
.dr-card{background:linear-gradient(#191712,#1f1b16);box-shadow:0 0 0 2px #4c3f29,0 0 0 4px var(--q),0 0 34px var(--q),0 14px 30px #0009;}
.dr-card.gear{background:radial-gradient(circle at 50% 38%,#191712,#201d17 72%);}
.dr-card.dye{background:radial-gradient(circle at 50% 40%,#191712,#201d17 72%);}
.dr-p{background:#191712;box-shadow:0 0 6px #4c3f29,0 0 12px var(--q);}
.dr-roll .lr-time{background:#19171240;}
#pk-gain{background:#1c1914eb;}
#picker #lu-sockets{background:#1c1914eb;}
.pk-card{background:linear-gradient(180deg,color-mix(in srgb,var(--q) 22%,#191712),#191712 38%,#1d1a15);box-shadow:0 0 0 2px #4c3f29,0 0 0 4px var(--q),0 0 22px color-mix(in srgb,var(--q) 55%,transparent),0 16px 32px #0009;}
.pk-card:hover,.pk-card:focus-visible{box-shadow:0 0 0 2px #4c3f29,0 0 0 4px var(--q),0 0 34px var(--q),0 22px 40px #000000a6;}
.pk-key{background:#191712;}
.pk-badge{box-shadow:0 0 0 2px #4c3f29,0 2px 6px #00000059;}
.pk-art{background:radial-gradient(circle at 50% 40%,#191712 30%,color-mix(in srgb,var(--q) 30%,#201d17));box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--q) 60%,#4c3f29),0 4px 10px #24304f33;}
.pk-ribbon span{box-shadow:0 0 0 1px #4c3f29,0 2px 6px #0000004d;}
html.touch .pk-card{box-shadow:0 0 0 2px #4c3f29,0 0 0 4px var(--q),0 6px 14px #00000080;}
#picker.no-gl .pk-card:hover{box-shadow:0 0 0 2px #4c3f29,0 0 0 4px var(--q),0 0 40px 10px var(--q),0 22px 40px #000000a6;}
.pk-act{background:linear-gradient(#191712,#201c17);border:1px solid #b28d4f;}
.pk-act:hover:not(:disabled){background:linear-gradient(#191712,#211e18);}
.pk-act small{box-shadow:0 0 0 2px #4c3f29;}
.pk-act:disabled small{background:#353026;}
.pk-back{background:linear-gradient(180deg,#fff1de,#191712 45%,#1d1a15);box-shadow:0 0 0 2px #4c3f29,0 0 0 4px #f3b06a,0 0 22px #f3b06a99,0 16px 32px #0009;}
.pk-back-icons img{background:#191712;}
.pk-flash{background:radial-gradient(circle,#191712 0%,color-mix(in srgb,var(--q) 70%,#191712) 35%,transparent 70%);}
#chat-toggle.on{border-color:#987843;}
#chat-unread{box-shadow:0 0 0 2px #4c3f29;}
html.touch #lobby-chat #chat-log,html.touch #lobby-chat.open #chat-log,html.touch #lobby-chat.typing #chat-log{background:#1a1713f0;}
.item-cell.q1,.item-cell.q2,.item-cell.q3,.item-cell.q4,.item-cell.q5{background:linear-gradient(225deg,var(--qc) 9px,transparent 9px),linear-gradient(#191712,color-mix(in srgb,var(--qc) 22%,#191712));}
.equip-slot.q1 .ico,.equip-slot.q2 .ico,.equip-slot.q3 .ico,.equip-slot.q4 .ico,.equip-slot.q5 .ico{background:linear-gradient(225deg,var(--qc) 7px,transparent 7px),linear-gradient(#191712,color-mix(in srgb,var(--qc) 22%,#191712));}
.equip-slot.q1,.equip-slot.q2,.equip-slot.q3,.equip-slot.q4,.equip-slot.q5{border-color:color-mix(in srgb,var(--qc) 55%,#b9985f);}
.equip-slot.q1 .nm,.equip-slot.q2 .nm,.equip-slot.q3 .nm,.equip-slot.q4 .nm,.equip-slot.q5 .nm{color:color-mix(in srgb,var(--qc) 80%,#ece3d5);}
.item-cell.sel:is(.q1,.q2,.q3,.q4,.q5){box-shadow:inset 0 0 8px var(--qg),0 0 0 3px #4c3f298c;}
@supports not (color: color-mix(in srgb,red,red)){.pk-card{background:linear-gradient(180deg,#191712,#191712 38%,#1d1a15);box-shadow:0 0 0 2px #4c3f29,0 0 0 4px var(--q),0 16px 32px #0009;}
.pk-art{background:radial-gradient(circle at 50% 40%,#191712 30%,#201d17);}
.item-cell.q1,.item-cell.q2,.item-cell.q3,.item-cell.q4,.item-cell.q5{background:linear-gradient(225deg,var(--qc) 9px,transparent 9px),linear-gradient(#191712,#1d1a15);}
.equip-slot.q1 .ico,.equip-slot.q2 .ico,.equip-slot.q3 .ico,.equip-slot.q4 .ico,.equip-slot.q5 .ico{background:linear-gradient(225deg,var(--qc) 7px,transparent 7px),linear-gradient(#191712,#1d1a15);}
.dr-glow{background:radial-gradient(circle,#191712 0%,transparent 68%);}}
.stg-card{background:linear-gradient(100deg,#1b1814,#1f1c17);box-shadow:inset 0 1px #4c3f29,0 1px 3px #24304f26;}
.stg-card.sel{box-shadow:0 0 0 2px #4c3f2959,inset 0 1px #4c3f29;background:linear-gradient(100deg,#191712,#211e18);}
.stg-face{background:radial-gradient(circle at 50% 60%,#191712,#25211b);}
.stg-state{background:#191712;}
.stg-card.open .stg-state{color:#e1d3bc;border-color:#b49155;}
.stg-secret{background:radial-gradient(circle at 35% 30%,#2d2921,#58472a);box-shadow:0 0 0 2px #4c3f29,0 0 8px #4c3f2999;}
.stg-secret.found{background:radial-gradient(circle,#191712 40%,#201d17);box-shadow:0 0 0 2px #4c3f29,0 0 8px #4c3f2980;}
.stg-card.locked,.stg-card.soon{background:linear-gradient(100deg,#1c1a15,#201d17);}
.stg-new,.stg-banner-new{box-shadow:0 0 0 2px #4c3f29,0 0 10px #ff4f7e99;}
.stg-banner{background:linear-gradient(180deg,#1c191400 45%,#1d2d5799),var(--art, none) center 60% / cover,linear-gradient(160deg,#221f19,#322d24);box-shadow:inset 0 0 0 2px #4c3f2980,0 3px 10px #24304f40;}
.stg-banner-state{background:#191712e6;}
.stg-banner-state.open{color:#e1d3bc;}
.stg-banner-secret{background:linear-gradient(135deg,#312c24,#58472a);box-shadow:0 0 10px #4c3f298c;}
.stg-banner-secret.found img{background:#191712;}
.stg-sec{background:#191712;}
.stg-boss-face{background:radial-gradient(circle at 50% 60%,#191712,#211d18);}
.stg-loot{background:linear-gradient(#1a1813,#1f1c16);}
.stg-req{background:#191712;}
.stg-req.ok{color:#e1d3bc;border-color:#b49155;}
.go-items img{background:linear-gradient(#1b1814,#221f19);}
.go-items img.q2{border-color:#a8854a;}
.gl-icon{background:linear-gradient(#1b1814,#221f19);}
.gl-icon.q2{border-color:#a8854a;}
::-webkit-scrollbar-thumb{background:#2f2a22;}
#quest.flash{box-shadow:0 0 0 2px #4c3f29,0 0 14px #4c3f29e6;}
.story-box{background:linear-gradient(180deg,#1a1713f7,#1f1c16f5);box-shadow:0 0 0 2px #4c3f2980,0 6px 18px #0000008c;}
#story-face{background:radial-gradient(circle at 50% 35%,#191712,#201d17 55%,#2a251e);}
#pad-hints{background:#191712f0;}
.cp-header{background:#191712;}
#cp-points,#cp-stat-points{color:#e1d3bc;background:#1d1a15;border:1px solid #b49155;}
#cp-points.none,#cp-stat-points.none{color:#dfd1b9;}
.tab-btn{color:#e1d3bc;}
.tab-btn:hover{background:#19171299;}
.tab-btn.active{box-shadow:0 2px 4px #4c3f2959,inset 0 1px #4c3f2973;}
.equip-slot{background:#191712;}
.equip-slot:hover,.equip-slot.sel{box-shadow:0 0 0 2px #4c3f2940;}
.equip-slot.sel{background:#1c1914;}
.equip-slot .ico:empty{border:1px dashed #b38f52;}
#cp-avatar{background:radial-gradient(ellipse 30% 5% at 50% 76%,rgba(29,45,87,.3),transparent),radial-gradient(ellipse at 50% 72%,#1c1914,#25211b,#322d24);}
.stat-strip{background:#191712;}
.inv-box{background:#191712;}
.item-cell{background:linear-gradient(#1a1813,#1f1c16);}
.item-cell.sel{box-shadow:0 0 0 2px #4c3f2966;}
.item-cell.rare{background:linear-gradient(#1b1814,#221f19);}
.item-cell.q2{background:linear-gradient(#1c1914,#211e18);border-color:#a8854a;}
.cos-cell .cos-mark{color:#decfb5;}
.empty-note{color:#dcccb1;}
.detail .bon{color:#e1d3bc;}
.status-box{background:#191712;}
@media(min-width:701px){#cp-radar{border-right:1px solid #b8965c;}}
.prim-row{border-bottom:1px solid #b8965c;}
.prim-bonus{color:#e1d3bc;}
.prim-btn{border:1px solid #b28d4f;background:linear-gradient(#191712,#201c17);box-shadow:0 2px #4c3f29;}
.prim-btn[data-d="1"]{background:linear-gradient(#2a261e,#564529);border-color:#987843;box-shadow:0 2px #4c3f29;}
.status-left b{color:#e1d3bc;}
.tree-col{background:#191712;}
.tree-head{border-bottom:1px solid #987843;}
.tip-path,.tooltip .path{color:#e1d3bc;}
.tree-head .spec-tag{background:#191712d9;color:#e1d3bc;}
.spec-pick-desc{color:var(--ro-text, #e5dac6);background:#191712eb;box-shadow:0 2px 10px #4c3f292e;}
.tree-col.off-spec[class]{background:#1e1b16;border-color:#b59155;}
.tree-col.off-spec .tree-head{background:linear-gradient(180deg,#2f2a22,#393329);border-bottom-color:#a8854a;}
.tree-col.off-spec .tree-head .pts{background:#19171240;}
.spec-btn{box-shadow:0 2px 10px #4c3f2959;}
.tree-head .pts{background:#19171233;}
.tree-col.t0{background:linear-gradient(180deg,#191712,#fbf3ea);}
.tree-col.t1{background:linear-gradient(180deg,#191712,#fbeeee);}
.tree-col.t2{background:linear-gradient(180deg,#191712,#1d1a15);}
.tier span{color:#e0d2bab3;}
.arw{background:#26221c;}
.arw-head{border-top:8px solid #b59156;}
.talent.can,.talent.some{box-shadow:0 0 6px #4c3f2973;}
.talent.maxed{background:linear-gradient(#1c1914,#24201a);box-shadow:0 0 8px #4c3f2980;}
.talent .rank{background:#191712;}
.talent.some .rank,.talent.can .rank{color:#e1d3bc;}
.tree-job.active{background:linear-gradient(#1c1914,#24201a);}
.tree-soon{background:linear-gradient(180deg,#191712,var(--ro-panel-2));border:1px dashed #b18d4e;}
.soon-slot{border:1px dashed #b38f52;background:#1917128c;}
.tooltip{background:linear-gradient(#191712,#1c1914);}
.tooltip .next{color:#e1d3bc;}
.talent.picked{box-shadow:0 0 0 3px #4c3f298c;}
.talent .wpn-tag{background:#191712;}
.loot-row img{background:linear-gradient(#1b1814,#221f19);}
.loot-row img.q2{border-color:#a8854a;}
.levelup-msg{color:#e1d3bc;}
.tree-tab{color:#e1d3bc;}
.tree-tab b{background:#191712;}
.tree-tab.active{box-shadow:0 2px 4px #4c3f2959,inset 0 1px #4c3f2973;}
.radar{border-bottom:1px solid #b8965c;}
#cp-derived .hit.up{background:#1e1b16;}
#cp-derived b.hit.up{color:#e1d3bc;}
.two-hand-tag{color:#e1d3bc;background:#1d1a15;border:1px solid #b49054;}
.inv-chip{color:#e1d3bc;}
.shop-grid{background:#191712;}
.shop-cell.picked{box-shadow:0 0 0 2px #4c3f29,0 0 0 4px var(--ro-blue-3);}
.shop-cell.picked:before{box-shadow:0 0 0 2px #4c3f29;}
.q-chip:before{box-shadow:0 0 0 1px #4c3f2959;}
.ore-row{background:#191712;}
.chr-perk,.chr-ach{background:#191712;}
.chr-ach.done{background:#1b1814;border-color:#b49155;}
.chr-bar span{background:linear-gradient(90deg,#2e2a22,var(--ro-blue-2));}
#ins-job-detail .next{color:#e1d3bc;}
.tr-side{background:#191712;}
#tr-kafra{background:#191712;}
.tr-badge.lock{background:linear-gradient(#393329,#534328);}
.tr-log{background:#191712;}
#tr-input{background:#191712;}
#tr-input:focus{box-shadow:0 0 0 2px #4c3f2940;}
.detail .base-stats{color:#e1d3bc;}
.gs-total span{color:#e1d3bc;}
.bon-list{color:#e1d3bc;}
.gs .up,.cmp-rows .up{color:#e1d3bc;}
.cmp-sec.up>b,.cmp-sec.up i{color:#e1d3bc;}
.cand,.sock-card{background:#191712;}
.cand:hover,.cand.sel,.sock-card:hover{box-shadow:0 0 0 2px #4c3f2940;}
.cand.sel{background:#1c1914;}
.cand.q2{border-left-color:#a8854a;}
.sock.filled{background:#191712;}
.sock.sel{box-shadow:0 0 0 2px #4c3f2959;}
.jw-color{background:#191712;}
.jw-color.sel{background:#1c1914;box-shadow:0 0 0 2px #4c3f2959;}
.jw-dot{background:#191712;}
.jw-hole{background:#191712;}
.ref-ore{background:#191712;}
.ref-ore.sel{background:#1c1914;box-shadow:0 0 0 2px #4c3f2959;}
.ref-ladder span.next{box-shadow:0 0 0 2px #4c3f294d;}
.item-tip .base-stats{color:#e1d3bc;}
.new-tag{background:linear-gradient(#322d24,#544429);box-shadow:0 0 0 1px #4c3f29,0 1px 3px #24304f59;}
.tab-btn.has-new:after{background:#393329;box-shadow:0 0 0 1.5px #4c3f29;}
.eh-wave{background:linear-gradient(180deg,#1d2d5726,#1d2d57a6),var(--art) center / cover,linear-gradient(160deg,#322d24,#504127);}
.eh-score{text-shadow:0 1px 0 #4c3f29;}
.eh-speed.on{background:linear-gradient(#2f2a22,#534328);border-color:#9f7e46;}
.eh-mult{background:linear-gradient(135deg,#312c24,#58472a);}
.eh-bar i{background:linear-gradient(#2f2a22,#534328);}
.eh-bar.wait i{background:linear-gradient(#25221b,#353026);}
.eh-bar.wait span{text-shadow:0 0 2px #4c3f29;}
.eh-quota i{background:linear-gradient(#2a261e,#58472a);}
.tk-lrow{background:#191712;border:1px solid #b18d4e;}
.tk-lrow.top2 u{color:#dccdb2;}
.tk-lrow.top2{background:linear-gradient(90deg,#211e18,#1d1a15);border-color:#b08c4d;}
.tk-lrow.top2 b{color:#dfd0b7;}
.tk-pill{background:linear-gradient(135deg,#312c24,#58472a);}
.tk-chip{background:#191712e6;}
.tkp{background:#544429;}
.tkp-num{background:#191712d1;border:1px solid #b9985f;}
.tkp-card{background:#191712f2;}
.tkt-mini{background:linear-gradient(#191712,#1f1c16);}
.tk-go{background:linear-gradient(#191712,#1f1c16);box-shadow:inset 0 1px #4c3f29,0 3px #4c3f29,0 4px 10px #24304f2e;}
.tk-go.primary{border-color:#977842;background:linear-gradient(#363127,#534328);box-shadow:inset 0 1px #4c3f2973,0 3px #4c3f29,0 4px 12px #4c3f2959;}
.tk-floor{background:linear-gradient(180deg,#0000 35%,#1d2d57b3),var(--art) center / cover,linear-gradient(160deg,#221f19,#322d24);}
.tk-slot{border:2px dashed #b49155;}
.tk-slot.on{background:radial-gradient(circle at 50% 40%,#191712,#211e18);}
.tk-tile{background:linear-gradient(#191712,#1d1a15);box-shadow:inset 0 1px #4c3f29,0 1px 3px #24304f26;}
.tk-tile.on{background:linear-gradient(#191712,#211e18);box-shadow:0 0 0 2px #4c3f2959;}
.tk-tile.fixed{border-color:#ac884c;background:linear-gradient(#191712,#201d17);box-shadow:0 0 0 2px #4c3f2959;}
.tk-tile.fixed small{color:#ded0b7;}
.tk-slot.on.fixed{border-color:#ac884c;background:radial-gradient(circle at 50% 40%,#191712,#201d17);}
.tk-tile-ico{background:radial-gradient(circle at 50% 40%,#191712,#221e18);}
.tk-points-bar{background:#191712;}
.tk-reset{border:1px solid #b49053;background:linear-gradient(#191712,#1e1b16);color:#e0d2ba;}
.tk-reset b{color:#e0d2ba;}
.tk-reset:hover:not(:disabled){border-color:#ac884c;}
.tk-up.on{box-shadow:inset 0 1px #4c3f29,0 1px 3px #24304f26;background:linear-gradient(#191712,#1f1c16);}
.tk-bar i{background:linear-gradient(#2f2a22,#534328);}
.tk-bar em{text-shadow:0 0 2px #4c3f29,0 0 2px #4c3f29;}
.tk-rank-badge{background:linear-gradient(#363127,#534328);}
.tk-up:not(.on) .tk-rank-badge{background:#2f2a22;}
.tk-buy{background:linear-gradient(#191712,#1f1c16);box-shadow:0 2px #4c3f29;}
.tk-buy.primary{border-color:#977842;background:linear-gradient(#363127,#534328);box-shadow:0 2px #4c3f29;}
.tk-ljob{background:#191712;}
.tk-ljob.active{background:linear-gradient(#191712,#211e18);box-shadow:0 0 0 2px #4c3f294d;}
#demo-bar .demo-info{background:#1a1813eb;border:1px solid #b39053;color:var(--ro-text, #e7dcc9);}
#demo-bar .demo-info b{color:#e1d3bc;}
#demo-bar .demo-info .muted{color:#e0d2ba;}
#demo-bar .demo-ctrl{background:#1a1813f2;border:1px solid #b39053;}
#demo-bar button{border:1px solid #b18d4e;background:linear-gradient(#191712,#1f1c17);color:#e4d7c2;}
#demo-bar button.on,#demo-bar .demo-play{background:linear-gradient(#363127,#534328);border-color:#997a43;}
#demo-bar .demo-time{color:#e4d7c2;}
#demo-bar .demo-track{background:#231f19;}
#demo-bar .demo-track i{background:linear-gradient(90deg,#2f2a22,#534328);}
#demo-bar .demo-build-btn.on{background:linear-gradient(#363127,#534328);border-color:#997a43;}
#demo-bar .demo-build{background:#1a1813f5;border:1px solid #b39053;color:var(--ro-text, #e7dcc9);}
#demo-bar .demo-build h4{color:#e1d3bc;}
#demo-bar .db-head b{color:#e1d3bc;}
#demo-bar .db-stats span{background:#1d1a15;}
#demo-bar .db-stats small{color:#e0d2ba;}
#demo-bar .db-item{border-bottom:1px solid #b7955b;}
#demo-bar .db-item small{color:#e0d2ba;}
#demo-bar .db-tal{background:#1d1a15;border:1px solid #b69358;}
#demo-bar .db-tal b{color:#e1d3bc;}
.gc-ball{background:#191712;}
.gc-cos.own{background:#191712;border-color:#b49155;}
.fe-splash{background:url(../assets/stages/louyang.jpg) 0% 30% / 118% auto no-repeat,#544429;}
.fe-x{background:#191712bf;}
.fe-x:hover{background:#191712;}
.fe-bar{background:#191712e6;}
#festival .tabs{background:#191712e6;}
#festival .gc-ball{background:#191712e6;}
#festival .gc-result{background:#191712e6;}
#festival .gc-cos{background:#1e1b16d9;}
#festival .gc-cos.own{background:#191712;}
.fe-play{box-shadow:0 0 0 3px #4c3f298c,0 6px 22px #ff8c508c;}
.fe-inc{background:#191712e6;}
.fe-inc.trip-inc{background:#1b1914;box-shadow:0 0 0 1px #4c3f29;}
.fe-slot{background:#191712f0;}
.fe-reel{background:linear-gradient(90deg,#1d1a15,#191712 30%,#191712 70%,#1d1a15);}
.fe-reel:after{box-shadow:inset 0 0 0 1px #4c3f29cc;}
.fe-slot i{text-shadow:0 1px 0 #4c3f29;}
#splash{background:#24211a;}
body.sp-backdrop #charselect .brand-name b{background:linear-gradient(#352f26,#534328 60%,#4f4026);text-shadow:0 2px 0 #4c3f29;}
body.sp-backdrop #charselect .brand small{background:#191712bf;}
.sp-motes i{background:radial-gradient(#191712,#19171200);}
.sp-logo-name b{background:linear-gradient(#352f26,#534328 60%,#4f4026);text-shadow:0 2px 0 #4c3f29;}
.sp-logo small{background:#191712bf;box-shadow:0 2px 8px #4c3f292e;}
.sp-tag{box-shadow:0 2px 6px #4c3f2940;}
.sp-tag.light{background:#191712;}
.sp-card{box-shadow:0 18px 50px #4c3f2959,0 2px #4c3f29 inset;}
#sp-play .sp-fill,.sp-update .sp-fill{background:#19171247;}
#splash.sp-updating{background:linear-gradient(135deg,#302b22,#1c1914 85%);}
.sp-tabs button.active{background:#191712;box-shadow:0 1px 4px #4c3f292e;}
.sp-field input{background:#191712;}
.sp-field input:focus{box-shadow:0 0 0 3px #4c3f2940;}
.sp-maint.maintenance{background:linear-gradient(180deg,#191712,var(--ro-panel-2));}
.sp-maint-art{background:radial-gradient(circle at 50% 40%,#191712,#201d17 70%);box-shadow:0 6px 18px #4c3f2926 inset,0 2px #4c3f29;}
.sp-lang-btn{background:#191712e6;box-shadow:0 2px 8px #4c3f2933;}
.sp-lang-btn:hover{background:#191712;}
.sp-lang-list{background:#191712;box-shadow:0 10px 28px #4c3f2940;}
.sp-lang-list li[aria-selected=true]{background:#1f1c16;}
.sp-links a.discord{background:linear-gradient(#312c23,#383329);}
.sp-legal{background:#191712b8;}
.sp-meta{background:#191712b8;}
#pb-portrait{background:radial-gradient(circle at 50% 35%,#191712,#201d17 55%,#2a251e);box-shadow:0 0 0 2px #4c3f29,0 3px 8px #0006,inset 0 -6px 12px #4c3f2940;}
.pb-edit{background:linear-gradient(#302b22,#564529);border:1px solid #987843;box-shadow:0 0 0 1px #4c3f29,0 2px 4px #00000059;}
.pb-name{border-bottom:1px solid #987843;}
.pb-tile{background:radial-gradient(circle at 50% 40%,#191712,#1e1b16 70%,#23201a);}
.pb-tile.active{box-shadow:0 0 0 3px #4c3f2959;}
#legal-body .summary li{background:#191712;}
.sp-news-btn{background:#191712e6;box-shadow:0 2px 8px #4c3f2933;}
.sp-news-btn:hover{background:#191712;}
.sp-news-btn.fresh:after{border:2px solid #b9985f;}
.news-tabs button.active{background:#191712;}
.news-tag.tag-other{background:#191712;}
.sp-field select{background:#191712;}
.sp-field select:focus{box-shadow:0 0 0 3px #4c3f2940;}
.wk-search{background:#191712 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f8fd8' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") 11px 50% no-repeat;}
.wk-search:focus{box-shadow:0 0 0 3px #4c3f2940;}
.wk-emoji.sm{background:radial-gradient(circle at 50% 60%,#191712,#221e18);}
.wk-qdots .r0,.wk-q.r0:before{background:#25221b;box-shadow:inset 0 0 0 1px #4c3f29;}
.wk-qdots .r2,.wk-q.r2:before{background:#59482b;}
.wk-tone-blue{background:linear-gradient(180deg,#1c191400 40%,#1d2d578c),radial-gradient(circle at 80% 20%,#191712 0,transparent 40%),linear-gradient(135deg,#27231c,#58472a);}
.wk-tone-orange{background:linear-gradient(180deg,#1c191400 40%,#572d1d80),radial-gradient(circle at 80% 20%,#fff7e8 0,transparent 40%),linear-gradient(135deg,#ffd9a8,#e0884a);}
.wk-tone-violet{background:linear-gradient(180deg,#1c191400 40%,#321d5780),radial-gradient(circle at 80% 20%,#fbf5ff 0,transparent 40%),linear-gradient(135deg,#24201a,#5a492b);}
.wk-tone-green{background:linear-gradient(180deg,#1c191400 40%,#1d463280),radial-gradient(circle at 80% 20%,#f3fff6 0,transparent 40%),linear-gradient(135deg,#bfeccb,#4fa86c);}
.wk-tip{background:#1c1914;border:1px solid #b59257;}
.wk-formula{background:linear-gradient(#1b1813,#1e1b15);border:1px dashed #b49053;}
.wk-chip{background:linear-gradient(#1a1813,#1f1c16);}
.wk-table tbody tr:nth-child(2n) td{background:#1b1814;}
.wk-step{background:linear-gradient(160deg,#191712,#1e1b16);}
.wk-stat{background:#191712;}
.wk-out-group{background:linear-gradient(#1a1813,#1d1a15);}
.wk-out-row{border-bottom:1px dotted #b69359;}
.wk-select select{background:#191712;}
.wk-hit-big{background:linear-gradient(#191712,#1f1c16);border:1px solid #b49155;}
.wk-chart{background:#191712;}
.wk-pipe-step:first-child{background:linear-gradient(160deg,#191712,#1f1c16);border-color:#b49155;}
.wk-trio-c{background:#191712;}
.wk-trio-c.ranged{border-top:4px solid #a48248;}
.wk-mini{background:linear-gradient(160deg,#191712,#1d1a15);}
.wk-jobbtn{background:linear-gradient(#191712,#1e1b16);}
.wk-jobbtn.sel{background:linear-gradient(#191712,#231f19);box-shadow:0 0 0 2px #4c3f294d;}
.wk-skill{background:#191712;}
.wk-skill-head img{background:linear-gradient(#1b1814,#221f19);}
.wk-tag{background:#1c1a15;border:1px solid #b69358;}
.wk-skill-tgt{border-top:1px dashed #b69358;}
.wk-qcard{background:linear-gradient(160deg,#191712,var(--qb));}
.wk-item{background:linear-gradient(#1a1713,#1d1a15);}
.wk-job{background:linear-gradient(160deg,#191712,#1e1b16);}
.wk-job.sel{box-shadow:0 0 0 2px #4c3f294d;background:linear-gradient(160deg,#191712,#231f19);}
.wk-job.ext{background:linear-gradient(160deg,#1a1813,#1f1c16);}
.wk-job-box{box-shadow:0 0 0 2px #4c3f2926;}
.wk-jobd-face{background:radial-gradient(circle at 50% 60%,#191712,#25211b);}
.wk-bar i{background:#201c17;}
.wk-skillicons span{background:#1c1914;}
.wk-stage{background:linear-gradient(180deg,#1c191400 20%,#1d2d57d9 75%),var(--art, none) center / cover,linear-gradient(160deg,#221f19,#322d24);box-shadow:inset 0 0 0 2px #4c3f2973,0 2px 8px #24304f33;}
.wk-stage-tier,.wk-stage-story{background:#191712e6;}
.wk-stage-story{color:#ded0b7;}
.wk-boss{background:#191712d9;}
.wk-npc{background:linear-gradient(160deg,#191712,#1e1b15);}
.wk-npc-face{background:radial-gradient(circle at 50% 70%,#191712,#231f19);}
.wk-pet{background:linear-gradient(160deg,#191712,#e8f5ec);}
.wk-result{background:linear-gradient(100deg,#191712,#1e1b16);}
.wk-deity-sk{background:linear-gradient(#1a1713,#1d1a15);border:1px solid #b69358;}
.wk-deity-hd b{color:#e0d3bb;}
.wk-gear{background:linear-gradient(#1a1713,#1d1a15);}

:root{color-scheme:dark;--ro-blue-1:#d6ad60;--ro-blue-2:#c29a4b;--ro-blue-3:#efd39a;--ro-blue-4:#e2bd7b;--ro-panel:#141311;--ro-panel-2:#201b15;--ro-line:#54432b;--ro-border:#a78446;--ro-text:#f4e9d5;--ro-muted:#b8aa92;--ro-title:linear-gradient(#33291c,#151310 75%,#211a12);--ro-slot:linear-gradient(#24211c,#141311);--ro-slot-border:#74603a;--hud-panel:linear-gradient(#242019f2,#131211f5);--hud-shadow:0 2px 10px #000a,inset 0 1px #ac844c55}
.ro-window{background:linear-gradient(150deg,#211b15,#111 50%,#1c1711)!important;border:1px solid #b18a4d!important;box-shadow:0 0 0 2px #312719,0 0 0 3px #846638,0 12px 32px #000a!important;color:var(--ro-text);border-radius:9px}
.ro-title{background:var(--ro-title)!important;color:#f5d99d!important;border-bottom:1px solid #987443!important;text-shadow:0 1px 2px #000!important;box-shadow:inset 0 1px #a27b3e88!important}
.ro-title:before{background:#f5ce7b!important;box-shadow:0 0 8px #ffc85b}
.ro-btn{background:linear-gradient(#30281e,#141311)!important;color:#f6dfb0!important;border:1px solid #9c7b43!important;box-shadow:0 2px #100c08,inset 0 1px #d5ad6350!important;border-radius:6px;text-shadow:0 1px #000}
.ro-btn.primary,.ro-btn.active{background:linear-gradient(#c79842,#76501f 55%,#3a2612)!important;color:#fff0c6!important;border-color:#edc77c!important;box-shadow:0 0 8px #d99b4555,inset 0 1px #ffe2a8!important}
.ro-btn:disabled{opacity:.45!important}.ro-btn:hover:not(:disabled){filter:brightness(1.22)}
.ro-window :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea){background:#171510;color:#f7e6c5;border-color:#8b7146}
.ro-window :is(input,select,textarea):focus-visible,.ro-btn:focus-visible{outline:2px solid #e6b85f;outline-offset:2px}
#slots .slot{background:linear-gradient(#252019,#121211)!important;border-color:#76613b!important;color:#f2e0bf!important}
#slots .slot.selected{background:radial-gradient(ellipse at 50% 42%,#50381e,#18140f 75%)!important;border-color:#ffcf71!important;box-shadow:0 0 0 2px #c69441,0 0 15px #f5b84e70!important}
#slots .slot.empty{background:repeating-linear-gradient(45deg,#181613,#181613 7px,#1e1b17 7px,#1e1b17 14px)!important;color:#a99a80!important;border-style:dashed}
#slots .slot canvas{image-rendering:pixelated}.slot .slot-job{color:#cdbda0!important}.info-panel,.inv-box,.btn-row.pad{background:#171512!important;border-color:#655133!important;color:var(--ro-text)}
#pb-portrait{background:radial-gradient(circle,#614321,#17130e 72%)!important;border:2px solid #e7bb70!important;box-shadow:0 0 0 2px #554020,0 0 15px #f3b95c55!important;overflow:visible}
#pb-portrait canvas{image-rendering:pixelated;border-radius:50%}.pb-panel{background:var(--hud-panel)!important;color:#f4e4c5!important;border-color:#a78446!important}.pb-name{background:var(--ro-title)!important;color:#f5d99d!important}.pb-kafra{color:#f2cd85!important}.pb-edit{background:#392b18!important;border-color:#d8ad60!important;color:#f5dfaa!important}
#charselect .brand{color:#f8ddb0}.tooltip,.toast:not(.q){background:#1b1712!important;color:#f3e5cc!important;border-color:#9b7943!important}.st-head{background:var(--ro-title)!important}.st-head small{color:#e1c99d!important}
#sp-version,#opt-version{color:#e5c992!important;font-variant-numeric:tabular-nums}

body #charselect,body.sp-backdrop #charselect,body #charcreate,body.sp-backdrop #charcreate{background:linear-gradient(#10100d22,#10100d55),url("./xiao-landscape.webp") center/cover no-repeat!important} #charselect .brand{display:none!important}

/* Dragon landscape character stage */
#charselect:not(.hidden){display:flex!important;flex-direction:column;justify-content:flex-end;align-items:center;overflow:auto;padding:clamp(12px,3vh,32px);box-sizing:border-box;gap:10px;background:linear-gradient(0deg,#08060499,transparent 55%),url("./xiao-landscape.webp") center/cover no-repeat!important}
#charselect .xw-brand{position:absolute;top:3%;left:3%;display:flex;flex-direction:column;pointer-events:none;color:#ffe8a5;text-shadow:0 3px 4px #000,0 0 18px #d99635;font-family:Georgia,serif;z-index:1}.xw-brand strong{font-size:clamp(36px,7vw,100px);line-height:1;font-style:italic}.xw-brand span{font-size:clamp(12px,2vw,26px);font-style:italic}
#charselect .select-window{width:min(1180px,95vw)!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible;max-height:none!important;flex:none}#charselect .select-window>.ro-title{display:none}#charselect .select-window>.ro-body{background:transparent!important;padding:0!important;overflow:visible;max-height:none!important}
#charselect #profile-bar{position:absolute!important;left:3%;top:25%;width:min(245px,23vw);margin:0!important;flex-direction:column;align-items:center;background:linear-gradient(145deg,#1b160de8,#080807e8);border:1px solid #bd914c;border-radius:9px;padding:12px;box-shadow:0 0 20px #0009;z-index:2}#charselect #profile-bar .pb-panel{width:100%;background:transparent!important;box-shadow:none!important;border:0!important}#charselect #pb-portrait{margin:0 auto 8px!important;position:relative!important;left:auto!important;top:auto!important}#charselect .xw-stage{display:flex;align-items:center;gap:12px;margin-left:22%;min-height:clamp(190px,34vh,340px)}#charselect #slots{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(5px,1vw,18px);flex:1;min-width:0;overflow:visible!important}#charselect #slots .slot{position:relative;min-width:0;min-height:clamp(155px,30vh,310px);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;isolation:isolate;overflow:visible!important}#charselect #slots .slot.xw-offpage{display:none!important}#charselect #slots .slot:not(.empty)::before{content:"";position:absolute;bottom:49px;left:5%;width:90%;height:39px;border-radius:50%;background:radial-gradient(ellipse at 50% 20%,#b4a38a,#4e453c 55%,#1c1915 75%);border:2px solid #aa8752;box-shadow:0 10px 0 #30261c,0 13px 12px #000;z-index:-1}#charselect #slots .slot.selected:not(.empty)::before{background:radial-gradient(ellipse,#fff4aa,#b76d13 55%,#51310b);border-color:#fff3bd;box-shadow:0 0 25px #ffb735,0 9px 0 #8a571d}#charselect #slots .slot canvas{height:clamp(95px,22vh,220px)!important;width:auto!important;max-width:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 4px 4px #0009);margin-bottom:4px;flex:none}#charselect #slots .slot.selected canvas{filter:drop-shadow(0 0 9px #ffc650) drop-shadow(0 4px 3px #000)}#charselect #slots .slot-name,#charselect #slots .slot-job{box-sizing:border-box;width:100%;background:#100d09ed;text-align:center;padding:4px 2px;color:#ffe4ad!important;text-shadow:0 1px 2px #000;overflow-wrap:anywhere}#charselect #slots .slot-name{border:1px solid #b48a45;border-bottom:0;border-radius:5px 5px 0 0}#charselect #slots .slot-job{border:1px solid #b48a45;border-top:0;border-radius:0 0 5px 5px}#charselect #slots .slot.empty{justify-content:center!important;border:1px dashed #ae8c55!important;border-radius:10px;background:#0d0b0880!important;min-height:120px;color:#f2d8a0!important}#charselect #slots .slot.empty.selected{outline:2px solid #ffc76b}#charselect .xw-arrow{background:#171109e8;color:#ffe1a0;border:1px solid #d1a65d;border-radius:6px;font-size:clamp(20px,3vw,36px);padding:8px;cursor:pointer}#charselect .xw-arrow:disabled{opacity:.3;cursor:default}#xw-pages{display:flex;justify-content:center;gap:10px;margin:12px 0}#xw-pages .xw-dot{width:12px;height:12px;border-radius:50%;padding:0;background:#29241b;border:1px solid #c5a066;cursor:pointer}#xw-pages .xw-dot.on{background:#ffd36b;box-shadow:0 0 10px #ffd36b}#charselect #slot-info{background:#0b0908df!important;border:1px solid #a77c39!important;border-radius:6px;color:#f8e4bf!important}#charselect .select-window .btn-row{position:static!important;background:#0c0a08cc!important;border:1px solid #a77c39!important;border-radius:7px;margin:10px 0 0!important;padding:10px!important}#charselect #btn-play{background:linear-gradient(#875219,#2d1907)!important;color:#fff3c2!important;border:1px solid #ffda80!important;box-shadow:0 0 13px #edaa37;font-weight:900}
#cc-haircolors,#cc-clothcolors,#st-haircolors,#st-clothcolors{display:flex;flex-wrap:wrap;gap:6px}#cc-haircolors canvas,#cc-clothcolors canvas,#st-haircolors canvas,#st-clothcolors canvas{image-rendering:pixelated}
@media(max-width:760px),(max-height:600px){#charselect:not(.hidden){justify-content:flex-start;padding:10px;gap:8px}#charselect .xw-brand{position:static;align-self:center;text-align:center;order:-3}#charselect .xw-brand strong{font-size:36px}#charselect #profile-bar{position:static!important;width:min(95%,460px)!important;flex-direction:row;padding:6px;order:-2}#charselect #profile-bar .pb-panel{flex:1;min-width:0}#charselect .xw-stage{margin-left:0;gap:4px;min-height:150px}#charselect #slots{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px}#charselect #slots .slot{min-height:145px}#charselect #slots .slot canvas{height:90px!important}#charselect .xw-arrow{padding:3px;font-size:18px}#charselect .select-window .btn-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}#charselect #btn-play{grid-column:1/-1}#charselect #slots .slot-name,#charselect #slots .slot-job{font-size:10px}}

/* Appearance studio — native layered sprite previews. */
#charcreate .create-window,#stylist .stylist-window{width:min(1060px,96vw)!important;max-height:94dvh;overflow:auto;border:2px solid #c79a51!important;box-shadow:0 0 30px #000b,0 0 12px #c79a5144!important}
#charcreate .create-body,#stylist .create-body{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(200px,1fr);gap:22px;padding:20px!important;background:linear-gradient(135deg,#1b1814,#0d0c0b)!important}
#charcreate .form-col,#stylist .form-col{grid-column:1;grid-row:1;min-width:0}#charcreate .preview-col,#stylist .preview-col{grid-column:2;grid-row:1;min-width:0;align-self:start;position:sticky;top:0;padding:14px 8px;border:1px solid #9e793b;border-radius:12px;background:radial-gradient(ellipse at 50% 80%,#bc852b35,transparent 50%),linear-gradient(#231c12,#0e0d0b);box-shadow:inset 0 0 25px #0008;display:flex;flex-direction:column;align-items:center}
#cc-preview,#st-preview{width:min(100%,280px)!important;height:auto!important;image-rendering:pixelated;background:radial-gradient(ellipse 75% 14% at 50% 87%,#f8c96d66 0%,#b8823544 50%,transparent 70%);filter:drop-shadow(0 0 9px #d7a54b44)}
#charcreate .field,#stylist .field{margin-bottom:12px;color:#f2d6a0!important}#cc-haircolors,#st-haircolors,#cc-clothcolors,#st-clothcolors,.xw-combos{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px}
#cc-haircolors .swatch,#st-haircolors .swatch{width:48px!important;height:48px!important;padding:2px!important}#cc-clothcolors .swatch,#st-clothcolors .swatch{width:60px!important;height:74px!important;padding:3px!important}.xw-combo{width:72px;min-height:88px;padding:3px!important}.xw-combo canvas,#charcreate .swatch canvas,#stylist .swatch canvas{image-rendering:pixelated;max-width:100%;max-height:100%;width:auto!important;height:auto!important;display:block;margin:auto}
#charcreate .swatch.active,#stylist .swatch.active,.xw-combo.active{border-color:#ffe3a0!important;box-shadow:0 0 10px #ffbd4d,inset 0 0 8px #d5a15355!important;background:linear-gradient(#634822,#1f170d)!important}.xw-combo-field{border-top:1px solid #6e542e;padding-top:10px}.xw-combo-field small{display:block;margin-top:7px;color:#bdab89}
#portrait-picker .pb-window{width:min(700px,94vw)!important}#portrait-picker #pb-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#portrait-picker .pb-tile{height:auto!important;width:100%!important;aspect-ratio:auto!important;display:flex;flex-direction:column;align-items:center;gap:7px;padding:8px 4px;border-radius:12px!important;background:radial-gradient(circle,#3c2b17,#14120f)!important;border:1px solid #9f7b41!important;color:#f5d79c;font-size:12px}#portrait-picker .pb-tile canvas{width:100%;height:auto;image-rendering:pixelated;border-radius:50%}#portrait-picker .pb-tile.active{border-color:#ffe4a0!important;box-shadow:0 0 13px #ecb451!important}
@media(max-width:650px){#charcreate .create-body,#stylist .create-body{grid-template-columns:minmax(0,1fr)!important;padding:10px!important;gap:10px}#charcreate .preview-col,#stylist .preview-col{grid-column:1;grid-row:1;position:static}#charcreate .form-col,#stylist .form-col{grid-row:2}#cc-preview,#st-preview{width:160px!important}#portrait-picker #pb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
