/* One reference composition for Ninja, Skill Book and Combat Item Synthesis.
   Keep internal proportions and render the complete paper at 75% size. */
#game-container .recruit-modal-shell.synthesize-paper[data-synthesize-paper]{
  --popup-text-scale:1;--synth-paper:#fafaf7;--synth-ink:#79483f;
  --synth-slot:84px;--synth-cell:73px;--synth-heading:21px;--synth-tab-font:21px;
  --synth-button-width:184px;--synth-button-height:58px;--synth-button-font:23px;
  box-sizing:border-box;width:1040px!important;height:644px!important;aspect-ratio:auto!important;top:48%!important;
  transform:translate(-50%,-50%) scale(.75);transform-origin:center;scale:1;
  border-width:30px;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;border-radius:34px;box-shadow:0 6px 10px #30241655;
}
#game-container .synthesize-paper[data-synthesize-paper]::after{content:'';position:absolute;left:50%;bottom:-12px;transform:translateX(-50%);border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:23px solid #dcd5c88f;pointer-events:none}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view){color:#6e6258;overflow:visible!important;font-family:Tahoma,Arial,sans-serif}
#game-container .synthesize-paper[data-synthesize-paper] .recruit-modal-close{width:58px;height:58px;right:-42px;top:-35px}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-title,.uks-title){
  left:7px;top:-48px;width:220px;height:88px;padding:7px 12px 0;
  background:url('/assets/recruit-synthesis/reference-v1/ui/synthesis-title-cap.svg') center/100% 100% no-repeat;
  font:700 34px/1 'Trebuchet MS',Tahoma,Arial,sans-serif!important;color:#fffdf8;
  -webkit-text-stroke:6px #5a4429;paint-order:stroke fill;text-shadow:0 3px 1px #5a4429;
  display:flex;align-items:center;justify-content:center;z-index:3;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-tabs,.uks-tabs){
  position:absolute;left:24%;right:21%;top:-14px;height:54px;margin:0;gap:2px;
  display:flex;align-items:flex-end;justify-content:flex-start;border:0;z-index:2;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view)::before{
  content:none;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-tabs,.uks-tabs)>button{
  flex:1;max-width:none;height:54px;padding:8px 5px 0;background:url('/assets/recruit-synthesis/reference-v1/ui/synthesis-tab-inactive.svg') center/100% 100% no-repeat;
  font:700 var(--synth-tab-font)/1.04 Tahoma,Arial,sans-serif!important;color:#746f64;text-shadow:0 2px #fff;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-tabs,.uks-tabs)>:is(.active,.rs-synth-tab-active){
  height:54px;padding-top:8px;background-image:url('/assets/recruit-synthesis/reference-v1/ui/synthesis-tab-active.svg');color:#4d9220;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-columns,.uks-columns){
  position:absolute;left:42px;right:32px;top:86px;bottom:40px;height:auto;padding:0;margin:0;
  display:grid;grid-template-columns:1.15fr 1fr;gap:76px;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-left,.uks-left,.rs-synth-right,.uks-right){position:relative;min-width:0;min-height:0;display:block;overflow:visible}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-left,.uks-left)::before{
  content:'';position:absolute;left:-16px;right:-12px;top:0;height:260px;border-radius:26px;
  background:linear-gradient(120deg,#ececedb3,#ececed80);pointer-events:none;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-left,.uks-left)>h3,
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-input-tray>h3{
  position:relative;margin:0 0 24px;padding:12px 0 0;color:var(--synth-ink);
  font:700 var(--synth-heading)/1.2 Tahoma,Arial,sans-serif!important;white-space:normal;text-shadow:1px 1px #fff,-1px -1px #fff;
}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-input-tray{position:relative;height:260px;padding:0;background:none;border-radius:0}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-inputs,.uks-inputs){
  position:relative;display:grid;grid-template-columns:repeat(3,var(--synth-slot));grid-auto-rows:var(--synth-slot);
  grid-template-rows:none;justify-content:space-between;gap:24px 12px;margin:0;padding:0 7px;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-input,.uks-input){
  width:var(--synth-slot);height:var(--synth-slot);min-width:0;flex-basis:var(--synth-slot);position:relative;
  border:2px solid #c7c8c4!important;border-radius:12px!important;
  background:linear-gradient(135deg,#fff,#fff 55%,#f6f6f4)!important;
  box-shadow:inset 3px 3px 4px #babbb88c,0 1px 1px #fff!important;overflow:hidden;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-input,.uks-input)>:is(svg,img){width:100%;height:100%;padding:5px;object-fit:contain}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-input>span:not(.ninja-grade-portrait){top:auto;bottom:1px;left:1px;right:1px;padding:1px;background:#fffefaeb;font-size:11px!important;line-height:1.1;z-index:1}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-input>small{font-size:11px!important;bottom:2px}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view :is(.rs-synth-filled,.rs-synth-face:not(.rs-synth-blank)):has(>.ninja-grade-portrait){
  border:0!important;border-radius:5%!important;background:none!important;box-shadow:none!important;
}
#game-container .rs-synth-view .rs-synth-selected>.ninja-grade-portrait{filter:brightness(.55)}
#game-container .rs-synth-view .rs-synth-selected::after{z-index:4}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-force{position:relative;margin:30px 0 4px;font-size:18px!important;line-height:1.2;color:#e62e23;text-shadow:0 1px #fff}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-duty{position:relative;font-size:16px!important;line-height:1.35;color:#00a9db;max-width:100%}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-result-well,.uks-result){
  position:absolute;left:-18px;right:-14px;bottom:17px;width:auto;height:152px;margin:0;
  border:15px 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 .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-result-well,.uks-result)>h3{
  position:absolute;left:8px;top:-25px;height:auto;margin:0;padding:0 7px;background:var(--synth-paper);color:var(--synth-ink);
  font:700 var(--synth-heading)/1.2 Tahoma,Arial,sans-serif!important;white-space:normal;text-shadow:1px 1px #fff,-1px -1px #fff;
}
#game-container .synthesize-paper[data-synthesize-paper] .uks-view .uks-result>h3{font-size:19px!important;white-space:nowrap;left:4px;padding:0 4px}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-result-grades{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:12px 0 0}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-result-grades>div>img{width:72px;height:72px;margin:auto}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-result-grades>div>strong{margin-top:5px;font-size:21px!important;line-height:1.1;color:#8c5144;font-weight:700;text-shadow:0 1px #fff}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.cis-result-empty,.uks-result-empty){width:78px;height:78px;margin:19px auto 0;border:2px solid #c7c8c4;border-radius:11px;background:#fff;box-shadow:inset 3px 3px 4px #babbb88c}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-result-preview{height:117px;gap:16px;padding:8px 0}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-result-art{width:78px;height:78px}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-result-preview strong{font-size:17px!important}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-result-preview :is(span,small){font-size:13px!important;margin-top:5px}
#game-container .synthesize-paper[data-synthesize-paper] .uks-view .uks-pending-result>img{width:78px;height:78px}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-face-grid,.uks-book-grid){
  display:grid;grid-template-columns:repeat(4,var(--synth-cell));grid-template-rows:repeat(4,var(--synth-cell));
  gap:23px;justify-content:space-between;margin:13px 0 0;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-face,.uks-book-cell){width:var(--synth-cell);height:var(--synth-cell);border-radius:6px;aspect-ratio:1}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-blank,.uks-book-cell.blank){background:#e6e5e7;border-color:transparent;opacity:.72}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-available){top:-8px;font-size:12px!important;color:#968978}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-page-dots,.uks-right>.uks-pager){
  position:absolute;left:0;right:0;bottom:11px;height:20px;margin:0;padding:8px 0 0;
  border-top:2px solid #deded9;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px!important;color:#9a8770;
}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-page-dots>button{width:15px;height:15px}
#game-container .synthesize-paper[data-synthesize-paper] .uks-view .uks-right>.uks-pager>button{position:absolute;top:-223px;width:40px;height:44px}
#game-container .synthesize-paper[data-synthesize-paper] .uks-view .uks-right>.uks-pager>.uks-page-prev{left:-48px}
#game-container .synthesize-paper[data-synthesize-paper] .uks-view .uks-right>.uks-pager>.uks-page-next{right:-37px}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-page-arrow{top:194px;width:40px;height:44px}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-page-prev{left:-48px}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-page-next{right:-37px}
#game-container .synthesize-paper[data-synthesize-paper] .uks-view .uks-buy-link{bottom:43px;height:27px;left:42px;right:42px;font-size:13px!important}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-pool-empty,.uks-inventory-empty){
  position:absolute;top:126px;left:8px;right:8px;margin:0;padding:12px 10px;background:#fafaf7e8;
  font-size:14px!important;line-height:1.4;text-align:center;color:#8c765e;border-radius:8px;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-status,.uks-status){
  position:absolute;bottom:10px;left:26px;right:26px;height:26px;max-height:26px;
  margin:0;display:flex;align-items:center;gap:12px;font-size:12px!important;line-height:1.2;color:#95806a;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-footer,.uks-footer){
  position:absolute;left:164px;right:128px;bottom:-52px;display:flex;justify-content:space-between;gap:24px;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-action,.uks-footer>.uks-action){
  width:var(--synth-button-width);height:var(--synth-button-height);padding:0;min-height:0;line-height:1.05;
  border:12px solid transparent;border-image:none;
  background:transparent url('/assets/recruit-synthesis/reference-v1/ui/synthesis-action-blue.svg') center/100% 100% no-repeat;
  background-origin:border-box;background-clip:border-box;border-radius:10px;color:#fff;font:700 var(--synth-button-font)/1.05 Tahoma,Arial,sans-serif!important;
  text-align:center;text-shadow:0 2px #236498;box-shadow:0 3px 4px #34403240;
}
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-action,.uks-footer>.uks-action):disabled{
  border-image:none;color:#f7fcff;text-shadow:0 2px #236498;
  opacity:.86;filter:saturate(.9);cursor:default;
}
#game-container .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-action>small{font-size:10px!important;line-height:1.1;margin-top:1px}
/* Detail and completed-result papers also paint as one continuous surface. */
#game-container .synthesize-paper[data-synthesize-paper] :is(.rs-synth-completed,.uks-overlay){border-image:none;background:#f7f3e6;border-radius:14px;box-shadow:inset 0 0 0 2px #8a7755,inset 0 0 0 5px #fffdf1a6,0 3px 18px #332d2266}
#game-container .synthesize-paper[data-synthesize-paper] .uks-view .uks-action{border-image:none;background:transparent url('/assets/recruit-synthesis/reference-v1/ui/synthesis-action-blue.svg') center/100% 100% no-repeat;background-origin:border-box;background-clip:border-box}
#game-container .synthesize-paper[data-synthesize-paper] .uks-view .uks-action:disabled{border-image:none}
/* Keep the original paper ratio on mobile; a wider screen adds outer space
   instead of stretching the frame. Inner sizes stay readable at 867 × 400. */
