.creatorManageButton{
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  padding:0!important;
}
.creatorManageButton svg{transform:rotate(90deg)}

.potManageMenu,.potManageMenu *,.potEditOverlay,.potEditOverlay *{box-sizing:border-box}
.potManageMenu{
  position:fixed;
  z-index:4200;
  width:184px;
  max-width:calc(100vw - 20px);
  padding:6px;
  border:1px solid #ece8ee;
  border-radius:12px;
  background:#fff;
  box-shadow:0 10px 28px rgba(35,27,40,.16);
}
.potManageMenuItem+ .potManageMenuItem{border-top:1px solid #f1eef2}
.potManageMenuItem>button{
  width:100%;
  min-height:42px;
  padding:0 10px;
  border:0;
  border-radius:8px;
  background:#fff;
  color:#302b33;
  text-align:left;
  font-size:14px;
  font-weight:700;
}
.potManageMenuItem>button:active:not(:disabled){background:#f7f5f8}
.potManageMenuItem>button.danger{color:#bd465d}
.potManageMenuItem>button:disabled{color:#aaa2ad}
.potManageMenuItem small{
  display:block;
  margin:-2px 10px 7px;
  color:#918994;
  font-size:10px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.potManageMenuError{padding:12px 10px;color:#8a818d;font-size:11px;line-height:1.45}

html.potEditOpen,html.potEditOpen body{overflow:hidden}
.potEditOverlay{
  position:fixed;
  inset:0;
  z-index:4300;
  display:flex;
  justify-content:center;
  background:#f5f3f6;
}
.potEditPage{
  width:100%;
  max-width:430px;
  height:100dvh;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
}
.potEditHeader{
  position:static!important;
  flex:none;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) 40px!important;
  align-items:center!important;
  min-height:58px!important;
  height:58px!important;
  padding:0 10px!important;
  border-bottom:1px solid #eee9f0!important;
  background:#fff!important;
  backdrop-filter:none!important;
}
.potEditHeader>b{text-align:center;font-size:16px;color:#27232a}
.potEditHeader .potManageBack{
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#403944;
  font-size:30px;
  line-height:1;
}
.potEditBody{
  min-height:0;
  flex:1;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  padding:16px 16px calc(28px + env(safe-area-inset-bottom));
}
.potManageForm{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0}
.potManageForm>label,.potManageFieldset{display:block;min-width:0;margin:0;font-size:12px;font-weight:700;color:#4c454f}
.potManageForm input,.potManageForm select,.potManageForm textarea{
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  margin:6px 0 0;
  border:1px solid #ddd8e1;
  border-radius:11px;
  background:#fff;
  padding:12px;
  font:inherit;
  font-size:14px;
  color:#27232a;
}
.potManageForm input[type="datetime-local"]{min-height:44px}
.potManageForm textarea{min-height:84px;resize:vertical;line-height:1.5}
.potManageFieldset{border:1px solid #ece7ef;border-radius:12px;padding:12px}
.potManageFieldset legend{max-width:100%;padding:0 5px;color:#655e69;font-size:11px;white-space:normal}
.potManageFieldset label+label{margin-top:10px}
.potManageFieldset.compact{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.potManageCheck{display:flex!important;align-items:center;gap:7px;margin:0!important;font-weight:600!important}
.potManageCheck input{width:16px!important;height:16px!important;margin:0!important;padding:0!important}
.potManageSave{
  width:100%;
  min-height:48px;
  margin:2px 0 2px;
  border:0;
  border-radius:12px;
  background:#8758bd;
  color:#fff;
  font-size:14px;
  font-weight:800;
}
.potManageToast{
  position:fixed;
  left:50%;
  bottom:calc(86px + env(safe-area-inset-bottom));
  z-index:4500;
  transform:translateX(-50%);
  width:max-content;
  max-width:calc(100vw - 32px);
  padding:11px 14px;
  border-radius:12px;
  background:#29252d;
  color:#fff;
  font-size:12px;
  line-height:1.45;
  text-align:center;
  box-shadow:0 8px 24px rgba(0,0,0,.16)
}
@media(min-width:700px){
  .potEditOverlay{padding:24px}
  .potEditPage{height:min(760px,calc(100dvh - 48px));border-radius:18px;box-shadow:0 16px 44px rgba(35,27,40,.13)}
  .potManageToast{bottom:36px}
}
