/* KareChara gacha experiment: scoped entirely to the face editing screen. */
body.ac-wedding-layout .kc-gacha {
  display:flex!important;flex-direction:column!important;gap:10px!important;
  width:100%!important;box-sizing:border-box!important;
  padding:15px!important;margin:12px 0 18px!important;
  background:#313239!important;color:#fff!important;
  border:1px solid #545963!important;border-radius:12px!important;
}
body.ac-wedding-layout .kc-gacha-heading{display:flex!important;align-items:baseline!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:4px 10px!important;}
body.ac-wedding-layout .kc-gacha-heading strong{font-size:17px!important;color:#fff!important;font-weight:800!important;}
body.ac-wedding-layout .kc-gacha-heading small{font-size:11px!important;color:#c5c8d0!important;}
body.ac-wedding-layout button.kc-gacha-spin{display:block!important;width:100%!important;min-height:48px!important;padding:11px 14px!important;margin:0!important;border:0!important;border-radius:9px!important;background:#59bddf!important;color:#112934!important;font-size:17px!important;font-weight:800!important;cursor:pointer!important;}
body.ac-wedding-layout button.kc-gacha-spin:hover:not(:disabled){background:#80d2eb!important;}
body.ac-wedding-layout button.kc-gacha-spin:disabled{opacity:.55!important;cursor:wait!important;}
body.ac-wedding-layout .kc-gacha-lock-title{font-size:11px!important;color:#d1d4db!important;line-height:1.4!important;}
body.ac-wedding-layout .kc-gacha-chips{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;}
body.ac-wedding-layout button.kc-gacha-chip{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:34px!important;margin:0!important;padding:6px 2px!important;border:1px solid #646774!important;border-radius:7px!important;background:#444650!important;color:#f7f8fa!important;font-weight:700!important;font-size:12px!important;white-space:nowrap!important;cursor:pointer!important;}
body.ac-wedding-layout button.kc-gacha-chip.kc-gacha-locked{background:#e4f8fe!important;color:#13384a!important;border-color:#80d6f1!important;}
body.ac-wedding-layout button.kc-gacha-chip:disabled{opacity:.6!important;cursor:not-allowed!important;}
body.ac-wedding-layout .kc-gacha :is(button):focus-visible{outline:3px solid #fff!important;outline-offset:2px!important;}
body.ac-wedding-layout .kc-gacha-footer{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:4px 12px!important;font-size:11px!important;color:#bdc1cc!important;}
body.ac-wedding-layout .kc-gacha-status{color:#c9eaf5!important;}
@media(max-width:780px){
 body.ac-wedding-layout .kc-gacha{padding:10px!important;margin:6px 0 12px!important;gap:8px!important;}
 body.ac-wedding-layout .kc-gacha-heading strong{font-size:15px!important;}
 body.ac-wedding-layout button.kc-gacha-spin{min-height:43px!important;font-size:15px!important;padding:8px!important;}
 body.ac-wedding-layout .kc-gacha-chips{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
 body.ac-wedding-layout button.kc-gacha-chip{min-height:32px!important;}
}

/* Three local avatar keeps: a filled slot recalls, an empty slot saves. */
body.ac-wedding-layout .kc-gacha-slot-heading{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:8px!important;margin-top:3px!important;font-size:12px!important;color:#fff!important;}
body.ac-wedding-layout .kc-gacha-slot-heading strong{font-size:13px!important;font-weight:800!important;}
body.ac-wedding-layout .kc-gacha-slot-heading span{font-size:10px!important;color:#c5c8d0!important;}
body.ac-wedding-layout .kc-gacha-slots{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
body.ac-wedding-layout .kc-gacha-slot{position:relative!important;min-width:0!important;}
body.ac-wedding-layout button.kc-gacha-slot-main{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;min-width:0!important;height:65px!important;padding:7px 9px!important;border:1px dashed #767b88!important;border-radius:8px!important;background:#42434d!important;color:#eef1f5!important;cursor:pointer!important;}
body.ac-wedding-layout .kc-gacha-slot-filled button.kc-gacha-slot-main{border:1px solid #82d2e9!important;background:#3d515a!important;padding-right:20px!important;}
body.ac-wedding-layout .kc-gacha-slot-main:hover:not(:disabled){background:#4d5661!important;}
body.ac-wedding-layout .kc-gacha-slot-thumb{width:42px!important;height:48px!important;flex-shrink:0!important;border-radius:5px!important;background:#fff!important;object-fit:cover!important;}
body.ac-wedding-layout .kc-gacha-slot-empty{font-size:22px!important;line-height:1!important;color:#c8d1da!important;}
body.ac-wedding-layout .kc-gacha-slot-caption{display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;font-size:10px!important;white-space:nowrap!important;}
body.ac-wedding-layout .kc-gacha-slot-caption strong{font-size:14px!important;}
body.ac-wedding-layout button.kc-gacha-slot-delete{position:absolute!important;top:2px!important;right:2px!important;display:flex!important;align-items:center!important;justify-content:center!important;width:23px!important;height:23px!important;margin:0!important;padding:0!important;border:1px solid #b0b4bf!important;border-radius:50%!important;background:#212936!important;color:#fff!important;font-size:17px!important;line-height:1!important;cursor:pointer!important;z-index:1!important;}
body.ac-wedding-layout button.kc-gacha-slot-delete[hidden],body.ac-wedding-layout .kc-gacha-slot-thumb[hidden],body.ac-wedding-layout .kc-gacha-slot-empty[hidden]{display:none!important;}
body.ac-wedding-layout button.kc-gacha-slot-delete:hover{background:#ae3f4b!important;}
body.ac-wedding-layout .kc-gacha-slot button:disabled{cursor:wait!important;opacity:.65!important;}
@media(max-width:780px){body.ac-wedding-layout .kc-gacha-slots{gap:5px!important;}body.ac-wedding-layout button.kc-gacha-slot-main{height:55px!important;padding:4px!important;}body.ac-wedding-layout .kc-gacha-slot-filled button.kc-gacha-slot-main{padding-right:16px!important;}body.ac-wedding-layout .kc-gacha-slot-thumb{width:32px!important;height:42px!important;}body.ac-wedding-layout .kc-gacha-slot-caption{font-size:9px!important;}}