#game-container[data-phone-layout="true"] .recruit-modal-shell.synthesize-paper[data-synthesize-paper]{
  --synth-phone-pixel:min(var(--phone-pixel),1.8px);--synth-slot:calc(48 * var(--synth-phone-pixel));--synth-cell:calc(44 * var(--synth-phone-pixel));
  --synth-heading:calc(13 * var(--synth-phone-pixel));--synth-tab-font:calc(12 * var(--synth-phone-pixel));
  --synth-button-width:calc(146 * var(--synth-phone-pixel));--synth-button-height:max(calc(37 * var(--synth-phone-pixel)),calc(32 * var(--phone-pixel)));--synth-button-font:calc(14 * var(--synth-phone-pixel));
  width:min(94cqw,calc(94cqh * 1040 / 644))!important;height:auto!important;aspect-ratio:1040/644!important;top:50%!important;border-width:calc(12 * var(--synth-phone-pixel));border-radius:calc(22 * var(--synth-phone-pixel));
  transform:translate(-50%,-50%);
}
#game-container[data-phone-layout="true"]:has(.synthesize-paper[data-synthesize-paper]) .phone-popup-controls>.phone-popup-control{background-size:contain}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-action,.uks-footer>.uks-action){font-size:var(--synth-button-font)!important;border-width:calc(5 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-action>small{font-size:calc(9 * var(--synth-phone-pixel))!important;line-height:1.1}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-title,.uks-title){left:0;top:calc(-11 * var(--synth-phone-pixel));width:24%;height:calc(48 * var(--synth-phone-pixel));font-size:calc(23 * var(--synth-phone-pixel))!important;-webkit-text-stroke:calc(3 * var(--synth-phone-pixel)) #5a4429;padding:0}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-tabs,.uks-tabs){top:calc(6 * var(--synth-phone-pixel));left:25%;right:7%;height:calc(31 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-tabs,.uks-tabs)>button{height:calc(31 * var(--synth-phone-pixel));padding:calc(4 * var(--synth-phone-pixel)) 2px 0;font-size:var(--synth-tab-font)!important}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-tabs,.uks-tabs)>:is(.active,.rs-synth-tab-active){height:calc(31 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-columns,.uks-columns){top:calc(44 * var(--synth-phone-pixel));bottom:calc(61 * var(--synth-phone-pixel));left:5%;right:5%;gap:8%;grid-template-columns:1.18fr 1fr}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-left,.uks-left)::before{left:calc(-7 * var(--synth-phone-pixel));right:calc(-7 * var(--synth-phone-pixel));height:calc(150 * var(--synth-phone-pixel));border-radius:calc(16 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-input-tray{height:calc(150 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-left,.uks-left)>h3,
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-input-tray>h3{padding:calc(5 * var(--synth-phone-pixel)) 0 0;margin-bottom:calc(12 * var(--synth-phone-pixel));line-height:1.15}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-inputs,.uks-inputs){gap:calc(12 * var(--synth-phone-pixel)) 4px;padding:0}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-input,.uks-input){border-radius:calc(8 * var(--synth-phone-pixel))!important}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-input,.uks-input)>:is(svg,img){padding:calc(3 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-force{margin-top:calc(16 * var(--synth-phone-pixel));font-size:calc(11 * var(--synth-phone-pixel))!important;line-height:1.15}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-duty{font-size:calc(10 * var(--synth-phone-pixel))!important;line-height:1.25}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-input>span:not(.ninja-grade-portrait),
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-input>small{font-size:calc(8 * var(--synth-phone-pixel))!important}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-result-well,.uks-result){left:calc(-5 * var(--synth-phone-pixel));right:calc(-5 * var(--synth-phone-pixel));bottom:0;height:calc(90 * var(--synth-phone-pixel));border-width:calc(8 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-result-well,.uks-result)>h3{position:absolute;left:0;top:calc(-15 * var(--synth-phone-pixel));font-size:calc(13 * var(--synth-phone-pixel))!important;padding:0 calc(4 * var(--synth-phone-pixel));height:auto;line-height:1.2}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .uks-view .uks-result>h3{font-size:calc(11 * var(--synth-phone-pixel))!important}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-result-grades{gap:calc(5 * var(--synth-phone-pixel));padding-top:calc(6 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-result-grades>div>img{width:calc(43 * var(--synth-phone-pixel));height:calc(43 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-result-grades>div>strong{font-size:calc(13 * var(--synth-phone-pixel))!important;margin-top:calc(4 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.cis-result-empty,.uks-result-empty){width:calc(47 * var(--synth-phone-pixel));height:calc(47 * var(--synth-phone-pixel));margin-top:calc(16 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-result-preview{height:calc(71 * var(--synth-phone-pixel));gap:calc(7 * var(--synth-phone-pixel));padding:calc(5 * var(--synth-phone-pixel)) 0}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-result-art{width:calc(47 * var(--synth-phone-pixel));height:calc(47 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-result-preview strong{font-size:calc(11 * var(--synth-phone-pixel))!important}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .cis-result-preview :is(span,small){font-size:calc(9 * var(--synth-phone-pixel))!important;margin-top:calc(2 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .uks-view .uks-pending-result>img{width:calc(47 * var(--synth-phone-pixel));height:calc(47 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-face-grid,.uks-book-grid){gap:calc(9 * var(--synth-phone-pixel)) calc(7 * var(--synth-phone-pixel));margin-top:calc(8 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .uks-view .uks-book-grid{row-gap:calc(6 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-page-dots,.uks-right>.uks-pager){bottom:0;height:calc(20 * var(--synth-phone-pixel));padding-top:calc(5 * var(--synth-phone-pixel));font-size:calc(9 * var(--synth-phone-pixel))!important}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-page-arrow{top:43%;width:calc(32 * var(--synth-phone-pixel));height:calc(40 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-page-prev{left:calc(-31 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .rs-synth-view .rs-synth-page-next{right:calc(-29 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .uks-view .uks-right>.uks-pager>button{top:calc(-130 * var(--synth-phone-pixel));width:calc(32 * var(--synth-phone-pixel));height:calc(40 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .uks-view .uks-right>.uks-pager>.uks-page-prev{left:calc(-31 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .uks-view .uks-right>.uks-pager>.uks-page-next{right:calc(-29 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] .uks-view .uks-buy-link{bottom:calc(22 * var(--synth-phone-pixel));height:calc(19 * var(--synth-phone-pixel));left:8%;right:8%;font-size:calc(10 * var(--synth-phone-pixel))!important}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-pool-empty,.uks-inventory-empty){top:calc(62 * var(--synth-phone-pixel));font-size:calc(10 * var(--synth-phone-pixel))!important;padding:calc(6 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-status,.uks-status){bottom:calc(42 * var(--synth-phone-pixel));height:calc(19 * var(--synth-phone-pixel));max-height:calc(19 * var(--synth-phone-pixel));left:3%;right:3%;font-size:calc(10 * var(--synth-phone-pixel))!important;gap:calc(7 * var(--synth-phone-pixel))}
#game-container[data-phone-layout="true"] .synthesize-paper[data-synthesize-paper] :is(.rs-synth-view,.uks-view) :is(.rs-synth-footer,.uks-footer){bottom:0;left:16%;right:12%;gap:calc(16 * var(--synth-phone-pixel))}
