.pixel-control{width:11cqw!important;height:11cqw!important;min-height:38px;padding:1cqw!important;background:#173337e8!important;border:2px solid #87adb1!important;box-shadow:inset 0 0 0 2px #172d33;clip-path:polygon(0 3px,3px 3px,3px 0,calc(100% - 3px) 0,calc(100% - 3px) 3px,100% 3px,100% calc(100% - 3px),calc(100% - 3px) calc(100% - 3px),calc(100% - 3px) 100%,3px 100%,3px calc(100% - 3px),0 calc(100% - 3px))}.pixel-control svg{width:100%;height:100%;display:block}.action-pad{margin:0 1cqw 1cqw auto}.original-menu.pixel-control{left:1cqw;bottom:10%;z-index:5}
#modal.grid-bag-panel .bag-cell{border:0!important;background:linear-gradient(135deg,#64818a 0 7%,#354f59 7% 14%,#182a33 14% 86%,#0c1e28 86%);box-shadow:inset 0 0 0 2px #9ebfc7,inset 0 0 0 4px #354d58;clip-path:polygon(0 8px,4px 8px,4px 4px,8px 4px,8px 0,calc(100% - 8px) 0,calc(100% - 8px) 4px,calc(100% - 4px) 4px,calc(100% - 4px) 8px,100% 8px,100% calc(100% - 8px),calc(100% - 4px) calc(100% - 8px),calc(100% - 4px) calc(100% - 4px),calc(100% - 8px) calc(100% - 4px),calc(100% - 8px) 100%,8px 100%,8px calc(100% - 4px),4px calc(100% - 4px),4px calc(100% - 8px),0 calc(100% - 8px))}
#modal.grid-bag-panel .bag-cell.selected{background:linear-gradient(135deg,#947b45,#31434a 45%,#5c5b3f);box-shadow:inset 0 0 0 2px #f0dc88,inset 0 0 0 4px #806b3d}#modal.grid-bag-panel .bag-cell:disabled{opacity:.72}.bag-cell .unified-item-icon{max-width:82%;max-height:82%}.bag-cell .bag-quantity{right:7px!important;bottom:4px!important;text-shadow:1px 1px #000,-1px -1px #000}
#modal.settlement-panel{max-height:104cqw!important;top:26cqw!important;border:3px solid #7aabad!important;box-shadow:0 0 0 2px #10272d,0 5px 0 #061719!important}#modal.settlement-panel .original-title{background:#2b5356;color:#ead98a;border-bottom:2px solid #759999!important}#modal.settlement-panel .original-content{max-height:76cqw;padding:3cqw}#modal.settlement-panel .settlement-values{display:grid;grid-template-columns:1fr 1fr;gap:2cqw;padding:2cqw;background:#102a31;border:1px solid #587e85}#modal.settlement-panel .settlement-values b{color:#e9d976}#modal.settlement-panel .settlement-items>div{border-bottom:1px solid #365963;padding:1.5cqw 0;gap:2cqw}#modal.settlement-panel .settlement-label{color:#acd6df}
.spell-card,.guild-member{padding:3cqw;border-bottom:2px solid #496b68}.spell-card h3{color:#dcd396;margin:1cqw 0}.spell-card p{line-height:1.5;margin:1.5cqw 0}.spell-card button,.guild-tools button,.guild-member button{font-size:3.5cqw!important;padding:1cqw 2cqw;min-height:8cqw}.guild-tools{display:flex;flex-wrap:wrap;gap:1cqw}.guild-announcement{border:1px solid #709692;background:#163331;padding:2cqw;white-space:pre-wrap}#enhance-form label{display:flex;align-items:center;justify-content:space-between;font-size:4cqw;margin-bottom:2cqw}#enhance-form input{width:16cqw;font-size:4cqw}#enhance-form .original-list{max-height:60cqw;overflow:auto}#enhance-quote{color:#e6d891}

/* Original UIxia sprites and jade panel skin replace the temporary icons. */
.pixel-control{width:14cqw!important;height:9cqw!important;min-height:40px;border:0!important;background:transparent!important;box-shadow:none!important;clip-path:none;padding:0!important;display:flex;align-items:center;justify-content:center;border-radius:0!important;image-rendering:pixelated}
.pixel-control img{width:12cqw;height:8cqw;object-fit:contain;image-rendering:pixelated;display:block}.pixel-control:active img{filter:brightness(1.35)}.original-menu.pixel-control{left:0;bottom:9.6%}.action-pad{position:absolute;right:0;bottom:0;margin:0}.controls{padding:0}.game>.stick{position:absolute!important;transform:translate(-50%,-50%);z-index:5;min-width:0;min-height:0;width:23%;height:auto;aspect-ratio:1;opacity:.48}
#modal.settlement-panel{width:min(90vw,54dvh)!important;max-height:64cqw!important;top:29cqw!important;padding:4cqw 3cqw 2cqw!important;border:3px double #8eb9a0!important;background:#10261f!important;box-shadow:0 0 0 2px #092016!important;image-rendering:pixelated}
#modal.settlement-panel .original-title{height:11cqw;min-height:11cqw;font:6cqw JHPixel,SimSun,monospace;color:#eaf5f2;background:#29505a!important;border:2px solid #297583!important;border-image:none!important;box-shadow:inset 0 -1px 0 #1f3f49,inset 0 1px 0 #4aa3af;border-radius:0;clip-path:polygon(8% 0,92% 0,100% 20%,100% 80%,92% 100%,8% 100%,0 80%,0 20%);min-width:58%;padding:0;margin:0 auto 3cqw;display:flex;align-items:center;justify-content:center;white-space:nowrap}
#modal.settlement-panel .original-content{background:transparent!important;max-height:77cqw;padding:1cqw!important;overflow:auto}
#modal.settlement-panel .settlement-values{gap:0;background:#1a382d;border:2px solid #557d60;padding:2.6cqw!important;font:5.2cqw/1.6 JHPixel,monospace;color:#b6c994}
.settlement-values>div{display:flex;justify-content:space-between;gap:1cqw;padding:1.3cqw 2.4cqw}.settlement-values b{font-weight:normal!important;color:#f0e59a!important}.settlement-values>div:nth-child(odd){border-right:1px solid #486b52}
#modal.settlement-panel .settlement-label{font:5.2cqw JHPixel,monospace;color:#c9dbb0;padding:3.6cqw 1.3cqw 2.4cqw;border-bottom:1px solid #517358;margin-bottom:1.3cqw}.settlement-label span:last-child{font-size:4.2cqw;color:#a2c284}
#modal.settlement-panel .settlement-items{max-height:40cqw;overflow:auto;min-height:18cqw}#modal.settlement-panel .settlement-items>div{border-bottom:1px solid #395d47;padding:1.8cqw 1.3cqw;gap:3.6cqw;font:5.2cqw JHPixel,monospace}#modal.settlement-panel .settlement-items>div{display:flex;align-items:center}#modal.settlement-panel .settlement-items>div>.reward-art{flex:none}#modal.settlement-panel .settlement-items>div>span:last-child{min-width:0;flex:1;overflow-wrap:anywhere;line-height:1.5}.settlement-items small{display:block;color:#d5ddc8;font-size:4.3cqw;margin-top:1.3cqw}.reward-art{display:grid;place-items:center;width:11.5cqw;height:11.5cqw;border:solid transparent;border-width:1cqw;border-image:url('original/UI1.gif.png') 3 fill stretch;background:#102421}.settlement-empty{color:#91b09b;font:5.2cqw JHPixel,monospace;padding:3.6cqw}.settlement-warning{color:#efc780;font-size:4.6cqw}
#modal.settlement-panel .original-footer{margin-top:2cqw;background:transparent!important;border-top:1px solid #638570;height:10cqw;min-height:10cqw;gap:3cqw;padding:2cqw 1cqw 0}#modal.settlement-panel .original-footer button{height:8cqw;min-height:8cqw;flex:1;border:solid transparent!important;border-width:1.3cqw!important;border-image:url('original/UI14.gif.png') 6 fill stretch!important;font:4.5cqw JHPixel,monospace;color:#d7dfac;background:#2c5144}
.enhance-preview{margin:3cqw 0;font:3.7cqw JHPixel,monospace}.enhance-preview h4{color:#e0d28d;font-size:4.3cqw;margin:2cqw 0}.enhance-preview table{width:100%;border-collapse:collapse;background:#10291f;table-layout:fixed}.enhance-preview th,.enhance-preview td{text-align:center;padding:1.5cqw .5cqw;border:1px solid #47694f;font-weight:normal}.enhance-preview thead{background:#345546;color:#dbdeb8}.enhance-preview th:first-child{color:#bcd397}.enhance-preview small{display:block;color:#81e786;font-size:3cqw}.enhance-preview p{color:#9ab7a5!important;font-size:3.2cqw!important;padding:0!important;line-height:1.5}.chest-odds{background:#183329;border:1px solid #607d5c;padding:2cqw;font-size:4cqw}.chest-odds p{margin:1cqw 0}
.stick-layout{height:55cqw;width:60%;margin:auto;position:relative;border:3px double #779c7c;background:linear-gradient(#19382daa,#19382daa),url('original/01桃花岛_01.map.png') center/cover;touch-action:none;user-select:none;image-rendering:pixelated}.layout-hud,.layout-footer{position:absolute;left:0;width:100%;text-align:center;background:#183c30;color:#bfcfac;font:3cqw JHPixel,monospace;padding:1cqw 0;pointer-events:none}.layout-hud{top:0}.layout-footer{bottom:0}.layout-stick{position:absolute;width:23%;aspect-ratio:1;border:2px solid #d5dcb0;background:#3c6b5680;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;display:grid;place-items:center}.layout-stick i{width:35%;aspect-ratio:1;background:#c2cca0;border-radius:50%}.stick-range{display:flex;align-items:center;gap:3cqw;margin:3cqw;font:4.5cqw JHPixel,monospace;color:#c8d9af}.stick-range input{flex:1;min-width:0;accent-color:#9fba75}
.enhance-preview p.enhance-active{color:#ee10f6!important;font-size:4cqw!important;line-height:1.7}.enhance-preview p.enhance-inactive{color:#ffffff!important;font-size:4cqw!important;line-height:1.7}.enhance-preview p.enhance-note{font-size:3.2cqw!important}.enhance-preview{margin:2cqw 0}
.combat-scroll.compact-spells{left:17%;width:66%;top:8%;height:80%;border-width:7cqw 5cqw 5cqw}.compact-spells .combat-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:flex-start;align-content:start;gap:0;overflow-y:auto}.compact-spells .combat-options button{font:4.2cqw/1.3 JHPixel,monospace;letter-spacing:0;min-height:11cqw;flex:none;padding:1.5cqw 1cqw;border-bottom:1px solid #a4ad8d;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.4cqw;overflow:hidden}.compact-spells .combat-options button:nth-child(odd):not([data-combat="back"]){border-right:1px solid #a4ad8d}.compact-spells .combat-options button small{font-size:3.2cqw;white-space:nowrap}.compact-spells .combat-options button:disabled{color:#7c806f}.compact-spells .combat-options button[data-combat="back"]{grid-column:1/-1;align-items:center;text-align:center}.compact-spells h2{font-size:4.7cqw;letter-spacing:1cqw;top:-7cqw}
.login-music-toggle{position:absolute;right:2cqw;top:2cqw;z-index:10;font:3.7cqw JHPixel,monospace;padding:1cqw 2cqw;border:1px solid #819d7a;background:#19382ddd;color:#deebc1;min-height:36px}.music-note{font-size:3.4cqw!important;color:#aec3ab}
.quest-chip{height:5.4167cqw!important;background:transparent!important;display:block!important;line-height:0!important;pointer-events:none}.experience-original{display:block;width:100%;height:100%;image-rendering:pixelated}

/* Keep the original experience strip flush with the HUD; enlarge the message area. */
.quest-chip{top:17.4%}.original-chat{height:13%}.canvas-wrap{bottom:13%}.controls{bottom:13.2%}.original-menu.pixel-control{bottom:13.5%}
