/* Approved synthesis component assets; all dimensions share the logical stage. */
#game-container .recruit-modal-shell[data-recruit-shell="synthesis"]{width:852px;height:526px;top:50%;border-image:none;background:transparent url('/assets/recruit-synthesis/reference-v1/ui/synthesis-frame-nine-slice.svg') center/100% 100% no-repeat;background-origin:border-box;background-clip:border-box}
#game-container .rs-synth-view{position:relative;width:100%;height:100%;overflow:visible;color:#655c50;color-scheme:light;font:14px Arial,sans-serif;line-height:1.2}
#game-container .rs-synth-view *{box-sizing:border-box;font-family:Arial,sans-serif}
#game-container .rs-synth-view :is(p,h2,h3,form,footer){margin:0;padding:0;letter-spacing:normal;text-align:left;border:0;min-height:0}
#game-container .rs-synth-view button{appearance:none;border:0;border-radius:0;background:none;padding:0;min-width:0;color:inherit;font:inherit;line-height:1.15;cursor:pointer;box-shadow:none}
#game-container .rs-synth-view button:disabled{cursor:default}
#game-container .rs-synth-view button:focus-visible{outline:2px solid #55b9e6;outline-offset:3px}
#game-container .rs-synth-view img{display:block;object-fit:contain;max-width:100%}
#game-container .rs-synth-view svg{display:block;width:100%;height:100%}
#game-container .rs-synth-view .rs-synth-title{position:absolute;left:12px;top:-47px;width:172px;height:58px;background:url('/assets/recruit-synthesis/reference-v1/ui/synthesis-title-cap.svg') center/100% 100% no-repeat;display:flex;align-items:center;justify-content:center;padding-top:9px;font-size:25px;font-weight:bold;color:#5c4e3a;text-shadow:2px 0 #fff,-2px 0 #fff,0 2px #fff,0 -2px #fff}
#game-container .rs-synth-tabs{display:flex;align-items:end;justify-content:flex-start;height:44px;gap:2px;margin:-6px 91px 12px 185px;border-bottom:1px solid #dcdad0}
#game-container .rs-synth-view .rs-synth-tabs>button{flex:1;max-width:148px;height:45px;padding:4px 6px 0;background:url('/assets/recruit-synthesis/reference-v1/ui/synthesis-tab-inactive.svg') center/100% 100% no-repeat;font-size:17px;font-weight:bold;color:#736d60}
#game-container .rs-synth-view .rs-synth-tabs>.rs-synth-tab-active{background-image:url('/assets/recruit-synthesis/reference-v1/ui/synthesis-tab-active.svg');color:#6d7644}
#game-container .rs-synth-tabs>button:disabled{color:#a69e8d}
#game-container .rs-synth-columns{display:grid;grid-template-columns:1.16fr 1fr;gap:39px;padding:9px 28px 0 42px;height:392px}
#game-container .rs-synth-left,.rs-synth-right{position:relative;min-width:0}
#game-container .rs-synth-view .rs-synth-left>h3{font-size:19px;margin:1px 0 23px;color:#72554e}
#game-container .rs-synth-inputs{display:flex;justify-content:space-between;gap:12px;margin:0 0 31px}
#game-container .rs-synth-view .rs-synth-input{position:relative;width:70px;height:70px;flex:0 0 70px;background:#f5f5f1;border:2px solid #d7d8d3;border-radius:12px;box-shadow:inset 2px 2px 3px #cacbc8,0 1px #fff;overflow:visible}
#game-container .rs-synth-view .rs-synth-input>svg{width:100%;height:100%;padding:4px}
#game-container .rs-synth-view .rs-synth-input>span:not(.ninja-grade-portrait){position:absolute;left:-10px;right:-10px;top:74px;font-size:12px;line-height:1.05;font-weight:bold;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;color:var(--rs-synth-grade)}
#game-container .rs-synth-view .rs-synth-filled{background:url('/assets/recruit-synthesis/reference-v1/ui/candidate-face-blue.svg') center/100% 100% no-repeat;border:4px solid transparent;border-radius:0;box-shadow:none}
#game-container .rs-synth-grade-blue{--rs-synth-grade:#36a9ce}.rs-synth-grade-purple{--rs-synth-grade:#9a50bd}.rs-synth-grade-red{--rs-synth-grade:#d84b3c}.rs-synth-grade-gold{--rs-synth-grade:#c0a13c}
#game-container .rs-synth-view :is(.rs-synth-input,.rs-synth-face).rs-synth-grade-purple{background-image:url('/assets/recruit-synthesis/reference-v1/ui/candidate-face-purple.svg')}
#game-container .rs-synth-view :is(.rs-synth-input,.rs-synth-face).rs-synth-grade-red{background-image:url('/assets/recruit-synthesis/reference-v1/ui/candidate-face-red.svg')}
#game-container .rs-synth-view :is(.rs-synth-input,.rs-synth-face).rs-synth-grade-gold{background-image:url('/assets/recruit-synthesis/reference-v1/ui/candidate-face-gold.svg')}
#game-container .rs-synth-view .rs-synth-force{font-size:15px;font-weight:bold;color:#d84537;line-height:1.4;margin:0 0 1px}
#game-container .rs-synth-view .rs-synth-duty{font-size:12px;line-height:1.4;color:#30a9d0;font-weight:bold;max-width:100%}
#game-container .rs-synth-result-well{position:absolute;left:-34px;right:-11px;bottom:32px;height:136px;border:16px solid transparent;border-image:none;background:transparent url('/assets/recruit-synthesis/reference-v1/ui/result-well.svg') center/100% 100% no-repeat;background-origin:border-box;background-clip:border-box}
#game-container .rs-synth-view .rs-synth-result-well>h3{position:absolute;left:5px;top:-23px;padding:0 5px;background:#faf9f2;color:#766055;font-size:18px;font-weight:normal}
#game-container .rs-synth-result-grades{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:17px 8px 0;text-align:center}
#game-container .rs-synth-result-grades>div>img{width:59px;height:59px;margin:0 auto}
#game-container .rs-synth-result-grades>div>strong{display:block;margin-top:7px;color:#786557;font-size:17px;font-weight:normal}
#game-container .rs-synth-view .rs-synth-limited-odds{position:absolute;left:-10px;right:-10px;top:calc(100% + 13px);font-size:10px;line-height:1.2;color:#80633b;text-align:center}
#game-container .rs-synth-view .rs-synth-available{position:absolute;left:0;right:0;top:-4px;font-size:11px;text-align:right;color:#9a9181}
#game-container .rs-synth-face-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:19px 18px;margin:16px 0 0}
#game-container .rs-synth-view .rs-synth-face{aspect-ratio:1;position:relative;border:4px solid transparent;background:url('/assets/recruit-synthesis/reference-v1/ui/candidate-face-blue.svg') center/100% 100% no-repeat;width:57px;height:57px;overflow:hidden}
#game-container .rs-synth-face>svg{display:block;width:100%;height:100%}
#game-container .rs-synth-face.rs-synth-selected>svg{filter:brightness(.5)}
#game-container .rs-synth-face.rs-synth-selected::after{content:'✓';position:absolute;inset:0;display:flex;justify-content:center;align-items:center;color:#fff;font-size:28px;font-weight:bold;text-shadow:0 2px #374932}
#game-container .rs-synth-view .rs-synth-face.rs-synth-blank{background:#f0f0ec;opacity:.4;cursor:default}
#game-container .rs-synth-view .rs-synth-pool-empty{position:absolute;left:15px;right:15px;top:105px;color:#897a63;text-align:center;font-size:14px;line-height:1.4}
#game-container .rs-synth-view .rs-synth-page-arrow{position:absolute;top:158px;width:36px;height:40px;z-index:5;background:url('/assets/bag/reference-v1/ui/page-next.svg') center/contain no-repeat}
#game-container .rs-synth-view .rs-synth-page-prev{left:-46px;background-image:url('/assets/bag/reference-v1/ui/page-prev.svg')}
#game-container .rs-synth-view .rs-synth-page-next{right:-34px}
#game-container .rs-synth-page-arrow:disabled{opacity:.5;filter:grayscale(1)}
#game-container .rs-synth-page-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;align-items:center;justify-content:center;gap:7px}
#game-container .rs-synth-view .rs-synth-page-dots>button{width:12px;height:12px;background:url('/assets/bag/reference-v1/ui/page-dot.svg') center/contain no-repeat}
#game-container .rs-synth-view .rs-synth-page-dots>.rs-synth-page-active{background-image:url('/assets/bag/reference-v1/ui/page-dot-active.svg')}
#game-container .rs-synth-page-dots>span{color:#968773;font-size:11px;margin-left:6px}
#game-container .rs-synth-view .rs-synth-status{position:absolute;left:28px;right:28px;bottom:20px;font-size:11px;line-height:1.15;color:#917c60;max-height:29px;display:flex;align-items:center;justify-content:center;text-align:center}
#game-container .rs-synth-view .rs-synth-footer{position:absolute;bottom:-42px;left:138px;right:118px;display:flex;justify-content:space-between;gap:80px}
#game-container .rs-synth-view .rs-synth-action{width:148px;height:50px;font-size:20px;font-weight:bold;border:10px solid transparent;border-image:none;color:white;text-shadow:0 1px #306195;text-align:center;background-image:url('/assets/recruit-synthesis/reference-v1/ui/action-blue.svg');background-position:center;background-size:100% 100%;background-repeat:no-repeat;background-origin:border-box;background-clip:border-box}
#game-container .rs-synth-action>small{display:block;font-size:10px;line-height:1;color:#e5f6ff}
#game-container .rs-synth-view .rs-synth-action:disabled{border-image:none;color:#f2f0eb;text-shadow:none;opacity:.7;background-image:url('/assets/recruit-synthesis/reference-v1/ui/action-disabled.svg');background-position:center;background-size:100% 100%;background-repeat:no-repeat;background-origin:border-box;background-clip:border-box}
#game-container .rs-synth-view .rs-synth-completed{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:10;width:310px;min-height:340px;padding:15px;background:#fffdf3;border:12px solid transparent;border-image:none;box-shadow:0 5px 22px #32241470;text-align:center;background-image:url('/assets/equipment/reference-v2/ui/popup-paper.svg');background-position:center;background-size:100% 100%;background-repeat:no-repeat;background-origin:border-box;background-clip:border-box}
#game-container .rs-synth-completed>*{text-align:center!important}
#game-container .rs-synth-view .rs-synth-completed>h3{font-size:21px;color:#7f6344}
#game-container .rs-synth-result-character{height:170px;width:160px;margin:5px auto}
#game-container .rs-synth-result-character>svg{width:100%;height:100%}
#game-container .rs-synth-result-name{display:block;font-size:18px;color:var(--rs-synth-grade);line-height:1.15}
#game-container .rs-synth-view .rs-synth-result-class{display:flex;align-items:center;justify-content:center;gap:5px;margin:7px 0;font-size:14px}
#game-container .rs-synth-result-class>.ninja-class-icon{width:23px;height:23px}
#game-container .rs-synth-view .rs-synth-completed>p:last-of-type{font-size:12px;margin-bottom:10px;color:#89735d}
#game-container .rs-synth-view .rs-synth-completed>.rs-synth-action{height:39px;font-size:16px}

#game-container .rs-synth-input>span:not(.ninja-grade-portrait)>small{display:block;font-size:.8em;line-height:1.1;font-weight:normal;white-space:nowrap}
